Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-10 23:59:03.566939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/10/image_09012025_22_10_02_690037_0002.jpg', '/home/pi/Desktop/images/09012025/22/10/image_09012025_22_10_02_690037_0003.jpg', '/home/pi/Desktop/images/09012025/22/11/image_09012025_22_11_02_936879_0000.jpg', '/home/pi/Desktop/images/09012025/22/11/image_09012025_22_11_02_936879_0001.jpg', '/home/pi/Desktop/images/09012025/22/11/image_09012025_22_11_02_936879_0002.jpg', '/home/pi/Desktop/images/09012025/22/11/image_09012025_22_11_02_936879_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/10/image_09012025_22_10_02_690037_0002.jpg
/home/pi/Desktop/images/09012025/22/10/image_09012025_22_10_02_690037_0003.jpg
/home/pi/Desktop/images/09012025/22/11/image_09012025_22_11_02_936879_0000.jpg
/home/pi/Desktop/images/09012025/22/11/image_09012025_22_11_02_936879_0001.jpg
/home/pi/Desktop/images/09012025/22/11/image_09012025_22_11_02_936879_0002.jpg
/home/pi/Desktop/images/09012025/22/11/image_09012025_22_11_02_936879_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.829126119613647 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-10 23:59:22.612026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/10/image_09012025_22_10_02_690037_0002.jpg', '/home/pi/Desktop/images/09012025/22/10/image_09012025_22_10_02_690037_0003.jpg', '/home/pi/Desktop/images/09012025/22/11/image_09012025_22_11_02_936879_0000.jpg', '/home/pi/Desktop/images/09012025/22/11/image_09012025_22_11_02_936879_0001.jpg', '/home/pi/Desktop/images/09012025/22/11/image_09012025_22_11_02_936879_0002.jpg', '/home/pi/Desktop/images/09012025/22/11/image_09012025_22_11_02_936879_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/10/image_09012025_22_10_02_690037_0002.jpg
/home/pi/Desktop/images/09012025/22/10/image_09012025_22_10_02_690037_0003.jpg
/home/pi/Desktop/images/09012025/22/11/image_09012025_22_11_02_936879_0000.jpg
/home/pi/Desktop/images/09012025/22/11/image_09012025_22_11_02_936879_0001.jpg
/home/pi/Desktop/images/09012025/22/11/image_09012025_22_11_02_936879_0002.jpg
/home/pi/Desktop/images/09012025/22/11/image_09012025_22_11_02_936879_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":["1328001746","1328001815","1328001790","1328001814","1328001373","1328001789"],"photo_ids_order":["1328001373","1328001746","1328001789","1328001790","1328001814","1328001815"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2b4e77d39ee61f0592b20fb4b0b72dd1.jpg","text":"TemporaryFile(/tmp/multipartBody4471545719717240885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550038606,"filename":"image_09012025_22_10_02_690037_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4839023c98d03f1efbf5651c1b72a61c.jpg","text":"TemporaryFile(/tmp/multipartBody9131268448783316649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550038606,"filename":"image_09012025_22_11_02_936879_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/edbd79ea1e30499fa0aa898769a92d0a.jpg","text":"TemporaryFile(/tmp/multipartBody2562877267380346047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550038606,"filename":"image_09012025_22_11_02_936879_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/60c6dc9fbe2f7441a328572aa2bcf162.jpg","text":"TemporaryFile(/tmp/multipartBody855729339046456049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550038606,"filename":"image_09012025_22_11_02_936879_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/222be47bba334593f7f179067885c742.jpg","text":"TemporaryFile(/tmp/multipartBody5129766622274341815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550038606,"filename":"image_09012025_22_10_02_690037_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/193b6260ca57a7f21ea3d5f5fed4b199.jpg","text":"TemporaryFile(/tmp/multipartBody1092374954515003739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550038606,"filename":"image_09012025_22_11_02_936879_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328001789","file1":"1328001746","file0":"1328001373","file4":"1328001814","file5":"1328001815","file3":"1328001790"},"map_files_photo_id_array":[{"photo_id":"1328001815","filename":"file5"},{"photo_id":"1328001789","filename":"file2"},{"photo_id":"1328001814","filename":"file4"},{"photo_id":"1328001746","filename":"file1"},{"photo_id":"1328001373","filename":"file0"},{"photo_id":"1328001790","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328001746":["hashtag1","hashtag2"]},{"1328001815":["hashtag1","hashtag2"]},{"1328001790":["hashtag1","hashtag2"]},{"1328001814":["hashtag1","hashtag2"]},{"1328001373":["hashtag1","hashtag2"]},{"1328001789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328001746, 1328001815, 1328001790, 1328001814, 1328001373, 1328001789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.779839754104614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:00:21.952669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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_11012025
 fc.token : 832f9dd9be82d72b547808d5fcaa9529
True
{'portfolio_id': 19511890, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1736550082000}
533
2475040
533
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/00/image_11012025_00_00_02_977898_0000.jpg', '/home/pi/Desktop/images/11012025/00/00/image_11012025_00_00_02_977898_0001.jpg', '/home/pi/Desktop/images/11012025/00/00/image_11012025_00_00_02_977898_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/00/image_11012025_00_00_02_977898_0000.jpg
/home/pi/Desktop/images/11012025/00/00/image_11012025_00_00_02_977898_0001.jpg
/home/pi/Desktop/images/11012025/00/00/image_11012025_00_00_02_977898_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328001859","1328001862","1328001835"],"photo_ids_order":["1328001835","1328001859","1328001862"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dcad8456783d013b0e1b4b5af589ddb4.jpg","text":"TemporaryFile(/tmp/multipartBody4975924259647194595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550092979,"filename":"image_11012025_00_00_02_977898_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1efe5a3be5cfd90610968115522ab805.jpg","text":"TemporaryFile(/tmp/multipartBody2545820879210148695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550092979,"filename":"image_11012025_00_00_02_977898_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/885fd656d03536dff5f560684ee5bc26.jpg","text":"TemporaryFile(/tmp/multipartBody1787621456370461640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550092979,"filename":"image_11012025_00_00_02_977898_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328001862","file1":"1328001859","file0":"1328001835"},"map_files_photo_id_array":[{"photo_id":"1328001862","filename":"file2"},{"photo_id":"1328001859","filename":"file1"},{"photo_id":"1328001835","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328001859":["hashtag1","hashtag2"]},{"1328001862":["hashtag1","hashtag2"]},{"1328001835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328001859, 1328001862, 1328001835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.6559419631958 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 00:01:02.584137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/12/image_09012025_22_12_03_105084_0000.jpg', '/home/pi/Desktop/images/09012025/22/12/image_09012025_22_12_03_105084_0001.jpg', '/home/pi/Desktop/images/09012025/22/12/image_09012025_22_12_03_105084_0002.jpg', '/home/pi/Desktop/images/09012025/22/12/image_09012025_22_12_03_105084_0003.jpg', '/home/pi/Desktop/images/09012025/22/13/image_09012025_22_13_02_307952_0000.jpg', '/home/pi/Desktop/images/09012025/22/13/image_09012025_22_13_02_307952_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/12/image_09012025_22_12_03_105084_0000.jpg
/home/pi/Desktop/images/09012025/22/12/image_09012025_22_12_03_105084_0001.jpg
/home/pi/Desktop/images/09012025/22/12/image_09012025_22_12_03_105084_0002.jpg
/home/pi/Desktop/images/09012025/22/12/image_09012025_22_12_03_105084_0003.jpg
/home/pi/Desktop/images/09012025/22/13/image_09012025_22_13_02_307952_0000.jpg
/home/pi/Desktop/images/09012025/22/13/image_09012025_22_13_02_307952_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":["1328002268","1328002270","1328002222","1328002272","1328002266","1328002263"],"photo_ids_order":["1328002222","1328002263","1328002266","1328002268","1328002270","1328002272"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f3b0cdc4024568b7e902b0e3a3b842da.jpg","text":"TemporaryFile(/tmp/multipartBody4979526377695580285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550138938,"filename":"image_09012025_22_12_03_105084_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6ab42c21fa5ccdb4661a169cdcc80959.jpg","text":"TemporaryFile(/tmp/multipartBody2235525853831581872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550138938,"filename":"image_09012025_22_13_02_307952_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/92656453988249a103fb7289528c4ba1.jpg","text":"TemporaryFile(/tmp/multipartBody1740358803352680751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550138938,"filename":"image_09012025_22_12_03_105084_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ee35790fb089488e644ac7ebd74cd417.jpg","text":"TemporaryFile(/tmp/multipartBody3356639866130362146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550138938,"filename":"image_09012025_22_13_02_307952_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/58b6342d49fa7215d59521d94a3fb69b.jpg","text":"TemporaryFile(/tmp/multipartBody8964194560806174268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550138938,"filename":"image_09012025_22_12_03_105084_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d12683ae98de04586180b47983d0ae72.jpg","text":"TemporaryFile(/tmp/multipartBody1181403832409445518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550138938,"filename":"image_09012025_22_12_03_105084_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328002266","file1":"1328002263","file0":"1328002222","file4":"1328002270","file5":"1328002272","file3":"1328002268"},"map_files_photo_id_array":[{"photo_id":"1328002272","filename":"file5"},{"photo_id":"1328002266","filename":"file2"},{"photo_id":"1328002270","filename":"file4"},{"photo_id":"1328002263","filename":"file1"},{"photo_id":"1328002222","filename":"file0"},{"photo_id":"1328002268","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328002268":["hashtag1","hashtag2"]},{"1328002270":["hashtag1","hashtag2"]},{"1328002222":["hashtag1","hashtag2"]},{"1328002272":["hashtag1","hashtag2"]},{"1328002266":["hashtag1","hashtag2"]},{"1328002263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328002268, 1328002270, 1328002222, 1328002272, 1328002266, 1328002263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.748422622680664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:02:22.157923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/00/image_11012025_00_00_02_977898_0003.jpg', '/home/pi/Desktop/images/11012025/00/01/image_11012025_00_01_02_191988_0000.jpg', '/home/pi/Desktop/images/11012025/00/01/image_11012025_00_01_02_191988_0001.jpg', '/home/pi/Desktop/images/11012025/00/01/image_11012025_00_01_02_191988_0002.jpg', '/home/pi/Desktop/images/11012025/00/01/image_11012025_00_01_02_191988_0003.jpg', '/home/pi/Desktop/images/11012025/00/02/image_11012025_00_02_02_343375_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/00/image_11012025_00_00_02_977898_0003.jpg
/home/pi/Desktop/images/11012025/00/01/image_11012025_00_01_02_191988_0000.jpg
/home/pi/Desktop/images/11012025/00/01/image_11012025_00_01_02_191988_0001.jpg
/home/pi/Desktop/images/11012025/00/01/image_11012025_00_01_02_191988_0002.jpg
/home/pi/Desktop/images/11012025/00/01/image_11012025_00_01_02_191988_0003.jpg
/home/pi/Desktop/images/11012025/00/02/image_11012025_00_02_02_343375_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.814814805984497 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:02:52.118967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/13/image_09012025_22_13_02_307952_0002.jpg', '/home/pi/Desktop/images/09012025/22/14/image_09012025_22_14_02_439533_0002.jpg', '/home/pi/Desktop/images/09012025/22/14/image_09012025_22_14_02_439533_0003.jpg', '/home/pi/Desktop/images/09012025/22/15/image_09012025_22_15_02_697424_0000.jpg', '/home/pi/Desktop/images/09012025/22/15/image_09012025_22_15_02_697424_0001.jpg', '/home/pi/Desktop/images/09012025/22/15/image_09012025_22_15_02_697424_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/13/image_09012025_22_13_02_307952_0002.jpg
/home/pi/Desktop/images/09012025/22/14/image_09012025_22_14_02_439533_0002.jpg
/home/pi/Desktop/images/09012025/22/14/image_09012025_22_14_02_439533_0003.jpg
/home/pi/Desktop/images/09012025/22/15/image_09012025_22_15_02_697424_0000.jpg
/home/pi/Desktop/images/09012025/22/15/image_09012025_22_15_02_697424_0001.jpg
/home/pi/Desktop/images/09012025/22/15/image_09012025_22_15_02_697424_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328002325","1328002316","1328002318","1328002321","1328002300","1328002323"],"photo_ids_order":["1328002300","1328002316","1328002318","1328002321","1328002323","1328002325"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bf2fa2dc3b8f6d61d03fd0f67068dbe4.jpg","text":"TemporaryFile(/tmp/multipartBody2972545166493583957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550248258,"filename":"image_09012025_22_15_02_697424_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/34af2f848e2242b9ab6336bd45db2de0.jpg","text":"TemporaryFile(/tmp/multipartBody7682891244231885711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550248258,"filename":"image_09012025_22_14_02_439533_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/21e6b8dfafbfd7df19a3b6a7c1eaf66e.jpg","text":"TemporaryFile(/tmp/multipartBody5147751881157659203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550248258,"filename":"image_09012025_22_14_02_439533_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ef1c7242ef4f8f5f41c179a586c84e3d.jpg","text":"TemporaryFile(/tmp/multipartBody5110240671097103066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550248258,"filename":"image_09012025_22_15_02_697424_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3ca2854ff901e380ae8438083ac2e67e.jpg","text":"TemporaryFile(/tmp/multipartBody7875297813378199798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550248258,"filename":"image_09012025_22_13_02_307952_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8ffcc507f1d018f735ff2c19788494ba.jpg","text":"TemporaryFile(/tmp/multipartBody1114346921448072915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550248258,"filename":"image_09012025_22_15_02_697424_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328002318","file1":"1328002316","file0":"1328002300","file4":"1328002323","file5":"1328002325","file3":"1328002321"},"map_files_photo_id_array":[{"photo_id":"1328002325","filename":"file5"},{"photo_id":"1328002318","filename":"file2"},{"photo_id":"1328002323","filename":"file4"},{"photo_id":"1328002316","filename":"file1"},{"photo_id":"1328002300","filename":"file0"},{"photo_id":"1328002321","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328002325":["hashtag1","hashtag2"]},{"1328002316":["hashtag1","hashtag2"]},{"1328002318":["hashtag1","hashtag2"]},{"1328002321":["hashtag1","hashtag2"]},{"1328002300":["hashtag1","hashtag2"]},{"1328002323":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328002325, 1328002316, 1328002318, 1328002321, 1328002300, 1328002323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.25649905204773 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:03:52.289767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/15/image_09012025_22_15_02_697424_0003.jpg', '/home/pi/Desktop/images/09012025/22/16/image_09012025_22_16_02_827172_0000.jpg', '/home/pi/Desktop/images/09012025/22/16/image_09012025_22_16_02_827172_0001.jpg', '/home/pi/Desktop/images/09012025/22/16/image_09012025_22_16_02_827172_0002.jpg', '/home/pi/Desktop/images/09012025/22/17/image_09012025_22_17_03_016835_0000.jpg', '/home/pi/Desktop/images/09012025/22/17/image_09012025_22_17_03_016835_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/15/image_09012025_22_15_02_697424_0003.jpg
/home/pi/Desktop/images/09012025/22/16/image_09012025_22_16_02_827172_0000.jpg
/home/pi/Desktop/images/09012025/22/16/image_09012025_22_16_02_827172_0001.jpg
/home/pi/Desktop/images/09012025/22/16/image_09012025_22_16_02_827172_0002.jpg
/home/pi/Desktop/images/09012025/22/17/image_09012025_22_17_03_016835_0000.jpg
/home/pi/Desktop/images/09012025/22/17/image_09012025_22_17_03_016835_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.700998783111572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:04:22.481037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/00/image_11012025_00_00_02_977898_0003.jpg', '/home/pi/Desktop/images/11012025/00/01/image_11012025_00_01_02_191988_0000.jpg', '/home/pi/Desktop/images/11012025/00/01/image_11012025_00_01_02_191988_0001.jpg', '/home/pi/Desktop/images/11012025/00/01/image_11012025_00_01_02_191988_0002.jpg', '/home/pi/Desktop/images/11012025/00/01/image_11012025_00_01_02_191988_0003.jpg', '/home/pi/Desktop/images/11012025/00/02/image_11012025_00_02_02_343375_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/00/image_11012025_00_00_02_977898_0003.jpg
/home/pi/Desktop/images/11012025/00/01/image_11012025_00_01_02_191988_0000.jpg
/home/pi/Desktop/images/11012025/00/01/image_11012025_00_01_02_191988_0001.jpg
/home/pi/Desktop/images/11012025/00/01/image_11012025_00_01_02_191988_0002.jpg
/home/pi/Desktop/images/11012025/00/01/image_11012025_00_01_02_191988_0003.jpg
/home/pi/Desktop/images/11012025/00/02/image_11012025_00_02_02_343375_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":["1328002346","1328002340","1328002348","1328002342","1328002339","1328002344"],"photo_ids_order":["1328002339","1328002340","1328002342","1328002344","1328002346","1328002348"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3e943890d5f637aac6d791b76a631cab.jpg","text":"TemporaryFile(/tmp/multipartBody5040492249900119545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550337707,"filename":"image_11012025_00_01_02_191988_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/569252e74b18ffd30bba5e00596db364.jpg","text":"TemporaryFile(/tmp/multipartBody5170461197741027982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550337707,"filename":"image_11012025_00_01_02_191988_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a6def72490e850d43e743f5e79da2680.jpg","text":"TemporaryFile(/tmp/multipartBody3177158037484322083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550337707,"filename":"image_11012025_00_02_02_343375_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9e19e15b7c497f8af7d96daa7ee3b259.jpg","text":"TemporaryFile(/tmp/multipartBody1523635615355774413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550337707,"filename":"image_11012025_00_01_02_191988_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/92857766429161074dbcc02a4732670d.jpg","text":"TemporaryFile(/tmp/multipartBody4858496200414303645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550337707,"filename":"image_11012025_00_00_02_977898_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f7633721035d6e836a0023391979c5ba.jpg","text":"TemporaryFile(/tmp/multipartBody5593828231137632754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550337707,"filename":"image_11012025_00_01_02_191988_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328002342","file1":"1328002340","file0":"1328002339","file4":"1328002346","file5":"1328002348","file3":"1328002344"},"map_files_photo_id_array":[{"photo_id":"1328002348","filename":"file5"},{"photo_id":"1328002342","filename":"file2"},{"photo_id":"1328002346","filename":"file4"},{"photo_id":"1328002340","filename":"file1"},{"photo_id":"1328002339","filename":"file0"},{"photo_id":"1328002344","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328002346":["hashtag1","hashtag2"]},{"1328002340":["hashtag1","hashtag2"]},{"1328002348":["hashtag1","hashtag2"]},{"1328002342":["hashtag1","hashtag2"]},{"1328002339":["hashtag1","hashtag2"]},{"1328002344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328002346, 1328002340, 1328002348, 1328002342, 1328002339, 1328002344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.00564694404602 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:05:22.651944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/02/image_11012025_00_02_02_343375_0001.jpg', '/home/pi/Desktop/images/11012025/00/02/image_11012025_00_02_02_343375_0002.jpg', '/home/pi/Desktop/images/11012025/00/02/image_11012025_00_02_02_343375_0003.jpg', '/home/pi/Desktop/images/11012025/00/03/image_11012025_00_03_02_513618_0000.jpg', '/home/pi/Desktop/images/11012025/00/03/image_11012025_00_03_02_513618_0001.jpg', '/home/pi/Desktop/images/11012025/00/03/image_11012025_00_03_02_513618_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/02/image_11012025_00_02_02_343375_0001.jpg
/home/pi/Desktop/images/11012025/00/02/image_11012025_00_02_02_343375_0002.jpg
/home/pi/Desktop/images/11012025/00/02/image_11012025_00_02_02_343375_0003.jpg
/home/pi/Desktop/images/11012025/00/03/image_11012025_00_03_02_513618_0000.jpg
/home/pi/Desktop/images/11012025/00/03/image_11012025_00_03_02_513618_0001.jpg
/home/pi/Desktop/images/11012025/00/03/image_11012025_00_03_02_513618_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328002373","1328002378","1328002371","1328002380","1328002382","1328002376"],"photo_ids_order":["1328002371","1328002373","1328002376","1328002378","1328002380","1328002382"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6af65eee3b6a4c78c5ef83f63483cbb9.jpg","text":"TemporaryFile(/tmp/multipartBody3746782525406995441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550397948,"filename":"image_11012025_00_02_02_343375_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6a208dd43ce39e3e5b4929d23046150e.jpg","text":"TemporaryFile(/tmp/multipartBody421219730247289249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550397948,"filename":"image_11012025_00_03_02_513618_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/83f2f07c73237707fa765e42a6dcb003.jpg","text":"TemporaryFile(/tmp/multipartBody1857242012859851844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550397948,"filename":"image_11012025_00_02_02_343375_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/db6a6c3ce7b016858de04227552752be.jpg","text":"TemporaryFile(/tmp/multipartBody7213536052567863122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550397948,"filename":"image_11012025_00_03_02_513618_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fda026df8d48bb6c22521343f966dc23.jpg","text":"TemporaryFile(/tmp/multipartBody3684711659286856496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550397948,"filename":"image_11012025_00_03_02_513618_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9bcc178ddc27823e564435afae15624b.jpg","text":"TemporaryFile(/tmp/multipartBody1324424632005992490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550397948,"filename":"image_11012025_00_02_02_343375_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328002376","file1":"1328002373","file0":"1328002371","file4":"1328002380","file5":"1328002382","file3":"1328002378"},"map_files_photo_id_array":[{"photo_id":"1328002382","filename":"file5"},{"photo_id":"1328002376","filename":"file2"},{"photo_id":"1328002380","filename":"file4"},{"photo_id":"1328002373","filename":"file1"},{"photo_id":"1328002371","filename":"file0"},{"photo_id":"1328002378","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328002373":["hashtag1","hashtag2"]},{"1328002378":["hashtag1","hashtag2"]},{"1328002371":["hashtag1","hashtag2"]},{"1328002380":["hashtag1","hashtag2"]},{"1328002382":["hashtag1","hashtag2"]},{"1328002376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328002373, 1328002378, 1328002371, 1328002380, 1328002382, 1328002376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.981871604919434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:06:21.856641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/03/image_11012025_00_03_02_513618_0003.jpg', '/home/pi/Desktop/images/11012025/00/04/image_11012025_00_04_02_680909_0000.jpg', '/home/pi/Desktop/images/11012025/00/04/image_11012025_00_04_02_680909_0001.jpg', '/home/pi/Desktop/images/11012025/00/04/image_11012025_00_04_02_680909_0002.jpg', '/home/pi/Desktop/images/11012025/00/04/image_11012025_00_04_02_680909_0003.jpg', '/home/pi/Desktop/images/11012025/00/05/image_11012025_00_05_02_859881_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/03/image_11012025_00_03_02_513618_0003.jpg
/home/pi/Desktop/images/11012025/00/04/image_11012025_00_04_02_680909_0000.jpg
/home/pi/Desktop/images/11012025/00/04/image_11012025_00_04_02_680909_0001.jpg
/home/pi/Desktop/images/11012025/00/04/image_11012025_00_04_02_680909_0002.jpg
/home/pi/Desktop/images/11012025/00/04/image_11012025_00_04_02_680909_0003.jpg
/home/pi/Desktop/images/11012025/00/05/image_11012025_00_05_02_859881_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":["1328003980","1328004103","1328003911","1328003914","1328004108","1328003912"],"photo_ids_order":["1328003911","1328003912","1328003914","1328003980","1328004103","1328004108"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a3f2ef77387c3ca35a47b703783a7d08.jpg","text":"TemporaryFile(/tmp/multipartBody82888153726764212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550456990,"filename":"image_11012025_00_04_02_680909_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ac3a3408f87a572fd150aefce4088270.jpg","text":"TemporaryFile(/tmp/multipartBody3288082160982035117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550456990,"filename":"image_11012025_00_04_02_680909_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1067f917c9d727bf439649e022a45f0a.jpg","text":"TemporaryFile(/tmp/multipartBody4445548767072670985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550456990,"filename":"image_11012025_00_03_02_513618_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/73ba03975b67fcbb1c03930211562029.jpg","text":"TemporaryFile(/tmp/multipartBody2479162187571386720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550456990,"filename":"image_11012025_00_04_02_680909_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/58192523aba33bb983512ab448c977d9.jpg","text":"TemporaryFile(/tmp/multipartBody3868379169842553982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550456990,"filename":"image_11012025_00_05_02_859881_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ce6246fb7db83dafb7749b342ac3a366.jpg","text":"TemporaryFile(/tmp/multipartBody2891051977854511381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550456990,"filename":"image_11012025_00_04_02_680909_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328003914","file1":"1328003912","file0":"1328003911","file4":"1328004103","file5":"1328004108","file3":"1328003980"},"map_files_photo_id_array":[{"photo_id":"1328004108","filename":"file5"},{"photo_id":"1328003914","filename":"file2"},{"photo_id":"1328004103","filename":"file4"},{"photo_id":"1328003912","filename":"file1"},{"photo_id":"1328003911","filename":"file0"},{"photo_id":"1328003980","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328003980":["hashtag1","hashtag2"]},{"1328004103":["hashtag1","hashtag2"]},{"1328003911":["hashtag1","hashtag2"]},{"1328003914":["hashtag1","hashtag2"]},{"1328004108":["hashtag1","hashtag2"]},{"1328003912":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328003980, 1328004103, 1328003911, 1328003914, 1328004108, 1328003912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.43004107475281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:07:22.011668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/05/image_11012025_00_05_02_859881_0001.jpg', '/home/pi/Desktop/images/11012025/00/05/image_11012025_00_05_02_859881_0003.jpg', '/home/pi/Desktop/images/11012025/00/06/image_11012025_00_06_03_128398_0000.jpg', '/home/pi/Desktop/images/11012025/00/06/image_11012025_00_06_03_128398_0001.jpg', '/home/pi/Desktop/images/11012025/00/06/image_11012025_00_06_03_128398_0002.jpg', '/home/pi/Desktop/images/11012025/00/06/image_11012025_00_06_03_128398_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/05/image_11012025_00_05_02_859881_0001.jpg
/home/pi/Desktop/images/11012025/00/05/image_11012025_00_05_02_859881_0003.jpg
/home/pi/Desktop/images/11012025/00/06/image_11012025_00_06_03_128398_0000.jpg
/home/pi/Desktop/images/11012025/00/06/image_11012025_00_06_03_128398_0001.jpg
/home/pi/Desktop/images/11012025/00/06/image_11012025_00_06_03_128398_0002.jpg
/home/pi/Desktop/images/11012025/00/06/image_11012025_00_06_03_128398_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":["1328004436","1328004492","1328004444","1328004490","1328004443","1328004178"],"photo_ids_order":["1328004178","1328004436","1328004443","1328004444","1328004490","1328004492"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c667b952b3eec899773174ae30fbc5d3.jpg","text":"TemporaryFile(/tmp/multipartBody3955664707248578522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550517068,"filename":"image_11012025_00_05_02_859881_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/df7d102af2838f210a252439e543840e.jpg","text":"TemporaryFile(/tmp/multipartBody2739911746632626499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550517068,"filename":"image_11012025_00_06_03_128398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d9ec0398c10fcca5be61b643afd1735c.jpg","text":"TemporaryFile(/tmp/multipartBody6908484771654549440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550517068,"filename":"image_11012025_00_06_03_128398_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/256cf4f2746fa30d68c74ff93fc90d08.jpg","text":"TemporaryFile(/tmp/multipartBody1467129153976404630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550517068,"filename":"image_11012025_00_06_03_128398_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9eb3cebd7526d0e546b1e227015b4e28.jpg","text":"TemporaryFile(/tmp/multipartBody2427180884306497638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550517068,"filename":"image_11012025_00_06_03_128398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9f2f9122f66f92b8ef1aef7f04e78020.jpg","text":"TemporaryFile(/tmp/multipartBody8888241848924529683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550517068,"filename":"image_11012025_00_05_02_859881_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328004443","file1":"1328004436","file0":"1328004178","file4":"1328004490","file5":"1328004492","file3":"1328004444"},"map_files_photo_id_array":[{"photo_id":"1328004492","filename":"file5"},{"photo_id":"1328004443","filename":"file2"},{"photo_id":"1328004490","filename":"file4"},{"photo_id":"1328004436","filename":"file1"},{"photo_id":"1328004178","filename":"file0"},{"photo_id":"1328004444","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328004436":["hashtag1","hashtag2"]},{"1328004492":["hashtag1","hashtag2"]},{"1328004444":["hashtag1","hashtag2"]},{"1328004490":["hashtag1","hashtag2"]},{"1328004443":["hashtag1","hashtag2"]},{"1328004178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328004436, 1328004492, 1328004444, 1328004490, 1328004443, 1328004178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.37921142578125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:08:22.190138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/07/image_11012025_00_07_02_218428_0000.jpg', '/home/pi/Desktop/images/11012025/00/07/image_11012025_00_07_02_218428_0001.jpg', '/home/pi/Desktop/images/11012025/00/07/image_11012025_00_07_02_218428_0002.jpg', '/home/pi/Desktop/images/11012025/00/07/image_11012025_00_07_02_218428_0003.jpg', '/home/pi/Desktop/images/11012025/00/08/image_11012025_00_08_02_464949_0000.jpg', '/home/pi/Desktop/images/11012025/00/08/image_11012025_00_08_02_464949_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/07/image_11012025_00_07_02_218428_0000.jpg
/home/pi/Desktop/images/11012025/00/07/image_11012025_00_07_02_218428_0001.jpg
/home/pi/Desktop/images/11012025/00/07/image_11012025_00_07_02_218428_0002.jpg
/home/pi/Desktop/images/11012025/00/07/image_11012025_00_07_02_218428_0003.jpg
/home/pi/Desktop/images/11012025/00/08/image_11012025_00_08_02_464949_0000.jpg
/home/pi/Desktop/images/11012025/00/08/image_11012025_00_08_02_464949_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.63878846168518 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:08:52.197285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/15/image_09012025_22_15_02_697424_0003.jpg', '/home/pi/Desktop/images/09012025/22/16/image_09012025_22_16_02_827172_0000.jpg', '/home/pi/Desktop/images/09012025/22/16/image_09012025_22_16_02_827172_0001.jpg', '/home/pi/Desktop/images/09012025/22/16/image_09012025_22_16_02_827172_0002.jpg', '/home/pi/Desktop/images/09012025/22/17/image_09012025_22_17_03_016835_0000.jpg', '/home/pi/Desktop/images/09012025/22/17/image_09012025_22_17_03_016835_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/15/image_09012025_22_15_02_697424_0003.jpg
/home/pi/Desktop/images/09012025/22/16/image_09012025_22_16_02_827172_0000.jpg
/home/pi/Desktop/images/09012025/22/16/image_09012025_22_16_02_827172_0001.jpg
/home/pi/Desktop/images/09012025/22/16/image_09012025_22_16_02_827172_0002.jpg
/home/pi/Desktop/images/09012025/22/17/image_09012025_22_17_03_016835_0000.jpg
/home/pi/Desktop/images/09012025/22/17/image_09012025_22_17_03_016835_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":["1328004604","1328004606","1328004611","1328004614","1328004608","1328004617"],"photo_ids_order":["1328004604","1328004606","1328004608","1328004611","1328004614","1328004617"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b0e83c7c41432b854126336f3fcf43fe.jpg","text":"TemporaryFile(/tmp/multipartBody2429994460180538716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550608181,"filename":"image_09012025_22_15_02_697424_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f0decd58b14cb294ba720f938c51b0b9.jpg","text":"TemporaryFile(/tmp/multipartBody5682407991204574561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550608181,"filename":"image_09012025_22_16_02_827172_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b99a890461dcbd7f43dc0d2f52614500.jpg","text":"TemporaryFile(/tmp/multipartBody6332765068120864348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550608181,"filename":"image_09012025_22_16_02_827172_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e1b329a6e722e1c6090495c951598e2f.jpg","text":"TemporaryFile(/tmp/multipartBody1912774219598091470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550608181,"filename":"image_09012025_22_17_03_016835_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5f29e8fa1a6d64392454e2e3a5505283.jpg","text":"TemporaryFile(/tmp/multipartBody1700438674885304954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550608181,"filename":"image_09012025_22_16_02_827172_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9945aafc0b64c25428febe257faeea41.jpg","text":"TemporaryFile(/tmp/multipartBody1880660589987430059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550608181,"filename":"image_09012025_22_17_03_016835_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328004608","file1":"1328004606","file0":"1328004604","file4":"1328004614","file5":"1328004617","file3":"1328004611"},"map_files_photo_id_array":[{"photo_id":"1328004617","filename":"file5"},{"photo_id":"1328004608","filename":"file2"},{"photo_id":"1328004614","filename":"file4"},{"photo_id":"1328004606","filename":"file1"},{"photo_id":"1328004604","filename":"file0"},{"photo_id":"1328004611","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328004604":["hashtag1","hashtag2"]},{"1328004606":["hashtag1","hashtag2"]},{"1328004611":["hashtag1","hashtag2"]},{"1328004614":["hashtag1","hashtag2"]},{"1328004608":["hashtag1","hashtag2"]},{"1328004617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328004604, 1328004606, 1328004611, 1328004614, 1328004608, 1328004617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.869977712631226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:09:52.345557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/17/image_09012025_22_17_03_016835_0002.jpg', '/home/pi/Desktop/images/09012025/22/17/image_09012025_22_17_03_016835_0003.jpg', '/home/pi/Desktop/images/09012025/22/18/image_09012025_22_18_03_148053_0000.jpg', '/home/pi/Desktop/images/09012025/22/18/image_09012025_22_18_03_148053_0001.jpg', '/home/pi/Desktop/images/09012025/22/18/image_09012025_22_18_03_148053_0002.jpg', '/home/pi/Desktop/images/09012025/22/18/image_09012025_22_18_03_148053_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/17/image_09012025_22_17_03_016835_0002.jpg
/home/pi/Desktop/images/09012025/22/17/image_09012025_22_17_03_016835_0003.jpg
/home/pi/Desktop/images/09012025/22/18/image_09012025_22_18_03_148053_0000.jpg
/home/pi/Desktop/images/09012025/22/18/image_09012025_22_18_03_148053_0001.jpg
/home/pi/Desktop/images/09012025/22/18/image_09012025_22_18_03_148053_0002.jpg
/home/pi/Desktop/images/09012025/22/18/image_09012025_22_18_03_148053_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":["1328004676","1328004645","1328004683","1328004629","1328004679","1328004652"],"photo_ids_order":["1328004629","1328004645","1328004652","1328004676","1328004679","1328004683"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2966873f3200feb952f2f19e1dd8a25f.jpg","text":"TemporaryFile(/tmp/multipartBody3561799511149760616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550668444,"filename":"image_09012025_22_18_03_148053_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/39984aa0f9935a36c1a46fee007ed767.jpg","text":"TemporaryFile(/tmp/multipartBody1022464116068797465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550668444,"filename":"image_09012025_22_17_03_016835_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d2a5e25dcfe561c2b72b5aa11b7d346b.jpg","text":"TemporaryFile(/tmp/multipartBody4163295808755021764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550668444,"filename":"image_09012025_22_18_03_148053_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f4d92da78cbafa633e6587da81792831.jpg","text":"TemporaryFile(/tmp/multipartBody3136828052719371681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550668444,"filename":"image_09012025_22_17_03_016835_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fc6812ea108496c728f302075548c65c.jpg","text":"TemporaryFile(/tmp/multipartBody6284726765559629561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550668444,"filename":"image_09012025_22_18_03_148053_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/827718ec315f56972f40bde2b58a2be4.jpg","text":"TemporaryFile(/tmp/multipartBody3834454889584284658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550668444,"filename":"image_09012025_22_18_03_148053_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328004652","file1":"1328004645","file0":"1328004629","file4":"1328004679","file5":"1328004683","file3":"1328004676"},"map_files_photo_id_array":[{"photo_id":"1328004683","filename":"file5"},{"photo_id":"1328004652","filename":"file2"},{"photo_id":"1328004679","filename":"file4"},{"photo_id":"1328004645","filename":"file1"},{"photo_id":"1328004629","filename":"file0"},{"photo_id":"1328004676","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328004676":["hashtag1","hashtag2"]},{"1328004645":["hashtag1","hashtag2"]},{"1328004683":["hashtag1","hashtag2"]},{"1328004629":["hashtag1","hashtag2"]},{"1328004679":["hashtag1","hashtag2"]},{"1328004652":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328004676, 1328004645, 1328004683, 1328004629, 1328004679, 1328004652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.23275375366211 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:10:52.532263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/19/image_09012025_22_19_02_398349_0000.jpg', '/home/pi/Desktop/images/09012025/22/19/image_09012025_22_19_02_398349_0001.jpg', '/home/pi/Desktop/images/09012025/22/19/image_09012025_22_19_02_398349_0002.jpg', '/home/pi/Desktop/images/09012025/22/19/image_09012025_22_19_02_398349_0003.jpg', '/home/pi/Desktop/images/09012025/22/20/image_09012025_22_20_02_476115_0000.jpg', '/home/pi/Desktop/images/09012025/22/20/image_09012025_22_20_02_476115_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/19/image_09012025_22_19_02_398349_0000.jpg
/home/pi/Desktop/images/09012025/22/19/image_09012025_22_19_02_398349_0001.jpg
/home/pi/Desktop/images/09012025/22/19/image_09012025_22_19_02_398349_0002.jpg
/home/pi/Desktop/images/09012025/22/19/image_09012025_22_19_02_398349_0003.jpg
/home/pi/Desktop/images/09012025/22/20/image_09012025_22_20_02_476115_0000.jpg
/home/pi/Desktop/images/09012025/22/20/image_09012025_22_20_02_476115_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":["1328004795","1328004789","1328004791","1328004797","1328004800","1328004793"],"photo_ids_order":["1328004789","1328004791","1328004793","1328004795","1328004797","1328004800"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/96e67920724c9856ed3247a554038236.jpg","text":"TemporaryFile(/tmp/multipartBody2580393854895862108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550728513,"filename":"image_09012025_22_19_02_398349_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cff38bf65c04b2e5bdff47796e2ce204.jpg","text":"TemporaryFile(/tmp/multipartBody1851988014088374412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550728513,"filename":"image_09012025_22_19_02_398349_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a31ee4bd0392ce58534fc56919a4f2cb.jpg","text":"TemporaryFile(/tmp/multipartBody2274913481231228900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550728513,"filename":"image_09012025_22_19_02_398349_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cc25a561f0e48995b71a0f4f5dabd8a1.jpg","text":"TemporaryFile(/tmp/multipartBody9161449276107224874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550728513,"filename":"image_09012025_22_20_02_476115_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/afc8ca305526ed2ddc056430b8eebcc4.jpg","text":"TemporaryFile(/tmp/multipartBody2882780231155036383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550728513,"filename":"image_09012025_22_20_02_476115_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/841ee93da45f326c1f132e7cf6d6840c.jpg","text":"TemporaryFile(/tmp/multipartBody2292796992056934036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550728513,"filename":"image_09012025_22_19_02_398349_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328004793","file1":"1328004791","file0":"1328004789","file4":"1328004797","file5":"1328004800","file3":"1328004795"},"map_files_photo_id_array":[{"photo_id":"1328004800","filename":"file5"},{"photo_id":"1328004793","filename":"file2"},{"photo_id":"1328004797","filename":"file4"},{"photo_id":"1328004791","filename":"file1"},{"photo_id":"1328004789","filename":"file0"},{"photo_id":"1328004795","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328004795":["hashtag1","hashtag2"]},{"1328004789":["hashtag1","hashtag2"]},{"1328004791":["hashtag1","hashtag2"]},{"1328004797":["hashtag1","hashtag2"]},{"1328004800":["hashtag1","hashtag2"]},{"1328004793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328004795, 1328004789, 1328004791, 1328004797, 1328004800, 1328004793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.12135863304138 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:11:52.735997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/20/image_09012025_22_20_02_476115_0002.jpg', '/home/pi/Desktop/images/09012025/22/20/image_09012025_22_20_02_476115_0003.jpg', '/home/pi/Desktop/images/09012025/22/21/image_09012025_22_21_02_665068_0000.jpg', '/home/pi/Desktop/images/09012025/22/21/image_09012025_22_21_02_665068_0001.jpg', '/home/pi/Desktop/images/09012025/22/21/image_09012025_22_21_02_665068_0002.jpg', '/home/pi/Desktop/images/09012025/22/21/image_09012025_22_21_02_665068_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/20/image_09012025_22_20_02_476115_0002.jpg
/home/pi/Desktop/images/09012025/22/20/image_09012025_22_20_02_476115_0003.jpg
/home/pi/Desktop/images/09012025/22/21/image_09012025_22_21_02_665068_0000.jpg
/home/pi/Desktop/images/09012025/22/21/image_09012025_22_21_02_665068_0001.jpg
/home/pi/Desktop/images/09012025/22/21/image_09012025_22_21_02_665068_0002.jpg
/home/pi/Desktop/images/09012025/22/21/image_09012025_22_21_02_665068_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.7999746799469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:12:21.933562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/07/image_11012025_00_07_02_218428_0000.jpg', '/home/pi/Desktop/images/11012025/00/07/image_11012025_00_07_02_218428_0001.jpg', '/home/pi/Desktop/images/11012025/00/07/image_11012025_00_07_02_218428_0002.jpg', '/home/pi/Desktop/images/11012025/00/07/image_11012025_00_07_02_218428_0003.jpg', '/home/pi/Desktop/images/11012025/00/08/image_11012025_00_08_02_464949_0000.jpg', '/home/pi/Desktop/images/11012025/00/08/image_11012025_00_08_02_464949_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/07/image_11012025_00_07_02_218428_0000.jpg
/home/pi/Desktop/images/11012025/00/07/image_11012025_00_07_02_218428_0001.jpg
/home/pi/Desktop/images/11012025/00/07/image_11012025_00_07_02_218428_0002.jpg
/home/pi/Desktop/images/11012025/00/07/image_11012025_00_07_02_218428_0003.jpg
/home/pi/Desktop/images/11012025/00/08/image_11012025_00_08_02_464949_0000.jpg
/home/pi/Desktop/images/11012025/00/08/image_11012025_00_08_02_464949_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":["1328004975","1328005058","1328004962","1328005057","1328004976","1328004964"],"photo_ids_order":["1328004962","1328004964","1328004975","1328004976","1328005057","1328005058"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fd76ed0dc2954f17e5f2083c850a65a2.jpg","text":"TemporaryFile(/tmp/multipartBody776035582932461745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550816973,"filename":"image_11012025_00_07_02_218428_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cd8fc489507e40f4f545b1246a9d7afe.jpg","text":"TemporaryFile(/tmp/multipartBody2756133851350530556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550816973,"filename":"image_11012025_00_08_02_464949_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/58d12aedfcf883eecfa2f29ecd8613fb.jpg","text":"TemporaryFile(/tmp/multipartBody7823570396440425875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550816973,"filename":"image_11012025_00_07_02_218428_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/90a5d73d437dc22d526946d7b1878ce4.jpg","text":"TemporaryFile(/tmp/multipartBody5879143596360172859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550816973,"filename":"image_11012025_00_08_02_464949_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a0b04a69a860eea42606e86d126ad8e5.jpg","text":"TemporaryFile(/tmp/multipartBody2527727922617667067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550816973,"filename":"image_11012025_00_07_02_218428_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a8c92917ce514f706210d900d5be6072.jpg","text":"TemporaryFile(/tmp/multipartBody4106799270965958880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550816973,"filename":"image_11012025_00_07_02_218428_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328004975","file1":"1328004964","file0":"1328004962","file4":"1328005057","file5":"1328005058","file3":"1328004976"},"map_files_photo_id_array":[{"photo_id":"1328005058","filename":"file5"},{"photo_id":"1328004975","filename":"file2"},{"photo_id":"1328005057","filename":"file4"},{"photo_id":"1328004964","filename":"file1"},{"photo_id":"1328004962","filename":"file0"},{"photo_id":"1328004976","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328004975":["hashtag1","hashtag2"]},{"1328005058":["hashtag1","hashtag2"]},{"1328004962":["hashtag1","hashtag2"]},{"1328005057":["hashtag1","hashtag2"]},{"1328004976":["hashtag1","hashtag2"]},{"1328004964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328004975, 1328005058, 1328004962, 1328005057, 1328004976, 1328004964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.73900294303894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:13:22.058808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/08/image_11012025_00_08_02_464949_0002.jpg', '/home/pi/Desktop/images/11012025/00/08/image_11012025_00_08_02_464949_0003.jpg', '/home/pi/Desktop/images/11012025/00/09/image_11012025_00_09_02_674885_0000.jpg', '/home/pi/Desktop/images/11012025/00/09/image_11012025_00_09_02_674885_0001.jpg', '/home/pi/Desktop/images/11012025/00/09/image_11012025_00_09_02_674885_0002.jpg', '/home/pi/Desktop/images/11012025/00/09/image_11012025_00_09_02_674885_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/08/image_11012025_00_08_02_464949_0002.jpg
/home/pi/Desktop/images/11012025/00/08/image_11012025_00_08_02_464949_0003.jpg
/home/pi/Desktop/images/11012025/00/09/image_11012025_00_09_02_674885_0000.jpg
/home/pi/Desktop/images/11012025/00/09/image_11012025_00_09_02_674885_0001.jpg
/home/pi/Desktop/images/11012025/00/09/image_11012025_00_09_02_674885_0002.jpg
/home/pi/Desktop/images/11012025/00/09/image_11012025_00_09_02_674885_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":["1328005074","1328005077","1328005076","1328005081","1328005078","1328005072"],"photo_ids_order":["1328005072","1328005074","1328005076","1328005077","1328005078","1328005081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1de0c6c41072741e08c16a2591c8af8e.jpg","text":"TemporaryFile(/tmp/multipartBody6611975550995857402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550877310,"filename":"image_11012025_00_08_02_464949_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f33d7be6ebbaafbadbec7f84a65405ad.jpg","text":"TemporaryFile(/tmp/multipartBody8741799614553209554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550877310,"filename":"image_11012025_00_09_02_674885_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/23406fad0c4cea42d5973edfbd80a7cb.jpg","text":"TemporaryFile(/tmp/multipartBody8096813023233301811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550877310,"filename":"image_11012025_00_09_02_674885_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/12126818ee527d1ed36fe297db5fcebd.jpg","text":"TemporaryFile(/tmp/multipartBody415003467992130501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550877310,"filename":"image_11012025_00_09_02_674885_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7b22a5892ea720b4b0edca09d6d0ed7d.jpg","text":"TemporaryFile(/tmp/multipartBody3096379743210862131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550877310,"filename":"image_11012025_00_09_02_674885_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c2732adcf3a6207794b0b208c009b88a.jpg","text":"TemporaryFile(/tmp/multipartBody2517460429529702005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550877310,"filename":"image_11012025_00_08_02_464949_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328005076","file1":"1328005074","file0":"1328005072","file4":"1328005078","file5":"1328005081","file3":"1328005077"},"map_files_photo_id_array":[{"photo_id":"1328005081","filename":"file5"},{"photo_id":"1328005076","filename":"file2"},{"photo_id":"1328005078","filename":"file4"},{"photo_id":"1328005074","filename":"file1"},{"photo_id":"1328005072","filename":"file0"},{"photo_id":"1328005077","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328005074":["hashtag1","hashtag2"]},{"1328005077":["hashtag1","hashtag2"]},{"1328005076":["hashtag1","hashtag2"]},{"1328005081":["hashtag1","hashtag2"]},{"1328005078":["hashtag1","hashtag2"]},{"1328005072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328005074, 1328005077, 1328005076, 1328005081, 1328005078, 1328005072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.349345684051514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:14:22.217577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/10/image_11012025_00_10_02_739640_0000.jpg', '/home/pi/Desktop/images/11012025/00/10/image_11012025_00_10_02_739640_0001.jpg', '/home/pi/Desktop/images/11012025/00/10/image_11012025_00_10_02_739640_0002.jpg', '/home/pi/Desktop/images/11012025/00/10/image_11012025_00_10_02_739640_0003.jpg', '/home/pi/Desktop/images/11012025/00/11/image_11012025_00_11_02_915199_0000.jpg', '/home/pi/Desktop/images/11012025/00/11/image_11012025_00_11_02_915199_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/10/image_11012025_00_10_02_739640_0000.jpg
/home/pi/Desktop/images/11012025/00/10/image_11012025_00_10_02_739640_0001.jpg
/home/pi/Desktop/images/11012025/00/10/image_11012025_00_10_02_739640_0002.jpg
/home/pi/Desktop/images/11012025/00/10/image_11012025_00_10_02_739640_0003.jpg
/home/pi/Desktop/images/11012025/00/11/image_11012025_00_11_02_915199_0000.jpg
/home/pi/Desktop/images/11012025/00/11/image_11012025_00_11_02_915199_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":["1328005097","1328005094","1328005100","1328005103","1328005090","1328005105"],"photo_ids_order":["1328005090","1328005094","1328005097","1328005100","1328005103","1328005105"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dcfb3eaec355a477c097182c1ea54e33.jpg","text":"TemporaryFile(/tmp/multipartBody4369788053155585350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550937254,"filename":"image_11012025_00_10_02_739640_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a47a432e61aae32a107305058b9faf96.jpg","text":"TemporaryFile(/tmp/multipartBody4682210642064209128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550937254,"filename":"image_11012025_00_10_02_739640_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/40360fe8377debffffbf144fca4ed108.jpg","text":"TemporaryFile(/tmp/multipartBody1513339491037042039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550937254,"filename":"image_11012025_00_10_02_739640_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/55c8d1542b7cddbcc3889b83571686ba.jpg","text":"TemporaryFile(/tmp/multipartBody4290213709298370960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550937254,"filename":"image_11012025_00_11_02_915199_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/58653ac9552a19c61ec6c022550b7b31.jpg","text":"TemporaryFile(/tmp/multipartBody6040792480064909208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550937254,"filename":"image_11012025_00_10_02_739640_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7dc3684668a3fae095d1d1043779f003.jpg","text":"TemporaryFile(/tmp/multipartBody7100819358812695327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550937254,"filename":"image_11012025_00_11_02_915199_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328005097","file1":"1328005094","file0":"1328005090","file4":"1328005103","file5":"1328005105","file3":"1328005100"},"map_files_photo_id_array":[{"photo_id":"1328005105","filename":"file5"},{"photo_id":"1328005097","filename":"file2"},{"photo_id":"1328005103","filename":"file4"},{"photo_id":"1328005094","filename":"file1"},{"photo_id":"1328005090","filename":"file0"},{"photo_id":"1328005100","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328005097":["hashtag1","hashtag2"]},{"1328005094":["hashtag1","hashtag2"]},{"1328005100":["hashtag1","hashtag2"]},{"1328005103":["hashtag1","hashtag2"]},{"1328005090":["hashtag1","hashtag2"]},{"1328005105":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328005097, 1328005094, 1328005100, 1328005103, 1328005090, 1328005105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.39674401283264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:15:22.472792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/11/image_11012025_00_11_02_915199_0002.jpg', '/home/pi/Desktop/images/11012025/00/11/image_11012025_00_11_02_915199_0003.jpg', '/home/pi/Desktop/images/11012025/00/12/image_11012025_00_12_03_079980_0000.jpg', '/home/pi/Desktop/images/11012025/00/12/image_11012025_00_12_03_079980_0001.jpg', '/home/pi/Desktop/images/11012025/00/12/image_11012025_00_12_03_079980_0002.jpg', '/home/pi/Desktop/images/11012025/00/12/image_11012025_00_12_03_079980_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/11/image_11012025_00_11_02_915199_0002.jpg
/home/pi/Desktop/images/11012025/00/11/image_11012025_00_11_02_915199_0003.jpg
/home/pi/Desktop/images/11012025/00/12/image_11012025_00_12_03_079980_0000.jpg
/home/pi/Desktop/images/11012025/00/12/image_11012025_00_12_03_079980_0001.jpg
/home/pi/Desktop/images/11012025/00/12/image_11012025_00_12_03_079980_0002.jpg
/home/pi/Desktop/images/11012025/00/12/image_11012025_00_12_03_079980_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":["1328005405","1328005120","1328005117","1328005407","1328005427","1328005123"],"photo_ids_order":["1328005117","1328005120","1328005123","1328005405","1328005407","1328005427"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/45ea4881ce9d5fa065a6df1d96781c76.jpg","text":"TemporaryFile(/tmp/multipartBody4932450767557576041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550997623,"filename":"image_11012025_00_12_03_079980_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/57cd871ca910642599943a5d6f03344d.jpg","text":"TemporaryFile(/tmp/multipartBody1050969378044641860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550997623,"filename":"image_11012025_00_11_02_915199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f9fa8aca1b06a37ff63c8e8a88867fa2.jpg","text":"TemporaryFile(/tmp/multipartBody2458112808998968082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550997623,"filename":"image_11012025_00_11_02_915199_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1a74d3ac67f4b612aaf3d1328ce6e3fb.jpg","text":"TemporaryFile(/tmp/multipartBody4566018523866894624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550997623,"filename":"image_11012025_00_12_03_079980_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bbade0ebaf34927033b5f47bef4c05ac.jpg","text":"TemporaryFile(/tmp/multipartBody8130192546737364301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550997623,"filename":"image_11012025_00_12_03_079980_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c03d55aa2283f2fdf9ed0e974ff1cd1b.jpg","text":"TemporaryFile(/tmp/multipartBody1002803671982767705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736550997623,"filename":"image_11012025_00_12_03_079980_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328005123","file1":"1328005120","file0":"1328005117","file4":"1328005407","file5":"1328005427","file3":"1328005405"},"map_files_photo_id_array":[{"photo_id":"1328005427","filename":"file5"},{"photo_id":"1328005123","filename":"file2"},{"photo_id":"1328005407","filename":"file4"},{"photo_id":"1328005120","filename":"file1"},{"photo_id":"1328005117","filename":"file0"},{"photo_id":"1328005405","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328005405":["hashtag1","hashtag2"]},{"1328005120":["hashtag1","hashtag2"]},{"1328005117":["hashtag1","hashtag2"]},{"1328005407":["hashtag1","hashtag2"]},{"1328005427":["hashtag1","hashtag2"]},{"1328005123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328005405, 1328005120, 1328005117, 1328005407, 1328005427, 1328005123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.8936505317688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:16:22.661301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/13/image_11012025_00_13_02_342282_0000.jpg', '/home/pi/Desktop/images/11012025/00/13/image_11012025_00_13_02_342282_0001.jpg', '/home/pi/Desktop/images/11012025/00/13/image_11012025_00_13_02_342282_0002.jpg', '/home/pi/Desktop/images/11012025/00/13/image_11012025_00_13_02_342282_0003.jpg', '/home/pi/Desktop/images/11012025/00/14/image_11012025_00_14_02_476953_0000.jpg', '/home/pi/Desktop/images/11012025/00/14/image_11012025_00_14_02_476953_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/13/image_11012025_00_13_02_342282_0000.jpg
/home/pi/Desktop/images/11012025/00/13/image_11012025_00_13_02_342282_0001.jpg
/home/pi/Desktop/images/11012025/00/13/image_11012025_00_13_02_342282_0002.jpg
/home/pi/Desktop/images/11012025/00/13/image_11012025_00_13_02_342282_0003.jpg
/home/pi/Desktop/images/11012025/00/14/image_11012025_00_14_02_476953_0000.jpg
/home/pi/Desktop/images/11012025/00/14/image_11012025_00_14_02_476953_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":["1328005650","1328005653","1328005580","1328005664","1328005657","1328005660"],"photo_ids_order":["1328005580","1328005650","1328005653","1328005657","1328005660","1328005664"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ddac7e46457283ddc910c143509d9da8.jpg","text":"TemporaryFile(/tmp/multipartBody5963505722103356784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551057908,"filename":"image_11012025_00_13_02_342282_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3b0f03eb2a9d09d88d830357e47281b6.jpg","text":"TemporaryFile(/tmp/multipartBody8376015980845161929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551057908,"filename":"image_11012025_00_13_02_342282_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/da0db97a25921b67933ad3138df3d0ba.jpg","text":"TemporaryFile(/tmp/multipartBody8608760752371053803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551057908,"filename":"image_11012025_00_13_02_342282_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a78a49c2ffdc223a461e07ff1f3a001d.jpg","text":"TemporaryFile(/tmp/multipartBody1010141373611606416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551057908,"filename":"image_11012025_00_14_02_476953_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/063b648a55ebf5b32a5a53ca86e829f3.jpg","text":"TemporaryFile(/tmp/multipartBody6971448589434179163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551057908,"filename":"image_11012025_00_13_02_342282_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b718f2dfe732f1a072089ab3a08cb001.jpg","text":"TemporaryFile(/tmp/multipartBody4791277331669104727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551057908,"filename":"image_11012025_00_14_02_476953_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328005653","file1":"1328005650","file0":"1328005580","file4":"1328005660","file5":"1328005664","file3":"1328005657"},"map_files_photo_id_array":[{"photo_id":"1328005664","filename":"file5"},{"photo_id":"1328005653","filename":"file2"},{"photo_id":"1328005660","filename":"file4"},{"photo_id":"1328005650","filename":"file1"},{"photo_id":"1328005580","filename":"file0"},{"photo_id":"1328005657","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328005650":["hashtag1","hashtag2"]},{"1328005653":["hashtag1","hashtag2"]},{"1328005580":["hashtag1","hashtag2"]},{"1328005664":["hashtag1","hashtag2"]},{"1328005657":["hashtag1","hashtag2"]},{"1328005660":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328005650, 1328005653, 1328005580, 1328005664, 1328005657, 1328005660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.69560384750366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:17:51.855792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/20/image_09012025_22_20_02_476115_0002.jpg', '/home/pi/Desktop/images/09012025/22/20/image_09012025_22_20_02_476115_0003.jpg', '/home/pi/Desktop/images/09012025/22/21/image_09012025_22_21_02_665068_0000.jpg', '/home/pi/Desktop/images/09012025/22/21/image_09012025_22_21_02_665068_0001.jpg', '/home/pi/Desktop/images/09012025/22/21/image_09012025_22_21_02_665068_0002.jpg', '/home/pi/Desktop/images/09012025/22/21/image_09012025_22_21_02_665068_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/20/image_09012025_22_20_02_476115_0002.jpg
/home/pi/Desktop/images/09012025/22/20/image_09012025_22_20_02_476115_0003.jpg
/home/pi/Desktop/images/09012025/22/21/image_09012025_22_21_02_665068_0000.jpg
/home/pi/Desktop/images/09012025/22/21/image_09012025_22_21_02_665068_0001.jpg
/home/pi/Desktop/images/09012025/22/21/image_09012025_22_21_02_665068_0002.jpg
/home/pi/Desktop/images/09012025/22/21/image_09012025_22_21_02_665068_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":["1328006055","1328005698","1328005743","1328005844","1328005952","1328006152"],"photo_ids_order":["1328005698","1328005743","1328005844","1328005952","1328006055","1328006152"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bc27036f943d207d3525f8b962e67d0f.jpg","text":"TemporaryFile(/tmp/multipartBody6745374736242794781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551147949,"filename":"image_09012025_22_21_02_665068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e7d75b7fe856f478a7c42b4f36a017f9.jpg","text":"TemporaryFile(/tmp/multipartBody6324092947856709524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551147949,"filename":"image_09012025_22_20_02_476115_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/75e794eb506855880e862858207f60dc.jpg","text":"TemporaryFile(/tmp/multipartBody7180072023312846138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551147949,"filename":"image_09012025_22_20_02_476115_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7f97d02d7a78a0f0ae6cf09e55561775.jpg","text":"TemporaryFile(/tmp/multipartBody120740455656945448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551147949,"filename":"image_09012025_22_21_02_665068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/327472db3da7588f9bf1e20119d95b9d.jpg","text":"TemporaryFile(/tmp/multipartBody6172060391438377165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551147949,"filename":"image_09012025_22_21_02_665068_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/72ccb2f99134822115761644d4cb8ecd.jpg","text":"TemporaryFile(/tmp/multipartBody1160513505241473210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551147949,"filename":"image_09012025_22_21_02_665068_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328005844","file1":"1328005743","file0":"1328005698","file4":"1328006055","file5":"1328006152","file3":"1328005952"},"map_files_photo_id_array":[{"photo_id":"1328006152","filename":"file5"},{"photo_id":"1328005844","filename":"file2"},{"photo_id":"1328006055","filename":"file4"},{"photo_id":"1328005743","filename":"file1"},{"photo_id":"1328005698","filename":"file0"},{"photo_id":"1328005952","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328006055":["hashtag1","hashtag2"]},{"1328005698":["hashtag1","hashtag2"]},{"1328005743":["hashtag1","hashtag2"]},{"1328005844":["hashtag1","hashtag2"]},{"1328005952":["hashtag1","hashtag2"]},{"1328006152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328006055, 1328005698, 1328005743, 1328005844, 1328005952, 1328006152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.930458545684814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:18:52.028288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/22/image_09012025_22_22_02_827800_0000.jpg', '/home/pi/Desktop/images/09012025/22/22/image_09012025_22_22_02_827800_0001.jpg', '/home/pi/Desktop/images/09012025/22/22/image_09012025_22_22_02_827800_0002.jpg', '/home/pi/Desktop/images/09012025/22/22/image_09012025_22_22_02_827800_0003.jpg', '/home/pi/Desktop/images/09012025/22/23/image_09012025_22_23_03_037131_0000.jpg', '/home/pi/Desktop/images/09012025/22/23/image_09012025_22_23_03_037131_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/22/image_09012025_22_22_02_827800_0000.jpg
/home/pi/Desktop/images/09012025/22/22/image_09012025_22_22_02_827800_0001.jpg
/home/pi/Desktop/images/09012025/22/22/image_09012025_22_22_02_827800_0002.jpg
/home/pi/Desktop/images/09012025/22/22/image_09012025_22_22_02_827800_0003.jpg
/home/pi/Desktop/images/09012025/22/23/image_09012025_22_23_03_037131_0000.jpg
/home/pi/Desktop/images/09012025/22/23/image_09012025_22_23_03_037131_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.774068117141724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:19:22.195995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/14/image_11012025_00_14_02_476953_0002.jpg', '/home/pi/Desktop/images/11012025/00/14/image_11012025_00_14_02_476953_0003.jpg', '/home/pi/Desktop/images/11012025/00/15/image_11012025_00_15_02_610324_0000.jpg', '/home/pi/Desktop/images/11012025/00/15/image_11012025_00_15_02_610324_0001.jpg', '/home/pi/Desktop/images/11012025/00/15/image_11012025_00_15_02_610324_0002.jpg', '/home/pi/Desktop/images/11012025/00/15/image_11012025_00_15_02_610324_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/14/image_11012025_00_14_02_476953_0002.jpg
/home/pi/Desktop/images/11012025/00/14/image_11012025_00_14_02_476953_0003.jpg
/home/pi/Desktop/images/11012025/00/15/image_11012025_00_15_02_610324_0000.jpg
/home/pi/Desktop/images/11012025/00/15/image_11012025_00_15_02_610324_0001.jpg
/home/pi/Desktop/images/11012025/00/15/image_11012025_00_15_02_610324_0002.jpg
/home/pi/Desktop/images/11012025/00/15/image_11012025_00_15_02_610324_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":["1328006619","1328006610","1328006613","1328006612","1328006611","1328006608"],"photo_ids_order":["1328006608","1328006610","1328006611","1328006612","1328006613","1328006619"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/06fdb0ae02508eda5d405db3ce461f44.jpg","text":"TemporaryFile(/tmp/multipartBody8972787234826542023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551237167,"filename":"image_11012025_00_15_02_610324_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/08d1d735731c6284cf864b83142f4c3f.jpg","text":"TemporaryFile(/tmp/multipartBody6302137573753627438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551237167,"filename":"image_11012025_00_14_02_476953_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1aa72c29baaab23d8e9bfa46dc593948.jpg","text":"TemporaryFile(/tmp/multipartBody1325194637273680736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551237167,"filename":"image_11012025_00_15_02_610324_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4d950cd43d4744408eee414b71b4c201.jpg","text":"TemporaryFile(/tmp/multipartBody1778020862498130652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551237167,"filename":"image_11012025_00_15_02_610324_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e9d0ab1070ed369701b76a49d9230902.jpg","text":"TemporaryFile(/tmp/multipartBody1826478866957836604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551237167,"filename":"image_11012025_00_15_02_610324_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5f5a00efb4e0f5c640924f0083afb6c2.jpg","text":"TemporaryFile(/tmp/multipartBody6990440384465885484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551237167,"filename":"image_11012025_00_14_02_476953_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328006611","file1":"1328006610","file0":"1328006608","file4":"1328006613","file5":"1328006619","file3":"1328006612"},"map_files_photo_id_array":[{"photo_id":"1328006619","filename":"file5"},{"photo_id":"1328006611","filename":"file2"},{"photo_id":"1328006613","filename":"file4"},{"photo_id":"1328006610","filename":"file1"},{"photo_id":"1328006608","filename":"file0"},{"photo_id":"1328006612","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328006619":["hashtag1","hashtag2"]},{"1328006610":["hashtag1","hashtag2"]},{"1328006613":["hashtag1","hashtag2"]},{"1328006612":["hashtag1","hashtag2"]},{"1328006611":["hashtag1","hashtag2"]},{"1328006608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328006619, 1328006610, 1328006613, 1328006612, 1328006611, 1328006608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.249155044555664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:20:22.344544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/16/image_11012025_00_16_02_881332_0000.jpg', '/home/pi/Desktop/images/11012025/00/16/image_11012025_00_16_02_881332_0001.jpg', '/home/pi/Desktop/images/11012025/00/16/image_11012025_00_16_02_881332_0003.jpg', '/home/pi/Desktop/images/11012025/00/17/image_11012025_00_17_03_047740_0000.jpg', '/home/pi/Desktop/images/11012025/00/17/image_11012025_00_17_03_047740_0001.jpg', '/home/pi/Desktop/images/11012025/00/17/image_11012025_00_17_03_047740_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/16/image_11012025_00_16_02_881332_0000.jpg
/home/pi/Desktop/images/11012025/00/16/image_11012025_00_16_02_881332_0001.jpg
/home/pi/Desktop/images/11012025/00/16/image_11012025_00_16_02_881332_0003.jpg
/home/pi/Desktop/images/11012025/00/17/image_11012025_00_17_03_047740_0000.jpg
/home/pi/Desktop/images/11012025/00/17/image_11012025_00_17_03_047740_0001.jpg
/home/pi/Desktop/images/11012025/00/17/image_11012025_00_17_03_047740_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.64561653137207 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:20:52.462727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/22/image_09012025_22_22_02_827800_0000.jpg', '/home/pi/Desktop/images/09012025/22/22/image_09012025_22_22_02_827800_0001.jpg', '/home/pi/Desktop/images/09012025/22/22/image_09012025_22_22_02_827800_0002.jpg', '/home/pi/Desktop/images/09012025/22/22/image_09012025_22_22_02_827800_0003.jpg', '/home/pi/Desktop/images/09012025/22/23/image_09012025_22_23_03_037131_0000.jpg', '/home/pi/Desktop/images/09012025/22/23/image_09012025_22_23_03_037131_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/22/image_09012025_22_22_02_827800_0000.jpg
/home/pi/Desktop/images/09012025/22/22/image_09012025_22_22_02_827800_0001.jpg
/home/pi/Desktop/images/09012025/22/22/image_09012025_22_22_02_827800_0002.jpg
/home/pi/Desktop/images/09012025/22/22/image_09012025_22_22_02_827800_0003.jpg
/home/pi/Desktop/images/09012025/22/23/image_09012025_22_23_03_037131_0000.jpg
/home/pi/Desktop/images/09012025/22/23/image_09012025_22_23_03_037131_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":["1328006742","1328006739","1328006744","1328006735","1328006737","1328006746"],"photo_ids_order":["1328006735","1328006737","1328006739","1328006742","1328006744","1328006746"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4bc31aa78f00fee54444857439999891.jpg","text":"TemporaryFile(/tmp/multipartBody2113959008976437091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551328496,"filename":"image_09012025_22_22_02_827800_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8298296e2315bff33eabcd5f5e32a09d.jpg","text":"TemporaryFile(/tmp/multipartBody1334617590474901246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551328496,"filename":"image_09012025_22_22_02_827800_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9cf0014f3ab58f9ffe1c327f12d8a3f3.jpg","text":"TemporaryFile(/tmp/multipartBody4535223801891117470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551328496,"filename":"image_09012025_22_23_03_037131_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/03019a2f3bb2f8d744ad05d1b86077c4.jpg","text":"TemporaryFile(/tmp/multipartBody8778023020234406447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551328496,"filename":"image_09012025_22_22_02_827800_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/81f1347806a18b6c8b92fe8a4b61cfcd.jpg","text":"TemporaryFile(/tmp/multipartBody5415579606109259152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551328496,"filename":"image_09012025_22_22_02_827800_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8e0f884138cc31e6ec0cfb20eb0b443b.jpg","text":"TemporaryFile(/tmp/multipartBody1558985694682004493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551328496,"filename":"image_09012025_22_23_03_037131_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328006739","file1":"1328006737","file0":"1328006735","file4":"1328006744","file5":"1328006746","file3":"1328006742"},"map_files_photo_id_array":[{"photo_id":"1328006746","filename":"file5"},{"photo_id":"1328006739","filename":"file2"},{"photo_id":"1328006744","filename":"file4"},{"photo_id":"1328006737","filename":"file1"},{"photo_id":"1328006735","filename":"file0"},{"photo_id":"1328006742","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328006742":["hashtag1","hashtag2"]},{"1328006739":["hashtag1","hashtag2"]},{"1328006744":["hashtag1","hashtag2"]},{"1328006735":["hashtag1","hashtag2"]},{"1328006737":["hashtag1","hashtag2"]},{"1328006746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328006742, 1328006739, 1328006744, 1328006735, 1328006737, 1328006746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.258687257766724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:21:52.676897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/23/image_09012025_22_23_03_037131_0002.jpg', '/home/pi/Desktop/images/09012025/22/23/image_09012025_22_23_03_037131_0003.jpg', '/home/pi/Desktop/images/09012025/22/24/image_09012025_22_24_02_217421_0000.jpg', '/home/pi/Desktop/images/09012025/22/24/image_09012025_22_24_02_217421_0001.jpg', '/home/pi/Desktop/images/09012025/22/24/image_09012025_22_24_02_217421_0002.jpg', '/home/pi/Desktop/images/09012025/22/24/image_09012025_22_24_02_217421_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/23/image_09012025_22_23_03_037131_0002.jpg
/home/pi/Desktop/images/09012025/22/23/image_09012025_22_23_03_037131_0003.jpg
/home/pi/Desktop/images/09012025/22/24/image_09012025_22_24_02_217421_0000.jpg
/home/pi/Desktop/images/09012025/22/24/image_09012025_22_24_02_217421_0001.jpg
/home/pi/Desktop/images/09012025/22/24/image_09012025_22_24_02_217421_0002.jpg
/home/pi/Desktop/images/09012025/22/24/image_09012025_22_24_02_217421_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":["1328006775","1328006786","1328006773","1328006781","1328006784","1328006778"],"photo_ids_order":["1328006773","1328006775","1328006778","1328006781","1328006784","1328006786"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a2d2480ece4f5f8f6fe3beaaae418759.jpg","text":"TemporaryFile(/tmp/multipartBody9072527036623464041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551388811,"filename":"image_09012025_22_23_03_037131_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9f4239f67673a316fd0778ad13cbdfc8.jpg","text":"TemporaryFile(/tmp/multipartBody6785209638103173637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551388811,"filename":"image_09012025_22_24_02_217421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7d109fd636b593d6e8c56dafd240ecb6.jpg","text":"TemporaryFile(/tmp/multipartBody744619136756006085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551388811,"filename":"image_09012025_22_23_03_037131_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5365890decc5fac54dc36ddc3b58add4.jpg","text":"TemporaryFile(/tmp/multipartBody2868270548103450255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551388811,"filename":"image_09012025_22_24_02_217421_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b74c25f7c8d571bbe53a250c3531611a.jpg","text":"TemporaryFile(/tmp/multipartBody4142503741212958347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551388811,"filename":"image_09012025_22_24_02_217421_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/15d975c83ce49cde35dd61af06d7b81c.jpg","text":"TemporaryFile(/tmp/multipartBody653574273118190936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551388811,"filename":"image_09012025_22_24_02_217421_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328006778","file1":"1328006775","file0":"1328006773","file4":"1328006784","file5":"1328006786","file3":"1328006781"},"map_files_photo_id_array":[{"photo_id":"1328006786","filename":"file5"},{"photo_id":"1328006778","filename":"file2"},{"photo_id":"1328006784","filename":"file4"},{"photo_id":"1328006775","filename":"file1"},{"photo_id":"1328006773","filename":"file0"},{"photo_id":"1328006781","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328006775":["hashtag1","hashtag2"]},{"1328006786":["hashtag1","hashtag2"]},{"1328006773":["hashtag1","hashtag2"]},{"1328006781":["hashtag1","hashtag2"]},{"1328006784":["hashtag1","hashtag2"]},{"1328006778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328006775, 1328006786, 1328006773, 1328006781, 1328006784, 1328006778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.15605187416077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:22:51.885296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/25/image_09012025_22_25_02_406520_0000.jpg', '/home/pi/Desktop/images/09012025/22/25/image_09012025_22_25_02_406520_0001.jpg', '/home/pi/Desktop/images/09012025/22/25/image_09012025_22_25_02_406520_0002.jpg', '/home/pi/Desktop/images/09012025/22/25/image_09012025_22_25_02_406520_0003.jpg', '/home/pi/Desktop/images/09012025/22/26/image_09012025_22_26_02_576916_0000.jpg', '/home/pi/Desktop/images/09012025/22/26/image_09012025_22_26_02_576916_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/25/image_09012025_22_25_02_406520_0000.jpg
/home/pi/Desktop/images/09012025/22/25/image_09012025_22_25_02_406520_0001.jpg
/home/pi/Desktop/images/09012025/22/25/image_09012025_22_25_02_406520_0002.jpg
/home/pi/Desktop/images/09012025/22/25/image_09012025_22_25_02_406520_0003.jpg
/home/pi/Desktop/images/09012025/22/26/image_09012025_22_26_02_576916_0000.jpg
/home/pi/Desktop/images/09012025/22/26/image_09012025_22_26_02_576916_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":["1328006808","1328006805","1328006795","1328006797","1328006801","1328006799"],"photo_ids_order":["1328006795","1328006797","1328006799","1328006801","1328006805","1328006808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c1cfe396b1d1ac357afa8007aa56ebb9.jpg","text":"TemporaryFile(/tmp/multipartBody6234213623110814570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551447960,"filename":"image_09012025_22_26_02_576916_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/737d5d3bc9f21a58439530db256c2451.jpg","text":"TemporaryFile(/tmp/multipartBody4063951184474112471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551447960,"filename":"image_09012025_22_26_02_576916_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eefae1d99c0c5bbf522d3b7e02def9b3.jpg","text":"TemporaryFile(/tmp/multipartBody1384837107927320141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551447960,"filename":"image_09012025_22_25_02_406520_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/26bc5d8ee26d398b65f596a0e15214fb.jpg","text":"TemporaryFile(/tmp/multipartBody3374437137787256641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551447960,"filename":"image_09012025_22_25_02_406520_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/38dfad53d9275091726b47c3e45343bd.jpg","text":"TemporaryFile(/tmp/multipartBody8553577269496885185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551447960,"filename":"image_09012025_22_25_02_406520_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8f971f1e111d126340905114b35d6195.jpg","text":"TemporaryFile(/tmp/multipartBody5011306366495487142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551447960,"filename":"image_09012025_22_25_02_406520_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328006799","file1":"1328006797","file0":"1328006795","file4":"1328006805","file5":"1328006808","file3":"1328006801"},"map_files_photo_id_array":[{"photo_id":"1328006808","filename":"file5"},{"photo_id":"1328006799","filename":"file2"},{"photo_id":"1328006805","filename":"file4"},{"photo_id":"1328006797","filename":"file1"},{"photo_id":"1328006795","filename":"file0"},{"photo_id":"1328006801","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328006808":["hashtag1","hashtag2"]},{"1328006805":["hashtag1","hashtag2"]},{"1328006795":["hashtag1","hashtag2"]},{"1328006797":["hashtag1","hashtag2"]},{"1328006801":["hashtag1","hashtag2"]},{"1328006799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328006808, 1328006805, 1328006795, 1328006797, 1328006801, 1328006799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.180397033691406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:23:52.048339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/26/image_09012025_22_26_02_576916_0002.jpg', '/home/pi/Desktop/images/09012025/22/26/image_09012025_22_26_02_576916_0003.jpg', '/home/pi/Desktop/images/09012025/22/27/image_09012025_22_27_02_784395_0000.jpg', '/home/pi/Desktop/images/09012025/22/27/image_09012025_22_27_02_784395_0001.jpg', '/home/pi/Desktop/images/09012025/22/27/image_09012025_22_27_02_784395_0002.jpg', '/home/pi/Desktop/images/09012025/22/27/image_09012025_22_27_02_784395_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/26/image_09012025_22_26_02_576916_0002.jpg
/home/pi/Desktop/images/09012025/22/26/image_09012025_22_26_02_576916_0003.jpg
/home/pi/Desktop/images/09012025/22/27/image_09012025_22_27_02_784395_0000.jpg
/home/pi/Desktop/images/09012025/22/27/image_09012025_22_27_02_784395_0001.jpg
/home/pi/Desktop/images/09012025/22/27/image_09012025_22_27_02_784395_0002.jpg
/home/pi/Desktop/images/09012025/22/27/image_09012025_22_27_02_784395_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":["1328006811","1328006825","1328006819","1328006813","1328006822","1328006815"],"photo_ids_order":["1328006811","1328006813","1328006815","1328006819","1328006822","1328006825"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bee442bc9d1a36e50a9638f637f3b935.jpg","text":"TemporaryFile(/tmp/multipartBody241209193901650226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551508173,"filename":"image_09012025_22_26_02_576916_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fd1e83f595c132dedd0a7399730fddd1.jpg","text":"TemporaryFile(/tmp/multipartBody8731488251600827815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551508173,"filename":"image_09012025_22_27_02_784395_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c52e6618f501d80115b3fe7128c6ff50.jpg","text":"TemporaryFile(/tmp/multipartBody5154745337349346266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551508173,"filename":"image_09012025_22_27_02_784395_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3f9af7ba514e3339147db970263a6052.jpg","text":"TemporaryFile(/tmp/multipartBody729673408330910299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551508173,"filename":"image_09012025_22_26_02_576916_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6c78c04d76c1ce97a953603a9047c4f6.jpg","text":"TemporaryFile(/tmp/multipartBody3746097935218285847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551508173,"filename":"image_09012025_22_27_02_784395_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/19223a6f7632b72de022604e5fb8a0a0.jpg","text":"TemporaryFile(/tmp/multipartBody4541173616800578413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551508173,"filename":"image_09012025_22_27_02_784395_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328006815","file1":"1328006813","file0":"1328006811","file4":"1328006822","file5":"1328006825","file3":"1328006819"},"map_files_photo_id_array":[{"photo_id":"1328006825","filename":"file5"},{"photo_id":"1328006815","filename":"file2"},{"photo_id":"1328006822","filename":"file4"},{"photo_id":"1328006813","filename":"file1"},{"photo_id":"1328006811","filename":"file0"},{"photo_id":"1328006819","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328006811":["hashtag1","hashtag2"]},{"1328006825":["hashtag1","hashtag2"]},{"1328006819":["hashtag1","hashtag2"]},{"1328006813":["hashtag1","hashtag2"]},{"1328006822":["hashtag1","hashtag2"]},{"1328006815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328006811, 1328006825, 1328006819, 1328006813, 1328006822, 1328006815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.25599026679993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:24:52.211242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/28/image_09012025_22_28_02_955267_0000.jpg', '/home/pi/Desktop/images/09012025/22/28/image_09012025_22_28_02_955267_0001.jpg', '/home/pi/Desktop/images/09012025/22/28/image_09012025_22_28_02_955267_0002.jpg', '/home/pi/Desktop/images/09012025/22/28/image_09012025_22_28_02_955267_0003.jpg', '/home/pi/Desktop/images/09012025/22/29/image_09012025_22_29_03_073352_0000.jpg', '/home/pi/Desktop/images/09012025/22/29/image_09012025_22_29_03_073352_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/28/image_09012025_22_28_02_955267_0000.jpg
/home/pi/Desktop/images/09012025/22/28/image_09012025_22_28_02_955267_0001.jpg
/home/pi/Desktop/images/09012025/22/28/image_09012025_22_28_02_955267_0002.jpg
/home/pi/Desktop/images/09012025/22/28/image_09012025_22_28_02_955267_0003.jpg
/home/pi/Desktop/images/09012025/22/29/image_09012025_22_29_03_073352_0000.jpg
/home/pi/Desktop/images/09012025/22/29/image_09012025_22_29_03_073352_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":["1328006868","1328006870","1328006864","1328006872","1328006866","1328006875"],"photo_ids_order":["1328006864","1328006866","1328006868","1328006870","1328006872","1328006875"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a41643058d8b0377ea4b7b8106c5e7eb.jpg","text":"TemporaryFile(/tmp/multipartBody7087943983503161329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551568307,"filename":"image_09012025_22_28_02_955267_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/74579d396327d5fbec6245a1d4fef0df.jpg","text":"TemporaryFile(/tmp/multipartBody6266758807559091620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551568307,"filename":"image_09012025_22_28_02_955267_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b8ed9420569f65d6d91501d00a2cf0b0.jpg","text":"TemporaryFile(/tmp/multipartBody3050380688938389730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551568307,"filename":"image_09012025_22_28_02_955267_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f8e0468bd1c18c903463ff54c6f73cf2.jpg","text":"TemporaryFile(/tmp/multipartBody4443245702931979699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551568307,"filename":"image_09012025_22_29_03_073352_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8beb7d441a388df0bba2bef98ebef549.jpg","text":"TemporaryFile(/tmp/multipartBody2483601168216367014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551568307,"filename":"image_09012025_22_28_02_955267_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a3d9c05d6ddb6a9be1c1c0f8072b4e6d.jpg","text":"TemporaryFile(/tmp/multipartBody6295008277753117485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551568307,"filename":"image_09012025_22_29_03_073352_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328006868","file1":"1328006866","file0":"1328006864","file4":"1328006872","file5":"1328006875","file3":"1328006870"},"map_files_photo_id_array":[{"photo_id":"1328006875","filename":"file5"},{"photo_id":"1328006868","filename":"file2"},{"photo_id":"1328006872","filename":"file4"},{"photo_id":"1328006866","filename":"file1"},{"photo_id":"1328006864","filename":"file0"},{"photo_id":"1328006870","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328006868":["hashtag1","hashtag2"]},{"1328006870":["hashtag1","hashtag2"]},{"1328006864":["hashtag1","hashtag2"]},{"1328006872":["hashtag1","hashtag2"]},{"1328006866":["hashtag1","hashtag2"]},{"1328006875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328006868, 1328006870, 1328006864, 1328006872, 1328006866, 1328006875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.939351081848145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:25:52.379971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/29/image_09012025_22_29_03_073352_0002.jpg', '/home/pi/Desktop/images/09012025/22/29/image_09012025_22_29_03_073352_0003.jpg', '/home/pi/Desktop/images/09012025/22/30/image_09012025_22_30_02_257700_0000.jpg', '/home/pi/Desktop/images/09012025/22/30/image_09012025_22_30_02_257700_0001.jpg', '/home/pi/Desktop/images/09012025/22/30/image_09012025_22_30_02_257700_0002.jpg', '/home/pi/Desktop/images/09012025/22/30/image_09012025_22_30_02_257700_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/29/image_09012025_22_29_03_073352_0002.jpg
/home/pi/Desktop/images/09012025/22/29/image_09012025_22_29_03_073352_0003.jpg
/home/pi/Desktop/images/09012025/22/30/image_09012025_22_30_02_257700_0000.jpg
/home/pi/Desktop/images/09012025/22/30/image_09012025_22_30_02_257700_0001.jpg
/home/pi/Desktop/images/09012025/22/30/image_09012025_22_30_02_257700_0002.jpg
/home/pi/Desktop/images/09012025/22/30/image_09012025_22_30_02_257700_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":["1328006891","1328006894","1328006888","1328006882","1328006885","1328006880"],"photo_ids_order":["1328006880","1328006882","1328006885","1328006888","1328006891","1328006894"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/234c61d88605254eeae6d87a45ad7dbf.jpg","text":"TemporaryFile(/tmp/multipartBody4369508708485967332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551628526,"filename":"image_09012025_22_30_02_257700_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1c94ac5c8d9246cf07c77adbef7c65b1.jpg","text":"TemporaryFile(/tmp/multipartBody2951459729064659039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551628526,"filename":"image_09012025_22_30_02_257700_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7743d7e38df2a1e2a3f3d7e573b9944c.jpg","text":"TemporaryFile(/tmp/multipartBody6131185674886872294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551628526,"filename":"image_09012025_22_30_02_257700_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/778febe8a9a9cfc39e029a550f5e8b45.jpg","text":"TemporaryFile(/tmp/multipartBody2026082545973799348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551628526,"filename":"image_09012025_22_29_03_073352_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b09276daf5bed8cd47bde962a174ca57.jpg","text":"TemporaryFile(/tmp/multipartBody3269550479278476671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551628526,"filename":"image_09012025_22_30_02_257700_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/43d4e157cea70e83701163f0d2e27cb9.jpg","text":"TemporaryFile(/tmp/multipartBody1377266938826037773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551628526,"filename":"image_09012025_22_29_03_073352_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328006885","file1":"1328006882","file0":"1328006880","file4":"1328006891","file5":"1328006894","file3":"1328006888"},"map_files_photo_id_array":[{"photo_id":"1328006894","filename":"file5"},{"photo_id":"1328006885","filename":"file2"},{"photo_id":"1328006891","filename":"file4"},{"photo_id":"1328006882","filename":"file1"},{"photo_id":"1328006880","filename":"file0"},{"photo_id":"1328006888","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328006891":["hashtag1","hashtag2"]},{"1328006894":["hashtag1","hashtag2"]},{"1328006888":["hashtag1","hashtag2"]},{"1328006882":["hashtag1","hashtag2"]},{"1328006885":["hashtag1","hashtag2"]},{"1328006880":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328006891, 1328006894, 1328006888, 1328006882, 1328006885, 1328006880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.109020709991455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:26:52.549614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/31/image_09012025_22_31_02_469543_0000.jpg', '/home/pi/Desktop/images/09012025/22/31/image_09012025_22_31_02_469543_0001.jpg', '/home/pi/Desktop/images/09012025/22/31/image_09012025_22_31_02_469543_0002.jpg', '/home/pi/Desktop/images/09012025/22/31/image_09012025_22_31_02_469543_0003.jpg', '/home/pi/Desktop/images/09012025/22/32/image_09012025_22_32_02_561952_0000.jpg', '/home/pi/Desktop/images/09012025/22/32/image_09012025_22_32_02_561952_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/31/image_09012025_22_31_02_469543_0000.jpg
/home/pi/Desktop/images/09012025/22/31/image_09012025_22_31_02_469543_0001.jpg
/home/pi/Desktop/images/09012025/22/31/image_09012025_22_31_02_469543_0002.jpg
/home/pi/Desktop/images/09012025/22/31/image_09012025_22_31_02_469543_0003.jpg
/home/pi/Desktop/images/09012025/22/32/image_09012025_22_32_02_561952_0000.jpg
/home/pi/Desktop/images/09012025/22/32/image_09012025_22_32_02_561952_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":["1328006907","1328006909","1328006900","1328006902","1328006911","1328006905"],"photo_ids_order":["1328006900","1328006902","1328006905","1328006907","1328006909","1328006911"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9bca85cc46b8fbe1c9a8f183978b195c.jpg","text":"TemporaryFile(/tmp/multipartBody9114817991781639450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551688713,"filename":"image_09012025_22_31_02_469543_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/315f5f16a05589a70fccc60c206f5a68.jpg","text":"TemporaryFile(/tmp/multipartBody4694540669791681634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551688713,"filename":"image_09012025_22_32_02_561952_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/32c12f72fba824435ae3a370b59d4ef7.jpg","text":"TemporaryFile(/tmp/multipartBody1110318606569771137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551688713,"filename":"image_09012025_22_31_02_469543_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0b0ccbc5bc1bf82c4bffd38d3146ac46.jpg","text":"TemporaryFile(/tmp/multipartBody2074375657696178034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551688713,"filename":"image_09012025_22_31_02_469543_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2cbe19a1c0fe8fd065d662eff3ff690c.jpg","text":"TemporaryFile(/tmp/multipartBody9152393335027499043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551688713,"filename":"image_09012025_22_32_02_561952_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d8690de5337d069b6297595065c4bf4a.jpg","text":"TemporaryFile(/tmp/multipartBody4108164005916968822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551688713,"filename":"image_09012025_22_31_02_469543_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328006905","file1":"1328006902","file0":"1328006900","file4":"1328006909","file5":"1328006911","file3":"1328006907"},"map_files_photo_id_array":[{"photo_id":"1328006911","filename":"file5"},{"photo_id":"1328006905","filename":"file2"},{"photo_id":"1328006909","filename":"file4"},{"photo_id":"1328006902","filename":"file1"},{"photo_id":"1328006900","filename":"file0"},{"photo_id":"1328006907","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328006907":["hashtag1","hashtag2"]},{"1328006909":["hashtag1","hashtag2"]},{"1328006900":["hashtag1","hashtag2"]},{"1328006902":["hashtag1","hashtag2"]},{"1328006911":["hashtag1","hashtag2"]},{"1328006905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328006907, 1328006909, 1328006900, 1328006902, 1328006911, 1328006905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.31016302108765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 00:28:02.389999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/16/image_11012025_00_16_02_881332_0000.jpg', '/home/pi/Desktop/images/11012025/00/16/image_11012025_00_16_02_881332_0001.jpg', '/home/pi/Desktop/images/11012025/00/16/image_11012025_00_16_02_881332_0003.jpg', '/home/pi/Desktop/images/11012025/00/17/image_11012025_00_17_03_047740_0000.jpg', '/home/pi/Desktop/images/11012025/00/17/image_11012025_00_17_03_047740_0001.jpg', '/home/pi/Desktop/images/11012025/00/17/image_11012025_00_17_03_047740_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/16/image_11012025_00_16_02_881332_0000.jpg
/home/pi/Desktop/images/11012025/00/16/image_11012025_00_16_02_881332_0001.jpg
/home/pi/Desktop/images/11012025/00/16/image_11012025_00_16_02_881332_0003.jpg
/home/pi/Desktop/images/11012025/00/17/image_11012025_00_17_03_047740_0000.jpg
/home/pi/Desktop/images/11012025/00/17/image_11012025_00_17_03_047740_0001.jpg
/home/pi/Desktop/images/11012025/00/17/image_11012025_00_17_03_047740_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328006960","1328006963","1328006957","1328006965","1328006974","1328006968"],"photo_ids_order":["1328006957","1328006960","1328006963","1328006965","1328006968","1328006974"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/366b1f6fe6c0d269e19db7c182ba027c.jpg","text":"TemporaryFile(/tmp/multipartBody1447381106652613801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551757452,"filename":"image_11012025_00_16_02_881332_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3e07ad831cd0ff1835eed8abfec37009.jpg","text":"TemporaryFile(/tmp/multipartBody2191234283523295436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551757452,"filename":"image_11012025_00_16_02_881332_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c5e72fbbf9658e2ab3d8723d50deeba9.jpg","text":"TemporaryFile(/tmp/multipartBody2017857442742970010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551757452,"filename":"image_11012025_00_16_02_881332_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/018cc6732d1d09b153e841437774e8b8.jpg","text":"TemporaryFile(/tmp/multipartBody1038430150396218053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551757452,"filename":"image_11012025_00_17_03_047740_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e0cc913de4e270e9214e25cd31d70910.jpg","text":"TemporaryFile(/tmp/multipartBody4344226729855975459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551757452,"filename":"image_11012025_00_17_03_047740_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ede6a473e4e72a3cbc03206140321381.jpg","text":"TemporaryFile(/tmp/multipartBody8669779594928051873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551757452,"filename":"image_11012025_00_17_03_047740_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328006963","file1":"1328006960","file0":"1328006957","file4":"1328006968","file5":"1328006974","file3":"1328006965"},"map_files_photo_id_array":[{"photo_id":"1328006974","filename":"file5"},{"photo_id":"1328006963","filename":"file2"},{"photo_id":"1328006968","filename":"file4"},{"photo_id":"1328006960","filename":"file1"},{"photo_id":"1328006957","filename":"file0"},{"photo_id":"1328006965","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328006960":["hashtag1","hashtag2"]},{"1328006963":["hashtag1","hashtag2"]},{"1328006957":["hashtag1","hashtag2"]},{"1328006965":["hashtag1","hashtag2"]},{"1328006974":["hashtag1","hashtag2"]},{"1328006968":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328006960, 1328006963, 1328006957, 1328006965, 1328006974, 1328006968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.81886959075928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 00:29:02.840950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/17/image_11012025_00_17_03_047740_0003.jpg', '/home/pi/Desktop/images/11012025/00/18/image_11012025_00_18_02_225368_0000.jpg', '/home/pi/Desktop/images/11012025/00/18/image_11012025_00_18_02_225368_0001.jpg', '/home/pi/Desktop/images/11012025/00/18/image_11012025_00_18_02_225368_0002.jpg', '/home/pi/Desktop/images/11012025/00/18/image_11012025_00_18_02_225368_0003.jpg', '/home/pi/Desktop/images/11012025/00/19/image_11012025_00_19_02_410581_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/17/image_11012025_00_17_03_047740_0003.jpg
/home/pi/Desktop/images/11012025/00/18/image_11012025_00_18_02_225368_0000.jpg
/home/pi/Desktop/images/11012025/00/18/image_11012025_00_18_02_225368_0001.jpg
/home/pi/Desktop/images/11012025/00/18/image_11012025_00_18_02_225368_0002.jpg
/home/pi/Desktop/images/11012025/00/18/image_11012025_00_18_02_225368_0003.jpg
/home/pi/Desktop/images/11012025/00/19/image_11012025_00_19_02_410581_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.66196870803833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:29:22.044019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/17/image_11012025_00_17_03_047740_0003.jpg', '/home/pi/Desktop/images/11012025/00/18/image_11012025_00_18_02_225368_0000.jpg', '/home/pi/Desktop/images/11012025/00/18/image_11012025_00_18_02_225368_0001.jpg', '/home/pi/Desktop/images/11012025/00/18/image_11012025_00_18_02_225368_0002.jpg', '/home/pi/Desktop/images/11012025/00/18/image_11012025_00_18_02_225368_0003.jpg', '/home/pi/Desktop/images/11012025/00/19/image_11012025_00_19_02_410581_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/17/image_11012025_00_17_03_047740_0003.jpg
/home/pi/Desktop/images/11012025/00/18/image_11012025_00_18_02_225368_0000.jpg
/home/pi/Desktop/images/11012025/00/18/image_11012025_00_18_02_225368_0001.jpg
/home/pi/Desktop/images/11012025/00/18/image_11012025_00_18_02_225368_0002.jpg
/home/pi/Desktop/images/11012025/00/18/image_11012025_00_18_02_225368_0003.jpg
/home/pi/Desktop/images/11012025/00/19/image_11012025_00_19_02_410581_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":["1328007102","1328007095","1328007110","1328007107","1328007099","1328007105"],"photo_ids_order":["1328007095","1328007099","1328007102","1328007105","1328007107","1328007110"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0a931a3e5c497db31b5734fce789f10f.jpg","text":"TemporaryFile(/tmp/multipartBody660605723859494602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551837055,"filename":"image_11012025_00_18_02_225368_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7d07e99e5acbcdf464ddf5030f3c6460.jpg","text":"TemporaryFile(/tmp/multipartBody8241441775972068383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551837055,"filename":"image_11012025_00_17_03_047740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d497987e6e9df47875c6061d60870d47.jpg","text":"TemporaryFile(/tmp/multipartBody2442387107617314657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551837055,"filename":"image_11012025_00_19_02_410581_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/22025405e234a41b04f76b6da896a9a6.jpg","text":"TemporaryFile(/tmp/multipartBody1472720219706257402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551837055,"filename":"image_11012025_00_18_02_225368_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3ca5c35c514f9f0a71ade4ee30b8fa98.jpg","text":"TemporaryFile(/tmp/multipartBody3225566090127864996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551837055,"filename":"image_11012025_00_18_02_225368_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cab154139c6489d41758417d3c9fd1fe.jpg","text":"TemporaryFile(/tmp/multipartBody6833473591008223296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551837055,"filename":"image_11012025_00_18_02_225368_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328007102","file1":"1328007099","file0":"1328007095","file4":"1328007107","file5":"1328007110","file3":"1328007105"},"map_files_photo_id_array":[{"photo_id":"1328007110","filename":"file5"},{"photo_id":"1328007102","filename":"file2"},{"photo_id":"1328007107","filename":"file4"},{"photo_id":"1328007099","filename":"file1"},{"photo_id":"1328007095","filename":"file0"},{"photo_id":"1328007105","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328007102":["hashtag1","hashtag2"]},{"1328007095":["hashtag1","hashtag2"]},{"1328007110":["hashtag1","hashtag2"]},{"1328007107":["hashtag1","hashtag2"]},{"1328007099":["hashtag1","hashtag2"]},{"1328007105":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328007102, 1328007095, 1328007110, 1328007107, 1328007099, 1328007105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.171290159225464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:30:22.264990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/19/image_11012025_00_19_02_410581_0001.jpg', '/home/pi/Desktop/images/11012025/00/19/image_11012025_00_19_02_410581_0002.jpg', '/home/pi/Desktop/images/11012025/00/19/image_11012025_00_19_02_410581_0003.jpg', '/home/pi/Desktop/images/11012025/00/20/image_11012025_00_20_02_633107_0000.jpg', '/home/pi/Desktop/images/11012025/00/20/image_11012025_00_20_02_633107_0001.jpg', '/home/pi/Desktop/images/11012025/00/20/image_11012025_00_20_02_633107_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/19/image_11012025_00_19_02_410581_0001.jpg
/home/pi/Desktop/images/11012025/00/19/image_11012025_00_19_02_410581_0002.jpg
/home/pi/Desktop/images/11012025/00/19/image_11012025_00_19_02_410581_0003.jpg
/home/pi/Desktop/images/11012025/00/20/image_11012025_00_20_02_633107_0000.jpg
/home/pi/Desktop/images/11012025/00/20/image_11012025_00_20_02_633107_0001.jpg
/home/pi/Desktop/images/11012025/00/20/image_11012025_00_20_02_633107_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.95836591720581 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:30:52.273066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/32/image_09012025_22_32_02_561952_0002.jpg', '/home/pi/Desktop/images/09012025/22/32/image_09012025_22_32_02_561952_0003.jpg', '/home/pi/Desktop/images/09012025/22/33/image_09012025_22_33_02_771210_0000.jpg', '/home/pi/Desktop/images/09012025/22/33/image_09012025_22_33_02_771210_0001.jpg', '/home/pi/Desktop/images/09012025/22/33/image_09012025_22_33_02_771210_0002.jpg', '/home/pi/Desktop/images/09012025/22/33/image_09012025_22_33_02_771210_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/32/image_09012025_22_32_02_561952_0002.jpg
/home/pi/Desktop/images/09012025/22/32/image_09012025_22_32_02_561952_0003.jpg
/home/pi/Desktop/images/09012025/22/33/image_09012025_22_33_02_771210_0000.jpg
/home/pi/Desktop/images/09012025/22/33/image_09012025_22_33_02_771210_0001.jpg
/home/pi/Desktop/images/09012025/22/33/image_09012025_22_33_02_771210_0002.jpg
/home/pi/Desktop/images/09012025/22/33/image_09012025_22_33_02_771210_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":["1328007507","1328007170","1328007172","1328007505","1328007354","1328007141"],"photo_ids_order":["1328007141","1328007170","1328007172","1328007354","1328007505","1328007507"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f99720202507662733dc4c38676927ea.jpg","text":"TemporaryFile(/tmp/multipartBody5892989632923817362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551928461,"filename":"image_09012025_22_33_02_771210_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7a0bb72f7f5df5dc78d42e2b2587e3c4.jpg","text":"TemporaryFile(/tmp/multipartBody7224261690733105715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551928461,"filename":"image_09012025_22_32_02_561952_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8fc91002d5af3d7601a0eab9186bf93e.jpg","text":"TemporaryFile(/tmp/multipartBody2853413278013369521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551928461,"filename":"image_09012025_22_33_02_771210_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/247a822fede60d1c676327f253d13090.jpg","text":"TemporaryFile(/tmp/multipartBody1659263039414540118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551928461,"filename":"image_09012025_22_33_02_771210_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2056932a6ac40d98e2df51832fa0a9d9.jpg","text":"TemporaryFile(/tmp/multipartBody5662352137726964801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551928461,"filename":"image_09012025_22_33_02_771210_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9c999fe5332ee43a9c354f28b63589dc.jpg","text":"TemporaryFile(/tmp/multipartBody7902567831118046522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551928461,"filename":"image_09012025_22_32_02_561952_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328007172","file1":"1328007170","file0":"1328007141","file4":"1328007505","file5":"1328007507","file3":"1328007354"},"map_files_photo_id_array":[{"photo_id":"1328007507","filename":"file5"},{"photo_id":"1328007172","filename":"file2"},{"photo_id":"1328007505","filename":"file4"},{"photo_id":"1328007170","filename":"file1"},{"photo_id":"1328007141","filename":"file0"},{"photo_id":"1328007354","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328007507":["hashtag1","hashtag2"]},{"1328007170":["hashtag1","hashtag2"]},{"1328007172":["hashtag1","hashtag2"]},{"1328007505":["hashtag1","hashtag2"]},{"1328007354":["hashtag1","hashtag2"]},{"1328007141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328007507, 1328007170, 1328007172, 1328007505, 1328007354, 1328007141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.23346829414368 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:31:52.455055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/34/image_09012025_22_34_03_025152_0000.jpg', '/home/pi/Desktop/images/09012025/22/34/image_09012025_22_34_03_025152_0001.jpg', '/home/pi/Desktop/images/09012025/22/34/image_09012025_22_34_03_025152_0002.jpg', '/home/pi/Desktop/images/09012025/22/34/image_09012025_22_34_03_025152_0003.jpg', '/home/pi/Desktop/images/09012025/22/35/image_09012025_22_35_02_211306_0000.jpg', '/home/pi/Desktop/images/09012025/22/35/image_09012025_22_35_02_211306_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/34/image_09012025_22_34_03_025152_0000.jpg
/home/pi/Desktop/images/09012025/22/34/image_09012025_22_34_03_025152_0001.jpg
/home/pi/Desktop/images/09012025/22/34/image_09012025_22_34_03_025152_0002.jpg
/home/pi/Desktop/images/09012025/22/34/image_09012025_22_34_03_025152_0003.jpg
/home/pi/Desktop/images/09012025/22/35/image_09012025_22_35_02_211306_0000.jpg
/home/pi/Desktop/images/09012025/22/35/image_09012025_22_35_02_211306_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":["1328007686","1328007689","1328007691","1328007640","1328007693","1328007797"],"photo_ids_order":["1328007640","1328007686","1328007689","1328007691","1328007693","1328007797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bb107a9881b8d5fd3c3541eba71be941.jpg","text":"TemporaryFile(/tmp/multipartBody406964562589769518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551988805,"filename":"image_09012025_22_34_03_025152_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9b386ac807f0f2e243d53392a07adeb0.jpg","text":"TemporaryFile(/tmp/multipartBody7594337365818043043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551988805,"filename":"image_09012025_22_34_03_025152_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e939cb436e5b03e4e33953ef43539549.jpg","text":"TemporaryFile(/tmp/multipartBody590054298067581169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551988805,"filename":"image_09012025_22_34_03_025152_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/338e141619fc3415420b1d1dc2dae3c1.jpg","text":"TemporaryFile(/tmp/multipartBody3747772920834728808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551988805,"filename":"image_09012025_22_34_03_025152_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4f9c53e0e8023a2c616afd761144c116.jpg","text":"TemporaryFile(/tmp/multipartBody8526217857916245539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551988805,"filename":"image_09012025_22_35_02_211306_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6a826548dfa6c5d44aa618d2d99ea97e.jpg","text":"TemporaryFile(/tmp/multipartBody641347099097783952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736551988805,"filename":"image_09012025_22_35_02_211306_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328007689","file1":"1328007686","file0":"1328007640","file4":"1328007693","file5":"1328007797","file3":"1328007691"},"map_files_photo_id_array":[{"photo_id":"1328007797","filename":"file5"},{"photo_id":"1328007689","filename":"file2"},{"photo_id":"1328007693","filename":"file4"},{"photo_id":"1328007686","filename":"file1"},{"photo_id":"1328007640","filename":"file0"},{"photo_id":"1328007691","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328007686":["hashtag1","hashtag2"]},{"1328007689":["hashtag1","hashtag2"]},{"1328007691":["hashtag1","hashtag2"]},{"1328007640":["hashtag1","hashtag2"]},{"1328007693":["hashtag1","hashtag2"]},{"1328007797":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328007686, 1328007689, 1328007691, 1328007640, 1328007693, 1328007797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.839123487472534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:32:52.650052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/35/image_09012025_22_35_02_211306_0002.jpg', '/home/pi/Desktop/images/09012025/22/35/image_09012025_22_35_02_211306_0003.jpg', '/home/pi/Desktop/images/09012025/22/36/image_09012025_22_36_02_339109_0000.jpg', '/home/pi/Desktop/images/09012025/22/36/image_09012025_22_36_02_339109_0001.jpg', '/home/pi/Desktop/images/09012025/22/36/image_09012025_22_36_02_339109_0002.jpg', '/home/pi/Desktop/images/09012025/22/36/image_09012025_22_36_02_339109_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/35/image_09012025_22_35_02_211306_0002.jpg
/home/pi/Desktop/images/09012025/22/35/image_09012025_22_35_02_211306_0003.jpg
/home/pi/Desktop/images/09012025/22/36/image_09012025_22_36_02_339109_0000.jpg
/home/pi/Desktop/images/09012025/22/36/image_09012025_22_36_02_339109_0001.jpg
/home/pi/Desktop/images/09012025/22/36/image_09012025_22_36_02_339109_0002.jpg
/home/pi/Desktop/images/09012025/22/36/image_09012025_22_36_02_339109_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":["1328007815","1328007826","1328007820","1328007823","1328007817","1328007828"],"photo_ids_order":["1328007815","1328007817","1328007820","1328007823","1328007826","1328007828"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0e75afadcbfa19af4235a5bf26b41c3e.jpg","text":"TemporaryFile(/tmp/multipartBody5255999944687250502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552048914,"filename":"image_09012025_22_35_02_211306_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6b87e781b2c4faf8dcbf495760dd45e9.jpg","text":"TemporaryFile(/tmp/multipartBody3365278858040591607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552048914,"filename":"image_09012025_22_36_02_339109_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4e785a3501c464b2f33a9f790c4012cb.jpg","text":"TemporaryFile(/tmp/multipartBody2412149364397069411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552048914,"filename":"image_09012025_22_36_02_339109_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/41b27eb62d092f74ea44cde4d8d1308c.jpg","text":"TemporaryFile(/tmp/multipartBody8128213657344786249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552048914,"filename":"image_09012025_22_36_02_339109_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1d5524fb32313329d84b817156fb3a18.jpg","text":"TemporaryFile(/tmp/multipartBody2640495355007815118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552048914,"filename":"image_09012025_22_35_02_211306_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3a95ad588235d82b095791d6683386c2.jpg","text":"TemporaryFile(/tmp/multipartBody1096824018095776262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552048914,"filename":"image_09012025_22_36_02_339109_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328007820","file1":"1328007817","file0":"1328007815","file4":"1328007826","file5":"1328007828","file3":"1328007823"},"map_files_photo_id_array":[{"photo_id":"1328007828","filename":"file5"},{"photo_id":"1328007820","filename":"file2"},{"photo_id":"1328007826","filename":"file4"},{"photo_id":"1328007817","filename":"file1"},{"photo_id":"1328007815","filename":"file0"},{"photo_id":"1328007823","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328007815":["hashtag1","hashtag2"]},{"1328007826":["hashtag1","hashtag2"]},{"1328007820":["hashtag1","hashtag2"]},{"1328007823":["hashtag1","hashtag2"]},{"1328007817":["hashtag1","hashtag2"]},{"1328007828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328007815, 1328007826, 1328007820, 1328007823, 1328007817, 1328007828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.24371671676636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:33:51.827110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/37/image_09012025_22_37_02_510286_0000.jpg', '/home/pi/Desktop/images/09012025/22/37/image_09012025_22_37_02_510286_0001.jpg', '/home/pi/Desktop/images/09012025/22/37/image_09012025_22_37_02_510286_0002.jpg', '/home/pi/Desktop/images/09012025/22/37/image_09012025_22_37_02_510286_0003.jpg', '/home/pi/Desktop/images/09012025/22/38/image_09012025_22_38_02_779727_0000.jpg', '/home/pi/Desktop/images/09012025/22/38/image_09012025_22_38_02_779727_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/37/image_09012025_22_37_02_510286_0000.jpg
/home/pi/Desktop/images/09012025/22/37/image_09012025_22_37_02_510286_0001.jpg
/home/pi/Desktop/images/09012025/22/37/image_09012025_22_37_02_510286_0002.jpg
/home/pi/Desktop/images/09012025/22/37/image_09012025_22_37_02_510286_0003.jpg
/home/pi/Desktop/images/09012025/22/38/image_09012025_22_38_02_779727_0000.jpg
/home/pi/Desktop/images/09012025/22/38/image_09012025_22_38_02_779727_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":["1328007839","1328007865","1328007867","1328007870","1328007906","1328007896"],"photo_ids_order":["1328007839","1328007865","1328007867","1328007870","1328007896","1328007906"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/704e8a4c4f88aa047da1f0f9c9283c58.jpg","text":"TemporaryFile(/tmp/multipartBody922813688956193372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552107988,"filename":"image_09012025_22_37_02_510286_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/623afaedab485df0605e1aee5b2a48a2.jpg","text":"TemporaryFile(/tmp/multipartBody8728014024006254175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552107988,"filename":"image_09012025_22_37_02_510286_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9b57094633a12efa3d90c499f3c4e083.jpg","text":"TemporaryFile(/tmp/multipartBody8306315041660471065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552107988,"filename":"image_09012025_22_37_02_510286_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a5c270bf553f65e2cf4e274a5c9c1471.jpg","text":"TemporaryFile(/tmp/multipartBody3872959759844306014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552107988,"filename":"image_09012025_22_37_02_510286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/493dcc4407f41c814f3bd67de7e9829f.jpg","text":"TemporaryFile(/tmp/multipartBody8178103004401584030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552107988,"filename":"image_09012025_22_38_02_779727_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2ad5e2feb120309774d316e1ce478171.jpg","text":"TemporaryFile(/tmp/multipartBody4446045484765056725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552107988,"filename":"image_09012025_22_38_02_779727_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328007867","file1":"1328007865","file0":"1328007839","file4":"1328007896","file5":"1328007906","file3":"1328007870"},"map_files_photo_id_array":[{"photo_id":"1328007906","filename":"file5"},{"photo_id":"1328007867","filename":"file2"},{"photo_id":"1328007896","filename":"file4"},{"photo_id":"1328007865","filename":"file1"},{"photo_id":"1328007839","filename":"file0"},{"photo_id":"1328007870","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328007839":["hashtag1","hashtag2"]},{"1328007865":["hashtag1","hashtag2"]},{"1328007867":["hashtag1","hashtag2"]},{"1328007870":["hashtag1","hashtag2"]},{"1328007906":["hashtag1","hashtag2"]},{"1328007896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328007839, 1328007865, 1328007867, 1328007870, 1328007906, 1328007896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.85868430137634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:34:51.997944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/38/image_09012025_22_38_02_779727_0002.jpg', '/home/pi/Desktop/images/09012025/22/38/image_09012025_22_38_02_779727_0003.jpg', '/home/pi/Desktop/images/09012025/22/39/image_09012025_22_39_02_939003_0000.jpg', '/home/pi/Desktop/images/09012025/22/39/image_09012025_22_39_02_939003_0001.jpg', '/home/pi/Desktop/images/09012025/22/39/image_09012025_22_39_02_939003_0002.jpg', '/home/pi/Desktop/images/09012025/22/39/image_09012025_22_39_02_939003_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/38/image_09012025_22_38_02_779727_0002.jpg
/home/pi/Desktop/images/09012025/22/38/image_09012025_22_38_02_779727_0003.jpg
/home/pi/Desktop/images/09012025/22/39/image_09012025_22_39_02_939003_0000.jpg
/home/pi/Desktop/images/09012025/22/39/image_09012025_22_39_02_939003_0001.jpg
/home/pi/Desktop/images/09012025/22/39/image_09012025_22_39_02_939003_0002.jpg
/home/pi/Desktop/images/09012025/22/39/image_09012025_22_39_02_939003_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.825852155685425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:35:22.192789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/19/image_11012025_00_19_02_410581_0001.jpg', '/home/pi/Desktop/images/11012025/00/19/image_11012025_00_19_02_410581_0002.jpg', '/home/pi/Desktop/images/11012025/00/19/image_11012025_00_19_02_410581_0003.jpg', '/home/pi/Desktop/images/11012025/00/20/image_11012025_00_20_02_633107_0000.jpg', '/home/pi/Desktop/images/11012025/00/20/image_11012025_00_20_02_633107_0001.jpg', '/home/pi/Desktop/images/11012025/00/20/image_11012025_00_20_02_633107_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/19/image_11012025_00_19_02_410581_0001.jpg
/home/pi/Desktop/images/11012025/00/19/image_11012025_00_19_02_410581_0002.jpg
/home/pi/Desktop/images/11012025/00/19/image_11012025_00_19_02_410581_0003.jpg
/home/pi/Desktop/images/11012025/00/20/image_11012025_00_20_02_633107_0000.jpg
/home/pi/Desktop/images/11012025/00/20/image_11012025_00_20_02_633107_0001.jpg
/home/pi/Desktop/images/11012025/00/20/image_11012025_00_20_02_633107_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328008004","1328008006","1328008000","1328008005","1328008008","1328008002"],"photo_ids_order":["1328008000","1328008002","1328008004","1328008005","1328008006","1328008008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/48be1e9ef5e8647f49ac84e6e25aef6a.jpg","text":"TemporaryFile(/tmp/multipartBody1924083074261772974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552197533,"filename":"image_11012025_00_19_02_410581_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6b8dc18fdd8cb506b17fc576febdd3c3.jpg","text":"TemporaryFile(/tmp/multipartBody5585179877170910966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552197533,"filename":"image_11012025_00_20_02_633107_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/317d17f0fe2cfa365aa62eb29d3839b1.jpg","text":"TemporaryFile(/tmp/multipartBody4016522752720248565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552197533,"filename":"image_11012025_00_19_02_410581_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8bbe8df1c6e00c9413cf8dd7687a6de7.jpg","text":"TemporaryFile(/tmp/multipartBody1119320643358329001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552197533,"filename":"image_11012025_00_20_02_633107_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2cbefb0063a41024194893a88e3af841.jpg","text":"TemporaryFile(/tmp/multipartBody3602514759001851506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552197533,"filename":"image_11012025_00_20_02_633107_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d5d8aba2449c0c79aa8201e42c317dad.jpg","text":"TemporaryFile(/tmp/multipartBody5273073709464272609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552197533,"filename":"image_11012025_00_19_02_410581_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328008004","file1":"1328008002","file0":"1328008000","file4":"1328008006","file5":"1328008008","file3":"1328008005"},"map_files_photo_id_array":[{"photo_id":"1328008008","filename":"file5"},{"photo_id":"1328008004","filename":"file2"},{"photo_id":"1328008006","filename":"file4"},{"photo_id":"1328008002","filename":"file1"},{"photo_id":"1328008000","filename":"file0"},{"photo_id":"1328008005","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328008004":["hashtag1","hashtag2"]},{"1328008006":["hashtag1","hashtag2"]},{"1328008000":["hashtag1","hashtag2"]},{"1328008005":["hashtag1","hashtag2"]},{"1328008008":["hashtag1","hashtag2"]},{"1328008002":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328008004, 1328008006, 1328008000, 1328008005, 1328008008, 1328008002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.92096185684204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:36:22.340778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/20/image_11012025_00_20_02_633107_0003.jpg', '/home/pi/Desktop/images/11012025/00/21/image_11012025_00_21_02_728601_0000.jpg', '/home/pi/Desktop/images/11012025/00/21/image_11012025_00_21_02_728601_0001.jpg', '/home/pi/Desktop/images/11012025/00/21/image_11012025_00_21_02_728601_0002.jpg', '/home/pi/Desktop/images/11012025/00/21/image_11012025_00_21_02_728601_0003.jpg', '/home/pi/Desktop/images/11012025/00/22/image_11012025_00_22_03_063488_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/20/image_11012025_00_20_02_633107_0003.jpg
/home/pi/Desktop/images/11012025/00/21/image_11012025_00_21_02_728601_0000.jpg
/home/pi/Desktop/images/11012025/00/21/image_11012025_00_21_02_728601_0001.jpg
/home/pi/Desktop/images/11012025/00/21/image_11012025_00_21_02_728601_0002.jpg
/home/pi/Desktop/images/11012025/00/21/image_11012025_00_21_02_728601_0003.jpg
/home/pi/Desktop/images/11012025/00/22/image_11012025_00_22_03_063488_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.65671706199646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:36:52.340478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/38/image_09012025_22_38_02_779727_0002.jpg', '/home/pi/Desktop/images/09012025/22/38/image_09012025_22_38_02_779727_0003.jpg', '/home/pi/Desktop/images/09012025/22/39/image_09012025_22_39_02_939003_0000.jpg', '/home/pi/Desktop/images/09012025/22/39/image_09012025_22_39_02_939003_0001.jpg', '/home/pi/Desktop/images/09012025/22/39/image_09012025_22_39_02_939003_0002.jpg', '/home/pi/Desktop/images/09012025/22/39/image_09012025_22_39_02_939003_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/38/image_09012025_22_38_02_779727_0002.jpg
/home/pi/Desktop/images/09012025/22/38/image_09012025_22_38_02_779727_0003.jpg
/home/pi/Desktop/images/09012025/22/39/image_09012025_22_39_02_939003_0000.jpg
/home/pi/Desktop/images/09012025/22/39/image_09012025_22_39_02_939003_0001.jpg
/home/pi/Desktop/images/09012025/22/39/image_09012025_22_39_02_939003_0002.jpg
/home/pi/Desktop/images/09012025/22/39/image_09012025_22_39_02_939003_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":["1328008061","1328008093","1328008090","1328008084","1328008063","1328008054"],"photo_ids_order":["1328008054","1328008061","1328008063","1328008084","1328008090","1328008093"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2633eec37ddf937b2eb186c6a1da6329.jpg","text":"TemporaryFile(/tmp/multipartBody456408683272155794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552288417,"filename":"image_09012025_22_38_02_779727_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aaf5246f8f854cfea33993a6a26c40a3.jpg","text":"TemporaryFile(/tmp/multipartBody3816295971241438134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552288417,"filename":"image_09012025_22_39_02_939003_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4eda23797aadbad9f84c536a9879eb70.jpg","text":"TemporaryFile(/tmp/multipartBody2399706031623858029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552288417,"filename":"image_09012025_22_39_02_939003_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d2a623484c646b183ff91e1eafe81e3c.jpg","text":"TemporaryFile(/tmp/multipartBody8331727427641955095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552288417,"filename":"image_09012025_22_39_02_939003_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/70615df0ff920675043608032f53bd5e.jpg","text":"TemporaryFile(/tmp/multipartBody1006641064918281491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552288417,"filename":"image_09012025_22_39_02_939003_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cbad6cb42508c8fcf89b4e877ad76659.jpg","text":"TemporaryFile(/tmp/multipartBody9004759289610080233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552288417,"filename":"image_09012025_22_38_02_779727_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328008063","file1":"1328008061","file0":"1328008054","file4":"1328008090","file5":"1328008093","file3":"1328008084"},"map_files_photo_id_array":[{"photo_id":"1328008093","filename":"file5"},{"photo_id":"1328008063","filename":"file2"},{"photo_id":"1328008090","filename":"file4"},{"photo_id":"1328008061","filename":"file1"},{"photo_id":"1328008054","filename":"file0"},{"photo_id":"1328008084","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328008061":["hashtag1","hashtag2"]},{"1328008093":["hashtag1","hashtag2"]},{"1328008090":["hashtag1","hashtag2"]},{"1328008084":["hashtag1","hashtag2"]},{"1328008063":["hashtag1","hashtag2"]},{"1328008054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328008061, 1328008093, 1328008090, 1328008084, 1328008063, 1328008054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.34733986854553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:37:52.512148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/40/image_09012025_22_40_03_178751_0000.jpg', '/home/pi/Desktop/images/09012025/22/40/image_09012025_22_40_03_178751_0001.jpg', '/home/pi/Desktop/images/09012025/22/40/image_09012025_22_40_03_178751_0002.jpg', '/home/pi/Desktop/images/09012025/22/40/image_09012025_22_40_03_178751_0003.jpg', '/home/pi/Desktop/images/09012025/22/41/image_09012025_22_41_02_241455_0000.jpg', '/home/pi/Desktop/images/09012025/22/41/image_09012025_22_41_02_241455_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/40/image_09012025_22_40_03_178751_0000.jpg
/home/pi/Desktop/images/09012025/22/40/image_09012025_22_40_03_178751_0001.jpg
/home/pi/Desktop/images/09012025/22/40/image_09012025_22_40_03_178751_0002.jpg
/home/pi/Desktop/images/09012025/22/40/image_09012025_22_40_03_178751_0003.jpg
/home/pi/Desktop/images/09012025/22/41/image_09012025_22_41_02_241455_0000.jpg
/home/pi/Desktop/images/09012025/22/41/image_09012025_22_41_02_241455_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":["1328008172","1328008174","1328008168","1328008177","1328008170","1328008176"],"photo_ids_order":["1328008168","1328008170","1328008172","1328008174","1328008176","1328008177"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4528f3a0907c04044582fb629069f769.jpg","text":"TemporaryFile(/tmp/multipartBody7561141676206206106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552348573,"filename":"image_09012025_22_40_03_178751_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9bf0409a4ab81b6b1241408471d87387.jpg","text":"TemporaryFile(/tmp/multipartBody5205385964000341475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552348573,"filename":"image_09012025_22_40_03_178751_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f1811a37d0f7ac8e3e09b9416a6635ef.jpg","text":"TemporaryFile(/tmp/multipartBody4792836456649363016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552348573,"filename":"image_09012025_22_40_03_178751_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b208d83674aed1b895ed40022db41665.jpg","text":"TemporaryFile(/tmp/multipartBody897961953606287799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552348573,"filename":"image_09012025_22_41_02_241455_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/498d0abaa03a45af14f2a2e4d99fc5c1.jpg","text":"TemporaryFile(/tmp/multipartBody750598947172090562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552348573,"filename":"image_09012025_22_40_03_178751_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4643f752382c0f7eacf8d7de8d6ca208.jpg","text":"TemporaryFile(/tmp/multipartBody272343502823430616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552348573,"filename":"image_09012025_22_41_02_241455_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328008172","file1":"1328008170","file0":"1328008168","file4":"1328008176","file5":"1328008177","file3":"1328008174"},"map_files_photo_id_array":[{"photo_id":"1328008177","filename":"file5"},{"photo_id":"1328008172","filename":"file2"},{"photo_id":"1328008176","filename":"file4"},{"photo_id":"1328008170","filename":"file1"},{"photo_id":"1328008168","filename":"file0"},{"photo_id":"1328008174","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328008172":["hashtag1","hashtag2"]},{"1328008174":["hashtag1","hashtag2"]},{"1328008168":["hashtag1","hashtag2"]},{"1328008177":["hashtag1","hashtag2"]},{"1328008170":["hashtag1","hashtag2"]},{"1328008176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328008172, 1328008174, 1328008168, 1328008177, 1328008170, 1328008176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.10841965675354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:38:52.660454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/41/image_09012025_22_41_02_241455_0002.jpg', '/home/pi/Desktop/images/09012025/22/41/image_09012025_22_41_02_241455_0003.jpg', '/home/pi/Desktop/images/09012025/22/42/image_09012025_22_42_02_511879_0000.jpg', '/home/pi/Desktop/images/09012025/22/42/image_09012025_22_42_02_511879_0001.jpg', '/home/pi/Desktop/images/09012025/22/42/image_09012025_22_42_02_511879_0002.jpg', '/home/pi/Desktop/images/09012025/22/42/image_09012025_22_42_02_511879_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/41/image_09012025_22_41_02_241455_0002.jpg
/home/pi/Desktop/images/09012025/22/41/image_09012025_22_41_02_241455_0003.jpg
/home/pi/Desktop/images/09012025/22/42/image_09012025_22_42_02_511879_0000.jpg
/home/pi/Desktop/images/09012025/22/42/image_09012025_22_42_02_511879_0001.jpg
/home/pi/Desktop/images/09012025/22/42/image_09012025_22_42_02_511879_0002.jpg
/home/pi/Desktop/images/09012025/22/42/image_09012025_22_42_02_511879_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":["1328008208","1328008249","1328008179","1328008242","1328008236","1328008239"],"photo_ids_order":["1328008179","1328008208","1328008236","1328008239","1328008242","1328008249"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0f92ed7b489847440c0a13f536dc45b6.jpg","text":"TemporaryFile(/tmp/multipartBody3664024941923671757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552408927,"filename":"image_09012025_22_41_02_241455_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c0e2df90a1897b768c096afe55866f89.jpg","text":"TemporaryFile(/tmp/multipartBody7387621054277246816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552408927,"filename":"image_09012025_22_42_02_511879_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cedc8e9143cf7f214fe88fa1a69253f6.jpg","text":"TemporaryFile(/tmp/multipartBody1676371971682955462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552408927,"filename":"image_09012025_22_41_02_241455_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d3166fa6156fc9d0cef0736cee9d3389.jpg","text":"TemporaryFile(/tmp/multipartBody2496929797399236812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552408927,"filename":"image_09012025_22_42_02_511879_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c79c672338f168310a3f93f85ade0351.jpg","text":"TemporaryFile(/tmp/multipartBody633513596503154493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552408927,"filename":"image_09012025_22_42_02_511879_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a7c2db049af18709604028cb036d5bf4.jpg","text":"TemporaryFile(/tmp/multipartBody6391855015107028456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552408927,"filename":"image_09012025_22_42_02_511879_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328008236","file1":"1328008208","file0":"1328008179","file4":"1328008242","file5":"1328008249","file3":"1328008239"},"map_files_photo_id_array":[{"photo_id":"1328008249","filename":"file5"},{"photo_id":"1328008236","filename":"file2"},{"photo_id":"1328008242","filename":"file4"},{"photo_id":"1328008208","filename":"file1"},{"photo_id":"1328008179","filename":"file0"},{"photo_id":"1328008239","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328008208":["hashtag1","hashtag2"]},{"1328008249":["hashtag1","hashtag2"]},{"1328008179":["hashtag1","hashtag2"]},{"1328008242":["hashtag1","hashtag2"]},{"1328008236":["hashtag1","hashtag2"]},{"1328008239":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328008208, 1328008249, 1328008179, 1328008242, 1328008236, 1328008239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.29618167877197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 00:40:02.374971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/20/image_11012025_00_20_02_633107_0003.jpg', '/home/pi/Desktop/images/11012025/00/21/image_11012025_00_21_02_728601_0000.jpg', '/home/pi/Desktop/images/11012025/00/21/image_11012025_00_21_02_728601_0001.jpg', '/home/pi/Desktop/images/11012025/00/21/image_11012025_00_21_02_728601_0002.jpg', '/home/pi/Desktop/images/11012025/00/21/image_11012025_00_21_02_728601_0003.jpg', '/home/pi/Desktop/images/11012025/00/22/image_11012025_00_22_03_063488_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/20/image_11012025_00_20_02_633107_0003.jpg
/home/pi/Desktop/images/11012025/00/21/image_11012025_00_21_02_728601_0000.jpg
/home/pi/Desktop/images/11012025/00/21/image_11012025_00_21_02_728601_0001.jpg
/home/pi/Desktop/images/11012025/00/21/image_11012025_00_21_02_728601_0002.jpg
/home/pi/Desktop/images/11012025/00/21/image_11012025_00_21_02_728601_0003.jpg
/home/pi/Desktop/images/11012025/00/22/image_11012025_00_22_03_063488_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":["1328008279","1328008270","1328008282","1328008276","1328008281","1328008274"],"photo_ids_order":["1328008270","1328008274","1328008276","1328008279","1328008281","1328008282"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/030421bacf2f2f968fd2305cebe71633.jpg","text":"TemporaryFile(/tmp/multipartBody5840908442416348968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552477455,"filename":"image_11012025_00_21_02_728601_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8fac44b1bc0ea72177804c81189e3779.jpg","text":"TemporaryFile(/tmp/multipartBody701413242075606221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552477455,"filename":"image_11012025_00_20_02_633107_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/940844abf88eac5802b4f4b556628098.jpg","text":"TemporaryFile(/tmp/multipartBody1647305181921330987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552477455,"filename":"image_11012025_00_22_03_063488_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/64d5e4ee632e2c760b2ba36fec03866b.jpg","text":"TemporaryFile(/tmp/multipartBody2552998415572891742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552477455,"filename":"image_11012025_00_21_02_728601_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/46eb361f1bd11dbc1c8f8762477b3115.jpg","text":"TemporaryFile(/tmp/multipartBody6268551311389801827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552477455,"filename":"image_11012025_00_21_02_728601_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eb52411a5aed667a3fd45048fe52f860.jpg","text":"TemporaryFile(/tmp/multipartBody2347137447727676789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552477455,"filename":"image_11012025_00_21_02_728601_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328008276","file1":"1328008274","file0":"1328008270","file4":"1328008281","file5":"1328008282","file3":"1328008279"},"map_files_photo_id_array":[{"photo_id":"1328008282","filename":"file5"},{"photo_id":"1328008276","filename":"file2"},{"photo_id":"1328008281","filename":"file4"},{"photo_id":"1328008274","filename":"file1"},{"photo_id":"1328008270","filename":"file0"},{"photo_id":"1328008279","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328008279":["hashtag1","hashtag2"]},{"1328008270":["hashtag1","hashtag2"]},{"1328008282":["hashtag1","hashtag2"]},{"1328008276":["hashtag1","hashtag2"]},{"1328008281":["hashtag1","hashtag2"]},{"1328008274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328008279, 1328008270, 1328008282, 1328008276, 1328008281, 1328008274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.826326847076416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:41:22.243451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/22/image_11012025_00_22_03_063488_0001.jpg', '/home/pi/Desktop/images/11012025/00/22/image_11012025_00_22_03_063488_0002.jpg', '/home/pi/Desktop/images/11012025/00/22/image_11012025_00_22_03_063488_0003.jpg', '/home/pi/Desktop/images/11012025/00/23/image_11012025_00_23_02_225933_0000.jpg', '/home/pi/Desktop/images/11012025/00/23/image_11012025_00_23_02_225933_0001.jpg', '/home/pi/Desktop/images/11012025/00/23/image_11012025_00_23_02_225933_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/22/image_11012025_00_22_03_063488_0001.jpg
/home/pi/Desktop/images/11012025/00/22/image_11012025_00_22_03_063488_0002.jpg
/home/pi/Desktop/images/11012025/00/22/image_11012025_00_22_03_063488_0003.jpg
/home/pi/Desktop/images/11012025/00/23/image_11012025_00_23_02_225933_0000.jpg
/home/pi/Desktop/images/11012025/00/23/image_11012025_00_23_02_225933_0001.jpg
/home/pi/Desktop/images/11012025/00/23/image_11012025_00_23_02_225933_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328008291","1328008294","1328008296","1328008293","1328008295","1328008298"],"photo_ids_order":["1328008291","1328008293","1328008294","1328008295","1328008296","1328008298"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/24c19a6f19a5d58fd4d50706726dcd0b.jpg","text":"TemporaryFile(/tmp/multipartBody4811742977620101745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552557261,"filename":"image_11012025_00_22_03_063488_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3d759158cb370e2f31636cb5d8b53005.jpg","text":"TemporaryFile(/tmp/multipartBody4531290681755071065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552557261,"filename":"image_11012025_00_22_03_063488_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c0ff403da98a3d64168120a2b2e52597.jpg","text":"TemporaryFile(/tmp/multipartBody6828722009483223266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552557261,"filename":"image_11012025_00_23_02_225933_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8fd1b19901137e828335d59c2f40c0c1.jpg","text":"TemporaryFile(/tmp/multipartBody2453139855666023354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552557261,"filename":"image_11012025_00_22_03_063488_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/90c134d4ba7571f3c930faec6caf6c18.jpg","text":"TemporaryFile(/tmp/multipartBody3488501864838810517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552557261,"filename":"image_11012025_00_23_02_225933_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bf905ee5b77cd66739626864e094b8d7.jpg","text":"TemporaryFile(/tmp/multipartBody659184658455399487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552557261,"filename":"image_11012025_00_23_02_225933_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328008294","file1":"1328008293","file0":"1328008291","file4":"1328008296","file5":"1328008298","file3":"1328008295"},"map_files_photo_id_array":[{"photo_id":"1328008298","filename":"file5"},{"photo_id":"1328008294","filename":"file2"},{"photo_id":"1328008296","filename":"file4"},{"photo_id":"1328008293","filename":"file1"},{"photo_id":"1328008291","filename":"file0"},{"photo_id":"1328008295","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328008291":["hashtag1","hashtag2"]},{"1328008294":["hashtag1","hashtag2"]},{"1328008296":["hashtag1","hashtag2"]},{"1328008293":["hashtag1","hashtag2"]},{"1328008295":["hashtag1","hashtag2"]},{"1328008298":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328008291, 1328008294, 1328008296, 1328008293, 1328008295, 1328008298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.42190599441528 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:42:22.407129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/23/image_11012025_00_23_02_225933_0003.jpg', '/home/pi/Desktop/images/11012025/00/24/image_11012025_00_24_02_412059_0000.jpg', '/home/pi/Desktop/images/11012025/00/24/image_11012025_00_24_02_412059_0001.jpg', '/home/pi/Desktop/images/11012025/00/24/image_11012025_00_24_02_412059_0002.jpg', '/home/pi/Desktop/images/11012025/00/24/image_11012025_00_24_02_412059_0003.jpg', '/home/pi/Desktop/images/11012025/00/25/image_11012025_00_25_02_681729_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/23/image_11012025_00_23_02_225933_0003.jpg
/home/pi/Desktop/images/11012025/00/24/image_11012025_00_24_02_412059_0000.jpg
/home/pi/Desktop/images/11012025/00/24/image_11012025_00_24_02_412059_0001.jpg
/home/pi/Desktop/images/11012025/00/24/image_11012025_00_24_02_412059_0002.jpg
/home/pi/Desktop/images/11012025/00/24/image_11012025_00_24_02_412059_0003.jpg
/home/pi/Desktop/images/11012025/00/25/image_11012025_00_25_02_681729_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.680543899536133 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:42:52.409030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/43/image_09012025_22_43_02_606557_0000.jpg', '/home/pi/Desktop/images/09012025/22/43/image_09012025_22_43_02_606557_0001.jpg', '/home/pi/Desktop/images/09012025/22/43/image_09012025_22_43_02_606557_0002.jpg', '/home/pi/Desktop/images/09012025/22/43/image_09012025_22_43_02_606557_0003.jpg', '/home/pi/Desktop/images/09012025/22/44/image_09012025_22_44_02_815735_0000.jpg', '/home/pi/Desktop/images/09012025/22/44/image_09012025_22_44_02_815735_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/43/image_09012025_22_43_02_606557_0000.jpg
/home/pi/Desktop/images/09012025/22/43/image_09012025_22_43_02_606557_0001.jpg
/home/pi/Desktop/images/09012025/22/43/image_09012025_22_43_02_606557_0002.jpg
/home/pi/Desktop/images/09012025/22/43/image_09012025_22_43_02_606557_0003.jpg
/home/pi/Desktop/images/09012025/22/44/image_09012025_22_44_02_815735_0000.jpg
/home/pi/Desktop/images/09012025/22/44/image_09012025_22_44_02_815735_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":["1328008343","1328008346","1328008339","1328008350","1328008353","1328008341"],"photo_ids_order":["1328008339","1328008341","1328008343","1328008346","1328008350","1328008353"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/70ccdf8fd6c1e5ba87fe13d9ee41069e.jpg","text":"TemporaryFile(/tmp/multipartBody3237607934487204649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552648641,"filename":"image_09012025_22_43_02_606557_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8b5e4d603db9495ca2e8bfc3263ea1ed.jpg","text":"TemporaryFile(/tmp/multipartBody647788653008753087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552648641,"filename":"image_09012025_22_43_02_606557_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cbb9f2ed5d634c8ba8de8a5c1b1deb5f.jpg","text":"TemporaryFile(/tmp/multipartBody1464645860446179938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552648641,"filename":"image_09012025_22_43_02_606557_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/575359097562a72a1181a41733d3e752.jpg","text":"TemporaryFile(/tmp/multipartBody7722502882524678776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552648641,"filename":"image_09012025_22_44_02_815735_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c2ed6970f7097753779e37e0e90e4838.jpg","text":"TemporaryFile(/tmp/multipartBody895253793090804473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552648641,"filename":"image_09012025_22_44_02_815735_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bb3777b245589ef506dc66ddb2a9ff11.jpg","text":"TemporaryFile(/tmp/multipartBody2333052764710886320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552648641,"filename":"image_09012025_22_43_02_606557_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328008343","file1":"1328008341","file0":"1328008339","file4":"1328008350","file5":"1328008353","file3":"1328008346"},"map_files_photo_id_array":[{"photo_id":"1328008353","filename":"file5"},{"photo_id":"1328008343","filename":"file2"},{"photo_id":"1328008350","filename":"file4"},{"photo_id":"1328008341","filename":"file1"},{"photo_id":"1328008339","filename":"file0"},{"photo_id":"1328008346","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328008343":["hashtag1","hashtag2"]},{"1328008346":["hashtag1","hashtag2"]},{"1328008339":["hashtag1","hashtag2"]},{"1328008350":["hashtag1","hashtag2"]},{"1328008353":["hashtag1","hashtag2"]},{"1328008341":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328008343, 1328008346, 1328008339, 1328008350, 1328008353, 1328008341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.060656785964966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:43:52.591968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/44/image_09012025_22_44_02_815735_0002.jpg', '/home/pi/Desktop/images/09012025/22/44/image_09012025_22_44_02_815735_0003.jpg', '/home/pi/Desktop/images/09012025/22/45/image_09012025_22_45_02_998050_0000.jpg', '/home/pi/Desktop/images/09012025/22/45/image_09012025_22_45_02_998050_0001.jpg', '/home/pi/Desktop/images/09012025/22/45/image_09012025_22_45_02_998050_0002.jpg', '/home/pi/Desktop/images/09012025/22/45/image_09012025_22_45_02_998050_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/44/image_09012025_22_44_02_815735_0002.jpg
/home/pi/Desktop/images/09012025/22/44/image_09012025_22_44_02_815735_0003.jpg
/home/pi/Desktop/images/09012025/22/45/image_09012025_22_45_02_998050_0000.jpg
/home/pi/Desktop/images/09012025/22/45/image_09012025_22_45_02_998050_0001.jpg
/home/pi/Desktop/images/09012025/22/45/image_09012025_22_45_02_998050_0002.jpg
/home/pi/Desktop/images/09012025/22/45/image_09012025_22_45_02_998050_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":["1328008370","1328008364","1328008358","1328008374","1328008367","1328008361"],"photo_ids_order":["1328008358","1328008361","1328008364","1328008367","1328008370","1328008374"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0704bb7a8c041f0e00fc78dcce0ba288.jpg","text":"TemporaryFile(/tmp/multipartBody3555220795147788487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552708782,"filename":"image_09012025_22_45_02_998050_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7fbb82285f8f99ba5a6613041740ee83.jpg","text":"TemporaryFile(/tmp/multipartBody4166658837111933880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552708782,"filename":"image_09012025_22_45_02_998050_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2e24c7fb3dda9a48e948e364602f5396.jpg","text":"TemporaryFile(/tmp/multipartBody1333083277621867830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552708782,"filename":"image_09012025_22_44_02_815735_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fe34b64e98fcf843debd7c92394d0686.jpg","text":"TemporaryFile(/tmp/multipartBody5232288128063275884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552708782,"filename":"image_09012025_22_45_02_998050_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3330d7d19bbe7f60b8981983fb5c6c1c.jpg","text":"TemporaryFile(/tmp/multipartBody5803936777211554117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552708782,"filename":"image_09012025_22_45_02_998050_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8f745b3a516ea23104310811ef3ddbe8.jpg","text":"TemporaryFile(/tmp/multipartBody535865187490962667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552708782,"filename":"image_09012025_22_44_02_815735_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328008364","file1":"1328008361","file0":"1328008358","file4":"1328008370","file5":"1328008374","file3":"1328008367"},"map_files_photo_id_array":[{"photo_id":"1328008374","filename":"file5"},{"photo_id":"1328008364","filename":"file2"},{"photo_id":"1328008370","filename":"file4"},{"photo_id":"1328008361","filename":"file1"},{"photo_id":"1328008358","filename":"file0"},{"photo_id":"1328008367","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328008370":["hashtag1","hashtag2"]},{"1328008364":["hashtag1","hashtag2"]},{"1328008358":["hashtag1","hashtag2"]},{"1328008374":["hashtag1","hashtag2"]},{"1328008367":["hashtag1","hashtag2"]},{"1328008361":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328008370, 1328008364, 1328008358, 1328008374, 1328008367, 1328008361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.35996651649475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 00:45:02.646781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/23/image_11012025_00_23_02_225933_0003.jpg', '/home/pi/Desktop/images/11012025/00/24/image_11012025_00_24_02_412059_0000.jpg', '/home/pi/Desktop/images/11012025/00/24/image_11012025_00_24_02_412059_0001.jpg', '/home/pi/Desktop/images/11012025/00/24/image_11012025_00_24_02_412059_0002.jpg', '/home/pi/Desktop/images/11012025/00/24/image_11012025_00_24_02_412059_0003.jpg', '/home/pi/Desktop/images/11012025/00/25/image_11012025_00_25_02_681729_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/23/image_11012025_00_23_02_225933_0003.jpg
/home/pi/Desktop/images/11012025/00/24/image_11012025_00_24_02_412059_0000.jpg
/home/pi/Desktop/images/11012025/00/24/image_11012025_00_24_02_412059_0001.jpg
/home/pi/Desktop/images/11012025/00/24/image_11012025_00_24_02_412059_0002.jpg
/home/pi/Desktop/images/11012025/00/24/image_11012025_00_24_02_412059_0003.jpg
/home/pi/Desktop/images/11012025/00/25/image_11012025_00_25_02_681729_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":["1328008607","1328008390","1328008384","1328008393","1328008387","1328008413"],"photo_ids_order":["1328008384","1328008387","1328008390","1328008393","1328008413","1328008607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/52202eae85db8961ac4ea192c00084eb.jpg","text":"TemporaryFile(/tmp/multipartBody2027160624525969788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552777784,"filename":"image_11012025_00_25_02_681729_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c9d3c8c97f595399a24c9a7ce8cc6052.jpg","text":"TemporaryFile(/tmp/multipartBody769850637165817183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552777784,"filename":"image_11012025_00_24_02_412059_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c1a98377fc6ab5c64bd3700ec395170d.jpg","text":"TemporaryFile(/tmp/multipartBody6949276352663206234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552777784,"filename":"image_11012025_00_23_02_225933_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7b4ab573d42db8013578c6eeb96be296.jpg","text":"TemporaryFile(/tmp/multipartBody2462118805602203258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552777784,"filename":"image_11012025_00_24_02_412059_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/38e1b7642d0fa14f4ad24b4d7e8ecad6.jpg","text":"TemporaryFile(/tmp/multipartBody3547925897638864028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552777784,"filename":"image_11012025_00_24_02_412059_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cae7a009b1840a8894a800c5bc6cdbe8.jpg","text":"TemporaryFile(/tmp/multipartBody8184992940387674560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552777784,"filename":"image_11012025_00_24_02_412059_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328008390","file1":"1328008387","file0":"1328008384","file4":"1328008413","file5":"1328008607","file3":"1328008393"},"map_files_photo_id_array":[{"photo_id":"1328008607","filename":"file5"},{"photo_id":"1328008390","filename":"file2"},{"photo_id":"1328008413","filename":"file4"},{"photo_id":"1328008387","filename":"file1"},{"photo_id":"1328008384","filename":"file0"},{"photo_id":"1328008393","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328008607":["hashtag1","hashtag2"]},{"1328008390":["hashtag1","hashtag2"]},{"1328008384":["hashtag1","hashtag2"]},{"1328008393":["hashtag1","hashtag2"]},{"1328008387":["hashtag1","hashtag2"]},{"1328008413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328008607, 1328008390, 1328008384, 1328008393, 1328008387, 1328008413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.30032014846802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 00:46:02.599605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/25/image_11012025_00_25_02_681729_0001.jpg', '/home/pi/Desktop/images/11012025/00/25/image_11012025_00_25_02_681729_0002.jpg', '/home/pi/Desktop/images/11012025/00/25/image_11012025_00_25_02_681729_0003.jpg', '/home/pi/Desktop/images/11012025/00/26/image_11012025_00_26_02_821375_0000.jpg', '/home/pi/Desktop/images/11012025/00/26/image_11012025_00_26_02_821375_0001.jpg', '/home/pi/Desktop/images/11012025/00/26/image_11012025_00_26_02_821375_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/25/image_11012025_00_25_02_681729_0001.jpg
/home/pi/Desktop/images/11012025/00/25/image_11012025_00_25_02_681729_0002.jpg
/home/pi/Desktop/images/11012025/00/25/image_11012025_00_25_02_681729_0003.jpg
/home/pi/Desktop/images/11012025/00/26/image_11012025_00_26_02_821375_0000.jpg
/home/pi/Desktop/images/11012025/00/26/image_11012025_00_26_02_821375_0001.jpg
/home/pi/Desktop/images/11012025/00/26/image_11012025_00_26_02_821375_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328008786","1328008789","1328008840","1328008858","1328008854","1328008856"],"photo_ids_order":["1328008786","1328008789","1328008840","1328008854","1328008856","1328008858"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3a7739a276f8607a3dd9467371c92cf7.jpg","text":"TemporaryFile(/tmp/multipartBody446189109537553838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552837615,"filename":"image_11012025_00_25_02_681729_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e57988cca008c6e6f4846ef58769bc5e.jpg","text":"TemporaryFile(/tmp/multipartBody6563965108916130316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552837615,"filename":"image_11012025_00_25_02_681729_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/35b2f6a7d46e8022b6abd01c89895b9a.jpg","text":"TemporaryFile(/tmp/multipartBody7521054055818752887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552837615,"filename":"image_11012025_00_25_02_681729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9eb9964b2f744b9eb68996275ff861ff.jpg","text":"TemporaryFile(/tmp/multipartBody8234094739632043303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552837615,"filename":"image_11012025_00_26_02_821375_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e60f470d9fbb1e504c903f9a8b591822.jpg","text":"TemporaryFile(/tmp/multipartBody8297139843238237723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552837615,"filename":"image_11012025_00_26_02_821375_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/047175e3b1d45e6b29108bdbfecab51c.jpg","text":"TemporaryFile(/tmp/multipartBody7934327203527099042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552837615,"filename":"image_11012025_00_26_02_821375_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328008840","file1":"1328008789","file0":"1328008786","file4":"1328008856","file5":"1328008858","file3":"1328008854"},"map_files_photo_id_array":[{"photo_id":"1328008858","filename":"file5"},{"photo_id":"1328008840","filename":"file2"},{"photo_id":"1328008856","filename":"file4"},{"photo_id":"1328008789","filename":"file1"},{"photo_id":"1328008786","filename":"file0"},{"photo_id":"1328008854","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328008786":["hashtag1","hashtag2"]},{"1328008789":["hashtag1","hashtag2"]},{"1328008840":["hashtag1","hashtag2"]},{"1328008858":["hashtag1","hashtag2"]},{"1328008854":["hashtag1","hashtag2"]},{"1328008856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328008786, 1328008789, 1328008840, 1328008858, 1328008854, 1328008856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.04619359970093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 00:47:02.847774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/26/image_11012025_00_26_02_821375_0003.jpg', '/home/pi/Desktop/images/11012025/00/27/image_11012025_00_27_02_886891_0000.jpg', '/home/pi/Desktop/images/11012025/00/27/image_11012025_00_27_02_886891_0001.jpg', '/home/pi/Desktop/images/11012025/00/27/image_11012025_00_27_02_886891_0002.jpg', '/home/pi/Desktop/images/11012025/00/27/image_11012025_00_27_02_886891_0003.jpg', '/home/pi/Desktop/images/11012025/00/28/image_11012025_00_28_03_066378_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/26/image_11012025_00_26_02_821375_0003.jpg
/home/pi/Desktop/images/11012025/00/27/image_11012025_00_27_02_886891_0000.jpg
/home/pi/Desktop/images/11012025/00/27/image_11012025_00_27_02_886891_0001.jpg
/home/pi/Desktop/images/11012025/00/27/image_11012025_00_27_02_886891_0002.jpg
/home/pi/Desktop/images/11012025/00/27/image_11012025_00_27_02_886891_0003.jpg
/home/pi/Desktop/images/11012025/00/28/image_11012025_00_28_03_066378_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":["1328008894","1328008864","1328008890","1328008893","1328008866","1328008886"],"photo_ids_order":["1328008864","1328008866","1328008886","1328008890","1328008893","1328008894"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a5ab353fae4c012b8c07c0e6f900a621.jpg","text":"TemporaryFile(/tmp/multipartBody6577729473696689997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552897766,"filename":"image_11012025_00_28_03_066378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/789c40896e65c029718140dd564ab0f6.jpg","text":"TemporaryFile(/tmp/multipartBody5056241836776449124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552897766,"filename":"image_11012025_00_26_02_821375_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ae6a0829caf43a8c4a8e37f8607d6122.jpg","text":"TemporaryFile(/tmp/multipartBody5538932889726983695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552897766,"filename":"image_11012025_00_27_02_886891_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/db00cfe8c643c0437982105b308fc0a4.jpg","text":"TemporaryFile(/tmp/multipartBody3043111242849098869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552897766,"filename":"image_11012025_00_27_02_886891_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1562e94205541dcfcc91f253ee79d257.jpg","text":"TemporaryFile(/tmp/multipartBody759977193185544534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552897766,"filename":"image_11012025_00_27_02_886891_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c1e1e31505d08ee44495f52f3d3f3c1.jpg","text":"TemporaryFile(/tmp/multipartBody555384404908703766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552897766,"filename":"image_11012025_00_27_02_886891_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328008886","file1":"1328008866","file0":"1328008864","file4":"1328008893","file5":"1328008894","file3":"1328008890"},"map_files_photo_id_array":[{"photo_id":"1328008894","filename":"file5"},{"photo_id":"1328008886","filename":"file2"},{"photo_id":"1328008893","filename":"file4"},{"photo_id":"1328008866","filename":"file1"},{"photo_id":"1328008864","filename":"file0"},{"photo_id":"1328008890","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328008894":["hashtag1","hashtag2"]},{"1328008864":["hashtag1","hashtag2"]},{"1328008890":["hashtag1","hashtag2"]},{"1328008893":["hashtag1","hashtag2"]},{"1328008866":["hashtag1","hashtag2"]},{"1328008886":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328008894, 1328008864, 1328008890, 1328008893, 1328008866, 1328008886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.30376672744751 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 00:48:02.827492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/28/image_11012025_00_28_03_066378_0001.jpg', '/home/pi/Desktop/images/11012025/00/28/image_11012025_00_28_03_066378_0002.jpg', '/home/pi/Desktop/images/11012025/00/28/image_11012025_00_28_03_066378_0003.jpg', '/home/pi/Desktop/images/11012025/00/29/image_11012025_00_29_02_279278_0000.jpg', '/home/pi/Desktop/images/11012025/00/29/image_11012025_00_29_02_279278_0002.jpg', '/home/pi/Desktop/images/11012025/00/29/image_11012025_00_29_02_279278_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/28/image_11012025_00_28_03_066378_0001.jpg
/home/pi/Desktop/images/11012025/00/28/image_11012025_00_28_03_066378_0002.jpg
/home/pi/Desktop/images/11012025/00/28/image_11012025_00_28_03_066378_0003.jpg
/home/pi/Desktop/images/11012025/00/29/image_11012025_00_29_02_279278_0000.jpg
/home/pi/Desktop/images/11012025/00/29/image_11012025_00_29_02_279278_0002.jpg
/home/pi/Desktop/images/11012025/00/29/image_11012025_00_29_02_279278_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":["1328008904","1328008900","1328008914","1328008944","1328008917","1328008898"],"photo_ids_order":["1328008898","1328008900","1328008904","1328008914","1328008917","1328008944"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5c918c9d450739435795a8dce8f57e2a.jpg","text":"TemporaryFile(/tmp/multipartBody7263553379753630542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552957892,"filename":"image_11012025_00_28_03_066378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/46fa213c436b473205309488d921589d.jpg","text":"TemporaryFile(/tmp/multipartBody2788473934325752031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552957892,"filename":"image_11012025_00_28_03_066378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d308e1f640a869febba6b0b79b785d5c.jpg","text":"TemporaryFile(/tmp/multipartBody4505799254718360085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552957892,"filename":"image_11012025_00_29_02_279278_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f5373832facd6683ddbdc93286493ddb.jpg","text":"TemporaryFile(/tmp/multipartBody5842271990833684806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552957892,"filename":"image_11012025_00_29_02_279278_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7145720ca7825f08029d954ba9a4e902.jpg","text":"TemporaryFile(/tmp/multipartBody7058145280686554268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552957892,"filename":"image_11012025_00_29_02_279278_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5f0524ec943a229d40fd0322022a9bc3.jpg","text":"TemporaryFile(/tmp/multipartBody1054485451090118609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736552957892,"filename":"image_11012025_00_28_03_066378_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328008904","file1":"1328008900","file0":"1328008898","file4":"1328008917","file5":"1328008944","file3":"1328008914"},"map_files_photo_id_array":[{"photo_id":"1328008944","filename":"file5"},{"photo_id":"1328008904","filename":"file2"},{"photo_id":"1328008917","filename":"file4"},{"photo_id":"1328008900","filename":"file1"},{"photo_id":"1328008898","filename":"file0"},{"photo_id":"1328008914","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328008904":["hashtag1","hashtag2"]},{"1328008900":["hashtag1","hashtag2"]},{"1328008914":["hashtag1","hashtag2"]},{"1328008944":["hashtag1","hashtag2"]},{"1328008917":["hashtag1","hashtag2"]},{"1328008898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328008904, 1328008900, 1328008914, 1328008944, 1328008917, 1328008898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.5179557800293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 00:49:03.220325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/30/image_11012025_00_30_02_540745_0000.jpg', '/home/pi/Desktop/images/11012025/00/30/image_11012025_00_30_02_540745_0001.jpg', '/home/pi/Desktop/images/11012025/00/30/image_11012025_00_30_02_540745_0002.jpg', '/home/pi/Desktop/images/11012025/00/30/image_11012025_00_30_02_540745_0003.jpg', '/home/pi/Desktop/images/11012025/00/31/image_11012025_00_31_02_646761_0000.jpg', '/home/pi/Desktop/images/11012025/00/31/image_11012025_00_31_02_646761_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/30/image_11012025_00_30_02_540745_0000.jpg
/home/pi/Desktop/images/11012025/00/30/image_11012025_00_30_02_540745_0001.jpg
/home/pi/Desktop/images/11012025/00/30/image_11012025_00_30_02_540745_0002.jpg
/home/pi/Desktop/images/11012025/00/30/image_11012025_00_30_02_540745_0003.jpg
/home/pi/Desktop/images/11012025/00/31/image_11012025_00_31_02_646761_0000.jpg
/home/pi/Desktop/images/11012025/00/31/image_11012025_00_31_02_646761_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":["1328008949","1328008954","1328008963","1328008957","1328008951","1328008961"],"photo_ids_order":["1328008949","1328008951","1328008954","1328008957","1328008961","1328008963"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b4845eeceff7a180bccbb20201a93087.jpg","text":"TemporaryFile(/tmp/multipartBody6505209564444661256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553018365,"filename":"image_11012025_00_30_02_540745_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5ba725b393ed9add582b3b48a563ca63.jpg","text":"TemporaryFile(/tmp/multipartBody3553004867523039472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553018365,"filename":"image_11012025_00_30_02_540745_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/af3572cac4335e73abba6cf59869a089.jpg","text":"TemporaryFile(/tmp/multipartBody4145542530004739476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553018365,"filename":"image_11012025_00_31_02_646761_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ac5d84b99721eef43dfff76aaa5fa2ea.jpg","text":"TemporaryFile(/tmp/multipartBody3038549925550081107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553018365,"filename":"image_11012025_00_30_02_540745_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1d8ea237081bde6291d832508b7914a1.jpg","text":"TemporaryFile(/tmp/multipartBody8572029916158543638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553018365,"filename":"image_11012025_00_30_02_540745_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9af6f6b8c89a862e49c20ace8ca66bda.jpg","text":"TemporaryFile(/tmp/multipartBody6630756791631378267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553018365,"filename":"image_11012025_00_31_02_646761_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328008954","file1":"1328008951","file0":"1328008949","file4":"1328008961","file5":"1328008963","file3":"1328008957"},"map_files_photo_id_array":[{"photo_id":"1328008963","filename":"file5"},{"photo_id":"1328008954","filename":"file2"},{"photo_id":"1328008961","filename":"file4"},{"photo_id":"1328008951","filename":"file1"},{"photo_id":"1328008949","filename":"file0"},{"photo_id":"1328008957","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328008949":["hashtag1","hashtag2"]},{"1328008954":["hashtag1","hashtag2"]},{"1328008963":["hashtag1","hashtag2"]},{"1328008957":["hashtag1","hashtag2"]},{"1328008951":["hashtag1","hashtag2"]},{"1328008961":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328008949, 1328008954, 1328008963, 1328008957, 1328008951, 1328008961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.709115505218506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 00:50:02.314126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/31/image_11012025_00_31_02_646761_0002.jpg', '/home/pi/Desktop/images/11012025/00/31/image_11012025_00_31_02_646761_0003.jpg', '/home/pi/Desktop/images/11012025/00/32/image_11012025_00_32_02_797599_0000.jpg', '/home/pi/Desktop/images/11012025/00/32/image_11012025_00_32_02_797599_0001.jpg', '/home/pi/Desktop/images/11012025/00/32/image_11012025_00_32_02_797599_0002.jpg', '/home/pi/Desktop/images/11012025/00/32/image_11012025_00_32_02_797599_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/31/image_11012025_00_31_02_646761_0002.jpg
/home/pi/Desktop/images/11012025/00/31/image_11012025_00_31_02_646761_0003.jpg
/home/pi/Desktop/images/11012025/00/32/image_11012025_00_32_02_797599_0000.jpg
/home/pi/Desktop/images/11012025/00/32/image_11012025_00_32_02_797599_0001.jpg
/home/pi/Desktop/images/11012025/00/32/image_11012025_00_32_02_797599_0002.jpg
/home/pi/Desktop/images/11012025/00/32/image_11012025_00_32_02_797599_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":["1328009000","1328008999","1328008989","1328008992","1328008994","1328008997"],"photo_ids_order":["1328008989","1328008992","1328008994","1328008997","1328008999","1328009000"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/de264260c4638f412ab3b57dfe1eb5f4.jpg","text":"TemporaryFile(/tmp/multipartBody5789940260262815521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553077288,"filename":"image_11012025_00_32_02_797599_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2cb3ea74dbad8ff99f79e9669ec56486.jpg","text":"TemporaryFile(/tmp/multipartBody7616328840631224669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553077288,"filename":"image_11012025_00_32_02_797599_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d00f5062253ea8dab01a3dbdce06bc47.jpg","text":"TemporaryFile(/tmp/multipartBody3080280088396022894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553077288,"filename":"image_11012025_00_31_02_646761_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9299e7db3ef81292690d7d42f7698e45.jpg","text":"TemporaryFile(/tmp/multipartBody2331107022355063152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553077288,"filename":"image_11012025_00_31_02_646761_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c9ef3320945abff953c5d3d31e442448.jpg","text":"TemporaryFile(/tmp/multipartBody4142712668701698415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553077288,"filename":"image_11012025_00_32_02_797599_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6fc7af96fe07d7f54531eaf141aa5c3e.jpg","text":"TemporaryFile(/tmp/multipartBody4474038159329813918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553077288,"filename":"image_11012025_00_32_02_797599_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328008994","file1":"1328008992","file0":"1328008989","file4":"1328008999","file5":"1328009000","file3":"1328008997"},"map_files_photo_id_array":[{"photo_id":"1328009000","filename":"file5"},{"photo_id":"1328008994","filename":"file2"},{"photo_id":"1328008999","filename":"file4"},{"photo_id":"1328008992","filename":"file1"},{"photo_id":"1328008989","filename":"file0"},{"photo_id":"1328008997","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328009000":["hashtag1","hashtag2"]},{"1328008999":["hashtag1","hashtag2"]},{"1328008989":["hashtag1","hashtag2"]},{"1328008992":["hashtag1","hashtag2"]},{"1328008994":["hashtag1","hashtag2"]},{"1328008997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328009000, 1328008999, 1328008989, 1328008992, 1328008994, 1328008997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.5047881603241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:51:22.022358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/33/image_11012025_00_33_02_990782_0000.jpg', '/home/pi/Desktop/images/11012025/00/33/image_11012025_00_33_02_990782_0001.jpg', '/home/pi/Desktop/images/11012025/00/33/image_11012025_00_33_02_990782_0002.jpg', '/home/pi/Desktop/images/11012025/00/33/image_11012025_00_33_02_990782_0003.jpg', '/home/pi/Desktop/images/11012025/00/34/image_11012025_00_34_02_308504_0000.jpg', '/home/pi/Desktop/images/11012025/00/34/image_11012025_00_34_02_308504_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/33/image_11012025_00_33_02_990782_0000.jpg
/home/pi/Desktop/images/11012025/00/33/image_11012025_00_33_02_990782_0001.jpg
/home/pi/Desktop/images/11012025/00/33/image_11012025_00_33_02_990782_0002.jpg
/home/pi/Desktop/images/11012025/00/33/image_11012025_00_33_02_990782_0003.jpg
/home/pi/Desktop/images/11012025/00/34/image_11012025_00_34_02_308504_0000.jpg
/home/pi/Desktop/images/11012025/00/34/image_11012025_00_34_02_308504_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":["1328009038","1328009017","1328009040","1328009034","1328009037","1328009036"],"photo_ids_order":["1328009017","1328009034","1328009036","1328009037","1328009038","1328009040"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c5e2938cdef221f7e3111dc7bce7d8da.jpg","text":"TemporaryFile(/tmp/multipartBody3689563412616169838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553157264,"filename":"image_11012025_00_34_02_308504_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2eca84d1dcd6b1636a7ffd2107cf9ffa.jpg","text":"TemporaryFile(/tmp/multipartBody8631960123352282821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553157264,"filename":"image_11012025_00_33_02_990782_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/48d8eab3bf2a330dac0e4e40553eaa2f.jpg","text":"TemporaryFile(/tmp/multipartBody6040469501987368350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553157264,"filename":"image_11012025_00_34_02_308504_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d224e1e49eeeded056259526000ea4cc.jpg","text":"TemporaryFile(/tmp/multipartBody6226879418264317154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553157264,"filename":"image_11012025_00_33_02_990782_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2b44356315eebfd353785c22fc22a484.jpg","text":"TemporaryFile(/tmp/multipartBody9114792994316669672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553157264,"filename":"image_11012025_00_33_02_990782_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e25ac27bd95fa1d0fed772e087bd80a8.jpg","text":"TemporaryFile(/tmp/multipartBody5280923579063722021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553157264,"filename":"image_11012025_00_33_02_990782_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328009036","file1":"1328009034","file0":"1328009017","file4":"1328009038","file5":"1328009040","file3":"1328009037"},"map_files_photo_id_array":[{"photo_id":"1328009040","filename":"file5"},{"photo_id":"1328009036","filename":"file2"},{"photo_id":"1328009038","filename":"file4"},{"photo_id":"1328009034","filename":"file1"},{"photo_id":"1328009017","filename":"file0"},{"photo_id":"1328009037","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328009038":["hashtag1","hashtag2"]},{"1328009017":["hashtag1","hashtag2"]},{"1328009040":["hashtag1","hashtag2"]},{"1328009034":["hashtag1","hashtag2"]},{"1328009037":["hashtag1","hashtag2"]},{"1328009036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328009038, 1328009017, 1328009040, 1328009034, 1328009037, 1328009036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.590970516204834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:52:22.237584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/34/image_11012025_00_34_02_308504_0002.jpg', '/home/pi/Desktop/images/11012025/00/34/image_11012025_00_34_02_308504_0003.jpg', '/home/pi/Desktop/images/11012025/00/35/image_11012025_00_35_02_351030_0000.jpg', '/home/pi/Desktop/images/11012025/00/35/image_11012025_00_35_02_351030_0001.jpg', '/home/pi/Desktop/images/11012025/00/35/image_11012025_00_35_02_351030_0002.jpg', '/home/pi/Desktop/images/11012025/00/35/image_11012025_00_35_02_351030_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/34/image_11012025_00_34_02_308504_0002.jpg
/home/pi/Desktop/images/11012025/00/34/image_11012025_00_34_02_308504_0003.jpg
/home/pi/Desktop/images/11012025/00/35/image_11012025_00_35_02_351030_0000.jpg
/home/pi/Desktop/images/11012025/00/35/image_11012025_00_35_02_351030_0001.jpg
/home/pi/Desktop/images/11012025/00/35/image_11012025_00_35_02_351030_0002.jpg
/home/pi/Desktop/images/11012025/00/35/image_11012025_00_35_02_351030_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":["1328009098","1328009092","1328009095","1328009101","1328009097","1328009099"],"photo_ids_order":["1328009092","1328009095","1328009097","1328009098","1328009099","1328009101"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d7cc17abef2a9908afb3e92357f0a423.jpg","text":"TemporaryFile(/tmp/multipartBody8630449348178945553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553217390,"filename":"image_11012025_00_35_02_351030_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1868139f401d00d00f99d57921763fa8.jpg","text":"TemporaryFile(/tmp/multipartBody1516270340951136506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553217390,"filename":"image_11012025_00_34_02_308504_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/03bcdc408e03bced49f4fc89033c5ccb.jpg","text":"TemporaryFile(/tmp/multipartBody4900483195935497837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553217390,"filename":"image_11012025_00_34_02_308504_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8a194dfb88977256a42e01b9d3b9e64f.jpg","text":"TemporaryFile(/tmp/multipartBody9169543301806498114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553217390,"filename":"image_11012025_00_35_02_351030_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c03fa4d1788064bf68de495206e2dd45.jpg","text":"TemporaryFile(/tmp/multipartBody5948291823120129209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553217390,"filename":"image_11012025_00_35_02_351030_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ed60d284a120b90b2fb126a1fbe2db8a.jpg","text":"TemporaryFile(/tmp/multipartBody7791266599419456737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553217390,"filename":"image_11012025_00_35_02_351030_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328009097","file1":"1328009095","file0":"1328009092","file4":"1328009099","file5":"1328009101","file3":"1328009098"},"map_files_photo_id_array":[{"photo_id":"1328009101","filename":"file5"},{"photo_id":"1328009097","filename":"file2"},{"photo_id":"1328009099","filename":"file4"},{"photo_id":"1328009095","filename":"file1"},{"photo_id":"1328009092","filename":"file0"},{"photo_id":"1328009098","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328009098":["hashtag1","hashtag2"]},{"1328009092":["hashtag1","hashtag2"]},{"1328009095":["hashtag1","hashtag2"]},{"1328009101":["hashtag1","hashtag2"]},{"1328009097":["hashtag1","hashtag2"]},{"1328009099":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328009098, 1328009092, 1328009095, 1328009101, 1328009097, 1328009099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.15114140510559 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:53:22.428631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/36/image_11012025_00_36_02_593414_0000.jpg', '/home/pi/Desktop/images/11012025/00/36/image_11012025_00_36_02_593414_0001.jpg', '/home/pi/Desktop/images/11012025/00/36/image_11012025_00_36_02_593414_0002.jpg', '/home/pi/Desktop/images/11012025/00/36/image_11012025_00_36_02_593414_0003.jpg', '/home/pi/Desktop/images/11012025/00/37/image_11012025_00_37_02_704865_0000.jpg', '/home/pi/Desktop/images/11012025/00/37/image_11012025_00_37_02_704865_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/36/image_11012025_00_36_02_593414_0000.jpg
/home/pi/Desktop/images/11012025/00/36/image_11012025_00_36_02_593414_0001.jpg
/home/pi/Desktop/images/11012025/00/36/image_11012025_00_36_02_593414_0002.jpg
/home/pi/Desktop/images/11012025/00/36/image_11012025_00_36_02_593414_0003.jpg
/home/pi/Desktop/images/11012025/00/37/image_11012025_00_37_02_704865_0000.jpg
/home/pi/Desktop/images/11012025/00/37/image_11012025_00_37_02_704865_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":["1328009116","1328009119","1328009113","1328009115","1328009117","1328009111"],"photo_ids_order":["1328009111","1328009113","1328009115","1328009116","1328009117","1328009119"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/24ef4aeb354428898418b8143c3efd90.jpg","text":"TemporaryFile(/tmp/multipartBody6073406026211674351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553277587,"filename":"image_11012025_00_36_02_593414_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/40b1d71d1f1f244410c2d40cbfd3900b.jpg","text":"TemporaryFile(/tmp/multipartBody862781011939612417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553277587,"filename":"image_11012025_00_37_02_704865_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7fa3cc6228f019645efe761374fa794b.jpg","text":"TemporaryFile(/tmp/multipartBody5110405366422906677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553277587,"filename":"image_11012025_00_36_02_593414_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1284acc53f9ee748cbf813df28ffe7bb.jpg","text":"TemporaryFile(/tmp/multipartBody520273718034213873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553277587,"filename":"image_11012025_00_36_02_593414_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2f679d5c3a8f7055fa9ead6b1d9d908d.jpg","text":"TemporaryFile(/tmp/multipartBody1751714333888963761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553277587,"filename":"image_11012025_00_37_02_704865_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/34a60724eb52e0cd49e7c59e4fed9d8c.jpg","text":"TemporaryFile(/tmp/multipartBody1251868526776386822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553277587,"filename":"image_11012025_00_36_02_593414_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328009115","file1":"1328009113","file0":"1328009111","file4":"1328009117","file5":"1328009119","file3":"1328009116"},"map_files_photo_id_array":[{"photo_id":"1328009119","filename":"file5"},{"photo_id":"1328009115","filename":"file2"},{"photo_id":"1328009117","filename":"file4"},{"photo_id":"1328009113","filename":"file1"},{"photo_id":"1328009111","filename":"file0"},{"photo_id":"1328009116","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328009116":["hashtag1","hashtag2"]},{"1328009119":["hashtag1","hashtag2"]},{"1328009113":["hashtag1","hashtag2"]},{"1328009115":["hashtag1","hashtag2"]},{"1328009117":["hashtag1","hashtag2"]},{"1328009111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328009116, 1328009119, 1328009113, 1328009115, 1328009117, 1328009111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.85400867462158 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:54:22.592370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/37/image_11012025_00_37_02_704865_0002.jpg', '/home/pi/Desktop/images/11012025/00/37/image_11012025_00_37_02_704865_0003.jpg', '/home/pi/Desktop/images/11012025/00/38/image_11012025_00_38_03_019673_0000.jpg', '/home/pi/Desktop/images/11012025/00/38/image_11012025_00_38_03_019673_0001.jpg', '/home/pi/Desktop/images/11012025/00/38/image_11012025_00_38_03_019673_0002.jpg', '/home/pi/Desktop/images/11012025/00/38/image_11012025_00_38_03_019673_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/37/image_11012025_00_37_02_704865_0002.jpg
/home/pi/Desktop/images/11012025/00/37/image_11012025_00_37_02_704865_0003.jpg
/home/pi/Desktop/images/11012025/00/38/image_11012025_00_38_03_019673_0000.jpg
/home/pi/Desktop/images/11012025/00/38/image_11012025_00_38_03_019673_0001.jpg
/home/pi/Desktop/images/11012025/00/38/image_11012025_00_38_03_019673_0002.jpg
/home/pi/Desktop/images/11012025/00/38/image_11012025_00_38_03_019673_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":["1328009129","1328009143","1328009169","1328009171","1328009144","1328009126"],"photo_ids_order":["1328009126","1328009129","1328009143","1328009144","1328009169","1328009171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c788b9fc34844aad2f3b8abd4c9bf4a3.jpg","text":"TemporaryFile(/tmp/multipartBody5584046991221483758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553337641,"filename":"image_11012025_00_37_02_704865_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9ceb0ae23ecf51e981bda35a27538efe.jpg","text":"TemporaryFile(/tmp/multipartBody6486660994127494592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553337641,"filename":"image_11012025_00_38_03_019673_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/89712c6e4cef41bd1fcd948351739b55.jpg","text":"TemporaryFile(/tmp/multipartBody2552568135028736596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553337641,"filename":"image_11012025_00_38_03_019673_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/85f4d411c8fc9fa42cffc9234eebcbe0.jpg","text":"TemporaryFile(/tmp/multipartBody2721838773165963538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553337641,"filename":"image_11012025_00_38_03_019673_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/deb073a99d2650817794753ab7641464.jpg","text":"TemporaryFile(/tmp/multipartBody6778528898070057666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553337641,"filename":"image_11012025_00_38_03_019673_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/57e64e64aa378f93ee9e300e32a9dfab.jpg","text":"TemporaryFile(/tmp/multipartBody3993872481425753069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553337641,"filename":"image_11012025_00_37_02_704865_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328009143","file1":"1328009129","file0":"1328009126","file4":"1328009169","file5":"1328009171","file3":"1328009144"},"map_files_photo_id_array":[{"photo_id":"1328009171","filename":"file5"},{"photo_id":"1328009143","filename":"file2"},{"photo_id":"1328009169","filename":"file4"},{"photo_id":"1328009129","filename":"file1"},{"photo_id":"1328009126","filename":"file0"},{"photo_id":"1328009144","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328009129":["hashtag1","hashtag2"]},{"1328009143":["hashtag1","hashtag2"]},{"1328009169":["hashtag1","hashtag2"]},{"1328009171":["hashtag1","hashtag2"]},{"1328009144":["hashtag1","hashtag2"]},{"1328009126":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328009129, 1328009143, 1328009169, 1328009171, 1328009144, 1328009126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.750569105148315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:55:51.791620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/46/image_09012025_22_46_02_161378_0000.jpg', '/home/pi/Desktop/images/09012025/22/46/image_09012025_22_46_02_161378_0001.jpg', '/home/pi/Desktop/images/09012025/22/46/image_09012025_22_46_02_161378_0002.jpg', '/home/pi/Desktop/images/09012025/22/46/image_09012025_22_46_02_161378_0003.jpg', '/home/pi/Desktop/images/09012025/22/47/image_09012025_22_47_02_431913_0000.jpg', '/home/pi/Desktop/images/09012025/22/47/image_09012025_22_47_02_431913_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/46/image_09012025_22_46_02_161378_0000.jpg
/home/pi/Desktop/images/09012025/22/46/image_09012025_22_46_02_161378_0001.jpg
/home/pi/Desktop/images/09012025/22/46/image_09012025_22_46_02_161378_0002.jpg
/home/pi/Desktop/images/09012025/22/46/image_09012025_22_46_02_161378_0003.jpg
/home/pi/Desktop/images/09012025/22/47/image_09012025_22_47_02_431913_0000.jpg
/home/pi/Desktop/images/09012025/22/47/image_09012025_22_47_02_431913_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":["1328009182","1328009191","1328009185","1328009188","1328009193","1328009184"],"photo_ids_order":["1328009182","1328009184","1328009185","1328009188","1328009191","1328009193"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/febe0b264fc83e3e258d27a306dd1076.jpg","text":"TemporaryFile(/tmp/multipartBody4959315035144013041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553427981,"filename":"image_09012025_22_46_02_161378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f3a8fc24693504212abc541ea96a78aa.jpg","text":"TemporaryFile(/tmp/multipartBody2803838166750207193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553427981,"filename":"image_09012025_22_47_02_431913_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6af53f283c099507b0873f5016c3ff8d.jpg","text":"TemporaryFile(/tmp/multipartBody3218700751261233481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553427981,"filename":"image_09012025_22_46_02_161378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eee8dfecf355b53558a9c5ead2cabc78.jpg","text":"TemporaryFile(/tmp/multipartBody435287928389388565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553427981,"filename":"image_09012025_22_46_02_161378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/50a1f3c67c16d5c87b74a2ac3cbb760c.jpg","text":"TemporaryFile(/tmp/multipartBody7739714977866383119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553427981,"filename":"image_09012025_22_47_02_431913_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/687790c486c869baa2a3cdf0e5bf04da.jpg","text":"TemporaryFile(/tmp/multipartBody1591097744988585434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553427981,"filename":"image_09012025_22_46_02_161378_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328009185","file1":"1328009184","file0":"1328009182","file4":"1328009191","file5":"1328009193","file3":"1328009188"},"map_files_photo_id_array":[{"photo_id":"1328009193","filename":"file5"},{"photo_id":"1328009185","filename":"file2"},{"photo_id":"1328009191","filename":"file4"},{"photo_id":"1328009184","filename":"file1"},{"photo_id":"1328009182","filename":"file0"},{"photo_id":"1328009188","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328009182":["hashtag1","hashtag2"]},{"1328009191":["hashtag1","hashtag2"]},{"1328009185":["hashtag1","hashtag2"]},{"1328009188":["hashtag1","hashtag2"]},{"1328009193":["hashtag1","hashtag2"]},{"1328009184":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328009182, 1328009191, 1328009185, 1328009188, 1328009193, 1328009184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.530311584472656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-11 00:56:51.951934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/47/image_09012025_22_47_02_431913_0002.jpg', '/home/pi/Desktop/images/09012025/22/47/image_09012025_22_47_02_431913_0003.jpg', '/home/pi/Desktop/images/09012025/22/48/image_09012025_22_48_02_620756_0000.jpg', '/home/pi/Desktop/images/09012025/22/48/image_09012025_22_48_02_620756_0001.jpg', '/home/pi/Desktop/images/09012025/22/48/image_09012025_22_48_02_620756_0002.jpg', '/home/pi/Desktop/images/09012025/22/48/image_09012025_22_48_02_620756_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/47/image_09012025_22_47_02_431913_0002.jpg
/home/pi/Desktop/images/09012025/22/47/image_09012025_22_47_02_431913_0003.jpg
/home/pi/Desktop/images/09012025/22/48/image_09012025_22_48_02_620756_0000.jpg
/home/pi/Desktop/images/09012025/22/48/image_09012025_22_48_02_620756_0001.jpg
/home/pi/Desktop/images/09012025/22/48/image_09012025_22_48_02_620756_0002.jpg
/home/pi/Desktop/images/09012025/22/48/image_09012025_22_48_02_620756_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.720821857452393 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:57:22.181681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0000.jpg', '/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0001.jpg', '/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0002.jpg', '/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0003.jpg', '/home/pi/Desktop/images/11012025/00/40/image_11012025_00_40_02_232295_0000.jpg', '/home/pi/Desktop/images/11012025/00/40/image_11012025_00_40_02_232295_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0000.jpg
/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0001.jpg
/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0002.jpg
/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0003.jpg
/home/pi/Desktop/images/11012025/00/40/image_11012025_00_40_02_232295_0000.jpg
/home/pi/Desktop/images/11012025/00/40/image_11012025_00_40_02_232295_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-11 00:59:03.138851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0000.jpg', '/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0001.jpg', '/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0002.jpg', '/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0003.jpg', '/home/pi/Desktop/images/11012025/00/40/image_11012025_00_40_02_232295_0000.jpg', '/home/pi/Desktop/images/11012025/00/40/image_11012025_00_40_02_232295_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0000.jpg
/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0001.jpg
/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0002.jpg
/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0003.jpg
/home/pi/Desktop/images/11012025/00/40/image_11012025_00_40_02_232295_0000.jpg
/home/pi/Desktop/images/11012025/00/40/image_11012025_00_40_02_232295_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.996225833892822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 00:59:22.460599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0000.jpg', '/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0001.jpg', '/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0002.jpg', '/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0003.jpg', '/home/pi/Desktop/images/11012025/00/40/image_11012025_00_40_02_232295_0000.jpg', '/home/pi/Desktop/images/11012025/00/40/image_11012025_00_40_02_232295_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0000.jpg
/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0001.jpg
/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0002.jpg
/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_03_059624_0003.jpg
/home/pi/Desktop/images/11012025/00/40/image_11012025_00_40_02_232295_0000.jpg
/home/pi/Desktop/images/11012025/00/40/image_11012025_00_40_02_232295_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328010083","1328010728","1328010862","1328010576","1328010324","1328010213"],"photo_ids_order":["1328010083","1328010213","1328010324","1328010576","1328010728","1328010862"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cc86303e761d14dd3319df712ab1b128.jpg","text":"TemporaryFile(/tmp/multipartBody4540505127869600791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553637798,"filename":"image_11012025_00_39_03_059624_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0c59ec303a05528bc784bb86c5b80062.jpg","text":"TemporaryFile(/tmp/multipartBody6703681135006755881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553637798,"filename":"image_11012025_00_40_02_232295_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3d700b4ce030a53c9eec8bdba582de61.jpg","text":"TemporaryFile(/tmp/multipartBody720029991876149502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553637798,"filename":"image_11012025_00_40_02_232295_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/14a9a5366bc729b83bfa9cf894abfec7.jpg","text":"TemporaryFile(/tmp/multipartBody8712713742680525136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553637798,"filename":"image_11012025_00_39_03_059624_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/33362c179c1d5dcdcf1b6aa5d4b37fce.jpg","text":"TemporaryFile(/tmp/multipartBody2645999155219656332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553637798,"filename":"image_11012025_00_39_03_059624_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/13aa7c42b6a1da8de693bd941f6770e0.jpg","text":"TemporaryFile(/tmp/multipartBody1024817420280106694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553637798,"filename":"image_11012025_00_39_03_059624_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328010324","file1":"1328010213","file0":"1328010083","file4":"1328010728","file5":"1328010862","file3":"1328010576"},"map_files_photo_id_array":[{"photo_id":"1328010862","filename":"file5"},{"photo_id":"1328010324","filename":"file2"},{"photo_id":"1328010728","filename":"file4"},{"photo_id":"1328010213","filename":"file1"},{"photo_id":"1328010083","filename":"file0"},{"photo_id":"1328010576","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328010083":["hashtag1","hashtag2"]},{"1328010728":["hashtag1","hashtag2"]},{"1328010862":["hashtag1","hashtag2"]},{"1328010576":["hashtag1","hashtag2"]},{"1328010324":["hashtag1","hashtag2"]},{"1328010213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328010083, 1328010728, 1328010862, 1328010576, 1328010324, 1328010213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.320597887039185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:00:22.099275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/40/image_11012025_00_40_02_232295_0002.jpg', '/home/pi/Desktop/images/11012025/00/40/image_11012025_00_40_02_232295_0003.jpg', '/home/pi/Desktop/images/11012025/00/41/image_11012025_00_41_02_381378_0000.jpg', '/home/pi/Desktop/images/11012025/00/41/image_11012025_00_41_02_381378_0001.jpg', '/home/pi/Desktop/images/11012025/00/41/image_11012025_00_41_02_381378_0002.jpg', '/home/pi/Desktop/images/11012025/00/41/image_11012025_00_41_02_381378_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/40/image_11012025_00_40_02_232295_0002.jpg
/home/pi/Desktop/images/11012025/00/40/image_11012025_00_40_02_232295_0003.jpg
/home/pi/Desktop/images/11012025/00/41/image_11012025_00_41_02_381378_0000.jpg
/home/pi/Desktop/images/11012025/00/41/image_11012025_00_41_02_381378_0001.jpg
/home/pi/Desktop/images/11012025/00/41/image_11012025_00_41_02_381378_0002.jpg
/home/pi/Desktop/images/11012025/00/41/image_11012025_00_41_02_381378_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328011471","1328011468","1328011488","1328011466","1328011520","1328011463"],"photo_ids_order":["1328011463","1328011466","1328011468","1328011471","1328011488","1328011520"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/da1ca3b201ed790e622bbdf0b7998984.jpg","text":"TemporaryFile(/tmp/multipartBody5047507942526697875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553697106,"filename":"image_11012025_00_41_02_381378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bdecae5891b9a21e5645bbb9b0b68cf4.jpg","text":"TemporaryFile(/tmp/multipartBody7498138663165656487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553697106,"filename":"image_11012025_00_41_02_381378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d200de753ce88035e2e378e63ff4dea2.jpg","text":"TemporaryFile(/tmp/multipartBody7083399388434532057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553697106,"filename":"image_11012025_00_41_02_381378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fd07476c84dc5d5918ede2ad1d234fac.jpg","text":"TemporaryFile(/tmp/multipartBody1066468008658336844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553697106,"filename":"image_11012025_00_40_02_232295_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c29c29965e0554c2fb640b0390a7f908.jpg","text":"TemporaryFile(/tmp/multipartBody3331119449691918516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553697106,"filename":"image_11012025_00_41_02_381378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dda67542fef28e636c3ed7e090d6e455.jpg","text":"TemporaryFile(/tmp/multipartBody6857474347450833656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553697106,"filename":"image_11012025_00_40_02_232295_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328011468","file1":"1328011466","file0":"1328011463","file4":"1328011488","file5":"1328011520","file3":"1328011471"},"map_files_photo_id_array":[{"photo_id":"1328011520","filename":"file5"},{"photo_id":"1328011468","filename":"file2"},{"photo_id":"1328011488","filename":"file4"},{"photo_id":"1328011466","filename":"file1"},{"photo_id":"1328011463","filename":"file0"},{"photo_id":"1328011471","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328011471":["hashtag1","hashtag2"]},{"1328011468":["hashtag1","hashtag2"]},{"1328011488":["hashtag1","hashtag2"]},{"1328011466":["hashtag1","hashtag2"]},{"1328011520":["hashtag1","hashtag2"]},{"1328011463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328011471, 1328011468, 1328011488, 1328011466, 1328011520, 1328011463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.02810478210449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:01:22.692264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/42/image_11012025_00_42_02_624625_0000.jpg', '/home/pi/Desktop/images/11012025/00/42/image_11012025_00_42_02_624625_0001.jpg', '/home/pi/Desktop/images/11012025/00/42/image_11012025_00_42_02_624625_0002.jpg', '/home/pi/Desktop/images/11012025/00/42/image_11012025_00_42_02_624625_0003.jpg', '/home/pi/Desktop/images/11012025/00/43/image_11012025_00_43_02_805317_0000.jpg', '/home/pi/Desktop/images/11012025/00/43/image_11012025_00_43_02_805317_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/42/image_11012025_00_42_02_624625_0000.jpg
/home/pi/Desktop/images/11012025/00/42/image_11012025_00_42_02_624625_0001.jpg
/home/pi/Desktop/images/11012025/00/42/image_11012025_00_42_02_624625_0002.jpg
/home/pi/Desktop/images/11012025/00/42/image_11012025_00_42_02_624625_0003.jpg
/home/pi/Desktop/images/11012025/00/43/image_11012025_00_43_02_805317_0000.jpg
/home/pi/Desktop/images/11012025/00/43/image_11012025_00_43_02_805317_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.617839336395264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:02:02.714385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/42/image_11012025_00_42_02_624625_0000.jpg', '/home/pi/Desktop/images/11012025/00/42/image_11012025_00_42_02_624625_0001.jpg', '/home/pi/Desktop/images/11012025/00/42/image_11012025_00_42_02_624625_0002.jpg', '/home/pi/Desktop/images/11012025/00/42/image_11012025_00_42_02_624625_0003.jpg', '/home/pi/Desktop/images/11012025/00/43/image_11012025_00_43_02_805317_0000.jpg', '/home/pi/Desktop/images/11012025/00/43/image_11012025_00_43_02_805317_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/42/image_11012025_00_42_02_624625_0000.jpg
/home/pi/Desktop/images/11012025/00/42/image_11012025_00_42_02_624625_0001.jpg
/home/pi/Desktop/images/11012025/00/42/image_11012025_00_42_02_624625_0002.jpg
/home/pi/Desktop/images/11012025/00/42/image_11012025_00_42_02_624625_0003.jpg
/home/pi/Desktop/images/11012025/00/43/image_11012025_00_43_02_805317_0000.jpg
/home/pi/Desktop/images/11012025/00/43/image_11012025_00_43_02_805317_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328012155","1328011942","1328012049","1328011722","1328012153","1328011832"],"photo_ids_order":["1328011722","1328011832","1328011942","1328012049","1328012153","1328012155"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/95fbddf743a119e40b3a5c06c6da8927.jpg","text":"TemporaryFile(/tmp/multipartBody6329089151577258042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553797740,"filename":"image_11012025_00_43_02_805317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c33cb80c172fc40575f6d31fca40c7d5.jpg","text":"TemporaryFile(/tmp/multipartBody167823497546232573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553797740,"filename":"image_11012025_00_42_02_624625_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4eac4d7ba349b3b31feb9bbd1ea9586a.jpg","text":"TemporaryFile(/tmp/multipartBody2541194439506396411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553797740,"filename":"image_11012025_00_42_02_624625_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/96b80bcb383bbcfd8c9b1bfcb89536cf.jpg","text":"TemporaryFile(/tmp/multipartBody1133154905044101625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553797740,"filename":"image_11012025_00_42_02_624625_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/95d72e3b66b85a0bc27e195e0fa34a60.jpg","text":"TemporaryFile(/tmp/multipartBody3319297058332046607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553797740,"filename":"image_11012025_00_43_02_805317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/71efb522edd92bd492ae2aceaaa12277.jpg","text":"TemporaryFile(/tmp/multipartBody3421862644364683143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553797740,"filename":"image_11012025_00_42_02_624625_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328011942","file1":"1328011832","file0":"1328011722","file4":"1328012153","file5":"1328012155","file3":"1328012049"},"map_files_photo_id_array":[{"photo_id":"1328012155","filename":"file5"},{"photo_id":"1328011942","filename":"file2"},{"photo_id":"1328012153","filename":"file4"},{"photo_id":"1328011832","filename":"file1"},{"photo_id":"1328011722","filename":"file0"},{"photo_id":"1328012049","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328012155":["hashtag1","hashtag2"]},{"1328011942":["hashtag1","hashtag2"]},{"1328012049":["hashtag1","hashtag2"]},{"1328011722":["hashtag1","hashtag2"]},{"1328012153":["hashtag1","hashtag2"]},{"1328011832":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328012155, 1328011942, 1328012049, 1328011722, 1328012153, 1328011832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.134520053863525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:03:02.392075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/43/image_11012025_00_43_02_805317_0002.jpg', '/home/pi/Desktop/images/11012025/00/43/image_11012025_00_43_02_805317_0003.jpg', '/home/pi/Desktop/images/11012025/00/44/image_11012025_00_44_02_991968_0000.jpg', '/home/pi/Desktop/images/11012025/00/44/image_11012025_00_44_02_991968_0001.jpg', '/home/pi/Desktop/images/11012025/00/44/image_11012025_00_44_02_991968_0002.jpg', '/home/pi/Desktop/images/11012025/00/44/image_11012025_00_44_02_991968_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/43/image_11012025_00_43_02_805317_0002.jpg
/home/pi/Desktop/images/11012025/00/43/image_11012025_00_43_02_805317_0003.jpg
/home/pi/Desktop/images/11012025/00/44/image_11012025_00_44_02_991968_0000.jpg
/home/pi/Desktop/images/11012025/00/44/image_11012025_00_44_02_991968_0001.jpg
/home/pi/Desktop/images/11012025/00/44/image_11012025_00_44_02_991968_0002.jpg
/home/pi/Desktop/images/11012025/00/44/image_11012025_00_44_02_991968_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.780973434448242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:03:21.748762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/43/image_11012025_00_43_02_805317_0002.jpg', '/home/pi/Desktop/images/11012025/00/43/image_11012025_00_43_02_805317_0003.jpg', '/home/pi/Desktop/images/11012025/00/44/image_11012025_00_44_02_991968_0000.jpg', '/home/pi/Desktop/images/11012025/00/44/image_11012025_00_44_02_991968_0001.jpg', '/home/pi/Desktop/images/11012025/00/44/image_11012025_00_44_02_991968_0002.jpg', '/home/pi/Desktop/images/11012025/00/44/image_11012025_00_44_02_991968_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/43/image_11012025_00_43_02_805317_0002.jpg
/home/pi/Desktop/images/11012025/00/43/image_11012025_00_43_02_805317_0003.jpg
/home/pi/Desktop/images/11012025/00/44/image_11012025_00_44_02_991968_0000.jpg
/home/pi/Desktop/images/11012025/00/44/image_11012025_00_44_02_991968_0001.jpg
/home/pi/Desktop/images/11012025/00/44/image_11012025_00_44_02_991968_0002.jpg
/home/pi/Desktop/images/11012025/00/44/image_11012025_00_44_02_991968_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328012374","1328012368","1328012341","1328012376","1328012337","1328012327"],"photo_ids_order":["1328012327","1328012337","1328012341","1328012368","1328012374","1328012376"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6c07f5d47b1ecc621db233fac6100050.jpg","text":"TemporaryFile(/tmp/multipartBody7886909739783693949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553876879,"filename":"image_11012025_00_44_02_991968_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/02cc697f839010cb61466ecac504091f.jpg","text":"TemporaryFile(/tmp/multipartBody4375393377230937158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553876879,"filename":"image_11012025_00_44_02_991968_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/530a8c6a54ce4cc496decd659ba98da5.jpg","text":"TemporaryFile(/tmp/multipartBody3937060337186912801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553876879,"filename":"image_11012025_00_44_02_991968_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7554d983b6ccddf1d8b9ca5449e534e4.jpg","text":"TemporaryFile(/tmp/multipartBody5107808862300178379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553876879,"filename":"image_11012025_00_44_02_991968_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/09b463a6a3eb5cb6db64096cd9784c21.jpg","text":"TemporaryFile(/tmp/multipartBody4893846698436963146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553876879,"filename":"image_11012025_00_43_02_805317_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/22bc9773d7bf865727811c1cf69976c5.jpg","text":"TemporaryFile(/tmp/multipartBody6650194305020830011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553876879,"filename":"image_11012025_00_43_02_805317_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328012341","file1":"1328012337","file0":"1328012327","file4":"1328012374","file5":"1328012376","file3":"1328012368"},"map_files_photo_id_array":[{"photo_id":"1328012376","filename":"file5"},{"photo_id":"1328012341","filename":"file2"},{"photo_id":"1328012374","filename":"file4"},{"photo_id":"1328012337","filename":"file1"},{"photo_id":"1328012327","filename":"file0"},{"photo_id":"1328012368","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328012374":["hashtag1","hashtag2"]},{"1328012368":["hashtag1","hashtag2"]},{"1328012341":["hashtag1","hashtag2"]},{"1328012376":["hashtag1","hashtag2"]},{"1328012337":["hashtag1","hashtag2"]},{"1328012327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328012374, 1328012368, 1328012341, 1328012376, 1328012337, 1328012327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.62534713745117 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:04:22.385080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/45/image_11012025_00_45_02_157259_0000.jpg', '/home/pi/Desktop/images/11012025/00/45/image_11012025_00_45_02_157259_0001.jpg', '/home/pi/Desktop/images/11012025/00/45/image_11012025_00_45_02_157259_0002.jpg', '/home/pi/Desktop/images/11012025/00/45/image_11012025_00_45_02_157259_0003.jpg', '/home/pi/Desktop/images/11012025/00/46/image_11012025_00_46_02_413900_0000.jpg', '/home/pi/Desktop/images/11012025/00/46/image_11012025_00_46_02_413900_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/45/image_11012025_00_45_02_157259_0000.jpg
/home/pi/Desktop/images/11012025/00/45/image_11012025_00_45_02_157259_0001.jpg
/home/pi/Desktop/images/11012025/00/45/image_11012025_00_45_02_157259_0002.jpg
/home/pi/Desktop/images/11012025/00/45/image_11012025_00_45_02_157259_0003.jpg
/home/pi/Desktop/images/11012025/00/46/image_11012025_00_46_02_413900_0000.jpg
/home/pi/Desktop/images/11012025/00/46/image_11012025_00_46_02_413900_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328013240","1328013138","1328012907","1328012693","1328013242","1328013238"],"photo_ids_order":["1328012693","1328012907","1328013138","1328013238","1328013240","1328013242"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/df7cd90f5eebe2db0cdb3cb8a8decb03.jpg","text":"TemporaryFile(/tmp/multipartBody8415290290850700035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553937390,"filename":"image_11012025_00_46_02_413900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f1fb8ab3ab0015c0d2215fed05c5ff09.jpg","text":"TemporaryFile(/tmp/multipartBody2888496356080587755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553937390,"filename":"image_11012025_00_45_02_157259_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2584ee8b375745afbd3a7ef10abd67de.jpg","text":"TemporaryFile(/tmp/multipartBody8540377558646846379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553937390,"filename":"image_11012025_00_45_02_157259_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a772fd61332bf71c042991551a0696e0.jpg","text":"TemporaryFile(/tmp/multipartBody1749208013435611633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553937390,"filename":"image_11012025_00_45_02_157259_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5f1f268bb66874bddc064590b4e9ff4b.jpg","text":"TemporaryFile(/tmp/multipartBody6310376588666968036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553937390,"filename":"image_11012025_00_46_02_413900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8891b80e0c74dc7bdfe7612d1299d907.jpg","text":"TemporaryFile(/tmp/multipartBody3073393609479932363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553937390,"filename":"image_11012025_00_45_02_157259_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328013138","file1":"1328012907","file0":"1328012693","file4":"1328013240","file5":"1328013242","file3":"1328013238"},"map_files_photo_id_array":[{"photo_id":"1328013242","filename":"file5"},{"photo_id":"1328013138","filename":"file2"},{"photo_id":"1328013240","filename":"file4"},{"photo_id":"1328012907","filename":"file1"},{"photo_id":"1328012693","filename":"file0"},{"photo_id":"1328013238","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328013240":["hashtag1","hashtag2"]},{"1328013138":["hashtag1","hashtag2"]},{"1328012907":["hashtag1","hashtag2"]},{"1328012693":["hashtag1","hashtag2"]},{"1328013242":["hashtag1","hashtag2"]},{"1328013238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328013240, 1328013138, 1328012907, 1328012693, 1328013242, 1328013238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.19981288909912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:05:21.935746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/46/image_11012025_00_46_02_413900_0002.jpg', '/home/pi/Desktop/images/11012025/00/46/image_11012025_00_46_02_413900_0003.jpg', '/home/pi/Desktop/images/11012025/00/47/image_11012025_00_47_02_605676_0000.jpg', '/home/pi/Desktop/images/11012025/00/47/image_11012025_00_47_02_605676_0001.jpg', '/home/pi/Desktop/images/11012025/00/47/image_11012025_00_47_02_605676_0002.jpg', '/home/pi/Desktop/images/11012025/00/47/image_11012025_00_47_02_605676_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/46/image_11012025_00_46_02_413900_0002.jpg
/home/pi/Desktop/images/11012025/00/46/image_11012025_00_46_02_413900_0003.jpg
/home/pi/Desktop/images/11012025/00/47/image_11012025_00_47_02_605676_0000.jpg
/home/pi/Desktop/images/11012025/00/47/image_11012025_00_47_02_605676_0001.jpg
/home/pi/Desktop/images/11012025/00/47/image_11012025_00_47_02_605676_0002.jpg
/home/pi/Desktop/images/11012025/00/47/image_11012025_00_47_02_605676_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328013252","1328013258","1328013254","1328013248","1328013256","1328013250"],"photo_ids_order":["1328013248","1328013250","1328013252","1328013254","1328013256","1328013258"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8d225ff9aad87bbd5a39a2d0a83a044f.jpg","text":"TemporaryFile(/tmp/multipartBody4004741232402568928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553997157,"filename":"image_11012025_00_47_02_605676_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1b13902aeaf4452401af5ea0055f779f.jpg","text":"TemporaryFile(/tmp/multipartBody9207478576650475645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553997157,"filename":"image_11012025_00_47_02_605676_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fc9b991bbfc82d926c335108e9c67918.jpg","text":"TemporaryFile(/tmp/multipartBody5813258739756764041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553997157,"filename":"image_11012025_00_47_02_605676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7bca5c8e6be50429f44516ff11b83f90.jpg","text":"TemporaryFile(/tmp/multipartBody2424430175272897362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553997157,"filename":"image_11012025_00_46_02_413900_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/575c1bb50e46eb24d3823c40cd30fae6.jpg","text":"TemporaryFile(/tmp/multipartBody5729348938390463288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553997157,"filename":"image_11012025_00_47_02_605676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/42a9e7a015de0f2bbecf9c447d7ee260.jpg","text":"TemporaryFile(/tmp/multipartBody9188507476212989745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736553997157,"filename":"image_11012025_00_46_02_413900_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328013252","file1":"1328013250","file0":"1328013248","file4":"1328013256","file5":"1328013258","file3":"1328013254"},"map_files_photo_id_array":[{"photo_id":"1328013258","filename":"file5"},{"photo_id":"1328013252","filename":"file2"},{"photo_id":"1328013256","filename":"file4"},{"photo_id":"1328013250","filename":"file1"},{"photo_id":"1328013248","filename":"file0"},{"photo_id":"1328013254","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328013252":["hashtag1","hashtag2"]},{"1328013258":["hashtag1","hashtag2"]},{"1328013254":["hashtag1","hashtag2"]},{"1328013248":["hashtag1","hashtag2"]},{"1328013256":["hashtag1","hashtag2"]},{"1328013250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328013252, 1328013258, 1328013254, 1328013248, 1328013256, 1328013250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.62740707397461 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:06:22.420564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/48/image_11012025_00_48_02_708349_0000.jpg', '/home/pi/Desktop/images/11012025/00/48/image_11012025_00_48_02_708349_0001.jpg', '/home/pi/Desktop/images/11012025/00/48/image_11012025_00_48_02_708349_0002.jpg', '/home/pi/Desktop/images/11012025/00/48/image_11012025_00_48_02_708349_0003.jpg', '/home/pi/Desktop/images/11012025/00/49/image_11012025_00_49_02_875260_0000.jpg', '/home/pi/Desktop/images/11012025/00/49/image_11012025_00_49_02_875260_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/48/image_11012025_00_48_02_708349_0000.jpg
/home/pi/Desktop/images/11012025/00/48/image_11012025_00_48_02_708349_0001.jpg
/home/pi/Desktop/images/11012025/00/48/image_11012025_00_48_02_708349_0002.jpg
/home/pi/Desktop/images/11012025/00/48/image_11012025_00_48_02_708349_0003.jpg
/home/pi/Desktop/images/11012025/00/49/image_11012025_00_49_02_875260_0000.jpg
/home/pi/Desktop/images/11012025/00/49/image_11012025_00_49_02_875260_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.647881269454956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:07:02.442106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/48/image_11012025_00_48_02_708349_0000.jpg', '/home/pi/Desktop/images/11012025/00/48/image_11012025_00_48_02_708349_0001.jpg', '/home/pi/Desktop/images/11012025/00/48/image_11012025_00_48_02_708349_0002.jpg', '/home/pi/Desktop/images/11012025/00/48/image_11012025_00_48_02_708349_0003.jpg', '/home/pi/Desktop/images/11012025/00/49/image_11012025_00_49_02_875260_0000.jpg', '/home/pi/Desktop/images/11012025/00/49/image_11012025_00_49_02_875260_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/48/image_11012025_00_48_02_708349_0000.jpg
/home/pi/Desktop/images/11012025/00/48/image_11012025_00_48_02_708349_0001.jpg
/home/pi/Desktop/images/11012025/00/48/image_11012025_00_48_02_708349_0002.jpg
/home/pi/Desktop/images/11012025/00/48/image_11012025_00_48_02_708349_0003.jpg
/home/pi/Desktop/images/11012025/00/49/image_11012025_00_49_02_875260_0000.jpg
/home/pi/Desktop/images/11012025/00/49/image_11012025_00_49_02_875260_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328013840","1328013851","1328013848","1328013842","1328013844","1328013853"],"photo_ids_order":["1328013840","1328013842","1328013844","1328013848","1328013851","1328013853"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/10a64537e79086bb6d7a01a627871fb5.jpg","text":"TemporaryFile(/tmp/multipartBody105605058726620034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554097582,"filename":"image_11012025_00_48_02_708349_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d9859c78efc907b6657e3f7bb4dcfda2.jpg","text":"TemporaryFile(/tmp/multipartBody3033174965236983289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554097582,"filename":"image_11012025_00_49_02_875260_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/87ae5d7baec88c3e1f310228db7cbf80.jpg","text":"TemporaryFile(/tmp/multipartBody158702442572362880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554097582,"filename":"image_11012025_00_48_02_708349_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/01ecbc982f1891fa967bb1dc0dfaf044.jpg","text":"TemporaryFile(/tmp/multipartBody4653905378743906970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554097582,"filename":"image_11012025_00_48_02_708349_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/19c736e2a3d5c43f0c1d9be1a132b07d.jpg","text":"TemporaryFile(/tmp/multipartBody7229678845090120174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554097582,"filename":"image_11012025_00_48_02_708349_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3b4e0f411ede966bf49abd5ed5905903.jpg","text":"TemporaryFile(/tmp/multipartBody8602560789471039239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554097582,"filename":"image_11012025_00_49_02_875260_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328013844","file1":"1328013842","file0":"1328013840","file4":"1328013851","file5":"1328013853","file3":"1328013848"},"map_files_photo_id_array":[{"photo_id":"1328013853","filename":"file5"},{"photo_id":"1328013844","filename":"file2"},{"photo_id":"1328013851","filename":"file4"},{"photo_id":"1328013842","filename":"file1"},{"photo_id":"1328013840","filename":"file0"},{"photo_id":"1328013848","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328013840":["hashtag1","hashtag2"]},{"1328013851":["hashtag1","hashtag2"]},{"1328013848":["hashtag1","hashtag2"]},{"1328013842":["hashtag1","hashtag2"]},{"1328013844":["hashtag1","hashtag2"]},{"1328013853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328013840, 1328013851, 1328013848, 1328013842, 1328013844, 1328013853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.77106165885925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:08:02.976875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/49/image_11012025_00_49_02_875260_0002.jpg', '/home/pi/Desktop/images/11012025/00/49/image_11012025_00_49_02_875260_0003.jpg', '/home/pi/Desktop/images/11012025/00/50/image_11012025_00_50_03_018417_0000.jpg', '/home/pi/Desktop/images/11012025/00/50/image_11012025_00_50_03_018417_0001.jpg', '/home/pi/Desktop/images/11012025/00/50/image_11012025_00_50_03_018417_0002.jpg', '/home/pi/Desktop/images/11012025/00/50/image_11012025_00_50_03_018417_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/49/image_11012025_00_49_02_875260_0002.jpg
/home/pi/Desktop/images/11012025/00/49/image_11012025_00_49_02_875260_0003.jpg
/home/pi/Desktop/images/11012025/00/50/image_11012025_00_50_03_018417_0000.jpg
/home/pi/Desktop/images/11012025/00/50/image_11012025_00_50_03_018417_0001.jpg
/home/pi/Desktop/images/11012025/00/50/image_11012025_00_50_03_018417_0002.jpg
/home/pi/Desktop/images/11012025/00/50/image_11012025_00_50_03_018417_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.72261667251587 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:08:22.412497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/49/image_11012025_00_49_02_875260_0002.jpg', '/home/pi/Desktop/images/11012025/00/49/image_11012025_00_49_02_875260_0003.jpg', '/home/pi/Desktop/images/11012025/00/50/image_11012025_00_50_03_018417_0000.jpg', '/home/pi/Desktop/images/11012025/00/50/image_11012025_00_50_03_018417_0001.jpg', '/home/pi/Desktop/images/11012025/00/50/image_11012025_00_50_03_018417_0002.jpg', '/home/pi/Desktop/images/11012025/00/50/image_11012025_00_50_03_018417_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/49/image_11012025_00_49_02_875260_0002.jpg
/home/pi/Desktop/images/11012025/00/49/image_11012025_00_49_02_875260_0003.jpg
/home/pi/Desktop/images/11012025/00/50/image_11012025_00_50_03_018417_0000.jpg
/home/pi/Desktop/images/11012025/00/50/image_11012025_00_50_03_018417_0001.jpg
/home/pi/Desktop/images/11012025/00/50/image_11012025_00_50_03_018417_0002.jpg
/home/pi/Desktop/images/11012025/00/50/image_11012025_00_50_03_018417_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328013876","1328013870","1328013878","1328013872","1328013874","1328013865"],"photo_ids_order":["1328013865","1328013870","1328013872","1328013874","1328013876","1328013878"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f5b11df2e5745820141adeb0fadc9b14.jpg","text":"TemporaryFile(/tmp/multipartBody119805787014858792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554177511,"filename":"image_11012025_00_50_03_018417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e07f999a43e2b64077a7b11d2b8aa7b2.jpg","text":"TemporaryFile(/tmp/multipartBody7999719614093715845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554177511,"filename":"image_11012025_00_49_02_875260_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2e68f71684dcaf4cbd8e8724863b5f19.jpg","text":"TemporaryFile(/tmp/multipartBody7769207526036148332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554177511,"filename":"image_11012025_00_50_03_018417_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eceddc55587e31b8763ac4264bb52acc.jpg","text":"TemporaryFile(/tmp/multipartBody1938490517565099662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554177511,"filename":"image_11012025_00_50_03_018417_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/291c72d2ccc9cbb62969f4bc436679f3.jpg","text":"TemporaryFile(/tmp/multipartBody4594012248380857188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554177511,"filename":"image_11012025_00_50_03_018417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/84dc8c6c7777d38aba9327bc7bc6b343.jpg","text":"TemporaryFile(/tmp/multipartBody384117989408018318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554177511,"filename":"image_11012025_00_49_02_875260_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328013872","file1":"1328013870","file0":"1328013865","file4":"1328013876","file5":"1328013878","file3":"1328013874"},"map_files_photo_id_array":[{"photo_id":"1328013878","filename":"file5"},{"photo_id":"1328013872","filename":"file2"},{"photo_id":"1328013876","filename":"file4"},{"photo_id":"1328013870","filename":"file1"},{"photo_id":"1328013865","filename":"file0"},{"photo_id":"1328013874","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328013876":["hashtag1","hashtag2"]},{"1328013870":["hashtag1","hashtag2"]},{"1328013878":["hashtag1","hashtag2"]},{"1328013872":["hashtag1","hashtag2"]},{"1328013874":["hashtag1","hashtag2"]},{"1328013865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328013876, 1328013870, 1328013878, 1328013872, 1328013874, 1328013865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.935933113098145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:09:21.944219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/51/image_11012025_00_51_02_248058_0000.jpg', '/home/pi/Desktop/images/11012025/00/51/image_11012025_00_51_02_248058_0001.jpg', '/home/pi/Desktop/images/11012025/00/51/image_11012025_00_51_02_248058_0002.jpg', '/home/pi/Desktop/images/11012025/00/51/image_11012025_00_51_02_248058_0003.jpg', '/home/pi/Desktop/images/11012025/00/52/image_11012025_00_52_02_535106_0000.jpg', '/home/pi/Desktop/images/11012025/00/52/image_11012025_00_52_02_535106_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/51/image_11012025_00_51_02_248058_0000.jpg
/home/pi/Desktop/images/11012025/00/51/image_11012025_00_51_02_248058_0001.jpg
/home/pi/Desktop/images/11012025/00/51/image_11012025_00_51_02_248058_0002.jpg
/home/pi/Desktop/images/11012025/00/51/image_11012025_00_51_02_248058_0003.jpg
/home/pi/Desktop/images/11012025/00/52/image_11012025_00_52_02_535106_0000.jpg
/home/pi/Desktop/images/11012025/00/52/image_11012025_00_52_02_535106_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328013933","1328013887","1328013935","1328013898","1328013937","1328013901"],"photo_ids_order":["1328013887","1328013898","1328013901","1328013933","1328013935","1328013937"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d1095c7be374382b220562f5ff684a05.jpg","text":"TemporaryFile(/tmp/multipartBody2169238851215461559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554237402,"filename":"image_11012025_00_51_02_248058_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/240942e490ecad296f63e95d09818145.jpg","text":"TemporaryFile(/tmp/multipartBody8637330589877390568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554237402,"filename":"image_11012025_00_51_02_248058_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dcb7adbc276a0cb0f7855f150048129f.jpg","text":"TemporaryFile(/tmp/multipartBody1060381452256065470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554237402,"filename":"image_11012025_00_52_02_535106_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/41196e7fe18191c7958b252f89435ccf.jpg","text":"TemporaryFile(/tmp/multipartBody1326754818474392870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554237402,"filename":"image_11012025_00_51_02_248058_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9ea3dee291504f1f6d697935ce829a05.jpg","text":"TemporaryFile(/tmp/multipartBody8537904722936319822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554237402,"filename":"image_11012025_00_52_02_535106_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d5718788451fa506a325112e2a26ba28.jpg","text":"TemporaryFile(/tmp/multipartBody5411992267140921049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554237402,"filename":"image_11012025_00_51_02_248058_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328013901","file1":"1328013898","file0":"1328013887","file4":"1328013935","file5":"1328013937","file3":"1328013933"},"map_files_photo_id_array":[{"photo_id":"1328013937","filename":"file5"},{"photo_id":"1328013901","filename":"file2"},{"photo_id":"1328013935","filename":"file4"},{"photo_id":"1328013898","filename":"file1"},{"photo_id":"1328013887","filename":"file0"},{"photo_id":"1328013933","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328013933":["hashtag1","hashtag2"]},{"1328013887":["hashtag1","hashtag2"]},{"1328013935":["hashtag1","hashtag2"]},{"1328013898":["hashtag1","hashtag2"]},{"1328013937":["hashtag1","hashtag2"]},{"1328013901":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328013933, 1328013887, 1328013935, 1328013898, 1328013937, 1328013901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.90792512893677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:10:22.383123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/52/image_11012025_00_52_02_535106_0002.jpg', '/home/pi/Desktop/images/11012025/00/52/image_11012025_00_52_02_535106_0003.jpg', '/home/pi/Desktop/images/11012025/00/53/image_11012025_00_53_02_601016_0000.jpg', '/home/pi/Desktop/images/11012025/00/53/image_11012025_00_53_02_601016_0001.jpg', '/home/pi/Desktop/images/11012025/00/53/image_11012025_00_53_02_601016_0002.jpg', '/home/pi/Desktop/images/11012025/00/53/image_11012025_00_53_02_601016_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/52/image_11012025_00_52_02_535106_0002.jpg
/home/pi/Desktop/images/11012025/00/52/image_11012025_00_52_02_535106_0003.jpg
/home/pi/Desktop/images/11012025/00/53/image_11012025_00_53_02_601016_0000.jpg
/home/pi/Desktop/images/11012025/00/53/image_11012025_00_53_02_601016_0001.jpg
/home/pi/Desktop/images/11012025/00/53/image_11012025_00_53_02_601016_0002.jpg
/home/pi/Desktop/images/11012025/00/53/image_11012025_00_53_02_601016_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328013954","1328013942","1328013951","1328013939","1328013956","1328013946"],"photo_ids_order":["1328013939","1328013942","1328013946","1328013951","1328013954","1328013956"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ac15b95b84e624ba030adef6122e819c.jpg","text":"TemporaryFile(/tmp/multipartBody5723801335217313519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554297483,"filename":"image_11012025_00_53_02_601016_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/495a7b752de36fded9f6fa19ad493f3a.jpg","text":"TemporaryFile(/tmp/multipartBody8605259245739918752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554297483,"filename":"image_11012025_00_52_02_535106_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c4034a94b0982edcfb37c864a1e0b6b1.jpg","text":"TemporaryFile(/tmp/multipartBody6278466663301302758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554297483,"filename":"image_11012025_00_53_02_601016_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f62bdaf4d9642af2d732359ff6793bb9.jpg","text":"TemporaryFile(/tmp/multipartBody7154507025845160237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554297483,"filename":"image_11012025_00_52_02_535106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ae1e4a37b3f7b79049b9bac5c2cc41ce.jpg","text":"TemporaryFile(/tmp/multipartBody7391439781276701552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554297483,"filename":"image_11012025_00_53_02_601016_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f9b633374d062133d826c2be2e7c5da9.jpg","text":"TemporaryFile(/tmp/multipartBody6446117580027678729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554297483,"filename":"image_11012025_00_53_02_601016_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328013946","file1":"1328013942","file0":"1328013939","file4":"1328013954","file5":"1328013956","file3":"1328013951"},"map_files_photo_id_array":[{"photo_id":"1328013956","filename":"file5"},{"photo_id":"1328013946","filename":"file2"},{"photo_id":"1328013954","filename":"file4"},{"photo_id":"1328013942","filename":"file1"},{"photo_id":"1328013939","filename":"file0"},{"photo_id":"1328013951","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328013954":["hashtag1","hashtag2"]},{"1328013942":["hashtag1","hashtag2"]},{"1328013951":["hashtag1","hashtag2"]},{"1328013939":["hashtag1","hashtag2"]},{"1328013956":["hashtag1","hashtag2"]},{"1328013946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328013954, 1328013942, 1328013951, 1328013939, 1328013956, 1328013946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.68236327171326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:11:21.942711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/54/image_11012025_00_54_02_822427_0000.jpg', '/home/pi/Desktop/images/11012025/00/54/image_11012025_00_54_02_822427_0001.jpg', '/home/pi/Desktop/images/11012025/00/54/image_11012025_00_54_02_822427_0002.jpg', '/home/pi/Desktop/images/11012025/00/54/image_11012025_00_54_02_822427_0003.jpg', '/home/pi/Desktop/images/11012025/00/55/image_11012025_00_55_03_014747_0000.jpg', '/home/pi/Desktop/images/11012025/00/55/image_11012025_00_55_03_014747_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/54/image_11012025_00_54_02_822427_0000.jpg
/home/pi/Desktop/images/11012025/00/54/image_11012025_00_54_02_822427_0001.jpg
/home/pi/Desktop/images/11012025/00/54/image_11012025_00_54_02_822427_0002.jpg
/home/pi/Desktop/images/11012025/00/54/image_11012025_00_54_02_822427_0003.jpg
/home/pi/Desktop/images/11012025/00/55/image_11012025_00_55_03_014747_0000.jpg
/home/pi/Desktop/images/11012025/00/55/image_11012025_00_55_03_014747_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328013972","1328013963","1328013974","1328013976","1328013970","1328013967"],"photo_ids_order":["1328013963","1328013967","1328013970","1328013972","1328013974","1328013976"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/08209d44eb51f572d6c0074280d7381f.jpg","text":"TemporaryFile(/tmp/multipartBody4147524911139030165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554357105,"filename":"image_11012025_00_54_02_822427_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4007d482d74321fdddb91f337a693f91.jpg","text":"TemporaryFile(/tmp/multipartBody8274675535393312174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554357105,"filename":"image_11012025_00_54_02_822427_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e14e62e2a56aeebff9951d905252b4e8.jpg","text":"TemporaryFile(/tmp/multipartBody5358553792281894024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554357105,"filename":"image_11012025_00_55_03_014747_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/519488aabcff2c4513da2971ee6bb4c0.jpg","text":"TemporaryFile(/tmp/multipartBody3275647218664267928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554357105,"filename":"image_11012025_00_55_03_014747_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3bbf8f3d18cedb50f5635e7cdd0bbb2c.jpg","text":"TemporaryFile(/tmp/multipartBody3345689235145799650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554357105,"filename":"image_11012025_00_54_02_822427_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/063778a529f6e29578b52994714717e9.jpg","text":"TemporaryFile(/tmp/multipartBody1528924953066498664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554357105,"filename":"image_11012025_00_54_02_822427_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328013970","file1":"1328013967","file0":"1328013963","file4":"1328013974","file5":"1328013976","file3":"1328013972"},"map_files_photo_id_array":[{"photo_id":"1328013976","filename":"file5"},{"photo_id":"1328013970","filename":"file2"},{"photo_id":"1328013974","filename":"file4"},{"photo_id":"1328013967","filename":"file1"},{"photo_id":"1328013963","filename":"file0"},{"photo_id":"1328013972","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328013972":["hashtag1","hashtag2"]},{"1328013963":["hashtag1","hashtag2"]},{"1328013974":["hashtag1","hashtag2"]},{"1328013976":["hashtag1","hashtag2"]},{"1328013970":["hashtag1","hashtag2"]},{"1328013967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328013972, 1328013963, 1328013974, 1328013976, 1328013970, 1328013967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.87847590446472 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:12:22.471304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/55/image_11012025_00_55_03_014747_0002.jpg', '/home/pi/Desktop/images/11012025/00/55/image_11012025_00_55_03_014747_0003.jpg', '/home/pi/Desktop/images/11012025/00/56/image_11012025_00_56_02_166910_0000.jpg', '/home/pi/Desktop/images/11012025/00/56/image_11012025_00_56_02_166910_0001.jpg', '/home/pi/Desktop/images/11012025/00/56/image_11012025_00_56_02_166910_0002.jpg', '/home/pi/Desktop/images/11012025/00/56/image_11012025_00_56_02_166910_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/55/image_11012025_00_55_03_014747_0002.jpg
/home/pi/Desktop/images/11012025/00/55/image_11012025_00_55_03_014747_0003.jpg
/home/pi/Desktop/images/11012025/00/56/image_11012025_00_56_02_166910_0000.jpg
/home/pi/Desktop/images/11012025/00/56/image_11012025_00_56_02_166910_0001.jpg
/home/pi/Desktop/images/11012025/00/56/image_11012025_00_56_02_166910_0002.jpg
/home/pi/Desktop/images/11012025/00/56/image_11012025_00_56_02_166910_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328014029","1328014026","1328014031","1328013998","1328013983","1328014001"],"photo_ids_order":["1328013983","1328013998","1328014001","1328014026","1328014029","1328014031"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/11df5012c0c607d424059e6396186ae4.jpg","text":"TemporaryFile(/tmp/multipartBody3168155073392729400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554417778,"filename":"image_11012025_00_56_02_166910_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0f26138c525a58681857a910477ecc0b.jpg","text":"TemporaryFile(/tmp/multipartBody2757275783995825323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554417778,"filename":"image_11012025_00_56_02_166910_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2965411eeda64fa98c9ee0aac4a3e2d5.jpg","text":"TemporaryFile(/tmp/multipartBody1883660685457641618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554417778,"filename":"image_11012025_00_56_02_166910_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6912ad828dcba200f44d4a3a734e460c.jpg","text":"TemporaryFile(/tmp/multipartBody1548442301321136566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554417778,"filename":"image_11012025_00_55_03_014747_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/17c8ecae824fb19dc5ae49faa8831d45.jpg","text":"TemporaryFile(/tmp/multipartBody1512625813027417790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554417778,"filename":"image_11012025_00_55_03_014747_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8a3975b3958dcf0c42e8f894fd4d9c8d.jpg","text":"TemporaryFile(/tmp/multipartBody9053338653630969040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554417778,"filename":"image_11012025_00_56_02_166910_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328014001","file1":"1328013998","file0":"1328013983","file4":"1328014029","file5":"1328014031","file3":"1328014026"},"map_files_photo_id_array":[{"photo_id":"1328014031","filename":"file5"},{"photo_id":"1328014001","filename":"file2"},{"photo_id":"1328014029","filename":"file4"},{"photo_id":"1328013998","filename":"file1"},{"photo_id":"1328013983","filename":"file0"},{"photo_id":"1328014026","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328014029":["hashtag1","hashtag2"]},{"1328014026":["hashtag1","hashtag2"]},{"1328014031":["hashtag1","hashtag2"]},{"1328013998":["hashtag1","hashtag2"]},{"1328013983":["hashtag1","hashtag2"]},{"1328014001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328014029, 1328014026, 1328014031, 1328013998, 1328013983, 1328014001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.300698041915894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:13:21.962926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/57/image_11012025_00_57_02_354079_0000.jpg', '/home/pi/Desktop/images/11012025/00/57/image_11012025_00_57_02_354079_0001.jpg', '/home/pi/Desktop/images/11012025/00/57/image_11012025_00_57_02_354079_0002.jpg', '/home/pi/Desktop/images/11012025/00/57/image_11012025_00_57_02_354079_0003.jpg', '/home/pi/Desktop/images/11012025/00/58/image_11012025_00_58_02_514378_0000.jpg', '/home/pi/Desktop/images/11012025/00/58/image_11012025_00_58_02_514378_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/57/image_11012025_00_57_02_354079_0000.jpg
/home/pi/Desktop/images/11012025/00/57/image_11012025_00_57_02_354079_0001.jpg
/home/pi/Desktop/images/11012025/00/57/image_11012025_00_57_02_354079_0002.jpg
/home/pi/Desktop/images/11012025/00/57/image_11012025_00_57_02_354079_0003.jpg
/home/pi/Desktop/images/11012025/00/58/image_11012025_00_58_02_514378_0000.jpg
/home/pi/Desktop/images/11012025/00/58/image_11012025_00_58_02_514378_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328014044","1328014046","1328014049","1328014040","1328014037","1328014042"],"photo_ids_order":["1328014037","1328014040","1328014042","1328014044","1328014046","1328014049"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/28e110e08a9dbc1e8646ac903794448f.jpg","text":"TemporaryFile(/tmp/multipartBody7095751808097708797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554477268,"filename":"image_11012025_00_57_02_354079_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/78897f334c0ed4904fc89382f1d7eccc.jpg","text":"TemporaryFile(/tmp/multipartBody3715890779762048151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554477268,"filename":"image_11012025_00_58_02_514378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c48bddfd9857179018f1776302c9c590.jpg","text":"TemporaryFile(/tmp/multipartBody7754919957637846535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554477268,"filename":"image_11012025_00_58_02_514378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b0480f5fc81e368f903819c264840c52.jpg","text":"TemporaryFile(/tmp/multipartBody2412043586294369998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554477268,"filename":"image_11012025_00_57_02_354079_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7a8899f2f756ec608a053ab0c912d814.jpg","text":"TemporaryFile(/tmp/multipartBody3519018032774811964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554477268,"filename":"image_11012025_00_57_02_354079_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b70b42d8d2b81d1dbc095514010d981a.jpg","text":"TemporaryFile(/tmp/multipartBody1819505242515660119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554477268,"filename":"image_11012025_00_57_02_354079_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328014042","file1":"1328014040","file0":"1328014037","file4":"1328014046","file5":"1328014049","file3":"1328014044"},"map_files_photo_id_array":[{"photo_id":"1328014049","filename":"file5"},{"photo_id":"1328014042","filename":"file2"},{"photo_id":"1328014046","filename":"file4"},{"photo_id":"1328014040","filename":"file1"},{"photo_id":"1328014037","filename":"file0"},{"photo_id":"1328014044","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328014044":["hashtag1","hashtag2"]},{"1328014046":["hashtag1","hashtag2"]},{"1328014049":["hashtag1","hashtag2"]},{"1328014040":["hashtag1","hashtag2"]},{"1328014037":["hashtag1","hashtag2"]},{"1328014042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328014044, 1328014046, 1328014049, 1328014040, 1328014037, 1328014042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.46256732940674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:14:22.397166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/58/image_11012025_00_58_02_514378_0002.jpg', '/home/pi/Desktop/images/11012025/00/58/image_11012025_00_58_02_514378_0003.jpg', '/home/pi/Desktop/images/11012025/00/59/image_11012025_00_59_02_742524_0000.jpg', '/home/pi/Desktop/images/11012025/00/59/image_11012025_00_59_02_742524_0001.jpg', '/home/pi/Desktop/images/11012025/00/59/image_11012025_00_59_02_742524_0002.jpg', '/home/pi/Desktop/images/11012025/01/00/image_11012025_01_00_02_844169_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/58/image_11012025_00_58_02_514378_0002.jpg
/home/pi/Desktop/images/11012025/00/58/image_11012025_00_58_02_514378_0003.jpg
/home/pi/Desktop/images/11012025/00/59/image_11012025_00_59_02_742524_0000.jpg
/home/pi/Desktop/images/11012025/00/59/image_11012025_00_59_02_742524_0001.jpg
/home/pi/Desktop/images/11012025/00/59/image_11012025_00_59_02_742524_0002.jpg
/home/pi/Desktop/images/11012025/01/00/image_11012025_01_00_02_844169_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.749856948852539 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:15:02.578248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/58/image_11012025_00_58_02_514378_0002.jpg', '/home/pi/Desktop/images/11012025/00/58/image_11012025_00_58_02_514378_0003.jpg', '/home/pi/Desktop/images/11012025/00/59/image_11012025_00_59_02_742524_0000.jpg', '/home/pi/Desktop/images/11012025/00/59/image_11012025_00_59_02_742524_0001.jpg', '/home/pi/Desktop/images/11012025/00/59/image_11012025_00_59_02_742524_0002.jpg', '/home/pi/Desktop/images/11012025/01/00/image_11012025_01_00_02_844169_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/00/58/image_11012025_00_58_02_514378_0002.jpg
/home/pi/Desktop/images/11012025/00/58/image_11012025_00_58_02_514378_0003.jpg
/home/pi/Desktop/images/11012025/00/59/image_11012025_00_59_02_742524_0000.jpg
/home/pi/Desktop/images/11012025/00/59/image_11012025_00_59_02_742524_0001.jpg
/home/pi/Desktop/images/11012025/00/59/image_11012025_00_59_02_742524_0002.jpg
/home/pi/Desktop/images/11012025/01/00/image_11012025_01_00_02_844169_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328015186","1328014781","1328015066","1328015395","1328014922","1328015295"],"photo_ids_order":["1328014781","1328014922","1328015066","1328015186","1328015295","1328015395"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d500b105ff32cf9731595dee113049af.jpg","text":"TemporaryFile(/tmp/multipartBody4924544740881239492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554577819,"filename":"image_11012025_00_59_02_742524_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3150c5f90c6907d2d230a6dae3c68c92.jpg","text":"TemporaryFile(/tmp/multipartBody2510079389807212272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554577819,"filename":"image_11012025_00_58_02_514378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a624cc58dd0d824593cea629c5a53d9f.jpg","text":"TemporaryFile(/tmp/multipartBody7721595632596465901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554577819,"filename":"image_11012025_00_59_02_742524_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5e72c8938beda9b1cc10d6a680e1e33d.jpg","text":"TemporaryFile(/tmp/multipartBody3249513481928920333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554577819,"filename":"image_11012025_01_00_02_844169_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/299abafb09039f57b7acf04c16e1fdb1.jpg","text":"TemporaryFile(/tmp/multipartBody1682342752002809217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554577819,"filename":"image_11012025_00_58_02_514378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d9fcfd4f5fe0d171dc226de57bc65f64.jpg","text":"TemporaryFile(/tmp/multipartBody1507715936936876145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554577819,"filename":"image_11012025_00_59_02_742524_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328015066","file1":"1328014922","file0":"1328014781","file4":"1328015295","file5":"1328015395","file3":"1328015186"},"map_files_photo_id_array":[{"photo_id":"1328015395","filename":"file5"},{"photo_id":"1328015066","filename":"file2"},{"photo_id":"1328015295","filename":"file4"},{"photo_id":"1328014922","filename":"file1"},{"photo_id":"1328014781","filename":"file0"},{"photo_id":"1328015186","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328015186":["hashtag1","hashtag2"]},{"1328014781":["hashtag1","hashtag2"]},{"1328015066":["hashtag1","hashtag2"]},{"1328015395":["hashtag1","hashtag2"]},{"1328014922":["hashtag1","hashtag2"]},{"1328015295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328015186, 1328014781, 1328015066, 1328015395, 1328014922, 1328015295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.486085414886475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:16:02.950549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/00/image_11012025_01_00_02_844169_0001.jpg', '/home/pi/Desktop/images/11012025/01/00/image_11012025_01_00_02_844169_0002.jpg', '/home/pi/Desktop/images/11012025/01/00/image_11012025_01_00_02_844169_0003.jpg', '/home/pi/Desktop/images/11012025/01/01/image_11012025_01_01_02_476643_0000.jpg', '/home/pi/Desktop/images/11012025/01/01/image_11012025_01_01_02_476643_0001.jpg', '/home/pi/Desktop/images/11012025/01/01/image_11012025_01_01_02_476643_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/00/image_11012025_01_00_02_844169_0001.jpg
/home/pi/Desktop/images/11012025/01/00/image_11012025_01_00_02_844169_0002.jpg
/home/pi/Desktop/images/11012025/01/00/image_11012025_01_00_02_844169_0003.jpg
/home/pi/Desktop/images/11012025/01/01/image_11012025_01_01_02_476643_0000.jpg
/home/pi/Desktop/images/11012025/01/01/image_11012025_01_01_02_476643_0001.jpg
/home/pi/Desktop/images/11012025/01/01/image_11012025_01_01_02_476643_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.835370540618896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:16:22.707165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/00/image_11012025_01_00_02_844169_0001.jpg', '/home/pi/Desktop/images/11012025/01/00/image_11012025_01_00_02_844169_0002.jpg', '/home/pi/Desktop/images/11012025/01/00/image_11012025_01_00_02_844169_0003.jpg', '/home/pi/Desktop/images/11012025/01/01/image_11012025_01_01_02_476643_0000.jpg', '/home/pi/Desktop/images/11012025/01/01/image_11012025_01_01_02_476643_0001.jpg', '/home/pi/Desktop/images/11012025/01/01/image_11012025_01_01_02_476643_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/00/image_11012025_01_00_02_844169_0001.jpg
/home/pi/Desktop/images/11012025/01/00/image_11012025_01_00_02_844169_0002.jpg
/home/pi/Desktop/images/11012025/01/00/image_11012025_01_00_02_844169_0003.jpg
/home/pi/Desktop/images/11012025/01/01/image_11012025_01_01_02_476643_0000.jpg
/home/pi/Desktop/images/11012025/01/01/image_11012025_01_01_02_476643_0001.jpg
/home/pi/Desktop/images/11012025/01/01/image_11012025_01_01_02_476643_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328016043","1328016172","1328016087","1328016021","1328016170","1328016032"],"photo_ids_order":["1328016021","1328016032","1328016043","1328016087","1328016170","1328016172"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/72d4bd7019f715a54a3d2b209050f0a6.jpg","text":"TemporaryFile(/tmp/multipartBody7103217595737519801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554657898,"filename":"image_11012025_01_00_02_844169_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fa4ac11aa26d6822ba653115a0a88c18.jpg","text":"TemporaryFile(/tmp/multipartBody5019256460734185511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554657898,"filename":"image_11012025_01_01_02_476643_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c40a9461cca0779284ad8c1eba6fff55.jpg","text":"TemporaryFile(/tmp/multipartBody4959170299372416738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554657898,"filename":"image_11012025_01_01_02_476643_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/56c43684571fded109f7533cc83dffb7.jpg","text":"TemporaryFile(/tmp/multipartBody1487086519114798455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554657898,"filename":"image_11012025_01_00_02_844169_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dca4551715c9d24c8e400751a813ec7b.jpg","text":"TemporaryFile(/tmp/multipartBody5059002882991066032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554657898,"filename":"image_11012025_01_01_02_476643_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f3c5e21b3867b03fa7912b6ab5015b5d.jpg","text":"TemporaryFile(/tmp/multipartBody4734399066175235014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554657898,"filename":"image_11012025_01_00_02_844169_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328016043","file1":"1328016032","file0":"1328016021","file4":"1328016170","file5":"1328016172","file3":"1328016087"},"map_files_photo_id_array":[{"photo_id":"1328016172","filename":"file5"},{"photo_id":"1328016043","filename":"file2"},{"photo_id":"1328016170","filename":"file4"},{"photo_id":"1328016032","filename":"file1"},{"photo_id":"1328016021","filename":"file0"},{"photo_id":"1328016087","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328016043":["hashtag1","hashtag2"]},{"1328016172":["hashtag1","hashtag2"]},{"1328016087":["hashtag1","hashtag2"]},{"1328016021":["hashtag1","hashtag2"]},{"1328016170":["hashtag1","hashtag2"]},{"1328016032":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328016043, 1328016172, 1328016087, 1328016021, 1328016170, 1328016032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.53811955451965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:17:22.150388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/02/image_11012025_01_02_03_103941_0002.jpg', '/home/pi/Desktop/images/11012025/01/02/image_11012025_01_02_03_103941_0003.jpg', '/home/pi/Desktop/images/11012025/01/03/image_11012025_01_03_02_620249_0000.jpg', '/home/pi/Desktop/images/11012025/01/03/image_11012025_01_03_02_620249_0001.jpg', '/home/pi/Desktop/images/11012025/01/03/image_11012025_01_03_02_620249_0002.jpg', '/home/pi/Desktop/images/11012025/01/03/image_11012025_01_03_02_620249_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/02/image_11012025_01_02_03_103941_0002.jpg
/home/pi/Desktop/images/11012025/01/02/image_11012025_01_02_03_103941_0003.jpg
/home/pi/Desktop/images/11012025/01/03/image_11012025_01_03_02_620249_0000.jpg
/home/pi/Desktop/images/11012025/01/03/image_11012025_01_03_02_620249_0001.jpg
/home/pi/Desktop/images/11012025/01/03/image_11012025_01_03_02_620249_0002.jpg
/home/pi/Desktop/images/11012025/01/03/image_11012025_01_03_02_620249_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328016286","1328016294","1328016288","1328016281","1328016290","1328016284"],"photo_ids_order":["1328016281","1328016284","1328016286","1328016288","1328016290","1328016294"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/98de5476b22d77862d275ca4ba874987.jpg","text":"TemporaryFile(/tmp/multipartBody4328654036179992295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554717357,"filename":"image_11012025_01_03_02_620249_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9ae97fa8973ed04f8a3fb693ed01c389.jpg","text":"TemporaryFile(/tmp/multipartBody7794701602944102233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554717357,"filename":"image_11012025_01_03_02_620249_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/84923fef578810e7c61f2bcd8a445db0.jpg","text":"TemporaryFile(/tmp/multipartBody900143238028526945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554717357,"filename":"image_11012025_01_03_02_620249_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a968c1d148609d6206ea38dcc59c534f.jpg","text":"TemporaryFile(/tmp/multipartBody970225048308930680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554717357,"filename":"image_11012025_01_02_03_103941_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cace6bf5ea627c5e04c8275e278df567.jpg","text":"TemporaryFile(/tmp/multipartBody6110089469900932953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554717357,"filename":"image_11012025_01_03_02_620249_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/197a105a15a2196be1d27e69c41ff63c.jpg","text":"TemporaryFile(/tmp/multipartBody6729678463286353412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554717357,"filename":"image_11012025_01_02_03_103941_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328016286","file1":"1328016284","file0":"1328016281","file4":"1328016290","file5":"1328016294","file3":"1328016288"},"map_files_photo_id_array":[{"photo_id":"1328016294","filename":"file5"},{"photo_id":"1328016286","filename":"file2"},{"photo_id":"1328016290","filename":"file4"},{"photo_id":"1328016284","filename":"file1"},{"photo_id":"1328016281","filename":"file0"},{"photo_id":"1328016288","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328016286":["hashtag1","hashtag2"]},{"1328016294":["hashtag1","hashtag2"]},{"1328016288":["hashtag1","hashtag2"]},{"1328016281":["hashtag1","hashtag2"]},{"1328016290":["hashtag1","hashtag2"]},{"1328016284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328016286, 1328016294, 1328016288, 1328016281, 1328016290, 1328016284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.01519179344177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:18:22.671591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/04/image_11012025_01_04_02_150052_0000.jpg', '/home/pi/Desktop/images/11012025/01/04/image_11012025_01_04_02_150052_0001.jpg', '/home/pi/Desktop/images/11012025/01/04/image_11012025_01_04_02_150052_0002.jpg', '/home/pi/Desktop/images/11012025/01/04/image_11012025_01_04_02_150052_0003.jpg', '/home/pi/Desktop/images/11012025/01/05/image_11012025_01_05_02_727291_0000.jpg', '/home/pi/Desktop/images/11012025/01/05/image_11012025_01_05_02_727291_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/04/image_11012025_01_04_02_150052_0000.jpg
/home/pi/Desktop/images/11012025/01/04/image_11012025_01_04_02_150052_0001.jpg
/home/pi/Desktop/images/11012025/01/04/image_11012025_01_04_02_150052_0002.jpg
/home/pi/Desktop/images/11012025/01/04/image_11012025_01_04_02_150052_0003.jpg
/home/pi/Desktop/images/11012025/01/05/image_11012025_01_05_02_727291_0000.jpg
/home/pi/Desktop/images/11012025/01/05/image_11012025_01_05_02_727291_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328016871","1328016850","1328016811","1328016901","1328016876","1328016723"],"photo_ids_order":["1328016723","1328016811","1328016850","1328016871","1328016876","1328016901"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9858dfd075c7a9744e4c3e4d434a9ed4.jpg","text":"TemporaryFile(/tmp/multipartBody7309118492429496104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554777859,"filename":"image_11012025_01_04_02_150052_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0dc50a6debdcfb270df4a4db97b5c62f.jpg","text":"TemporaryFile(/tmp/multipartBody9059889299183710162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554777859,"filename":"image_11012025_01_04_02_150052_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4a0d636dd5d50ad01e9285e74453643a.jpg","text":"TemporaryFile(/tmp/multipartBody2315698240721464259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554777859,"filename":"image_11012025_01_04_02_150052_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/549606e44ffe5cf46dd34045b2d24c1f.jpg","text":"TemporaryFile(/tmp/multipartBody6242490512628186811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554777859,"filename":"image_11012025_01_05_02_727291_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/19af6ab02b04bc457d607ea4878451d5.jpg","text":"TemporaryFile(/tmp/multipartBody1310248497941705238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554777859,"filename":"image_11012025_01_05_02_727291_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6fc54d1f214d85b66a6a24dfff987272.jpg","text":"TemporaryFile(/tmp/multipartBody8590443691765420216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554777859,"filename":"image_11012025_01_04_02_150052_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328016850","file1":"1328016811","file0":"1328016723","file4":"1328016876","file5":"1328016901","file3":"1328016871"},"map_files_photo_id_array":[{"photo_id":"1328016901","filename":"file5"},{"photo_id":"1328016850","filename":"file2"},{"photo_id":"1328016876","filename":"file4"},{"photo_id":"1328016811","filename":"file1"},{"photo_id":"1328016723","filename":"file0"},{"photo_id":"1328016871","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328016871":["hashtag1","hashtag2"]},{"1328016850":["hashtag1","hashtag2"]},{"1328016811":["hashtag1","hashtag2"]},{"1328016901":["hashtag1","hashtag2"]},{"1328016876":["hashtag1","hashtag2"]},{"1328016723":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328016871, 1328016850, 1328016811, 1328016901, 1328016876, 1328016723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.972198247909546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:19:22.185468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/05/image_11012025_01_05_02_727291_0002.jpg', '/home/pi/Desktop/images/11012025/01/05/image_11012025_01_05_02_727291_0003.jpg', '/home/pi/Desktop/images/11012025/01/06/image_11012025_01_06_02_218019_0003.jpg', '/home/pi/Desktop/images/11012025/01/07/image_11012025_01_07_02_718808_0001.jpg', '/home/pi/Desktop/images/11012025/01/07/image_11012025_01_07_02_718808_0002.jpg', '/home/pi/Desktop/images/11012025/01/07/image_11012025_01_07_02_718808_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/05/image_11012025_01_05_02_727291_0002.jpg
/home/pi/Desktop/images/11012025/01/05/image_11012025_01_05_02_727291_0003.jpg
/home/pi/Desktop/images/11012025/01/06/image_11012025_01_06_02_218019_0003.jpg
/home/pi/Desktop/images/11012025/01/07/image_11012025_01_07_02_718808_0001.jpg
/home/pi/Desktop/images/11012025/01/07/image_11012025_01_07_02_718808_0002.jpg
/home/pi/Desktop/images/11012025/01/07/image_11012025_01_07_02_718808_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":["1328017054","1328017000","1328017043","1328017052","1328017046","1328017049"],"photo_ids_order":["1328017000","1328017043","1328017046","1328017049","1328017052","1328017054"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dcc895710c714cafed7d6dcc42e9f3ae.jpg","text":"TemporaryFile(/tmp/multipartBody8035686639784169902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554837363,"filename":"image_11012025_01_07_02_718808_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e12858b167c4f2d8ab1dd5c5b37fa174.jpg","text":"TemporaryFile(/tmp/multipartBody1838236436733736385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554837363,"filename":"image_11012025_01_05_02_727291_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/26f73fd44f69376c15772555dbdea845.jpg","text":"TemporaryFile(/tmp/multipartBody4002586892101641202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554837363,"filename":"image_11012025_01_05_02_727291_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/78009a8efc2578784b970d9faa7bf033.jpg","text":"TemporaryFile(/tmp/multipartBody2919835259181125303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554837363,"filename":"image_11012025_01_07_02_718808_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/61a32d305af07558945aa5a2d2ac9277.jpg","text":"TemporaryFile(/tmp/multipartBody1125186133498721761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554837363,"filename":"image_11012025_01_06_02_218019_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4a62a15d19594da77e296eedf923e020.jpg","text":"TemporaryFile(/tmp/multipartBody194019253511614856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554837363,"filename":"image_11012025_01_07_02_718808_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328017046","file1":"1328017043","file0":"1328017000","file4":"1328017052","file5":"1328017054","file3":"1328017049"},"map_files_photo_id_array":[{"photo_id":"1328017054","filename":"file5"},{"photo_id":"1328017046","filename":"file2"},{"photo_id":"1328017052","filename":"file4"},{"photo_id":"1328017043","filename":"file1"},{"photo_id":"1328017000","filename":"file0"},{"photo_id":"1328017049","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328017054":["hashtag1","hashtag2"]},{"1328017000":["hashtag1","hashtag2"]},{"1328017043":["hashtag1","hashtag2"]},{"1328017052":["hashtag1","hashtag2"]},{"1328017046":["hashtag1","hashtag2"]},{"1328017049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328017054, 1328017000, 1328017043, 1328017052, 1328017046, 1328017049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.853230714797974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:21:02.815540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/08/image_11012025_01_08_02_244175_0000.jpg', '/home/pi/Desktop/images/11012025/01/08/image_11012025_01_08_02_244175_0003.jpg', '/home/pi/Desktop/images/11012025/01/09/image_11012025_01_09_02_791352_0001.jpg', '/home/pi/Desktop/images/11012025/01/09/image_11012025_01_09_02_791352_0002.jpg', '/home/pi/Desktop/images/11012025/01/09/image_11012025_01_09_02_791352_0003.jpg', '/home/pi/Desktop/images/11012025/01/10/image_11012025_01_10_02_290981_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/08/image_11012025_01_08_02_244175_0000.jpg
/home/pi/Desktop/images/11012025/01/08/image_11012025_01_08_02_244175_0003.jpg
/home/pi/Desktop/images/11012025/01/09/image_11012025_01_09_02_791352_0001.jpg
/home/pi/Desktop/images/11012025/01/09/image_11012025_01_09_02_791352_0002.jpg
/home/pi/Desktop/images/11012025/01/09/image_11012025_01_09_02_791352_0003.jpg
/home/pi/Desktop/images/11012025/01/10/image_11012025_01_10_02_290981_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328017072","1328017081","1328017075","1328017078","1328017083","1328017073"],"photo_ids_order":["1328017072","1328017073","1328017075","1328017078","1328017081","1328017083"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0a53304c1e6a42a18cd7923d74d03396.jpg","text":"TemporaryFile(/tmp/multipartBody8459847954598231628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554938145,"filename":"image_11012025_01_08_02_244175_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/64ac53585e288b97a8efc8edfdcd0be9.jpg","text":"TemporaryFile(/tmp/multipartBody3371894094970050751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554938145,"filename":"image_11012025_01_09_02_791352_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dd6006432517c0acfce54a18c8e92fcd.jpg","text":"TemporaryFile(/tmp/multipartBody8433685333381347455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554938145,"filename":"image_11012025_01_09_02_791352_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8201ed4d281f2d1764a8a7fb478567ab.jpg","text":"TemporaryFile(/tmp/multipartBody2315811389754024624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554938145,"filename":"image_11012025_01_09_02_791352_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/918f4888c7488a41114662fc6949b8d0.jpg","text":"TemporaryFile(/tmp/multipartBody7379780956999555589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554938145,"filename":"image_11012025_01_10_02_290981_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9ae476c5ad68473bfbda40a9aa52ff1a.jpg","text":"TemporaryFile(/tmp/multipartBody7272948927970710194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736554938145,"filename":"image_11012025_01_08_02_244175_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328017075","file1":"1328017073","file0":"1328017072","file4":"1328017081","file5":"1328017083","file3":"1328017078"},"map_files_photo_id_array":[{"photo_id":"1328017083","filename":"file5"},{"photo_id":"1328017075","filename":"file2"},{"photo_id":"1328017081","filename":"file4"},{"photo_id":"1328017073","filename":"file1"},{"photo_id":"1328017072","filename":"file0"},{"photo_id":"1328017078","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328017072":["hashtag1","hashtag2"]},{"1328017081":["hashtag1","hashtag2"]},{"1328017075":["hashtag1","hashtag2"]},{"1328017078":["hashtag1","hashtag2"]},{"1328017083":["hashtag1","hashtag2"]},{"1328017073":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328017072, 1328017081, 1328017075, 1328017078, 1328017083, 1328017073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.22724628448486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:22:02.262096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/10/image_11012025_01_10_02_290981_0003.jpg', '/home/pi/Desktop/images/11012025/01/11/image_11012025_01_11_02_805721_0000.jpg', '/home/pi/Desktop/images/11012025/01/11/image_11012025_01_11_02_805721_0001.jpg', '/home/pi/Desktop/images/11012025/01/11/image_11012025_01_11_02_805721_0002.jpg', '/home/pi/Desktop/images/11012025/01/11/image_11012025_01_11_02_805721_0003.jpg', '/home/pi/Desktop/images/11012025/01/12/image_11012025_01_12_02_349816_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/10/image_11012025_01_10_02_290981_0003.jpg
/home/pi/Desktop/images/11012025/01/11/image_11012025_01_11_02_805721_0000.jpg
/home/pi/Desktop/images/11012025/01/11/image_11012025_01_11_02_805721_0001.jpg
/home/pi/Desktop/images/11012025/01/11/image_11012025_01_11_02_805721_0002.jpg
/home/pi/Desktop/images/11012025/01/11/image_11012025_01_11_02_805721_0003.jpg
/home/pi/Desktop/images/11012025/01/12/image_11012025_01_12_02_349816_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.877909898757935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:22:21.847364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/10/image_11012025_01_10_02_290981_0003.jpg', '/home/pi/Desktop/images/11012025/01/11/image_11012025_01_11_02_805721_0000.jpg', '/home/pi/Desktop/images/11012025/01/11/image_11012025_01_11_02_805721_0001.jpg', '/home/pi/Desktop/images/11012025/01/11/image_11012025_01_11_02_805721_0002.jpg', '/home/pi/Desktop/images/11012025/01/11/image_11012025_01_11_02_805721_0003.jpg', '/home/pi/Desktop/images/11012025/01/12/image_11012025_01_12_02_349816_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/10/image_11012025_01_10_02_290981_0003.jpg
/home/pi/Desktop/images/11012025/01/11/image_11012025_01_11_02_805721_0000.jpg
/home/pi/Desktop/images/11012025/01/11/image_11012025_01_11_02_805721_0001.jpg
/home/pi/Desktop/images/11012025/01/11/image_11012025_01_11_02_805721_0002.jpg
/home/pi/Desktop/images/11012025/01/11/image_11012025_01_11_02_805721_0003.jpg
/home/pi/Desktop/images/11012025/01/12/image_11012025_01_12_02_349816_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328017270","1328017465","1328017174","1328017123","1328017368","1328017127"],"photo_ids_order":["1328017123","1328017127","1328017174","1328017270","1328017368","1328017465"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6fa5819ff90fadea4cb111406ff2f425.jpg","text":"TemporaryFile(/tmp/multipartBody1336111914080722553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555017071,"filename":"image_11012025_01_11_02_805721_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aba4e79765a881cc0f5fb4b8d28bbe94.jpg","text":"TemporaryFile(/tmp/multipartBody5680961637824859532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555017071,"filename":"image_11012025_01_12_02_349816_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b3e156365c423ae20ece36bf945f9f8e.jpg","text":"TemporaryFile(/tmp/multipartBody3199970268094316653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555017071,"filename":"image_11012025_01_11_02_805721_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f1593c597419355490ca647b4435fab1.jpg","text":"TemporaryFile(/tmp/multipartBody7792365224836456063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555017071,"filename":"image_11012025_01_10_02_290981_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/20670def38d42edc27d299af67aa5c46.jpg","text":"TemporaryFile(/tmp/multipartBody7754510656863518669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555017071,"filename":"image_11012025_01_11_02_805721_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8e36594a4507ac3b9941c828be9e821e.jpg","text":"TemporaryFile(/tmp/multipartBody454907325193235684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555017071,"filename":"image_11012025_01_11_02_805721_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328017174","file1":"1328017127","file0":"1328017123","file4":"1328017368","file5":"1328017465","file3":"1328017270"},"map_files_photo_id_array":[{"photo_id":"1328017465","filename":"file5"},{"photo_id":"1328017174","filename":"file2"},{"photo_id":"1328017368","filename":"file4"},{"photo_id":"1328017127","filename":"file1"},{"photo_id":"1328017123","filename":"file0"},{"photo_id":"1328017270","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328017270":["hashtag1","hashtag2"]},{"1328017465":["hashtag1","hashtag2"]},{"1328017174":["hashtag1","hashtag2"]},{"1328017123":["hashtag1","hashtag2"]},{"1328017368":["hashtag1","hashtag2"]},{"1328017127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328017270, 1328017465, 1328017174, 1328017123, 1328017368, 1328017127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.82341384887695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:23:22.308812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/12/image_11012025_01_12_02_349816_0001.jpg', '/home/pi/Desktop/images/11012025/01/12/image_11012025_01_12_02_349816_0002.jpg', '/home/pi/Desktop/images/11012025/01/12/image_11012025_01_12_02_349816_0003.jpg', '/home/pi/Desktop/images/11012025/01/13/image_11012025_01_13_02_803862_0000.jpg', '/home/pi/Desktop/images/11012025/01/13/image_11012025_01_13_02_803862_0001.jpg', '/home/pi/Desktop/images/11012025/01/13/image_11012025_01_13_02_803862_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/12/image_11012025_01_12_02_349816_0001.jpg
/home/pi/Desktop/images/11012025/01/12/image_11012025_01_12_02_349816_0002.jpg
/home/pi/Desktop/images/11012025/01/12/image_11012025_01_12_02_349816_0003.jpg
/home/pi/Desktop/images/11012025/01/13/image_11012025_01_13_02_803862_0000.jpg
/home/pi/Desktop/images/11012025/01/13/image_11012025_01_13_02_803862_0001.jpg
/home/pi/Desktop/images/11012025/01/13/image_11012025_01_13_02_803862_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328018082","1328018448","1328018450","1328018180","1328018276","1328018383"],"photo_ids_order":["1328018082","1328018180","1328018276","1328018383","1328018448","1328018450"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2bdf5aec3f8aadeb093568dd2970c50f.jpg","text":"TemporaryFile(/tmp/multipartBody5622020064580837400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555077507,"filename":"image_11012025_01_12_02_349816_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/72653c0bf64c5a8302de961b5f6b1efa.jpg","text":"TemporaryFile(/tmp/multipartBody1896695975561069322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555077507,"filename":"image_11012025_01_13_02_803862_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2896a493e47b3e33cb6249b1169cb6b9.jpg","text":"TemporaryFile(/tmp/multipartBody8334876110523451105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555077507,"filename":"image_11012025_01_13_02_803862_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2675a043e78f6bbc5dae5cfdb43c109d.jpg","text":"TemporaryFile(/tmp/multipartBody5164274454940366641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555077507,"filename":"image_11012025_01_12_02_349816_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3c245259c2f2baec423ca17956f5ed02.jpg","text":"TemporaryFile(/tmp/multipartBody7459527896414107792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555077507,"filename":"image_11012025_01_12_02_349816_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c7c801e71cdd497c2dfd43729b401c07.jpg","text":"TemporaryFile(/tmp/multipartBody8916103004904979280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555077507,"filename":"image_11012025_01_13_02_803862_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328018276","file1":"1328018180","file0":"1328018082","file4":"1328018448","file5":"1328018450","file3":"1328018383"},"map_files_photo_id_array":[{"photo_id":"1328018450","filename":"file5"},{"photo_id":"1328018276","filename":"file2"},{"photo_id":"1328018448","filename":"file4"},{"photo_id":"1328018180","filename":"file1"},{"photo_id":"1328018082","filename":"file0"},{"photo_id":"1328018383","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328018082":["hashtag1","hashtag2"]},{"1328018448":["hashtag1","hashtag2"]},{"1328018450":["hashtag1","hashtag2"]},{"1328018180":["hashtag1","hashtag2"]},{"1328018276":["hashtag1","hashtag2"]},{"1328018383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328018082, 1328018448, 1328018450, 1328018180, 1328018276, 1328018383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.296971797943115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:24:21.770168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/13/image_11012025_01_13_02_803862_0003.jpg', '/home/pi/Desktop/images/11012025/01/14/image_11012025_01_14_02_292362_0000.jpg', '/home/pi/Desktop/images/11012025/01/14/image_11012025_01_14_02_292362_0001.jpg', '/home/pi/Desktop/images/11012025/01/14/image_11012025_01_14_02_292362_0002.jpg', '/home/pi/Desktop/images/11012025/01/14/image_11012025_01_14_02_292362_0003.jpg', '/home/pi/Desktop/images/11012025/01/15/image_11012025_01_15_02_864343_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/13/image_11012025_01_13_02_803862_0003.jpg
/home/pi/Desktop/images/11012025/01/14/image_11012025_01_14_02_292362_0000.jpg
/home/pi/Desktop/images/11012025/01/14/image_11012025_01_14_02_292362_0001.jpg
/home/pi/Desktop/images/11012025/01/14/image_11012025_01_14_02_292362_0002.jpg
/home/pi/Desktop/images/11012025/01/14/image_11012025_01_14_02_292362_0003.jpg
/home/pi/Desktop/images/11012025/01/15/image_11012025_01_15_02_864343_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328018451","1328018700","1328018508","1328018456","1328018453","1328018603"],"photo_ids_order":["1328018451","1328018453","1328018456","1328018508","1328018603","1328018700"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f6cf4616913103aca4d0fdc55dcddd29.jpg","text":"TemporaryFile(/tmp/multipartBody2831580627476062910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555136959,"filename":"image_11012025_01_13_02_803862_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cb4ac80381bc9d0e0a3df56c67569522.jpg","text":"TemporaryFile(/tmp/multipartBody2039151005882729223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555136959,"filename":"image_11012025_01_15_02_864343_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/30ad47330092d3c4b4c35e91153175b7.jpg","text":"TemporaryFile(/tmp/multipartBody4537767925152273991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555136959,"filename":"image_11012025_01_14_02_292362_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e4bb728fdf33a96869fd1249542f5789.jpg","text":"TemporaryFile(/tmp/multipartBody6868403316306480171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555136959,"filename":"image_11012025_01_14_02_292362_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/caaa615b54f9a7ffaa28caa6ac529f36.jpg","text":"TemporaryFile(/tmp/multipartBody1568972791416837089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555136959,"filename":"image_11012025_01_14_02_292362_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f112b702d33b32c391af1c81b0e7e517.jpg","text":"TemporaryFile(/tmp/multipartBody5165916329445391214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555136959,"filename":"image_11012025_01_14_02_292362_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328018456","file1":"1328018453","file0":"1328018451","file4":"1328018603","file5":"1328018700","file3":"1328018508"},"map_files_photo_id_array":[{"photo_id":"1328018700","filename":"file5"},{"photo_id":"1328018456","filename":"file2"},{"photo_id":"1328018603","filename":"file4"},{"photo_id":"1328018453","filename":"file1"},{"photo_id":"1328018451","filename":"file0"},{"photo_id":"1328018508","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328018451":["hashtag1","hashtag2"]},{"1328018700":["hashtag1","hashtag2"]},{"1328018508":["hashtag1","hashtag2"]},{"1328018456":["hashtag1","hashtag2"]},{"1328018453":["hashtag1","hashtag2"]},{"1328018603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328018451, 1328018700, 1328018508, 1328018456, 1328018453, 1328018603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.90447402000427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:25:22.265732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/15/image_11012025_01_15_02_864343_0003.jpg', '/home/pi/Desktop/images/11012025/01/16/image_11012025_01_16_02_431831_0000.jpg', '/home/pi/Desktop/images/11012025/01/16/image_11012025_01_16_02_431831_0001.jpg', '/home/pi/Desktop/images/11012025/01/17/image_11012025_01_17_03_028619_0001.jpg', '/home/pi/Desktop/images/11012025/01/17/image_11012025_01_17_03_028619_0002.jpg', '/home/pi/Desktop/images/11012025/01/17/image_11012025_01_17_03_028619_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/15/image_11012025_01_15_02_864343_0003.jpg
/home/pi/Desktop/images/11012025/01/16/image_11012025_01_16_02_431831_0000.jpg
/home/pi/Desktop/images/11012025/01/16/image_11012025_01_16_02_431831_0001.jpg
/home/pi/Desktop/images/11012025/01/17/image_11012025_01_17_03_028619_0001.jpg
/home/pi/Desktop/images/11012025/01/17/image_11012025_01_17_03_028619_0002.jpg
/home/pi/Desktop/images/11012025/01/17/image_11012025_01_17_03_028619_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328018821","1328018823","1328018811","1328018814","1328018817","1328018819"],"photo_ids_order":["1328018811","1328018814","1328018817","1328018819","1328018821","1328018823"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5b4b3dc2586f06c78468ff8d652f1db7.jpg","text":"TemporaryFile(/tmp/multipartBody6189391020096102142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555197443,"filename":"image_11012025_01_17_03_028619_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9afff8c07e9ecee957d03b0ef3ab69bd.jpg","text":"TemporaryFile(/tmp/multipartBody6362490776802875411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555197443,"filename":"image_11012025_01_17_03_028619_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0f78c4a1e002bba284bd8483b10a07ce.jpg","text":"TemporaryFile(/tmp/multipartBody2865327307395106925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555197443,"filename":"image_11012025_01_15_02_864343_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f39319dad1afea4fdf4f22903f4ed1b1.jpg","text":"TemporaryFile(/tmp/multipartBody8459600037092632352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555197443,"filename":"image_11012025_01_16_02_431831_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5d974e33215d4333197615417d571c79.jpg","text":"TemporaryFile(/tmp/multipartBody5117171855557554525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555197443,"filename":"image_11012025_01_16_02_431831_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/28ba896b0d4f5b2adf18f88575210627.jpg","text":"TemporaryFile(/tmp/multipartBody9076350976916014126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555197443,"filename":"image_11012025_01_17_03_028619_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328018817","file1":"1328018814","file0":"1328018811","file4":"1328018821","file5":"1328018823","file3":"1328018819"},"map_files_photo_id_array":[{"photo_id":"1328018823","filename":"file5"},{"photo_id":"1328018817","filename":"file2"},{"photo_id":"1328018821","filename":"file4"},{"photo_id":"1328018814","filename":"file1"},{"photo_id":"1328018811","filename":"file0"},{"photo_id":"1328018819","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328018821":["hashtag1","hashtag2"]},{"1328018823":["hashtag1","hashtag2"]},{"1328018811":["hashtag1","hashtag2"]},{"1328018814":["hashtag1","hashtag2"]},{"1328018817":["hashtag1","hashtag2"]},{"1328018819":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328018821, 1328018823, 1328018811, 1328018814, 1328018817, 1328018819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.36283802986145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:26:21.857780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/18/image_11012025_01_18_02_544541_0000.jpg', '/home/pi/Desktop/images/11012025/01/18/image_11012025_01_18_02_544541_0001.jpg', '/home/pi/Desktop/images/11012025/01/18/image_11012025_01_18_02_544541_0002.jpg', '/home/pi/Desktop/images/11012025/01/18/image_11012025_01_18_02_544541_0003.jpg', '/home/pi/Desktop/images/11012025/01/19/image_11012025_01_19_03_073808_0000.jpg', '/home/pi/Desktop/images/11012025/01/19/image_11012025_01_19_03_073808_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/18/image_11012025_01_18_02_544541_0000.jpg
/home/pi/Desktop/images/11012025/01/18/image_11012025_01_18_02_544541_0001.jpg
/home/pi/Desktop/images/11012025/01/18/image_11012025_01_18_02_544541_0002.jpg
/home/pi/Desktop/images/11012025/01/18/image_11012025_01_18_02_544541_0003.jpg
/home/pi/Desktop/images/11012025/01/19/image_11012025_01_19_03_073808_0000.jpg
/home/pi/Desktop/images/11012025/01/19/image_11012025_01_19_03_073808_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.797784566879272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:27:03.192411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/18/image_11012025_01_18_02_544541_0000.jpg', '/home/pi/Desktop/images/11012025/01/18/image_11012025_01_18_02_544541_0001.jpg', '/home/pi/Desktop/images/11012025/01/18/image_11012025_01_18_02_544541_0002.jpg', '/home/pi/Desktop/images/11012025/01/18/image_11012025_01_18_02_544541_0003.jpg', '/home/pi/Desktop/images/11012025/01/19/image_11012025_01_19_03_073808_0000.jpg', '/home/pi/Desktop/images/11012025/01/19/image_11012025_01_19_03_073808_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/18/image_11012025_01_18_02_544541_0000.jpg
/home/pi/Desktop/images/11012025/01/18/image_11012025_01_18_02_544541_0001.jpg
/home/pi/Desktop/images/11012025/01/18/image_11012025_01_18_02_544541_0002.jpg
/home/pi/Desktop/images/11012025/01/18/image_11012025_01_18_02_544541_0003.jpg
/home/pi/Desktop/images/11012025/01/19/image_11012025_01_19_03_073808_0000.jpg
/home/pi/Desktop/images/11012025/01/19/image_11012025_01_19_03_073808_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":["1328019717","1328019711","1328019720","1328019714","1328019713","1328019727"],"photo_ids_order":["1328019711","1328019713","1328019714","1328019717","1328019720","1328019727"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bf9b03bbcd5b694dc759642cf4d8c132.jpg","text":"TemporaryFile(/tmp/multipartBody8911985102638596760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555298422,"filename":"image_11012025_01_18_02_544541_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/93920395c57876726e142794d1b8edc6.jpg","text":"TemporaryFile(/tmp/multipartBody6702051876451336238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555298422,"filename":"image_11012025_01_18_02_544541_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a60f5908e56ce362bbf490a03a71d6ea.jpg","text":"TemporaryFile(/tmp/multipartBody3980864432334118363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555298422,"filename":"image_11012025_01_19_03_073808_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4c07a2961be09d70d4e3e446e4dc94ff.jpg","text":"TemporaryFile(/tmp/multipartBody1902201524916646967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555298422,"filename":"image_11012025_01_18_02_544541_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4e53032634a3dac903b7e903be3196c4.jpg","text":"TemporaryFile(/tmp/multipartBody5304262996575663510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555298422,"filename":"image_11012025_01_18_02_544541_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b4bf788fcc2e8cfcaa0725da4a7d3db7.jpg","text":"TemporaryFile(/tmp/multipartBody5392494315240703897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555298422,"filename":"image_11012025_01_19_03_073808_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328019714","file1":"1328019713","file0":"1328019711","file4":"1328019720","file5":"1328019727","file3":"1328019717"},"map_files_photo_id_array":[{"photo_id":"1328019727","filename":"file5"},{"photo_id":"1328019714","filename":"file2"},{"photo_id":"1328019720","filename":"file4"},{"photo_id":"1328019713","filename":"file1"},{"photo_id":"1328019711","filename":"file0"},{"photo_id":"1328019717","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328019717":["hashtag1","hashtag2"]},{"1328019711":["hashtag1","hashtag2"]},{"1328019720":["hashtag1","hashtag2"]},{"1328019714":["hashtag1","hashtag2"]},{"1328019713":["hashtag1","hashtag2"]},{"1328019727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328019717, 1328019711, 1328019720, 1328019714, 1328019713, 1328019727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.90264081954956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:28:22.327102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/19/image_11012025_01_19_03_073808_0002.jpg', '/home/pi/Desktop/images/11012025/01/19/image_11012025_01_19_03_073808_0003.jpg', '/home/pi/Desktop/images/11012025/01/20/image_11012025_01_20_02_516761_0001.jpg', '/home/pi/Desktop/images/11012025/01/20/image_11012025_01_20_02_516761_0002.jpg', '/home/pi/Desktop/images/11012025/01/20/image_11012025_01_20_02_516761_0003.jpg', '/home/pi/Desktop/images/11012025/01/21/image_11012025_01_21_03_025952_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/19/image_11012025_01_19_03_073808_0002.jpg
/home/pi/Desktop/images/11012025/01/19/image_11012025_01_19_03_073808_0003.jpg
/home/pi/Desktop/images/11012025/01/20/image_11012025_01_20_02_516761_0001.jpg
/home/pi/Desktop/images/11012025/01/20/image_11012025_01_20_02_516761_0002.jpg
/home/pi/Desktop/images/11012025/01/20/image_11012025_01_20_02_516761_0003.jpg
/home/pi/Desktop/images/11012025/01/21/image_11012025_01_21_03_025952_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.815739154815674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:29:02.370585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/19/image_11012025_01_19_03_073808_0002.jpg', '/home/pi/Desktop/images/11012025/01/19/image_11012025_01_19_03_073808_0003.jpg', '/home/pi/Desktop/images/11012025/01/20/image_11012025_01_20_02_516761_0001.jpg', '/home/pi/Desktop/images/11012025/01/20/image_11012025_01_20_02_516761_0002.jpg', '/home/pi/Desktop/images/11012025/01/20/image_11012025_01_20_02_516761_0003.jpg', '/home/pi/Desktop/images/11012025/01/21/image_11012025_01_21_03_025952_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/19/image_11012025_01_19_03_073808_0002.jpg
/home/pi/Desktop/images/11012025/01/19/image_11012025_01_19_03_073808_0003.jpg
/home/pi/Desktop/images/11012025/01/20/image_11012025_01_20_02_516761_0001.jpg
/home/pi/Desktop/images/11012025/01/20/image_11012025_01_20_02_516761_0002.jpg
/home/pi/Desktop/images/11012025/01/20/image_11012025_01_20_02_516761_0003.jpg
/home/pi/Desktop/images/11012025/01/21/image_11012025_01_21_03_025952_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328020176","1328020167","1328020184","1328020172","1328020171","1328020180"],"photo_ids_order":["1328020167","1328020171","1328020172","1328020176","1328020180","1328020184"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ba8e0d834902259f65595198baf12ca8.jpg","text":"TemporaryFile(/tmp/multipartBody888063379604504628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555417673,"filename":"image_11012025_01_20_02_516761_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7286851c9cb8303c8798323565b10648.jpg","text":"TemporaryFile(/tmp/multipartBody6144912211763489054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555417673,"filename":"image_11012025_01_19_03_073808_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0e4e5e9ddc9ff3a27d4ba47e400a2da5.jpg","text":"TemporaryFile(/tmp/multipartBody1103117601977630622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555417673,"filename":"image_11012025_01_21_03_025952_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a27053358cb02215edcd281e14f8808e.jpg","text":"TemporaryFile(/tmp/multipartBody7586100187392788209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555417673,"filename":"image_11012025_01_20_02_516761_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b0f1e3ec18654f0a8f9c375e56b6c29f.jpg","text":"TemporaryFile(/tmp/multipartBody6627963704527955791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555417673,"filename":"image_11012025_01_19_03_073808_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7cdaa51939fb8db4116bca9c776201c8.jpg","text":"TemporaryFile(/tmp/multipartBody360331283849157338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555417673,"filename":"image_11012025_01_20_02_516761_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328020172","file1":"1328020171","file0":"1328020167","file4":"1328020180","file5":"1328020184","file3":"1328020176"},"map_files_photo_id_array":[{"photo_id":"1328020184","filename":"file5"},{"photo_id":"1328020172","filename":"file2"},{"photo_id":"1328020180","filename":"file4"},{"photo_id":"1328020171","filename":"file1"},{"photo_id":"1328020167","filename":"file0"},{"photo_id":"1328020176","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328020176":["hashtag1","hashtag2"]},{"1328020167":["hashtag1","hashtag2"]},{"1328020184":["hashtag1","hashtag2"]},{"1328020172":["hashtag1","hashtag2"]},{"1328020171":["hashtag1","hashtag2"]},{"1328020180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328020176, 1328020167, 1328020184, 1328020172, 1328020171, 1328020180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.1268630027771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:30:02.731438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/21/image_11012025_01_21_03_025952_0001.jpg', '/home/pi/Desktop/images/11012025/01/21/image_11012025_01_21_03_025952_0002.jpg', '/home/pi/Desktop/images/11012025/01/22/image_11012025_01_22_02_562955_0000.jpg', '/home/pi/Desktop/images/11012025/01/22/image_11012025_01_22_02_562955_0001.jpg', '/home/pi/Desktop/images/11012025/01/22/image_11012025_01_22_02_562955_0002.jpg', '/home/pi/Desktop/images/11012025/01/22/image_11012025_01_22_02_562955_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/21/image_11012025_01_21_03_025952_0001.jpg
/home/pi/Desktop/images/11012025/01/21/image_11012025_01_21_03_025952_0002.jpg
/home/pi/Desktop/images/11012025/01/22/image_11012025_01_22_02_562955_0000.jpg
/home/pi/Desktop/images/11012025/01/22/image_11012025_01_22_02_562955_0001.jpg
/home/pi/Desktop/images/11012025/01/22/image_11012025_01_22_02_562955_0002.jpg
/home/pi/Desktop/images/11012025/01/22/image_11012025_01_22_02_562955_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328020204","1328020194","1328020199","1328020206","1328020196","1328020192"],"photo_ids_order":["1328020192","1328020194","1328020196","1328020199","1328020204","1328020206"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fd940222af6a0080747be54ab37a679b.jpg","text":"TemporaryFile(/tmp/multipartBody2191362420281099112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555477964,"filename":"image_11012025_01_22_02_562955_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/29de0520b861d52c5ce921a52b974d2a.jpg","text":"TemporaryFile(/tmp/multipartBody639651343218829583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555477964,"filename":"image_11012025_01_21_03_025952_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/355c8568a4c68a3536b9df34f4c8eb91.jpg","text":"TemporaryFile(/tmp/multipartBody7889511757135710552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555477964,"filename":"image_11012025_01_22_02_562955_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/51ca3775da403bcf617834c206301bf6.jpg","text":"TemporaryFile(/tmp/multipartBody5319268933041547310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555477964,"filename":"image_11012025_01_22_02_562955_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1742b553b219429981661ab4cc606c02.jpg","text":"TemporaryFile(/tmp/multipartBody8797526066157984425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555477964,"filename":"image_11012025_01_22_02_562955_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8decfb09d05ba45fb73d02840ee65ec3.jpg","text":"TemporaryFile(/tmp/multipartBody3652856335609742433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555477964,"filename":"image_11012025_01_21_03_025952_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328020196","file1":"1328020194","file0":"1328020192","file4":"1328020204","file5":"1328020206","file3":"1328020199"},"map_files_photo_id_array":[{"photo_id":"1328020206","filename":"file5"},{"photo_id":"1328020196","filename":"file2"},{"photo_id":"1328020204","filename":"file4"},{"photo_id":"1328020194","filename":"file1"},{"photo_id":"1328020192","filename":"file0"},{"photo_id":"1328020199","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328020204":["hashtag1","hashtag2"]},{"1328020194":["hashtag1","hashtag2"]},{"1328020199":["hashtag1","hashtag2"]},{"1328020206":["hashtag1","hashtag2"]},{"1328020196":["hashtag1","hashtag2"]},{"1328020192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328020204, 1328020194, 1328020199, 1328020206, 1328020196, 1328020192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.28566861152649 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:31:02.592202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/23/image_11012025_01_23_02_170876_0000.jpg', '/home/pi/Desktop/images/11012025/01/23/image_11012025_01_23_02_170876_0002.jpg', '/home/pi/Desktop/images/11012025/01/23/image_11012025_01_23_02_170876_0003.jpg', '/home/pi/Desktop/images/11012025/01/24/image_11012025_01_24_02_660551_0000.jpg', '/home/pi/Desktop/images/11012025/01/24/image_11012025_01_24_02_660551_0001.jpg', '/home/pi/Desktop/images/11012025/01/24/image_11012025_01_24_02_660551_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/23/image_11012025_01_23_02_170876_0000.jpg
/home/pi/Desktop/images/11012025/01/23/image_11012025_01_23_02_170876_0002.jpg
/home/pi/Desktop/images/11012025/01/23/image_11012025_01_23_02_170876_0003.jpg
/home/pi/Desktop/images/11012025/01/24/image_11012025_01_24_02_660551_0000.jpg
/home/pi/Desktop/images/11012025/01/24/image_11012025_01_24_02_660551_0001.jpg
/home/pi/Desktop/images/11012025/01/24/image_11012025_01_24_02_660551_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.905942916870117 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:31:21.924427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/23/image_11012025_01_23_02_170876_0000.jpg', '/home/pi/Desktop/images/11012025/01/23/image_11012025_01_23_02_170876_0002.jpg', '/home/pi/Desktop/images/11012025/01/23/image_11012025_01_23_02_170876_0003.jpg', '/home/pi/Desktop/images/11012025/01/24/image_11012025_01_24_02_660551_0000.jpg', '/home/pi/Desktop/images/11012025/01/24/image_11012025_01_24_02_660551_0001.jpg', '/home/pi/Desktop/images/11012025/01/24/image_11012025_01_24_02_660551_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/23/image_11012025_01_23_02_170876_0000.jpg
/home/pi/Desktop/images/11012025/01/23/image_11012025_01_23_02_170876_0002.jpg
/home/pi/Desktop/images/11012025/01/23/image_11012025_01_23_02_170876_0003.jpg
/home/pi/Desktop/images/11012025/01/24/image_11012025_01_24_02_660551_0000.jpg
/home/pi/Desktop/images/11012025/01/24/image_11012025_01_24_02_660551_0001.jpg
/home/pi/Desktop/images/11012025/01/24/image_11012025_01_24_02_660551_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328020239","1328020248","1328020250","1328020244","1328020252","1328020246"],"photo_ids_order":["1328020239","1328020244","1328020246","1328020248","1328020250","1328020252"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d59b018df80391e1e20dc7c22f836fa6.jpg","text":"TemporaryFile(/tmp/multipartBody2540715957320663844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555557162,"filename":"image_11012025_01_23_02_170876_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ba47fc064e148d67ee92637ec81c1a0a.jpg","text":"TemporaryFile(/tmp/multipartBody34650684886398704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555557162,"filename":"image_11012025_01_24_02_660551_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c5261f8af38084185197496be65e015d.jpg","text":"TemporaryFile(/tmp/multipartBody7093195859721676018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555557162,"filename":"image_11012025_01_24_02_660551_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d786d688e79b0373d8007621075d19a1.jpg","text":"TemporaryFile(/tmp/multipartBody8487064897958403443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555557162,"filename":"image_11012025_01_23_02_170876_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d80f11e574ece234449c49ffe82ed895.jpg","text":"TemporaryFile(/tmp/multipartBody5892612252906354591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555557162,"filename":"image_11012025_01_24_02_660551_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fe548f409368a851ed7b376410f263ca.jpg","text":"TemporaryFile(/tmp/multipartBody2842012146376853827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555557162,"filename":"image_11012025_01_23_02_170876_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328020246","file1":"1328020244","file0":"1328020239","file4":"1328020250","file5":"1328020252","file3":"1328020248"},"map_files_photo_id_array":[{"photo_id":"1328020252","filename":"file5"},{"photo_id":"1328020246","filename":"file2"},{"photo_id":"1328020250","filename":"file4"},{"photo_id":"1328020244","filename":"file1"},{"photo_id":"1328020239","filename":"file0"},{"photo_id":"1328020248","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328020239":["hashtag1","hashtag2"]},{"1328020248":["hashtag1","hashtag2"]},{"1328020250":["hashtag1","hashtag2"]},{"1328020244":["hashtag1","hashtag2"]},{"1328020252":["hashtag1","hashtag2"]},{"1328020246":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328020239, 1328020248, 1328020250, 1328020244, 1328020252, 1328020246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.32548141479492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:32:22.602500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/24/image_11012025_01_24_02_660551_0003.jpg', '/home/pi/Desktop/images/11012025/01/25/image_11012025_01_25_02_156863_0000.jpg', '/home/pi/Desktop/images/11012025/01/25/image_11012025_01_25_02_156863_0001.jpg', '/home/pi/Desktop/images/11012025/01/25/image_11012025_01_25_02_156863_0002.jpg', '/home/pi/Desktop/images/11012025/01/25/image_11012025_01_25_02_156863_0003.jpg', '/home/pi/Desktop/images/11012025/01/26/image_11012025_01_26_02_730818_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/24/image_11012025_01_24_02_660551_0003.jpg
/home/pi/Desktop/images/11012025/01/25/image_11012025_01_25_02_156863_0000.jpg
/home/pi/Desktop/images/11012025/01/25/image_11012025_01_25_02_156863_0001.jpg
/home/pi/Desktop/images/11012025/01/25/image_11012025_01_25_02_156863_0002.jpg
/home/pi/Desktop/images/11012025/01/25/image_11012025_01_25_02_156863_0003.jpg
/home/pi/Desktop/images/11012025/01/26/image_11012025_01_26_02_730818_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328020295","1328020283","1328020297","1328020291","1328020285","1328020288"],"photo_ids_order":["1328020283","1328020285","1328020288","1328020291","1328020295","1328020297"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5531f72369a04e66296d1da98dbf6c18.jpg","text":"TemporaryFile(/tmp/multipartBody1463722553405659814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555617590,"filename":"image_11012025_01_25_02_156863_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2fab1f64e1869000abf6240fed203885.jpg","text":"TemporaryFile(/tmp/multipartBody7783932442681988870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555617590,"filename":"image_11012025_01_24_02_660551_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a8a6c13f029a1f8b476bcebe3b4faaad.jpg","text":"TemporaryFile(/tmp/multipartBody69612174755950168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555617590,"filename":"image_11012025_01_26_02_730818_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/acf3db56cb8477ef5a24ac83305341fd.jpg","text":"TemporaryFile(/tmp/multipartBody6298750384454157540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555617590,"filename":"image_11012025_01_25_02_156863_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/031145cfdaed7d80f9f9fcb14d4c4eec.jpg","text":"TemporaryFile(/tmp/multipartBody4622089209019750009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555617590,"filename":"image_11012025_01_25_02_156863_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bd97cf955d0fc6aba03064ba28a0477f.jpg","text":"TemporaryFile(/tmp/multipartBody6598922286389808883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555617590,"filename":"image_11012025_01_25_02_156863_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328020288","file1":"1328020285","file0":"1328020283","file4":"1328020295","file5":"1328020297","file3":"1328020291"},"map_files_photo_id_array":[{"photo_id":"1328020297","filename":"file5"},{"photo_id":"1328020288","filename":"file2"},{"photo_id":"1328020295","filename":"file4"},{"photo_id":"1328020285","filename":"file1"},{"photo_id":"1328020283","filename":"file0"},{"photo_id":"1328020291","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328020295":["hashtag1","hashtag2"]},{"1328020283":["hashtag1","hashtag2"]},{"1328020297":["hashtag1","hashtag2"]},{"1328020291":["hashtag1","hashtag2"]},{"1328020285":["hashtag1","hashtag2"]},{"1328020288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328020295, 1328020283, 1328020297, 1328020291, 1328020285, 1328020288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.49764823913574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:33:22.274078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/26/image_11012025_01_26_02_730818_0001.jpg', '/home/pi/Desktop/images/11012025/01/26/image_11012025_01_26_02_730818_0002.jpg', '/home/pi/Desktop/images/11012025/01/26/image_11012025_01_26_02_730818_0003.jpg', '/home/pi/Desktop/images/11012025/01/27/image_11012025_01_27_02_312603_0000.jpg', '/home/pi/Desktop/images/11012025/01/27/image_11012025_01_27_02_312603_0001.jpg', '/home/pi/Desktop/images/11012025/01/27/image_11012025_01_27_02_312603_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/26/image_11012025_01_26_02_730818_0001.jpg
/home/pi/Desktop/images/11012025/01/26/image_11012025_01_26_02_730818_0002.jpg
/home/pi/Desktop/images/11012025/01/26/image_11012025_01_26_02_730818_0003.jpg
/home/pi/Desktop/images/11012025/01/27/image_11012025_01_27_02_312603_0000.jpg
/home/pi/Desktop/images/11012025/01/27/image_11012025_01_27_02_312603_0001.jpg
/home/pi/Desktop/images/11012025/01/27/image_11012025_01_27_02_312603_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328020336","1328020321","1328020303","1328020338","1328020341","1328020334"],"photo_ids_order":["1328020303","1328020321","1328020334","1328020336","1328020338","1328020341"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ba281ca3c3862ef1ef7dd7877c5738ab.jpg","text":"TemporaryFile(/tmp/multipartBody7142318662278753039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555677319,"filename":"image_11012025_01_27_02_312603_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c99719880f568f244cd23887784b00e6.jpg","text":"TemporaryFile(/tmp/multipartBody6333071924558548399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555677319,"filename":"image_11012025_01_26_02_730818_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/93913833a8d791e04c682b51265cb874.jpg","text":"TemporaryFile(/tmp/multipartBody394878682552351113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555677319,"filename":"image_11012025_01_26_02_730818_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/01aa3040a4750c81333b5d2d315b9db6.jpg","text":"TemporaryFile(/tmp/multipartBody1975945140846508343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555677319,"filename":"image_11012025_01_27_02_312603_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2b1acd5cfdc88372e15f7e1357d62689.jpg","text":"TemporaryFile(/tmp/multipartBody8665200019610466567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555677319,"filename":"image_11012025_01_27_02_312603_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0ae6a2ec9c8e9346360f9f68fa2cdf1f.jpg","text":"TemporaryFile(/tmp/multipartBody781625686226121800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555677319,"filename":"image_11012025_01_26_02_730818_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328020334","file1":"1328020321","file0":"1328020303","file4":"1328020338","file5":"1328020341","file3":"1328020336"},"map_files_photo_id_array":[{"photo_id":"1328020341","filename":"file5"},{"photo_id":"1328020334","filename":"file2"},{"photo_id":"1328020338","filename":"file4"},{"photo_id":"1328020321","filename":"file1"},{"photo_id":"1328020303","filename":"file0"},{"photo_id":"1328020336","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328020336":["hashtag1","hashtag2"]},{"1328020321":["hashtag1","hashtag2"]},{"1328020303":["hashtag1","hashtag2"]},{"1328020338":["hashtag1","hashtag2"]},{"1328020341":["hashtag1","hashtag2"]},{"1328020334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328020336, 1328020321, 1328020303, 1328020338, 1328020341, 1328020334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.4332172870636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:34:22.693120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/27/image_11012025_01_27_02_312603_0003.jpg', '/home/pi/Desktop/images/11012025/01/28/image_11012025_01_28_02_925936_0000.jpg', '/home/pi/Desktop/images/11012025/01/28/image_11012025_01_28_02_925936_0001.jpg', '/home/pi/Desktop/images/11012025/01/28/image_11012025_01_28_02_925936_0002.jpg', '/home/pi/Desktop/images/11012025/01/28/image_11012025_01_28_02_925936_0003.jpg', '/home/pi/Desktop/images/11012025/01/29/image_11012025_01_29_02_653681_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/27/image_11012025_01_27_02_312603_0003.jpg
/home/pi/Desktop/images/11012025/01/28/image_11012025_01_28_02_925936_0000.jpg
/home/pi/Desktop/images/11012025/01/28/image_11012025_01_28_02_925936_0001.jpg
/home/pi/Desktop/images/11012025/01/28/image_11012025_01_28_02_925936_0002.jpg
/home/pi/Desktop/images/11012025/01/28/image_11012025_01_28_02_925936_0003.jpg
/home/pi/Desktop/images/11012025/01/29/image_11012025_01_29_02_653681_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.651763439178467 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:35:02.618248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/27/image_11012025_01_27_02_312603_0003.jpg', '/home/pi/Desktop/images/11012025/01/28/image_11012025_01_28_02_925936_0000.jpg', '/home/pi/Desktop/images/11012025/01/28/image_11012025_01_28_02_925936_0001.jpg', '/home/pi/Desktop/images/11012025/01/28/image_11012025_01_28_02_925936_0002.jpg', '/home/pi/Desktop/images/11012025/01/28/image_11012025_01_28_02_925936_0003.jpg', '/home/pi/Desktop/images/11012025/01/29/image_11012025_01_29_02_653681_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/27/image_11012025_01_27_02_312603_0003.jpg
/home/pi/Desktop/images/11012025/01/28/image_11012025_01_28_02_925936_0000.jpg
/home/pi/Desktop/images/11012025/01/28/image_11012025_01_28_02_925936_0001.jpg
/home/pi/Desktop/images/11012025/01/28/image_11012025_01_28_02_925936_0002.jpg
/home/pi/Desktop/images/11012025/01/28/image_11012025_01_28_02_925936_0003.jpg
/home/pi/Desktop/images/11012025/01/29/image_11012025_01_29_02_653681_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328021433","1328021498","1328021435","1328021698","1328021701","1328021434"],"photo_ids_order":["1328021433","1328021434","1328021435","1328021498","1328021698","1328021701"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8b0f806ebeceeaf39b9e28aca9531dcb.jpg","text":"TemporaryFile(/tmp/multipartBody1287234386965584110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555777775,"filename":"image_11012025_01_27_02_312603_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/808db62b7b6b309b6264dba956ca4fc7.jpg","text":"TemporaryFile(/tmp/multipartBody4221049589778326407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555777775,"filename":"image_11012025_01_28_02_925936_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/08d0d888a0b3499e91147b656161cfce.jpg","text":"TemporaryFile(/tmp/multipartBody1768034744431473145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555777775,"filename":"image_11012025_01_28_02_925936_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3991e86485e364162b4284222b7deb9c.jpg","text":"TemporaryFile(/tmp/multipartBody1633374987693968610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555777775,"filename":"image_11012025_01_28_02_925936_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/38e95442ef68057aebef56b39f923eeb.jpg","text":"TemporaryFile(/tmp/multipartBody7689101284991937909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555777775,"filename":"image_11012025_01_29_02_653681_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7d3e03478b96f1e5f81338e78bfb9ca6.jpg","text":"TemporaryFile(/tmp/multipartBody1372929652007388852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555777775,"filename":"image_11012025_01_28_02_925936_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328021435","file1":"1328021434","file0":"1328021433","file4":"1328021698","file5":"1328021701","file3":"1328021498"},"map_files_photo_id_array":[{"photo_id":"1328021701","filename":"file5"},{"photo_id":"1328021435","filename":"file2"},{"photo_id":"1328021698","filename":"file4"},{"photo_id":"1328021434","filename":"file1"},{"photo_id":"1328021433","filename":"file0"},{"photo_id":"1328021498","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328021433":["hashtag1","hashtag2"]},{"1328021498":["hashtag1","hashtag2"]},{"1328021435":["hashtag1","hashtag2"]},{"1328021698":["hashtag1","hashtag2"]},{"1328021701":["hashtag1","hashtag2"]},{"1328021434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328021433, 1328021498, 1328021435, 1328021698, 1328021701, 1328021434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.13616180419922 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:36:02.382019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/29/image_11012025_01_29_02_653681_0001.jpg', '/home/pi/Desktop/images/11012025/01/29/image_11012025_01_29_02_653681_0002.jpg', '/home/pi/Desktop/images/11012025/01/29/image_11012025_01_29_02_653681_0003.jpg', '/home/pi/Desktop/images/11012025/01/30/image_11012025_01_30_02_124098_0000.jpg', '/home/pi/Desktop/images/11012025/01/30/image_11012025_01_30_02_124098_0001.jpg', '/home/pi/Desktop/images/11012025/01/30/image_11012025_01_30_02_124098_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/29/image_11012025_01_29_02_653681_0001.jpg
/home/pi/Desktop/images/11012025/01/29/image_11012025_01_29_02_653681_0002.jpg
/home/pi/Desktop/images/11012025/01/29/image_11012025_01_29_02_653681_0003.jpg
/home/pi/Desktop/images/11012025/01/30/image_11012025_01_30_02_124098_0000.jpg
/home/pi/Desktop/images/11012025/01/30/image_11012025_01_30_02_124098_0001.jpg
/home/pi/Desktop/images/11012025/01/30/image_11012025_01_30_02_124098_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.808644771575928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:36:21.971912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/29/image_11012025_01_29_02_653681_0001.jpg', '/home/pi/Desktop/images/11012025/01/29/image_11012025_01_29_02_653681_0002.jpg', '/home/pi/Desktop/images/11012025/01/29/image_11012025_01_29_02_653681_0003.jpg', '/home/pi/Desktop/images/11012025/01/30/image_11012025_01_30_02_124098_0000.jpg', '/home/pi/Desktop/images/11012025/01/30/image_11012025_01_30_02_124098_0001.jpg', '/home/pi/Desktop/images/11012025/01/30/image_11012025_01_30_02_124098_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/29/image_11012025_01_29_02_653681_0001.jpg
/home/pi/Desktop/images/11012025/01/29/image_11012025_01_29_02_653681_0002.jpg
/home/pi/Desktop/images/11012025/01/29/image_11012025_01_29_02_653681_0003.jpg
/home/pi/Desktop/images/11012025/01/30/image_11012025_01_30_02_124098_0000.jpg
/home/pi/Desktop/images/11012025/01/30/image_11012025_01_30_02_124098_0001.jpg
/home/pi/Desktop/images/11012025/01/30/image_11012025_01_30_02_124098_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328021847","1328021808","1328021849","1328021816","1328021845","1328021827"],"photo_ids_order":["1328021808","1328021816","1328021827","1328021845","1328021847","1328021849"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c9447e05240920e122e1790c1a947c50.jpg","text":"TemporaryFile(/tmp/multipartBody5611559447414463855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555857130,"filename":"image_11012025_01_30_02_124098_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4038b8d53e5328f5db741964d15b740a.jpg","text":"TemporaryFile(/tmp/multipartBody2248771292794699378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555857130,"filename":"image_11012025_01_29_02_653681_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/821679e7503025f872002a9a7a7e1a6b.jpg","text":"TemporaryFile(/tmp/multipartBody2045555404237399060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555857130,"filename":"image_11012025_01_30_02_124098_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fc7e26cb416f51818e1e6dd62d6edbf4.jpg","text":"TemporaryFile(/tmp/multipartBody9152203875103176962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555857130,"filename":"image_11012025_01_29_02_653681_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e47e350b0142d28f9cc555375f52444f.jpg","text":"TemporaryFile(/tmp/multipartBody3970651331962359308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555857130,"filename":"image_11012025_01_30_02_124098_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5a4a1463ed515738111620fa5c98b823.jpg","text":"TemporaryFile(/tmp/multipartBody7045773751541290548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555857130,"filename":"image_11012025_01_29_02_653681_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328021827","file1":"1328021816","file0":"1328021808","file4":"1328021847","file5":"1328021849","file3":"1328021845"},"map_files_photo_id_array":[{"photo_id":"1328021849","filename":"file5"},{"photo_id":"1328021827","filename":"file2"},{"photo_id":"1328021847","filename":"file4"},{"photo_id":"1328021816","filename":"file1"},{"photo_id":"1328021808","filename":"file0"},{"photo_id":"1328021845","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328021847":["hashtag1","hashtag2"]},{"1328021808":["hashtag1","hashtag2"]},{"1328021849":["hashtag1","hashtag2"]},{"1328021816":["hashtag1","hashtag2"]},{"1328021845":["hashtag1","hashtag2"]},{"1328021827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328021847, 1328021808, 1328021849, 1328021816, 1328021845, 1328021827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.90213489532471 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:37:22.396629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/30/image_11012025_01_30_02_124098_0003.jpg', '/home/pi/Desktop/images/11012025/01/31/image_11012025_01_31_02_762065_0000.jpg', '/home/pi/Desktop/images/11012025/01/31/image_11012025_01_31_02_762065_0001.jpg', '/home/pi/Desktop/images/11012025/01/31/image_11012025_01_31_02_762065_0002.jpg', '/home/pi/Desktop/images/11012025/01/31/image_11012025_01_31_02_762065_0003.jpg', '/home/pi/Desktop/images/11012025/01/32/image_11012025_01_32_02_358245_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/30/image_11012025_01_30_02_124098_0003.jpg
/home/pi/Desktop/images/11012025/01/31/image_11012025_01_31_02_762065_0000.jpg
/home/pi/Desktop/images/11012025/01/31/image_11012025_01_31_02_762065_0001.jpg
/home/pi/Desktop/images/11012025/01/31/image_11012025_01_31_02_762065_0002.jpg
/home/pi/Desktop/images/11012025/01/31/image_11012025_01_31_02_762065_0003.jpg
/home/pi/Desktop/images/11012025/01/32/image_11012025_01_32_02_358245_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328021859","1328021853","1328021861","1328021855","1328021863","1328021857"],"photo_ids_order":["1328021853","1328021855","1328021857","1328021859","1328021861","1328021863"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a01065267ae7fbba4da656e8ca78d738.jpg","text":"TemporaryFile(/tmp/multipartBody9040660154055635057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555917481,"filename":"image_11012025_01_31_02_762065_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b118c98019e90f96b92564e397c38fdf.jpg","text":"TemporaryFile(/tmp/multipartBody5605064847500998766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555917481,"filename":"image_11012025_01_30_02_124098_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3bc4d2941c9dc17231dc2db49f69747b.jpg","text":"TemporaryFile(/tmp/multipartBody4820257142713393724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555917481,"filename":"image_11012025_01_31_02_762065_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/69372dd11871b2224ad8545d1411ca23.jpg","text":"TemporaryFile(/tmp/multipartBody4091728862986229814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555917481,"filename":"image_11012025_01_31_02_762065_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b2be2d7ccb92cde211dea6943e75d2c2.jpg","text":"TemporaryFile(/tmp/multipartBody5194642036531466986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555917481,"filename":"image_11012025_01_32_02_358245_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e40a756ec2f7211035a416687b62f964.jpg","text":"TemporaryFile(/tmp/multipartBody8026483512639961166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555917481,"filename":"image_11012025_01_31_02_762065_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328021857","file1":"1328021855","file0":"1328021853","file4":"1328021861","file5":"1328021863","file3":"1328021859"},"map_files_photo_id_array":[{"photo_id":"1328021863","filename":"file5"},{"photo_id":"1328021857","filename":"file2"},{"photo_id":"1328021861","filename":"file4"},{"photo_id":"1328021855","filename":"file1"},{"photo_id":"1328021853","filename":"file0"},{"photo_id":"1328021859","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328021859":["hashtag1","hashtag2"]},{"1328021853":["hashtag1","hashtag2"]},{"1328021861":["hashtag1","hashtag2"]},{"1328021855":["hashtag1","hashtag2"]},{"1328021863":["hashtag1","hashtag2"]},{"1328021857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328021859, 1328021853, 1328021861, 1328021855, 1328021863, 1328021857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.60413122177124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:38:21.905181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/32/image_11012025_01_32_02_358245_0001.jpg', '/home/pi/Desktop/images/11012025/01/32/image_11012025_01_32_02_358245_0002.jpg', '/home/pi/Desktop/images/11012025/01/32/image_11012025_01_32_02_358245_0003.jpg', '/home/pi/Desktop/images/11012025/01/33/image_11012025_01_33_03_072695_0000.jpg', '/home/pi/Desktop/images/11012025/01/33/image_11012025_01_33_03_072695_0001.jpg', '/home/pi/Desktop/images/11012025/01/33/image_11012025_01_33_03_072695_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/32/image_11012025_01_32_02_358245_0001.jpg
/home/pi/Desktop/images/11012025/01/32/image_11012025_01_32_02_358245_0002.jpg
/home/pi/Desktop/images/11012025/01/32/image_11012025_01_32_02_358245_0003.jpg
/home/pi/Desktop/images/11012025/01/33/image_11012025_01_33_03_072695_0000.jpg
/home/pi/Desktop/images/11012025/01/33/image_11012025_01_33_03_072695_0001.jpg
/home/pi/Desktop/images/11012025/01/33/image_11012025_01_33_03_072695_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328021883","1328021870","1328021867","1328021881","1328021875","1328021878"],"photo_ids_order":["1328021867","1328021870","1328021875","1328021878","1328021881","1328021883"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/abc0a8e64e3a71515af1608659d04052.jpg","text":"TemporaryFile(/tmp/multipartBody8880150618782715329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555977002,"filename":"image_11012025_01_33_03_072695_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3ef60e3918438c4b2e75395175be38c9.jpg","text":"TemporaryFile(/tmp/multipartBody2793169231256566534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555977002,"filename":"image_11012025_01_32_02_358245_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c428cdb4dd5949a201d1ac72847e21a4.jpg","text":"TemporaryFile(/tmp/multipartBody3364813048461687297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555977002,"filename":"image_11012025_01_32_02_358245_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/117eac98c90b42b7713da4ab72971339.jpg","text":"TemporaryFile(/tmp/multipartBody7309760820585867780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555977002,"filename":"image_11012025_01_33_03_072695_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/103322afaddb682a5db7e085d05d4615.jpg","text":"TemporaryFile(/tmp/multipartBody7610158347291137125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555977002,"filename":"image_11012025_01_32_02_358245_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d5a453de8e438216950e593e6cb12cf2.jpg","text":"TemporaryFile(/tmp/multipartBody2070742916651370482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736555977002,"filename":"image_11012025_01_33_03_072695_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328021875","file1":"1328021870","file0":"1328021867","file4":"1328021881","file5":"1328021883","file3":"1328021878"},"map_files_photo_id_array":[{"photo_id":"1328021883","filename":"file5"},{"photo_id":"1328021875","filename":"file2"},{"photo_id":"1328021881","filename":"file4"},{"photo_id":"1328021870","filename":"file1"},{"photo_id":"1328021867","filename":"file0"},{"photo_id":"1328021878","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328021883":["hashtag1","hashtag2"]},{"1328021870":["hashtag1","hashtag2"]},{"1328021867":["hashtag1","hashtag2"]},{"1328021881":["hashtag1","hashtag2"]},{"1328021875":["hashtag1","hashtag2"]},{"1328021878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328021883, 1328021870, 1328021867, 1328021881, 1328021875, 1328021878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.21061611175537 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:39:22.462507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/33/image_11012025_01_33_03_072695_0003.jpg', '/home/pi/Desktop/images/11012025/01/34/image_11012025_01_34_02_581163_0000.jpg', '/home/pi/Desktop/images/11012025/01/34/image_11012025_01_34_02_581163_0001.jpg', '/home/pi/Desktop/images/11012025/01/34/image_11012025_01_34_02_581163_0002.jpg', '/home/pi/Desktop/images/11012025/01/34/image_11012025_01_34_02_581163_0003.jpg', '/home/pi/Desktop/images/11012025/01/35/image_11012025_01_35_03_062917_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/33/image_11012025_01_33_03_072695_0003.jpg
/home/pi/Desktop/images/11012025/01/34/image_11012025_01_34_02_581163_0000.jpg
/home/pi/Desktop/images/11012025/01/34/image_11012025_01_34_02_581163_0001.jpg
/home/pi/Desktop/images/11012025/01/34/image_11012025_01_34_02_581163_0002.jpg
/home/pi/Desktop/images/11012025/01/34/image_11012025_01_34_02_581163_0003.jpg
/home/pi/Desktop/images/11012025/01/35/image_11012025_01_35_03_062917_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328021937","1328021933","1328021939","1328021935","1328021914","1328021911"],"photo_ids_order":["1328021911","1328021914","1328021933","1328021935","1328021937","1328021939"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/11f5ca19709fcbb16dcb6c99429f79b6.jpg","text":"TemporaryFile(/tmp/multipartBody5479657100239412047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556037356,"filename":"image_11012025_01_34_02_581163_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e470e736acd220257beff76bf183abbc.jpg","text":"TemporaryFile(/tmp/multipartBody3042943026906302460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556037356,"filename":"image_11012025_01_34_02_581163_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7917bf33966b20cc77960220a6ce94dd.jpg","text":"TemporaryFile(/tmp/multipartBody5165619723786123420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556037356,"filename":"image_11012025_01_35_03_062917_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5506f247228ef2b8af043a969a44cd0b.jpg","text":"TemporaryFile(/tmp/multipartBody5317112822869772385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556037356,"filename":"image_11012025_01_34_02_581163_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2343847af5ec13c2e367beaf5a79dd65.jpg","text":"TemporaryFile(/tmp/multipartBody3946445079351865566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556037356,"filename":"image_11012025_01_34_02_581163_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/90e88a75f4c532aec16c796c4b15d8c2.jpg","text":"TemporaryFile(/tmp/multipartBody5814767955168694172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556037356,"filename":"image_11012025_01_33_03_072695_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328021933","file1":"1328021914","file0":"1328021911","file4":"1328021937","file5":"1328021939","file3":"1328021935"},"map_files_photo_id_array":[{"photo_id":"1328021939","filename":"file5"},{"photo_id":"1328021933","filename":"file2"},{"photo_id":"1328021937","filename":"file4"},{"photo_id":"1328021914","filename":"file1"},{"photo_id":"1328021911","filename":"file0"},{"photo_id":"1328021935","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328021937":["hashtag1","hashtag2"]},{"1328021933":["hashtag1","hashtag2"]},{"1328021939":["hashtag1","hashtag2"]},{"1328021935":["hashtag1","hashtag2"]},{"1328021914":["hashtag1","hashtag2"]},{"1328021911":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328021937, 1328021933, 1328021939, 1328021935, 1328021914, 1328021911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.667136669158936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:40:21.870062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/35/image_11012025_01_35_03_062917_0001.jpg', '/home/pi/Desktop/images/11012025/01/35/image_11012025_01_35_03_062917_0002.jpg', '/home/pi/Desktop/images/11012025/01/35/image_11012025_01_35_03_062917_0003.jpg', '/home/pi/Desktop/images/11012025/01/36/image_11012025_01_36_02_602855_0000.jpg', '/home/pi/Desktop/images/11012025/01/36/image_11012025_01_36_02_602855_0001.jpg', '/home/pi/Desktop/images/11012025/01/36/image_11012025_01_36_02_602855_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/35/image_11012025_01_35_03_062917_0001.jpg
/home/pi/Desktop/images/11012025/01/35/image_11012025_01_35_03_062917_0002.jpg
/home/pi/Desktop/images/11012025/01/35/image_11012025_01_35_03_062917_0003.jpg
/home/pi/Desktop/images/11012025/01/36/image_11012025_01_36_02_602855_0000.jpg
/home/pi/Desktop/images/11012025/01/36/image_11012025_01_36_02_602855_0001.jpg
/home/pi/Desktop/images/11012025/01/36/image_11012025_01_36_02_602855_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328022012","1328022006","1328022015","1328022009","1328022017","1328022001"],"photo_ids_order":["1328022001","1328022006","1328022009","1328022012","1328022015","1328022017"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d60da3b2fa2f7e324cba609e991c4322.jpg","text":"TemporaryFile(/tmp/multipartBody4373116397147641014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556097029,"filename":"image_11012025_01_36_02_602855_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/967daacd71b44c0c4f48d42e45916806.jpg","text":"TemporaryFile(/tmp/multipartBody7097881224782756604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556097029,"filename":"image_11012025_01_35_03_062917_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0c628a071aa4b63e88b4cb84cba3d983.jpg","text":"TemporaryFile(/tmp/multipartBody2482183542131861395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556097029,"filename":"image_11012025_01_36_02_602855_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6fc1d7bf9dfbb06df901fcf0f2551fed.jpg","text":"TemporaryFile(/tmp/multipartBody4448553978397633545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556097029,"filename":"image_11012025_01_35_03_062917_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d8f8822a60ab06c445f35355d88f559e.jpg","text":"TemporaryFile(/tmp/multipartBody3316323432736417477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556097029,"filename":"image_11012025_01_36_02_602855_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7a0861a3e1684551257cb3ba77fa89d2.jpg","text":"TemporaryFile(/tmp/multipartBody7289068010771507985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556097029,"filename":"image_11012025_01_35_03_062917_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328022009","file1":"1328022006","file0":"1328022001","file4":"1328022015","file5":"1328022017","file3":"1328022012"},"map_files_photo_id_array":[{"photo_id":"1328022017","filename":"file5"},{"photo_id":"1328022009","filename":"file2"},{"photo_id":"1328022015","filename":"file4"},{"photo_id":"1328022006","filename":"file1"},{"photo_id":"1328022001","filename":"file0"},{"photo_id":"1328022012","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328022012":["hashtag1","hashtag2"]},{"1328022006":["hashtag1","hashtag2"]},{"1328022015":["hashtag1","hashtag2"]},{"1328022009":["hashtag1","hashtag2"]},{"1328022017":["hashtag1","hashtag2"]},{"1328022001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328022012, 1328022006, 1328022015, 1328022009, 1328022017, 1328022001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.665411710739136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:42:02.201086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/36/image_11012025_01_36_02_602855_0003.jpg', '/home/pi/Desktop/images/11012025/01/37/image_11012025_01_37_02_294733_0000.jpg', '/home/pi/Desktop/images/11012025/01/37/image_11012025_01_37_02_294733_0001.jpg', '/home/pi/Desktop/images/11012025/01/37/image_11012025_01_37_02_294733_0002.jpg', '/home/pi/Desktop/images/11012025/01/37/image_11012025_01_37_02_294733_0003.jpg', '/home/pi/Desktop/images/11012025/01/38/image_11012025_01_38_02_791093_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/36/image_11012025_01_36_02_602855_0003.jpg
/home/pi/Desktop/images/11012025/01/37/image_11012025_01_37_02_294733_0000.jpg
/home/pi/Desktop/images/11012025/01/37/image_11012025_01_37_02_294733_0001.jpg
/home/pi/Desktop/images/11012025/01/37/image_11012025_01_37_02_294733_0002.jpg
/home/pi/Desktop/images/11012025/01/37/image_11012025_01_37_02_294733_0003.jpg
/home/pi/Desktop/images/11012025/01/38/image_11012025_01_38_02_791093_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.60192322731018 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:42:21.926754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/36/image_11012025_01_36_02_602855_0003.jpg', '/home/pi/Desktop/images/11012025/01/37/image_11012025_01_37_02_294733_0000.jpg', '/home/pi/Desktop/images/11012025/01/37/image_11012025_01_37_02_294733_0001.jpg', '/home/pi/Desktop/images/11012025/01/37/image_11012025_01_37_02_294733_0002.jpg', '/home/pi/Desktop/images/11012025/01/37/image_11012025_01_37_02_294733_0003.jpg', '/home/pi/Desktop/images/11012025/01/38/image_11012025_01_38_02_791093_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/36/image_11012025_01_36_02_602855_0003.jpg
/home/pi/Desktop/images/11012025/01/37/image_11012025_01_37_02_294733_0000.jpg
/home/pi/Desktop/images/11012025/01/37/image_11012025_01_37_02_294733_0001.jpg
/home/pi/Desktop/images/11012025/01/37/image_11012025_01_37_02_294733_0002.jpg
/home/pi/Desktop/images/11012025/01/37/image_11012025_01_37_02_294733_0003.jpg
/home/pi/Desktop/images/11012025/01/38/image_11012025_01_38_02_791093_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":["1328022411","1328022341","1328022524","1328022172","1328022244","1328022195"],"photo_ids_order":["1328022172","1328022195","1328022244","1328022341","1328022411","1328022524"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/172a977fcb22644936392a2b3030600c.jpg","text":"TemporaryFile(/tmp/multipartBody6875914856835926260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556216979,"filename":"image_11012025_01_37_02_294733_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3360c1ec7e35a0574cc8e6db37c67b37.jpg","text":"TemporaryFile(/tmp/multipartBody5480973231063353223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556216979,"filename":"image_11012025_01_37_02_294733_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bdc060a3ce15d46889eb910de01f6a76.jpg","text":"TemporaryFile(/tmp/multipartBody2629360741644870314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556216979,"filename":"image_11012025_01_38_02_791093_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/73d8f11f04ebe893422acc0c537d3a4d.jpg","text":"TemporaryFile(/tmp/multipartBody1919529725132514284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556216979,"filename":"image_11012025_01_36_02_602855_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d258558e53a66d01482eae664a8ce981.jpg","text":"TemporaryFile(/tmp/multipartBody2990449403697687967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556216979,"filename":"image_11012025_01_37_02_294733_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d8f55330008671af82104ee69656803a.jpg","text":"TemporaryFile(/tmp/multipartBody6901828666051116774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556216979,"filename":"image_11012025_01_37_02_294733_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328022244","file1":"1328022195","file0":"1328022172","file4":"1328022411","file5":"1328022524","file3":"1328022341"},"map_files_photo_id_array":[{"photo_id":"1328022524","filename":"file5"},{"photo_id":"1328022244","filename":"file2"},{"photo_id":"1328022411","filename":"file4"},{"photo_id":"1328022195","filename":"file1"},{"photo_id":"1328022172","filename":"file0"},{"photo_id":"1328022341","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328022411":["hashtag1","hashtag2"]},{"1328022341":["hashtag1","hashtag2"]},{"1328022524":["hashtag1","hashtag2"]},{"1328022172":["hashtag1","hashtag2"]},{"1328022244":["hashtag1","hashtag2"]},{"1328022195":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328022411, 1328022341, 1328022524, 1328022172, 1328022244, 1328022195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.555145025253296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:44:02.411810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/38/image_11012025_01_38_02_791093_0001.jpg', '/home/pi/Desktop/images/11012025/01/38/image_11012025_01_38_02_791093_0002.jpg', '/home/pi/Desktop/images/11012025/01/38/image_11012025_01_38_02_791093_0003.jpg', '/home/pi/Desktop/images/11012025/01/39/image_11012025_01_39_02_269895_0000.jpg', '/home/pi/Desktop/images/11012025/01/39/image_11012025_01_39_02_269895_0001.jpg', '/home/pi/Desktop/images/11012025/01/39/image_11012025_01_39_02_269895_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/38/image_11012025_01_38_02_791093_0001.jpg
/home/pi/Desktop/images/11012025/01/38/image_11012025_01_38_02_791093_0002.jpg
/home/pi/Desktop/images/11012025/01/38/image_11012025_01_38_02_791093_0003.jpg
/home/pi/Desktop/images/11012025/01/39/image_11012025_01_39_02_269895_0000.jpg
/home/pi/Desktop/images/11012025/01/39/image_11012025_01_39_02_269895_0001.jpg
/home/pi/Desktop/images/11012025/01/39/image_11012025_01_39_02_269895_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328023061","1328023064","1328023159","1328023059","1328023068","1328023056"],"photo_ids_order":["1328023056","1328023059","1328023061","1328023064","1328023068","1328023159"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8442d7a5d1374f4118db51a4fc24ae0d.jpg","text":"TemporaryFile(/tmp/multipartBody1341323766514880209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556317554,"filename":"image_11012025_01_38_02_791093_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9e36c365ca365edc4f3d3138caca9de0.jpg","text":"TemporaryFile(/tmp/multipartBody719565656554814134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556317554,"filename":"image_11012025_01_39_02_269895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0b968eabe1f0ae7138de9e4ac22bdee8.jpg","text":"TemporaryFile(/tmp/multipartBody318903548454868964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556317554,"filename":"image_11012025_01_39_02_269895_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4b8b3054a5413c1ef278c10f0a202c2f.jpg","text":"TemporaryFile(/tmp/multipartBody6679384242466640235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556317554,"filename":"image_11012025_01_38_02_791093_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c56906530b33f4f8148c1f5faf328f31.jpg","text":"TemporaryFile(/tmp/multipartBody5446573500805412708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556317554,"filename":"image_11012025_01_39_02_269895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/72208e191f4a14b740ea549995ae6425.jpg","text":"TemporaryFile(/tmp/multipartBody7570731299245749153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556317554,"filename":"image_11012025_01_38_02_791093_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328023061","file1":"1328023059","file0":"1328023056","file4":"1328023068","file5":"1328023159","file3":"1328023064"},"map_files_photo_id_array":[{"photo_id":"1328023159","filename":"file5"},{"photo_id":"1328023061","filename":"file2"},{"photo_id":"1328023068","filename":"file4"},{"photo_id":"1328023059","filename":"file1"},{"photo_id":"1328023056","filename":"file0"},{"photo_id":"1328023064","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328023061":["hashtag1","hashtag2"]},{"1328023064":["hashtag1","hashtag2"]},{"1328023159":["hashtag1","hashtag2"]},{"1328023059":["hashtag1","hashtag2"]},{"1328023068":["hashtag1","hashtag2"]},{"1328023056":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328023061, 1328023064, 1328023159, 1328023059, 1328023068, 1328023056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.98442077636719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:45:03.023402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/39/image_11012025_01_39_02_269895_0003.jpg', '/home/pi/Desktop/images/11012025/01/40/image_11012025_01_40_02_764358_0000.jpg', '/home/pi/Desktop/images/11012025/01/40/image_11012025_01_40_02_764358_0001.jpg', '/home/pi/Desktop/images/11012025/01/40/image_11012025_01_40_02_764358_0002.jpg', '/home/pi/Desktop/images/11012025/01/40/image_11012025_01_40_02_764358_0003.jpg', '/home/pi/Desktop/images/11012025/01/41/image_11012025_01_41_02_293657_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/39/image_11012025_01_39_02_269895_0003.jpg
/home/pi/Desktop/images/11012025/01/40/image_11012025_01_40_02_764358_0000.jpg
/home/pi/Desktop/images/11012025/01/40/image_11012025_01_40_02_764358_0001.jpg
/home/pi/Desktop/images/11012025/01/40/image_11012025_01_40_02_764358_0002.jpg
/home/pi/Desktop/images/11012025/01/40/image_11012025_01_40_02_764358_0003.jpg
/home/pi/Desktop/images/11012025/01/41/image_11012025_01_41_02_293657_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328023736","1328023684","1328023746","1328023629","1328023701","1328023577"],"photo_ids_order":["1328023577","1328023629","1328023684","1328023701","1328023736","1328023746"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/89de0636be39527d66f327db279a0a8a.jpg","text":"TemporaryFile(/tmp/multipartBody8531477104533687030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556378098,"filename":"image_11012025_01_40_02_764358_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bcf1cdd23af44f620d2dc1842459dfee.jpg","text":"TemporaryFile(/tmp/multipartBody2908000409211613210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556378098,"filename":"image_11012025_01_40_02_764358_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2def674ec4095470e676f46a5579d60d.jpg","text":"TemporaryFile(/tmp/multipartBody9096032696207509548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556378098,"filename":"image_11012025_01_41_02_293657_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/02066d40ffc1f9d94e009d0a6cce4289.jpg","text":"TemporaryFile(/tmp/multipartBody1269417695171984930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556378098,"filename":"image_11012025_01_40_02_764358_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/286bde2c9817ffdea789f2dfb821610b.jpg","text":"TemporaryFile(/tmp/multipartBody5942984066164529275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556378098,"filename":"image_11012025_01_40_02_764358_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8a3c0cd5afa09ef800cfbf07e8ff77ea.jpg","text":"TemporaryFile(/tmp/multipartBody5137986300463703364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556378098,"filename":"image_11012025_01_39_02_269895_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328023684","file1":"1328023629","file0":"1328023577","file4":"1328023736","file5":"1328023746","file3":"1328023701"},"map_files_photo_id_array":[{"photo_id":"1328023746","filename":"file5"},{"photo_id":"1328023684","filename":"file2"},{"photo_id":"1328023736","filename":"file4"},{"photo_id":"1328023629","filename":"file1"},{"photo_id":"1328023577","filename":"file0"},{"photo_id":"1328023701","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328023736":["hashtag1","hashtag2"]},{"1328023684":["hashtag1","hashtag2"]},{"1328023746":["hashtag1","hashtag2"]},{"1328023629":["hashtag1","hashtag2"]},{"1328023701":["hashtag1","hashtag2"]},{"1328023577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328023736, 1328023684, 1328023746, 1328023629, 1328023701, 1328023577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.28089952468872 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:46:02.607420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/41/image_11012025_01_41_02_293657_0001.jpg', '/home/pi/Desktop/images/11012025/01/41/image_11012025_01_41_02_293657_0002.jpg', '/home/pi/Desktop/images/11012025/01/41/image_11012025_01_41_02_293657_0003.jpg', '/home/pi/Desktop/images/11012025/01/42/image_11012025_01_42_02_792555_0000.jpg', '/home/pi/Desktop/images/11012025/01/42/image_11012025_01_42_02_792555_0001.jpg', '/home/pi/Desktop/images/11012025/01/42/image_11012025_01_42_02_792555_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/41/image_11012025_01_41_02_293657_0001.jpg
/home/pi/Desktop/images/11012025/01/41/image_11012025_01_41_02_293657_0002.jpg
/home/pi/Desktop/images/11012025/01/41/image_11012025_01_41_02_293657_0003.jpg
/home/pi/Desktop/images/11012025/01/42/image_11012025_01_42_02_792555_0000.jpg
/home/pi/Desktop/images/11012025/01/42/image_11012025_01_42_02_792555_0001.jpg
/home/pi/Desktop/images/11012025/01/42/image_11012025_01_42_02_792555_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.729716062545776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:46:22.184352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/41/image_11012025_01_41_02_293657_0001.jpg', '/home/pi/Desktop/images/11012025/01/41/image_11012025_01_41_02_293657_0002.jpg', '/home/pi/Desktop/images/11012025/01/41/image_11012025_01_41_02_293657_0003.jpg', '/home/pi/Desktop/images/11012025/01/42/image_11012025_01_42_02_792555_0000.jpg', '/home/pi/Desktop/images/11012025/01/42/image_11012025_01_42_02_792555_0001.jpg', '/home/pi/Desktop/images/11012025/01/42/image_11012025_01_42_02_792555_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/41/image_11012025_01_41_02_293657_0001.jpg
/home/pi/Desktop/images/11012025/01/41/image_11012025_01_41_02_293657_0002.jpg
/home/pi/Desktop/images/11012025/01/41/image_11012025_01_41_02_293657_0003.jpg
/home/pi/Desktop/images/11012025/01/42/image_11012025_01_42_02_792555_0000.jpg
/home/pi/Desktop/images/11012025/01/42/image_11012025_01_42_02_792555_0001.jpg
/home/pi/Desktop/images/11012025/01/42/image_11012025_01_42_02_792555_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328023798","1328023802","1328023795","1328023782","1328023770","1328023800"],"photo_ids_order":["1328023770","1328023782","1328023795","1328023798","1328023800","1328023802"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c34df98e86d61ce56afc082a24d18bc.jpg","text":"TemporaryFile(/tmp/multipartBody9133366279079201585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556457259,"filename":"image_11012025_01_42_02_792555_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1eb15f457a8dbdc4bae1fc6ef2327fbc.jpg","text":"TemporaryFile(/tmp/multipartBody1689569588891856022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556457259,"filename":"image_11012025_01_42_02_792555_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e9808da3ae32926c53f6e4590850d35d.jpg","text":"TemporaryFile(/tmp/multipartBody4970008543373538629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556457259,"filename":"image_11012025_01_41_02_293657_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3a812359ad76a8044a13a6fde5a4f966.jpg","text":"TemporaryFile(/tmp/multipartBody8211924438935148720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556457259,"filename":"image_11012025_01_41_02_293657_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f368d363ef64a323ef651f0d67d877a2.jpg","text":"TemporaryFile(/tmp/multipartBody2930039061726677736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556457259,"filename":"image_11012025_01_41_02_293657_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/083485228921a9f7f465877955c1ba75.jpg","text":"TemporaryFile(/tmp/multipartBody7448914008802722964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556457259,"filename":"image_11012025_01_42_02_792555_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328023795","file1":"1328023782","file0":"1328023770","file4":"1328023800","file5":"1328023802","file3":"1328023798"},"map_files_photo_id_array":[{"photo_id":"1328023802","filename":"file5"},{"photo_id":"1328023795","filename":"file2"},{"photo_id":"1328023800","filename":"file4"},{"photo_id":"1328023782","filename":"file1"},{"photo_id":"1328023770","filename":"file0"},{"photo_id":"1328023798","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328023798":["hashtag1","hashtag2"]},{"1328023802":["hashtag1","hashtag2"]},{"1328023795":["hashtag1","hashtag2"]},{"1328023782":["hashtag1","hashtag2"]},{"1328023770":["hashtag1","hashtag2"]},{"1328023800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328023798, 1328023802, 1328023795, 1328023782, 1328023770, 1328023800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.02840042114258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:47:22.757764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/42/image_11012025_01_42_02_792555_0003.jpg', '/home/pi/Desktop/images/11012025/01/43/image_11012025_01_43_02_293888_0000.jpg', '/home/pi/Desktop/images/11012025/01/43/image_11012025_01_43_02_293888_0001.jpg', '/home/pi/Desktop/images/11012025/01/43/image_11012025_01_43_02_293888_0002.jpg', '/home/pi/Desktop/images/11012025/01/43/image_11012025_01_43_02_293888_0003.jpg', '/home/pi/Desktop/images/11012025/01/44/image_11012025_01_44_02_788807_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/42/image_11012025_01_42_02_792555_0003.jpg
/home/pi/Desktop/images/11012025/01/43/image_11012025_01_43_02_293888_0000.jpg
/home/pi/Desktop/images/11012025/01/43/image_11012025_01_43_02_293888_0001.jpg
/home/pi/Desktop/images/11012025/01/43/image_11012025_01_43_02_293888_0002.jpg
/home/pi/Desktop/images/11012025/01/43/image_11012025_01_43_02_293888_0003.jpg
/home/pi/Desktop/images/11012025/01/44/image_11012025_01_44_02_788807_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":["1328024098","1328023888","1328024209","1328023813","1328023845","1328023988"],"photo_ids_order":["1328023813","1328023845","1328023888","1328023988","1328024098","1328024209"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2a3fe2a1be116d6f5e4c3dfe64bd0b4a.jpg","text":"TemporaryFile(/tmp/multipartBody7289976940994761532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556517841,"filename":"image_11012025_01_43_02_293888_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b6ae12649a0757210f033c3ac1687c7e.jpg","text":"TemporaryFile(/tmp/multipartBody5567707396987257368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556517841,"filename":"image_11012025_01_43_02_293888_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6116e5c4ec88e88c593eb52cb06c360b.jpg","text":"TemporaryFile(/tmp/multipartBody7358412526259853721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556517841,"filename":"image_11012025_01_44_02_788807_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8469a415807b5627fb5ef4724639c76b.jpg","text":"TemporaryFile(/tmp/multipartBody7349438976730303856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556517841,"filename":"image_11012025_01_42_02_792555_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d8bfe84327d36c619ed735fbefdbb8e1.jpg","text":"TemporaryFile(/tmp/multipartBody5337641741127808547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556517841,"filename":"image_11012025_01_43_02_293888_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bd2f4fe32d65773616e5688a46fca1d3.jpg","text":"TemporaryFile(/tmp/multipartBody6815228097556808986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556517841,"filename":"image_11012025_01_43_02_293888_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328023888","file1":"1328023845","file0":"1328023813","file4":"1328024098","file5":"1328024209","file3":"1328023988"},"map_files_photo_id_array":[{"photo_id":"1328024209","filename":"file5"},{"photo_id":"1328023888","filename":"file2"},{"photo_id":"1328024098","filename":"file4"},{"photo_id":"1328023845","filename":"file1"},{"photo_id":"1328023813","filename":"file0"},{"photo_id":"1328023988","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328024098":["hashtag1","hashtag2"]},{"1328023888":["hashtag1","hashtag2"]},{"1328024209":["hashtag1","hashtag2"]},{"1328023813":["hashtag1","hashtag2"]},{"1328023845":["hashtag1","hashtag2"]},{"1328023988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328024098, 1328023888, 1328024209, 1328023813, 1328023845, 1328023988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.76618766784668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:49:03.409069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/44/image_11012025_01_44_02_788807_0001.jpg', '/home/pi/Desktop/images/11012025/01/44/image_11012025_01_44_02_788807_0002.jpg', '/home/pi/Desktop/images/11012025/01/44/image_11012025_01_44_02_788807_0003.jpg', '/home/pi/Desktop/images/11012025/01/45/image_11012025_01_45_02_341380_0000.jpg', '/home/pi/Desktop/images/11012025/01/45/image_11012025_01_45_02_341380_0001.jpg', '/home/pi/Desktop/images/11012025/01/45/image_11012025_01_45_02_341380_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/44/image_11012025_01_44_02_788807_0001.jpg
/home/pi/Desktop/images/11012025/01/44/image_11012025_01_44_02_788807_0002.jpg
/home/pi/Desktop/images/11012025/01/44/image_11012025_01_44_02_788807_0003.jpg
/home/pi/Desktop/images/11012025/01/45/image_11012025_01_45_02_341380_0000.jpg
/home/pi/Desktop/images/11012025/01/45/image_11012025_01_45_02_341380_0001.jpg
/home/pi/Desktop/images/11012025/01/45/image_11012025_01_45_02_341380_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328024968","1328024970","1328024981","1328024978","1328024972","1328024975"],"photo_ids_order":["1328024968","1328024970","1328024972","1328024975","1328024978","1328024981"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3028027ae3537a1d04392615dfdb75c4.jpg","text":"TemporaryFile(/tmp/multipartBody6593136567750702456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556618353,"filename":"image_11012025_01_44_02_788807_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f4fd03a236b621139395a4e62974251e.jpg","text":"TemporaryFile(/tmp/multipartBody3397173998628908041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556618353,"filename":"image_11012025_01_44_02_788807_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/814363f845ef7c55339b3c05ebe53b24.jpg","text":"TemporaryFile(/tmp/multipartBody5515773672795550586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556618353,"filename":"image_11012025_01_45_02_341380_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9eaa54db0136e8708f6585410966a180.jpg","text":"TemporaryFile(/tmp/multipartBody9101660122985329014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556618353,"filename":"image_11012025_01_45_02_341380_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/20aa3a41296b2a3ec13acab61eb194ee.jpg","text":"TemporaryFile(/tmp/multipartBody6539392187664717382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556618353,"filename":"image_11012025_01_44_02_788807_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/61b6651f1af04f222c31615b1b207240.jpg","text":"TemporaryFile(/tmp/multipartBody7631145954056484005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556618353,"filename":"image_11012025_01_45_02_341380_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328024972","file1":"1328024970","file0":"1328024968","file4":"1328024978","file5":"1328024981","file3":"1328024975"},"map_files_photo_id_array":[{"photo_id":"1328024981","filename":"file5"},{"photo_id":"1328024972","filename":"file2"},{"photo_id":"1328024978","filename":"file4"},{"photo_id":"1328024970","filename":"file1"},{"photo_id":"1328024968","filename":"file0"},{"photo_id":"1328024975","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328024968":["hashtag1","hashtag2"]},{"1328024970":["hashtag1","hashtag2"]},{"1328024981":["hashtag1","hashtag2"]},{"1328024978":["hashtag1","hashtag2"]},{"1328024972":["hashtag1","hashtag2"]},{"1328024975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328024968, 1328024970, 1328024981, 1328024978, 1328024972, 1328024975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.94992661476135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:50:02.870497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/45/image_11012025_01_45_02_341380_0003.jpg', '/home/pi/Desktop/images/11012025/01/46/image_11012025_01_46_02_855953_0000.jpg', '/home/pi/Desktop/images/11012025/01/46/image_11012025_01_46_02_855953_0001.jpg', '/home/pi/Desktop/images/11012025/01/46/image_11012025_01_46_02_855953_0002.jpg', '/home/pi/Desktop/images/11012025/01/46/image_11012025_01_46_02_855953_0003.jpg', '/home/pi/Desktop/images/11012025/01/47/image_11012025_01_47_02_566076_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/45/image_11012025_01_45_02_341380_0003.jpg
/home/pi/Desktop/images/11012025/01/46/image_11012025_01_46_02_855953_0000.jpg
/home/pi/Desktop/images/11012025/01/46/image_11012025_01_46_02_855953_0001.jpg
/home/pi/Desktop/images/11012025/01/46/image_11012025_01_46_02_855953_0002.jpg
/home/pi/Desktop/images/11012025/01/46/image_11012025_01_46_02_855953_0003.jpg
/home/pi/Desktop/images/11012025/01/47/image_11012025_01_47_02_566076_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328025346","1328025349","1328025010","1328025208","1328025324","1328025110"],"photo_ids_order":["1328025010","1328025110","1328025208","1328025324","1328025346","1328025349"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e4229c13953593f53126fcf450fcc1c0.jpg","text":"TemporaryFile(/tmp/multipartBody6709926320373838067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556677924,"filename":"image_11012025_01_46_02_855953_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0ecbd139bcbe4ca703203c8953f5e63c.jpg","text":"TemporaryFile(/tmp/multipartBody4117818210786924621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556677924,"filename":"image_11012025_01_47_02_566076_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/32b1000cd8065ed51a0e14fb07284fbc.jpg","text":"TemporaryFile(/tmp/multipartBody2529087159132016921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556677924,"filename":"image_11012025_01_45_02_341380_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f506463cd018a3220aca990dadc8b844.jpg","text":"TemporaryFile(/tmp/multipartBody1223315960825740299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556677924,"filename":"image_11012025_01_46_02_855953_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/37fb1029de5fae1b6aceedb6b0bb5958.jpg","text":"TemporaryFile(/tmp/multipartBody8499135333808536984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556677924,"filename":"image_11012025_01_46_02_855953_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e65ba16f7bac5c0adddf59aadb3be6a9.jpg","text":"TemporaryFile(/tmp/multipartBody2911912936739228436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556677924,"filename":"image_11012025_01_46_02_855953_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328025208","file1":"1328025110","file0":"1328025010","file4":"1328025346","file5":"1328025349","file3":"1328025324"},"map_files_photo_id_array":[{"photo_id":"1328025349","filename":"file5"},{"photo_id":"1328025208","filename":"file2"},{"photo_id":"1328025346","filename":"file4"},{"photo_id":"1328025110","filename":"file1"},{"photo_id":"1328025010","filename":"file0"},{"photo_id":"1328025324","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328025346":["hashtag1","hashtag2"]},{"1328025349":["hashtag1","hashtag2"]},{"1328025010":["hashtag1","hashtag2"]},{"1328025208":["hashtag1","hashtag2"]},{"1328025324":["hashtag1","hashtag2"]},{"1328025110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328025346, 1328025349, 1328025010, 1328025208, 1328025324, 1328025110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.469552755355835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:51:02.481902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/47/image_11012025_01_47_02_566076_0001.jpg', '/home/pi/Desktop/images/11012025/01/47/image_11012025_01_47_02_566076_0002.jpg', '/home/pi/Desktop/images/11012025/01/47/image_11012025_01_47_02_566076_0003.jpg', '/home/pi/Desktop/images/11012025/01/48/image_11012025_01_48_03_094788_0000.jpg', '/home/pi/Desktop/images/11012025/01/48/image_11012025_01_48_03_094788_0001.jpg', '/home/pi/Desktop/images/11012025/01/48/image_11012025_01_48_03_094788_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/47/image_11012025_01_47_02_566076_0001.jpg
/home/pi/Desktop/images/11012025/01/47/image_11012025_01_47_02_566076_0002.jpg
/home/pi/Desktop/images/11012025/01/47/image_11012025_01_47_02_566076_0003.jpg
/home/pi/Desktop/images/11012025/01/48/image_11012025_01_48_03_094788_0000.jpg
/home/pi/Desktop/images/11012025/01/48/image_11012025_01_48_03_094788_0001.jpg
/home/pi/Desktop/images/11012025/01/48/image_11012025_01_48_03_094788_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.661231517791748 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:51:21.796140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/47/image_11012025_01_47_02_566076_0001.jpg', '/home/pi/Desktop/images/11012025/01/47/image_11012025_01_47_02_566076_0002.jpg', '/home/pi/Desktop/images/11012025/01/47/image_11012025_01_47_02_566076_0003.jpg', '/home/pi/Desktop/images/11012025/01/48/image_11012025_01_48_03_094788_0000.jpg', '/home/pi/Desktop/images/11012025/01/48/image_11012025_01_48_03_094788_0001.jpg', '/home/pi/Desktop/images/11012025/01/48/image_11012025_01_48_03_094788_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/47/image_11012025_01_47_02_566076_0001.jpg
/home/pi/Desktop/images/11012025/01/47/image_11012025_01_47_02_566076_0002.jpg
/home/pi/Desktop/images/11012025/01/47/image_11012025_01_47_02_566076_0003.jpg
/home/pi/Desktop/images/11012025/01/48/image_11012025_01_48_03_094788_0000.jpg
/home/pi/Desktop/images/11012025/01/48/image_11012025_01_48_03_094788_0001.jpg
/home/pi/Desktop/images/11012025/01/48/image_11012025_01_48_03_094788_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328025541","1328025543","1328025548","1328025536","1328025545","1328025539"],"photo_ids_order":["1328025536","1328025539","1328025541","1328025543","1328025545","1328025548"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a701b32d1f849566ecfb948883028c84.jpg","text":"TemporaryFile(/tmp/multipartBody3806429501020383820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556756785,"filename":"image_11012025_01_47_02_566076_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5e445864952c4202834d763dfc308758.jpg","text":"TemporaryFile(/tmp/multipartBody8132643928342273670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556756785,"filename":"image_11012025_01_48_03_094788_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b1a716ba84bddb128cb7f9c7edc0a9e0.jpg","text":"TemporaryFile(/tmp/multipartBody4952161654802614169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556756785,"filename":"image_11012025_01_48_03_094788_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6517ccaff523fe5e4420b0f8f258d44a.jpg","text":"TemporaryFile(/tmp/multipartBody1430159946783151240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556756785,"filename":"image_11012025_01_47_02_566076_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a783d5333ea87119c08ba5e009b3f8ac.jpg","text":"TemporaryFile(/tmp/multipartBody4284663729122267746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556756785,"filename":"image_11012025_01_48_03_094788_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/84fd263542149961dd362fb4ac247230.jpg","text":"TemporaryFile(/tmp/multipartBody7961808942845714312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556756785,"filename":"image_11012025_01_47_02_566076_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328025541","file1":"1328025539","file0":"1328025536","file4":"1328025545","file5":"1328025548","file3":"1328025543"},"map_files_photo_id_array":[{"photo_id":"1328025548","filename":"file5"},{"photo_id":"1328025541","filename":"file2"},{"photo_id":"1328025545","filename":"file4"},{"photo_id":"1328025539","filename":"file1"},{"photo_id":"1328025536","filename":"file0"},{"photo_id":"1328025543","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328025541":["hashtag1","hashtag2"]},{"1328025543":["hashtag1","hashtag2"]},{"1328025548":["hashtag1","hashtag2"]},{"1328025536":["hashtag1","hashtag2"]},{"1328025545":["hashtag1","hashtag2"]},{"1328025539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328025541, 1328025543, 1328025548, 1328025536, 1328025545, 1328025539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.62391185760498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:52:22.494561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/48/image_11012025_01_48_03_094788_0003.jpg', '/home/pi/Desktop/images/11012025/01/49/image_11012025_01_49_02_609575_0000.jpg', '/home/pi/Desktop/images/11012025/01/49/image_11012025_01_49_02_609575_0001.jpg', '/home/pi/Desktop/images/11012025/01/49/image_11012025_01_49_02_609575_0002.jpg', '/home/pi/Desktop/images/11012025/01/49/image_11012025_01_49_02_609575_0003.jpg', '/home/pi/Desktop/images/11012025/01/50/image_11012025_01_50_03_083033_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/48/image_11012025_01_48_03_094788_0003.jpg
/home/pi/Desktop/images/11012025/01/49/image_11012025_01_49_02_609575_0000.jpg
/home/pi/Desktop/images/11012025/01/49/image_11012025_01_49_02_609575_0001.jpg
/home/pi/Desktop/images/11012025/01/49/image_11012025_01_49_02_609575_0002.jpg
/home/pi/Desktop/images/11012025/01/49/image_11012025_01_49_02_609575_0003.jpg
/home/pi/Desktop/images/11012025/01/50/image_11012025_01_50_03_083033_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328025747","1328025741","1328025750","1328025744","1328025650","1328025752"],"photo_ids_order":["1328025650","1328025741","1328025744","1328025747","1328025750","1328025752"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c69ad6364007ede63204a57dcc6e32d0.jpg","text":"TemporaryFile(/tmp/multipartBody7468351089822173719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556817666,"filename":"image_11012025_01_49_02_609575_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4f898a52820c5abd5a24a94f15b9211b.jpg","text":"TemporaryFile(/tmp/multipartBody8945178704523656208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556817666,"filename":"image_11012025_01_49_02_609575_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3cd8506f09a05dac36ecada0e07b2b54.jpg","text":"TemporaryFile(/tmp/multipartBody8957538323251210651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556817666,"filename":"image_11012025_01_49_02_609575_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fa810fb10cbf9c920269a918193f86e7.jpg","text":"TemporaryFile(/tmp/multipartBody8117580102489115761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556817666,"filename":"image_11012025_01_49_02_609575_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2242635da6105c9f9750862ba110aa86.jpg","text":"TemporaryFile(/tmp/multipartBody7753418415530313489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556817666,"filename":"image_11012025_01_48_03_094788_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/74422a612111ea3342c6517bc0d05df9.jpg","text":"TemporaryFile(/tmp/multipartBody1310488736752490318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556817666,"filename":"image_11012025_01_50_03_083033_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328025744","file1":"1328025741","file0":"1328025650","file4":"1328025750","file5":"1328025752","file3":"1328025747"},"map_files_photo_id_array":[{"photo_id":"1328025752","filename":"file5"},{"photo_id":"1328025744","filename":"file2"},{"photo_id":"1328025750","filename":"file4"},{"photo_id":"1328025741","filename":"file1"},{"photo_id":"1328025650","filename":"file0"},{"photo_id":"1328025747","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328025747":["hashtag1","hashtag2"]},{"1328025741":["hashtag1","hashtag2"]},{"1328025750":["hashtag1","hashtag2"]},{"1328025744":["hashtag1","hashtag2"]},{"1328025650":["hashtag1","hashtag2"]},{"1328025752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328025747, 1328025741, 1328025750, 1328025744, 1328025650, 1328025752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.40734148025513 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:53:21.983770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/50/image_11012025_01_50_03_083033_0001.jpg', '/home/pi/Desktop/images/11012025/01/50/image_11012025_01_50_03_083033_0002.jpg', '/home/pi/Desktop/images/11012025/01/50/image_11012025_01_50_03_083033_0003.jpg', '/home/pi/Desktop/images/11012025/01/51/image_11012025_01_51_02_734360_0000.jpg', '/home/pi/Desktop/images/11012025/01/51/image_11012025_01_51_02_734360_0001.jpg', '/home/pi/Desktop/images/11012025/01/51/image_11012025_01_51_02_734360_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/50/image_11012025_01_50_03_083033_0001.jpg
/home/pi/Desktop/images/11012025/01/50/image_11012025_01_50_03_083033_0002.jpg
/home/pi/Desktop/images/11012025/01/50/image_11012025_01_50_03_083033_0003.jpg
/home/pi/Desktop/images/11012025/01/51/image_11012025_01_51_02_734360_0000.jpg
/home/pi/Desktop/images/11012025/01/51/image_11012025_01_51_02_734360_0001.jpg
/home/pi/Desktop/images/11012025/01/51/image_11012025_01_51_02_734360_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328025763","1328025757","1328025765","1328025768","1328025759","1328025761"],"photo_ids_order":["1328025757","1328025759","1328025761","1328025763","1328025765","1328025768"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fa70d3b50433dd3b9740173c4c63b679.jpg","text":"TemporaryFile(/tmp/multipartBody6295747229837408686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556876966,"filename":"image_11012025_01_51_02_734360_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b46d6c93a1b9aa42c5301ae3eff65504.jpg","text":"TemporaryFile(/tmp/multipartBody6943919340905230024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556876966,"filename":"image_11012025_01_50_03_083033_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bbffd88128f3fa9f8f26572c8eb40bf7.jpg","text":"TemporaryFile(/tmp/multipartBody1724322361630004841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556876966,"filename":"image_11012025_01_51_02_734360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/49683e18ec515fac9f70fdb46e57c2be.jpg","text":"TemporaryFile(/tmp/multipartBody3773792242420479018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556876966,"filename":"image_11012025_01_51_02_734360_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b2a2dbe243edc8c0c9b25d307078215b.jpg","text":"TemporaryFile(/tmp/multipartBody8707510166373461360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556876966,"filename":"image_11012025_01_50_03_083033_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0cb5c4128f72bbc269cadb264f25af58.jpg","text":"TemporaryFile(/tmp/multipartBody8029541564490520523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556876966,"filename":"image_11012025_01_50_03_083033_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328025761","file1":"1328025759","file0":"1328025757","file4":"1328025765","file5":"1328025768","file3":"1328025763"},"map_files_photo_id_array":[{"photo_id":"1328025768","filename":"file5"},{"photo_id":"1328025761","filename":"file2"},{"photo_id":"1328025765","filename":"file4"},{"photo_id":"1328025759","filename":"file1"},{"photo_id":"1328025757","filename":"file0"},{"photo_id":"1328025763","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328025763":["hashtag1","hashtag2"]},{"1328025757":["hashtag1","hashtag2"]},{"1328025765":["hashtag1","hashtag2"]},{"1328025768":["hashtag1","hashtag2"]},{"1328025759":["hashtag1","hashtag2"]},{"1328025761":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328025763, 1328025757, 1328025765, 1328025768, 1328025759, 1328025761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.86473202705383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:54:22.485506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/51/image_11012025_01_51_02_734360_0003.jpg', '/home/pi/Desktop/images/11012025/01/52/image_11012025_01_52_02_206741_0000.jpg', '/home/pi/Desktop/images/11012025/01/52/image_11012025_01_52_02_206741_0001.jpg', '/home/pi/Desktop/images/11012025/01/52/image_11012025_01_52_02_206741_0002.jpg', '/home/pi/Desktop/images/11012025/01/52/image_11012025_01_52_02_206741_0003.jpg', '/home/pi/Desktop/images/11012025/01/53/image_11012025_01_53_02_834650_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/51/image_11012025_01_51_02_734360_0003.jpg
/home/pi/Desktop/images/11012025/01/52/image_11012025_01_52_02_206741_0000.jpg
/home/pi/Desktop/images/11012025/01/52/image_11012025_01_52_02_206741_0001.jpg
/home/pi/Desktop/images/11012025/01/52/image_11012025_01_52_02_206741_0002.jpg
/home/pi/Desktop/images/11012025/01/52/image_11012025_01_52_02_206741_0003.jpg
/home/pi/Desktop/images/11012025/01/53/image_11012025_01_53_02_834650_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.704700946807861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:55:02.685401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/51/image_11012025_01_51_02_734360_0003.jpg', '/home/pi/Desktop/images/11012025/01/52/image_11012025_01_52_02_206741_0000.jpg', '/home/pi/Desktop/images/11012025/01/52/image_11012025_01_52_02_206741_0001.jpg', '/home/pi/Desktop/images/11012025/01/52/image_11012025_01_52_02_206741_0002.jpg', '/home/pi/Desktop/images/11012025/01/52/image_11012025_01_52_02_206741_0003.jpg', '/home/pi/Desktop/images/11012025/01/53/image_11012025_01_53_02_834650_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/51/image_11012025_01_51_02_734360_0003.jpg
/home/pi/Desktop/images/11012025/01/52/image_11012025_01_52_02_206741_0000.jpg
/home/pi/Desktop/images/11012025/01/52/image_11012025_01_52_02_206741_0001.jpg
/home/pi/Desktop/images/11012025/01/52/image_11012025_01_52_02_206741_0002.jpg
/home/pi/Desktop/images/11012025/01/52/image_11012025_01_52_02_206741_0003.jpg
/home/pi/Desktop/images/11012025/01/53/image_11012025_01_53_02_834650_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":["1328025814","1328025810","1328025812","1328025800","1328025803","1328025806"],"photo_ids_order":["1328025800","1328025803","1328025806","1328025810","1328025812","1328025814"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dd2082c669b1b934055bb226817eaa03.jpg","text":"TemporaryFile(/tmp/multipartBody2619666519402071293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556977885,"filename":"image_11012025_01_53_02_834650_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9284f1b86e56fc7992de816aaea74378.jpg","text":"TemporaryFile(/tmp/multipartBody3135173622520504392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556977885,"filename":"image_11012025_01_52_02_206741_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/69b418c324917deed46df1c642456c5f.jpg","text":"TemporaryFile(/tmp/multipartBody2424385659549987406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556977885,"filename":"image_11012025_01_52_02_206741_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/739927cfb4a64fc6087f64efa784f27c.jpg","text":"TemporaryFile(/tmp/multipartBody3395882566427992136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556977885,"filename":"image_11012025_01_51_02_734360_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0b15fe01638bb0a8fe181c59081302d5.jpg","text":"TemporaryFile(/tmp/multipartBody4242684844797884015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556977885,"filename":"image_11012025_01_52_02_206741_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9afa53c457363c4109846b5313de9449.jpg","text":"TemporaryFile(/tmp/multipartBody1640460935628684383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736556977885,"filename":"image_11012025_01_52_02_206741_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328025806","file1":"1328025803","file0":"1328025800","file4":"1328025812","file5":"1328025814","file3":"1328025810"},"map_files_photo_id_array":[{"photo_id":"1328025814","filename":"file5"},{"photo_id":"1328025806","filename":"file2"},{"photo_id":"1328025812","filename":"file4"},{"photo_id":"1328025803","filename":"file1"},{"photo_id":"1328025800","filename":"file0"},{"photo_id":"1328025810","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328025814":["hashtag1","hashtag2"]},{"1328025810":["hashtag1","hashtag2"]},{"1328025812":["hashtag1","hashtag2"]},{"1328025800":["hashtag1","hashtag2"]},{"1328025803":["hashtag1","hashtag2"]},{"1328025806":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328025814, 1328025810, 1328025812, 1328025800, 1328025803, 1328025806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.98844647407532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 01:56:22.709632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/53/image_11012025_01_53_02_834650_0001.jpg', '/home/pi/Desktop/images/11012025/01/53/image_11012025_01_53_02_834650_0002.jpg', '/home/pi/Desktop/images/11012025/01/53/image_11012025_01_53_02_834650_0003.jpg', '/home/pi/Desktop/images/11012025/01/54/image_11012025_01_54_02_365956_0000.jpg', '/home/pi/Desktop/images/11012025/01/54/image_11012025_01_54_02_365956_0001.jpg', '/home/pi/Desktop/images/11012025/01/54/image_11012025_01_54_02_365956_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/53/image_11012025_01_53_02_834650_0001.jpg
/home/pi/Desktop/images/11012025/01/53/image_11012025_01_53_02_834650_0002.jpg
/home/pi/Desktop/images/11012025/01/53/image_11012025_01_53_02_834650_0003.jpg
/home/pi/Desktop/images/11012025/01/54/image_11012025_01_54_02_365956_0000.jpg
/home/pi/Desktop/images/11012025/01/54/image_11012025_01_54_02_365956_0001.jpg
/home/pi/Desktop/images/11012025/01/54/image_11012025_01_54_02_365956_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.651617527008057 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:57:02.919032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/53/image_11012025_01_53_02_834650_0001.jpg', '/home/pi/Desktop/images/11012025/01/53/image_11012025_01_53_02_834650_0002.jpg', '/home/pi/Desktop/images/11012025/01/53/image_11012025_01_53_02_834650_0003.jpg', '/home/pi/Desktop/images/11012025/01/54/image_11012025_01_54_02_365956_0000.jpg', '/home/pi/Desktop/images/11012025/01/54/image_11012025_01_54_02_365956_0001.jpg', '/home/pi/Desktop/images/11012025/01/54/image_11012025_01_54_02_365956_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/53/image_11012025_01_53_02_834650_0001.jpg
/home/pi/Desktop/images/11012025/01/53/image_11012025_01_53_02_834650_0002.jpg
/home/pi/Desktop/images/11012025/01/53/image_11012025_01_53_02_834650_0003.jpg
/home/pi/Desktop/images/11012025/01/54/image_11012025_01_54_02_365956_0000.jpg
/home/pi/Desktop/images/11012025/01/54/image_11012025_01_54_02_365956_0001.jpg
/home/pi/Desktop/images/11012025/01/54/image_11012025_01_54_02_365956_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328025835","1328025838","1328025847","1328025832","1328025834","1328025831"],"photo_ids_order":["1328025831","1328025832","1328025834","1328025835","1328025838","1328025847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/377e23645f3780af31736721d3ee08ea.jpg","text":"TemporaryFile(/tmp/multipartBody9123523751861615273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557098009,"filename":"image_11012025_01_54_02_365956_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/09cbd3c2c4d9d43d7ddbee28c1fcac00.jpg","text":"TemporaryFile(/tmp/multipartBody319178898805867636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557098009,"filename":"image_11012025_01_54_02_365956_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1c9cccda1bd80296cec5cd85f83316b2.jpg","text":"TemporaryFile(/tmp/multipartBody4904721588755988078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557098009,"filename":"image_11012025_01_54_02_365956_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fe085ee7e05b8ac7bdc9499a2b130321.jpg","text":"TemporaryFile(/tmp/multipartBody2666992588407487979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557098009,"filename":"image_11012025_01_53_02_834650_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/132f832a99f18a59ca375765df35fb5a.jpg","text":"TemporaryFile(/tmp/multipartBody2020545881462603627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557098009,"filename":"image_11012025_01_53_02_834650_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ba1df2e51a61c3ee24c038a6f1fac0eb.jpg","text":"TemporaryFile(/tmp/multipartBody3683670215717882226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557098009,"filename":"image_11012025_01_53_02_834650_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328025834","file1":"1328025832","file0":"1328025831","file4":"1328025838","file5":"1328025847","file3":"1328025835"},"map_files_photo_id_array":[{"photo_id":"1328025847","filename":"file5"},{"photo_id":"1328025834","filename":"file2"},{"photo_id":"1328025838","filename":"file4"},{"photo_id":"1328025832","filename":"file1"},{"photo_id":"1328025831","filename":"file0"},{"photo_id":"1328025835","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328025835":["hashtag1","hashtag2"]},{"1328025838":["hashtag1","hashtag2"]},{"1328025847":["hashtag1","hashtag2"]},{"1328025832":["hashtag1","hashtag2"]},{"1328025834":["hashtag1","hashtag2"]},{"1328025831":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328025835, 1328025838, 1328025847, 1328025832, 1328025834, 1328025831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.29340600967407 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 01:59:02.841064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/54/image_11012025_01_54_02_365956_0003.jpg', '/home/pi/Desktop/images/11012025/01/55/image_11012025_01_55_02_884794_0000.jpg', '/home/pi/Desktop/images/11012025/01/55/image_11012025_01_55_02_884794_0001.jpg', '/home/pi/Desktop/images/11012025/01/55/image_11012025_01_55_02_884794_0002.jpg', '/home/pi/Desktop/images/11012025/01/55/image_11012025_01_55_02_884794_0003.jpg', '/home/pi/Desktop/images/11012025/01/56/image_11012025_01_56_02_426684_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/54/image_11012025_01_54_02_365956_0003.jpg
/home/pi/Desktop/images/11012025/01/55/image_11012025_01_55_02_884794_0000.jpg
/home/pi/Desktop/images/11012025/01/55/image_11012025_01_55_02_884794_0001.jpg
/home/pi/Desktop/images/11012025/01/55/image_11012025_01_55_02_884794_0002.jpg
/home/pi/Desktop/images/11012025/01/55/image_11012025_01_55_02_884794_0003.jpg
/home/pi/Desktop/images/11012025/01/56/image_11012025_01_56_02_426684_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328025910","1328025894","1328025912","1328025899","1328025905","1328025914"],"photo_ids_order":["1328025894","1328025899","1328025905","1328025910","1328025912","1328025914"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1a08d8b91bb4d6b42698eb7646706518.jpg","text":"TemporaryFile(/tmp/multipartBody94386743010108728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557217820,"filename":"image_11012025_01_55_02_884794_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b2ca7570fe159e60d8fcd6570355cf68.jpg","text":"TemporaryFile(/tmp/multipartBody2151037101247626876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557217820,"filename":"image_11012025_01_54_02_365956_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/052b477883276178c513b15bef8eeea4.jpg","text":"TemporaryFile(/tmp/multipartBody8610336728290033069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557217820,"filename":"image_11012025_01_55_02_884794_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dafb47da949ac7422df28e3d13cda01a.jpg","text":"TemporaryFile(/tmp/multipartBody8640130182101657938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557217820,"filename":"image_11012025_01_55_02_884794_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/27128611c780690cf1486d07702520f0.jpg","text":"TemporaryFile(/tmp/multipartBody3112532092401287581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557217820,"filename":"image_11012025_01_55_02_884794_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aa09a831f5c7e7e2debe4f3edf09c23f.jpg","text":"TemporaryFile(/tmp/multipartBody2023483065022632967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557217820,"filename":"image_11012025_01_56_02_426684_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328025905","file1":"1328025899","file0":"1328025894","file4":"1328025912","file5":"1328025914","file3":"1328025910"},"map_files_photo_id_array":[{"photo_id":"1328025914","filename":"file5"},{"photo_id":"1328025905","filename":"file2"},{"photo_id":"1328025912","filename":"file4"},{"photo_id":"1328025899","filename":"file1"},{"photo_id":"1328025894","filename":"file0"},{"photo_id":"1328025910","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328025910":["hashtag1","hashtag2"]},{"1328025894":["hashtag1","hashtag2"]},{"1328025912":["hashtag1","hashtag2"]},{"1328025899":["hashtag1","hashtag2"]},{"1328025905":["hashtag1","hashtag2"]},{"1328025914":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328025910, 1328025894, 1328025912, 1328025899, 1328025905, 1328025914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.77005314826965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:00:02.115550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/56/image_11012025_01_56_02_426684_0001.jpg', '/home/pi/Desktop/images/11012025/01/56/image_11012025_01_56_02_426684_0002.jpg', '/home/pi/Desktop/images/11012025/01/56/image_11012025_01_56_02_426684_0003.jpg', '/home/pi/Desktop/images/11012025/01/57/image_11012025_01_57_03_081420_0000.jpg', '/home/pi/Desktop/images/11012025/01/57/image_11012025_01_57_03_081420_0001.jpg', '/home/pi/Desktop/images/11012025/01/57/image_11012025_01_57_03_081420_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/56/image_11012025_01_56_02_426684_0001.jpg
/home/pi/Desktop/images/11012025/01/56/image_11012025_01_56_02_426684_0002.jpg
/home/pi/Desktop/images/11012025/01/56/image_11012025_01_56_02_426684_0003.jpg
/home/pi/Desktop/images/11012025/01/57/image_11012025_01_57_03_081420_0000.jpg
/home/pi/Desktop/images/11012025/01/57/image_11012025_01_57_03_081420_0001.jpg
/home/pi/Desktop/images/11012025/01/57/image_11012025_01_57_03_081420_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328025922","1328025928","1328025924","1328025932","1328025926","1328025929"],"photo_ids_order":["1328025922","1328025924","1328025926","1328025928","1328025929","1328025932"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/049c1e3f5322d7d5369a87e7adc6a149.jpg","text":"TemporaryFile(/tmp/multipartBody700990571030450859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557277151,"filename":"image_11012025_01_56_02_426684_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2e496aff7fca9ef28a44f5a8493730c9.jpg","text":"TemporaryFile(/tmp/multipartBody718582882638152793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557277151,"filename":"image_11012025_01_57_03_081420_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e2cee141c2af2c442d518ec6e5367418.jpg","text":"TemporaryFile(/tmp/multipartBody6873787254446868118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557277151,"filename":"image_11012025_01_56_02_426684_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c14645bbb01e46e5d07a2be6b7f2074f.jpg","text":"TemporaryFile(/tmp/multipartBody7712411621165463848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557277151,"filename":"image_11012025_01_57_03_081420_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4de05faf0d9871e2293c49bbdc2edc92.jpg","text":"TemporaryFile(/tmp/multipartBody1364831005916856792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557277151,"filename":"image_11012025_01_56_02_426684_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fdf59fab069319afbea574c115629b26.jpg","text":"TemporaryFile(/tmp/multipartBody9046133741409443425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557277151,"filename":"image_11012025_01_57_03_081420_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328025926","file1":"1328025924","file0":"1328025922","file4":"1328025929","file5":"1328025932","file3":"1328025928"},"map_files_photo_id_array":[{"photo_id":"1328025932","filename":"file5"},{"photo_id":"1328025926","filename":"file2"},{"photo_id":"1328025929","filename":"file4"},{"photo_id":"1328025924","filename":"file1"},{"photo_id":"1328025922","filename":"file0"},{"photo_id":"1328025928","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328025922":["hashtag1","hashtag2"]},{"1328025928":["hashtag1","hashtag2"]},{"1328025924":["hashtag1","hashtag2"]},{"1328025932":["hashtag1","hashtag2"]},{"1328025926":["hashtag1","hashtag2"]},{"1328025929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328025922, 1328025928, 1328025924, 1328025932, 1328025926, 1328025929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.79213833808899 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:01:02.871762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/57/image_11012025_01_57_03_081420_0003.jpg', '/home/pi/Desktop/images/11012025/01/58/image_11012025_01_58_02_616565_0000.jpg', '/home/pi/Desktop/images/11012025/01/58/image_11012025_01_58_02_616565_0001.jpg', '/home/pi/Desktop/images/11012025/01/58/image_11012025_01_58_02_616565_0002.jpg', '/home/pi/Desktop/images/11012025/01/58/image_11012025_01_58_02_616565_0003.jpg', '/home/pi/Desktop/images/11012025/01/59/image_11012025_01_59_02_238680_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/57/image_11012025_01_57_03_081420_0003.jpg
/home/pi/Desktop/images/11012025/01/58/image_11012025_01_58_02_616565_0000.jpg
/home/pi/Desktop/images/11012025/01/58/image_11012025_01_58_02_616565_0001.jpg
/home/pi/Desktop/images/11012025/01/58/image_11012025_01_58_02_616565_0002.jpg
/home/pi/Desktop/images/11012025/01/58/image_11012025_01_58_02_616565_0003.jpg
/home/pi/Desktop/images/11012025/01/59/image_11012025_01_59_02_238680_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328025982","1328025976","1328025978","1328025980","1328025974","1328025979"],"photo_ids_order":["1328025974","1328025976","1328025978","1328025979","1328025980","1328025982"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/688760f67ab76c2834dae41fb4d36df9.jpg","text":"TemporaryFile(/tmp/multipartBody5682728706782206738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557338068,"filename":"image_11012025_01_59_02_238680_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/84386c9d82e401b8e23d134e45770313.jpg","text":"TemporaryFile(/tmp/multipartBody864828919257010201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557338068,"filename":"image_11012025_01_58_02_616565_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a96375a0dd4a6c5b9a3360e05e10c2d4.jpg","text":"TemporaryFile(/tmp/multipartBody1583046821907435217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557338068,"filename":"image_11012025_01_58_02_616565_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2a972f75c819464fcce3e558078565f6.jpg","text":"TemporaryFile(/tmp/multipartBody7119857929662156892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557338068,"filename":"image_11012025_01_58_02_616565_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/82457f7467b8c8a0296c74f1994f3e20.jpg","text":"TemporaryFile(/tmp/multipartBody8422201604922595819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557338068,"filename":"image_11012025_01_57_03_081420_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fd7e1027804f309425e826df5679195e.jpg","text":"TemporaryFile(/tmp/multipartBody193135396592832379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557338068,"filename":"image_11012025_01_58_02_616565_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328025978","file1":"1328025976","file0":"1328025974","file4":"1328025980","file5":"1328025982","file3":"1328025979"},"map_files_photo_id_array":[{"photo_id":"1328025982","filename":"file5"},{"photo_id":"1328025978","filename":"file2"},{"photo_id":"1328025980","filename":"file4"},{"photo_id":"1328025976","filename":"file1"},{"photo_id":"1328025974","filename":"file0"},{"photo_id":"1328025979","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328025982":["hashtag1","hashtag2"]},{"1328025976":["hashtag1","hashtag2"]},{"1328025978":["hashtag1","hashtag2"]},{"1328025980":["hashtag1","hashtag2"]},{"1328025974":["hashtag1","hashtag2"]},{"1328025979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328025982, 1328025976, 1328025978, 1328025980, 1328025974, 1328025979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.62668013572693 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:02:02.365394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/59/image_11012025_01_59_02_238680_0001.jpg', '/home/pi/Desktop/images/11012025/01/59/image_11012025_01_59_02_238680_0002.jpg', '/home/pi/Desktop/images/11012025/01/59/image_11012025_01_59_02_238680_0003.jpg', '/home/pi/Desktop/images/11012025/02/00/image_11012025_02_00_02_454217_0000.jpg', '/home/pi/Desktop/images/11012025/02/00/image_11012025_02_00_02_454217_0001.jpg', '/home/pi/Desktop/images/11012025/02/00/image_11012025_02_00_02_454217_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/59/image_11012025_01_59_02_238680_0001.jpg
/home/pi/Desktop/images/11012025/01/59/image_11012025_01_59_02_238680_0002.jpg
/home/pi/Desktop/images/11012025/01/59/image_11012025_01_59_02_238680_0003.jpg
/home/pi/Desktop/images/11012025/02/00/image_11012025_02_00_02_454217_0000.jpg
/home/pi/Desktop/images/11012025/02/00/image_11012025_02_00_02_454217_0001.jpg
/home/pi/Desktop/images/11012025/02/00/image_11012025_02_00_02_454217_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.696073770523071 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:02:21.934382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/01/59/image_11012025_01_59_02_238680_0001.jpg', '/home/pi/Desktop/images/11012025/01/59/image_11012025_01_59_02_238680_0002.jpg', '/home/pi/Desktop/images/11012025/01/59/image_11012025_01_59_02_238680_0003.jpg', '/home/pi/Desktop/images/11012025/02/00/image_11012025_02_00_02_454217_0000.jpg', '/home/pi/Desktop/images/11012025/02/00/image_11012025_02_00_02_454217_0001.jpg', '/home/pi/Desktop/images/11012025/02/00/image_11012025_02_00_02_454217_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/01/59/image_11012025_01_59_02_238680_0001.jpg
/home/pi/Desktop/images/11012025/01/59/image_11012025_01_59_02_238680_0002.jpg
/home/pi/Desktop/images/11012025/01/59/image_11012025_01_59_02_238680_0003.jpg
/home/pi/Desktop/images/11012025/02/00/image_11012025_02_00_02_454217_0000.jpg
/home/pi/Desktop/images/11012025/02/00/image_11012025_02_00_02_454217_0001.jpg
/home/pi/Desktop/images/11012025/02/00/image_11012025_02_00_02_454217_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328027061","1328027262","1328026866","1328026653","1328027264","1328026406"],"photo_ids_order":["1328026406","1328026653","1328026866","1328027061","1328027262","1328027264"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f8b072287b5eb1306609bd21795cab0a.jpg","text":"TemporaryFile(/tmp/multipartBody5341138373527831751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557416992,"filename":"image_11012025_02_00_02_454217_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e571d2fa8bb0170cc1e4962d6782ddf1.jpg","text":"TemporaryFile(/tmp/multipartBody2113910108793183429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557416992,"filename":"image_11012025_02_00_02_454217_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b6890541fff1c0e5ea906ef4fcdf71e4.jpg","text":"TemporaryFile(/tmp/multipartBody5737081197519828062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557416992,"filename":"image_11012025_01_59_02_238680_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0a8d6200cbce447d28e4ff275288c90a.jpg","text":"TemporaryFile(/tmp/multipartBody1559242840703012062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557416992,"filename":"image_11012025_01_59_02_238680_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8393a49a2b12d74a1336c5a3ce1be8f0.jpg","text":"TemporaryFile(/tmp/multipartBody3844823611998082024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557416992,"filename":"image_11012025_02_00_02_454217_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6438a2321698dc03da8241f7375b7057.jpg","text":"TemporaryFile(/tmp/multipartBody2969397365777459291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557416992,"filename":"image_11012025_01_59_02_238680_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328026866","file1":"1328026653","file0":"1328026406","file4":"1328027262","file5":"1328027264","file3":"1328027061"},"map_files_photo_id_array":[{"photo_id":"1328027264","filename":"file5"},{"photo_id":"1328026866","filename":"file2"},{"photo_id":"1328027262","filename":"file4"},{"photo_id":"1328026653","filename":"file1"},{"photo_id":"1328026406","filename":"file0"},{"photo_id":"1328027061","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328027061":["hashtag1","hashtag2"]},{"1328027262":["hashtag1","hashtag2"]},{"1328026866":["hashtag1","hashtag2"]},{"1328026653":["hashtag1","hashtag2"]},{"1328027264":["hashtag1","hashtag2"]},{"1328026406":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328027061, 1328027262, 1328026866, 1328026653, 1328027264, 1328026406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.158838748931885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:03:22.411616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/00/image_11012025_02_00_02_454217_0003.jpg', '/home/pi/Desktop/images/11012025/02/01/image_11012025_02_01_02_126277_0000.jpg', '/home/pi/Desktop/images/11012025/02/01/image_11012025_02_01_02_126277_0001.jpg', '/home/pi/Desktop/images/11012025/02/01/image_11012025_02_01_02_126277_0002.jpg', '/home/pi/Desktop/images/11012025/02/01/image_11012025_02_01_02_126277_0003.jpg', '/home/pi/Desktop/images/11012025/02/02/image_11012025_02_02_02_708332_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/00/image_11012025_02_00_02_454217_0003.jpg
/home/pi/Desktop/images/11012025/02/01/image_11012025_02_01_02_126277_0000.jpg
/home/pi/Desktop/images/11012025/02/01/image_11012025_02_01_02_126277_0001.jpg
/home/pi/Desktop/images/11012025/02/01/image_11012025_02_01_02_126277_0002.jpg
/home/pi/Desktop/images/11012025/02/01/image_11012025_02_01_02_126277_0003.jpg
/home/pi/Desktop/images/11012025/02/02/image_11012025_02_02_02_708332_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328027289","1328027291","1328027411","1328027287","1328027269","1328027266"],"photo_ids_order":["1328027266","1328027269","1328027287","1328027289","1328027291","1328027411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5faf6b23003e019829294142320d1f7b.jpg","text":"TemporaryFile(/tmp/multipartBody7180198927299391689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557477380,"filename":"image_11012025_02_01_02_126277_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/45e880a2f143fd3d97d6da17e6074039.jpg","text":"TemporaryFile(/tmp/multipartBody2967903389799426995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557477380,"filename":"image_11012025_02_01_02_126277_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1a67890677e99e437a3960f6a622ab63.jpg","text":"TemporaryFile(/tmp/multipartBody6509153063732791262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557477380,"filename":"image_11012025_02_02_02_708332_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0bc2e7895d5bdd5e91dae72effe8f56e.jpg","text":"TemporaryFile(/tmp/multipartBody2980884681462712107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557477380,"filename":"image_11012025_02_01_02_126277_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/316ff88fc5ebcc0d81e398ad2a7c5a1f.jpg","text":"TemporaryFile(/tmp/multipartBody2827875228678018124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557477380,"filename":"image_11012025_02_01_02_126277_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0afb905d30bc8278ced85df45aa87e32.jpg","text":"TemporaryFile(/tmp/multipartBody3775636286046181877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557477380,"filename":"image_11012025_02_00_02_454217_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328027287","file1":"1328027269","file0":"1328027266","file4":"1328027291","file5":"1328027411","file3":"1328027289"},"map_files_photo_id_array":[{"photo_id":"1328027411","filename":"file5"},{"photo_id":"1328027287","filename":"file2"},{"photo_id":"1328027291","filename":"file4"},{"photo_id":"1328027269","filename":"file1"},{"photo_id":"1328027266","filename":"file0"},{"photo_id":"1328027289","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328027289":["hashtag1","hashtag2"]},{"1328027291":["hashtag1","hashtag2"]},{"1328027411":["hashtag1","hashtag2"]},{"1328027287":["hashtag1","hashtag2"]},{"1328027269":["hashtag1","hashtag2"]},{"1328027266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328027289, 1328027291, 1328027411, 1328027287, 1328027269, 1328027266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.53552007675171 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:04:21.918713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/02/image_11012025_02_02_02_708332_0001.jpg', '/home/pi/Desktop/images/11012025/02/02/image_11012025_02_02_02_708332_0002.jpg', '/home/pi/Desktop/images/11012025/02/02/image_11012025_02_02_02_708332_0003.jpg', '/home/pi/Desktop/images/11012025/02/03/image_11012025_02_03_02_280176_0000.jpg', '/home/pi/Desktop/images/11012025/02/03/image_11012025_02_03_02_280176_0001.jpg', '/home/pi/Desktop/images/11012025/02/03/image_11012025_02_03_02_280176_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/02/image_11012025_02_02_02_708332_0001.jpg
/home/pi/Desktop/images/11012025/02/02/image_11012025_02_02_02_708332_0002.jpg
/home/pi/Desktop/images/11012025/02/02/image_11012025_02_02_02_708332_0003.jpg
/home/pi/Desktop/images/11012025/02/03/image_11012025_02_03_02_280176_0000.jpg
/home/pi/Desktop/images/11012025/02/03/image_11012025_02_03_02_280176_0001.jpg
/home/pi/Desktop/images/11012025/02/03/image_11012025_02_03_02_280176_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328027894","1328028640","1328028310","1328028096","1328028642","1328028525"],"photo_ids_order":["1328027894","1328028096","1328028310","1328028525","1328028640","1328028642"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c574acbc21b5169f43935a66bcfd5a75.jpg","text":"TemporaryFile(/tmp/multipartBody6321155918194537347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557536993,"filename":"image_11012025_02_02_02_708332_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0de32b2a0ee3bda2fe6e58b1bdd7d187.jpg","text":"TemporaryFile(/tmp/multipartBody681456508326446466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557536993,"filename":"image_11012025_02_03_02_280176_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/26487ccf699dbb6007ebd86d8e1358e0.jpg","text":"TemporaryFile(/tmp/multipartBody7567635286166409813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557536993,"filename":"image_11012025_02_02_02_708332_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f74a03b5bdd3ad803d4077ec758d5854.jpg","text":"TemporaryFile(/tmp/multipartBody8038123724424625576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557536993,"filename":"image_11012025_02_02_02_708332_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c15b5a724978fc1823670a6df621484f.jpg","text":"TemporaryFile(/tmp/multipartBody6104833152352026639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557536993,"filename":"image_11012025_02_03_02_280176_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/03cd065dbaa927dd25eb918c3ecfffe2.jpg","text":"TemporaryFile(/tmp/multipartBody9095863714855107171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557536993,"filename":"image_11012025_02_03_02_280176_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328028310","file1":"1328028096","file0":"1328027894","file4":"1328028640","file5":"1328028642","file3":"1328028525"},"map_files_photo_id_array":[{"photo_id":"1328028642","filename":"file5"},{"photo_id":"1328028310","filename":"file2"},{"photo_id":"1328028640","filename":"file4"},{"photo_id":"1328028096","filename":"file1"},{"photo_id":"1328027894","filename":"file0"},{"photo_id":"1328028525","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328027894":["hashtag1","hashtag2"]},{"1328028640":["hashtag1","hashtag2"]},{"1328028310":["hashtag1","hashtag2"]},{"1328028096":["hashtag1","hashtag2"]},{"1328028642":["hashtag1","hashtag2"]},{"1328028525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328027894, 1328028640, 1328028310, 1328028096, 1328028642, 1328028525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.82843804359436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:05:22.435460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/03/image_11012025_02_03_02_280176_0003.jpg', '/home/pi/Desktop/images/11012025/02/04/image_11012025_02_04_02_815410_0000.jpg', '/home/pi/Desktop/images/11012025/02/04/image_11012025_02_04_02_815410_0001.jpg', '/home/pi/Desktop/images/11012025/02/04/image_11012025_02_04_02_815410_0002.jpg', '/home/pi/Desktop/images/11012025/02/04/image_11012025_02_04_02_815410_0003.jpg', '/home/pi/Desktop/images/11012025/02/05/image_11012025_02_05_02_327521_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/03/image_11012025_02_03_02_280176_0003.jpg
/home/pi/Desktop/images/11012025/02/04/image_11012025_02_04_02_815410_0000.jpg
/home/pi/Desktop/images/11012025/02/04/image_11012025_02_04_02_815410_0001.jpg
/home/pi/Desktop/images/11012025/02/04/image_11012025_02_04_02_815410_0002.jpg
/home/pi/Desktop/images/11012025/02/04/image_11012025_02_04_02_815410_0003.jpg
/home/pi/Desktop/images/11012025/02/05/image_11012025_02_05_02_327521_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":["1328028671","1328028668","1328028661","1328028670","1328028666","1328028663"],"photo_ids_order":["1328028661","1328028663","1328028666","1328028668","1328028670","1328028671"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/de0208ac01b534685e9a78ec534d8362.jpg","text":"TemporaryFile(/tmp/multipartBody4674524085044709316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557597399,"filename":"image_11012025_02_05_02_327521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/353c744b92dbd076d12b62f617fe2fde.jpg","text":"TemporaryFile(/tmp/multipartBody8235069873951495701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557597399,"filename":"image_11012025_02_04_02_815410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/137deb09c1c142245cda9580d68afbfd.jpg","text":"TemporaryFile(/tmp/multipartBody5289915624078164246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557597399,"filename":"image_11012025_02_03_02_280176_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/305b16219cd10e154e47e584ab716686.jpg","text":"TemporaryFile(/tmp/multipartBody1214443896838712306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557597399,"filename":"image_11012025_02_04_02_815410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6b5016c599a77c24e5a1c8e9573173d7.jpg","text":"TemporaryFile(/tmp/multipartBody678445938967834337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557597399,"filename":"image_11012025_02_04_02_815410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/48e48db0dc94e649a8db2b9144a0c45d.jpg","text":"TemporaryFile(/tmp/multipartBody4808936462950080407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557597399,"filename":"image_11012025_02_04_02_815410_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328028666","file1":"1328028663","file0":"1328028661","file4":"1328028670","file5":"1328028671","file3":"1328028668"},"map_files_photo_id_array":[{"photo_id":"1328028671","filename":"file5"},{"photo_id":"1328028666","filename":"file2"},{"photo_id":"1328028670","filename":"file4"},{"photo_id":"1328028663","filename":"file1"},{"photo_id":"1328028661","filename":"file0"},{"photo_id":"1328028668","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328028671":["hashtag1","hashtag2"]},{"1328028668":["hashtag1","hashtag2"]},{"1328028661":["hashtag1","hashtag2"]},{"1328028670":["hashtag1","hashtag2"]},{"1328028666":["hashtag1","hashtag2"]},{"1328028663":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328028671, 1328028668, 1328028661, 1328028670, 1328028666, 1328028663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.910950660705566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:07:03.322961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/05/image_11012025_02_05_02_327521_0002.jpg', '/home/pi/Desktop/images/11012025/02/05/image_11012025_02_05_02_327521_0003.jpg', '/home/pi/Desktop/images/11012025/02/06/image_11012025_02_06_02_836184_0000.jpg', '/home/pi/Desktop/images/11012025/02/06/image_11012025_02_06_02_836184_0001.jpg', '/home/pi/Desktop/images/11012025/02/06/image_11012025_02_06_02_836184_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/05/image_11012025_02_05_02_327521_0002.jpg
/home/pi/Desktop/images/11012025/02/05/image_11012025_02_05_02_327521_0003.jpg
/home/pi/Desktop/images/11012025/02/06/image_11012025_02_06_02_836184_0000.jpg
/home/pi/Desktop/images/11012025/02/06/image_11012025_02_06_02_836184_0001.jpg
/home/pi/Desktop/images/11012025/02/06/image_11012025_02_06_02_836184_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328029186","1328029237","1328029257","1328029259","1328029187"],"photo_ids_order":["1328029186","1328029187","1328029237","1328029257","1328029259"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6f4f9da09c848a249ae08d65153bdc32.jpg","text":"TemporaryFile(/tmp/multipartBody8509187386929984731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557695895,"filename":"image_11012025_02_05_02_327521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/107c63c143a9d55209df7385840d3764.jpg","text":"TemporaryFile(/tmp/multipartBody501239211771468350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557695895,"filename":"image_11012025_02_06_02_836184_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/588033ad8b850fff6ea362dfe00db4eb.jpg","text":"TemporaryFile(/tmp/multipartBody913022396744586900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557695895,"filename":"image_11012025_02_06_02_836184_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/28628518186cce290c379d8fa28c969e.jpg","text":"TemporaryFile(/tmp/multipartBody8697147905776135229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557695895,"filename":"image_11012025_02_06_02_836184_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fbb03823ad3387006c748aad4e921147.jpg","text":"TemporaryFile(/tmp/multipartBody769352412289946005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557695895,"filename":"image_11012025_02_05_02_327521_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328029237","file1":"1328029187","file0":"1328029186","file4":"1328029259","file3":"1328029257"},"map_files_photo_id_array":[{"photo_id":"1328029237","filename":"file2"},{"photo_id":"1328029259","filename":"file4"},{"photo_id":"1328029187","filename":"file1"},{"photo_id":"1328029186","filename":"file0"},{"photo_id":"1328029257","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328029186":["hashtag1","hashtag2"]},{"1328029237":["hashtag1","hashtag2"]},{"1328029257":["hashtag1","hashtag2"]},{"1328029259":["hashtag1","hashtag2"]},{"1328029187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328029186, 1328029237, 1328029257, 1328029259, 1328029187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.169413328170776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:08:02.232236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/06/image_11012025_02_06_02_836184_0003.jpg', '/home/pi/Desktop/images/11012025/02/07/image_11012025_02_07_02_362710_0000.jpg', '/home/pi/Desktop/images/11012025/02/07/image_11012025_02_07_02_362710_0001.jpg', '/home/pi/Desktop/images/11012025/02/07/image_11012025_02_07_02_362710_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/06/image_11012025_02_06_02_836184_0003.jpg
/home/pi/Desktop/images/11012025/02/07/image_11012025_02_07_02_362710_0000.jpg
/home/pi/Desktop/images/11012025/02/07/image_11012025_02_07_02_362710_0001.jpg
/home/pi/Desktop/images/11012025/02/07/image_11012025_02_07_02_362710_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.741401433944702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:08:21.756686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/06/image_11012025_02_06_02_836184_0003.jpg', '/home/pi/Desktop/images/11012025/02/07/image_11012025_02_07_02_362710_0000.jpg', '/home/pi/Desktop/images/11012025/02/07/image_11012025_02_07_02_362710_0001.jpg', '/home/pi/Desktop/images/11012025/02/07/image_11012025_02_07_02_362710_0002.jpg', '/home/pi/Desktop/images/11012025/02/07/image_11012025_02_07_02_362710_0003.jpg', '/home/pi/Desktop/images/11012025/02/08/image_11012025_02_08_02_995316_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/06/image_11012025_02_06_02_836184_0003.jpg
/home/pi/Desktop/images/11012025/02/07/image_11012025_02_07_02_362710_0000.jpg
/home/pi/Desktop/images/11012025/02/07/image_11012025_02_07_02_362710_0001.jpg
/home/pi/Desktop/images/11012025/02/07/image_11012025_02_07_02_362710_0002.jpg
/home/pi/Desktop/images/11012025/02/07/image_11012025_02_07_02_362710_0003.jpg
/home/pi/Desktop/images/11012025/02/08/image_11012025_02_08_02_995316_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328029274","1328029316","1328029276","1328029270","1328029272","1328029278"],"photo_ids_order":["1328029270","1328029272","1328029274","1328029276","1328029278","1328029316"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/816b478bfbaece4c43e775c92670aae3.jpg","text":"TemporaryFile(/tmp/multipartBody2077861178744639650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557776625,"filename":"image_11012025_02_07_02_362710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d4b40cecad922f3045170f73246f264e.jpg","text":"TemporaryFile(/tmp/multipartBody3997248559591143425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557776625,"filename":"image_11012025_02_08_02_995316_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ed6e487ccedc08ca5c817315abbd4169.jpg","text":"TemporaryFile(/tmp/multipartBody8556220304861751013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557776625,"filename":"image_11012025_02_07_02_362710_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dcf710932196b2b593c55eb9137487ae.jpg","text":"TemporaryFile(/tmp/multipartBody8528585281136110567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557776625,"filename":"image_11012025_02_06_02_836184_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1ae26c9c5edab59c28f6f3b09dacfcf6.jpg","text":"TemporaryFile(/tmp/multipartBody2488988596852767605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557776625,"filename":"image_11012025_02_07_02_362710_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f8e18cb177c0f6afa8b6be7c522f8a4b.jpg","text":"TemporaryFile(/tmp/multipartBody1281872754773064231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557776625,"filename":"image_11012025_02_07_02_362710_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328029274","file1":"1328029272","file0":"1328029270","file4":"1328029278","file5":"1328029316","file3":"1328029276"},"map_files_photo_id_array":[{"photo_id":"1328029316","filename":"file5"},{"photo_id":"1328029274","filename":"file2"},{"photo_id":"1328029278","filename":"file4"},{"photo_id":"1328029272","filename":"file1"},{"photo_id":"1328029270","filename":"file0"},{"photo_id":"1328029276","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328029274":["hashtag1","hashtag2"]},{"1328029316":["hashtag1","hashtag2"]},{"1328029276":["hashtag1","hashtag2"]},{"1328029270":["hashtag1","hashtag2"]},{"1328029272":["hashtag1","hashtag2"]},{"1328029278":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328029274, 1328029316, 1328029276, 1328029270, 1328029272, 1328029278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.40418839454651 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:09:22.329759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/08/image_11012025_02_08_02_995316_0001.jpg', '/home/pi/Desktop/images/11012025/02/08/image_11012025_02_08_02_995316_0002.jpg', '/home/pi/Desktop/images/11012025/02/08/image_11012025_02_08_02_995316_0003.jpg', '/home/pi/Desktop/images/11012025/02/09/image_11012025_02_09_02_192920_0000.jpg', '/home/pi/Desktop/images/11012025/02/09/image_11012025_02_09_02_192920_0001.jpg', '/home/pi/Desktop/images/11012025/02/09/image_11012025_02_09_02_192920_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/08/image_11012025_02_08_02_995316_0001.jpg
/home/pi/Desktop/images/11012025/02/08/image_11012025_02_08_02_995316_0002.jpg
/home/pi/Desktop/images/11012025/02/08/image_11012025_02_08_02_995316_0003.jpg
/home/pi/Desktop/images/11012025/02/09/image_11012025_02_09_02_192920_0000.jpg
/home/pi/Desktop/images/11012025/02/09/image_11012025_02_09_02_192920_0001.jpg
/home/pi/Desktop/images/11012025/02/09/image_11012025_02_09_02_192920_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328029460","1328029483","1328029477","1328029485","1328029479","1328029481"],"photo_ids_order":["1328029460","1328029477","1328029479","1328029481","1328029483","1328029485"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7815d0a897a0664a27f6a380d1818748.jpg","text":"TemporaryFile(/tmp/multipartBody9013266615689255412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557837391,"filename":"image_11012025_02_08_02_995316_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/993528727ab22d8f65c882d1628d5e90.jpg","text":"TemporaryFile(/tmp/multipartBody4736955407317325284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557837391,"filename":"image_11012025_02_09_02_192920_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4abd5673f5f533f3a296ccc56c831c12.jpg","text":"TemporaryFile(/tmp/multipartBody7203603852792266162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557837391,"filename":"image_11012025_02_08_02_995316_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bde27131ed8a9bd7ac23e201d1342338.jpg","text":"TemporaryFile(/tmp/multipartBody2737441512219822066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557837391,"filename":"image_11012025_02_09_02_192920_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7cf21233b057d5d9075656ed9be6ec86.jpg","text":"TemporaryFile(/tmp/multipartBody7389511530746927322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557837391,"filename":"image_11012025_02_08_02_995316_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8101cf288477a898564678f809cae51f.jpg","text":"TemporaryFile(/tmp/multipartBody47969606589997889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557837391,"filename":"image_11012025_02_09_02_192920_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328029479","file1":"1328029477","file0":"1328029460","file4":"1328029483","file5":"1328029485","file3":"1328029481"},"map_files_photo_id_array":[{"photo_id":"1328029485","filename":"file5"},{"photo_id":"1328029479","filename":"file2"},{"photo_id":"1328029483","filename":"file4"},{"photo_id":"1328029477","filename":"file1"},{"photo_id":"1328029460","filename":"file0"},{"photo_id":"1328029481","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328029460":["hashtag1","hashtag2"]},{"1328029483":["hashtag1","hashtag2"]},{"1328029477":["hashtag1","hashtag2"]},{"1328029485":["hashtag1","hashtag2"]},{"1328029479":["hashtag1","hashtag2"]},{"1328029481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328029460, 1328029483, 1328029477, 1328029485, 1328029479, 1328029481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.71697473526001 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:10:21.809759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/09/image_11012025_02_09_02_192920_0003.jpg', '/home/pi/Desktop/images/11012025/02/10/image_11012025_02_10_02_714163_0000.jpg', '/home/pi/Desktop/images/11012025/02/10/image_11012025_02_10_02_714163_0001.jpg', '/home/pi/Desktop/images/11012025/02/10/image_11012025_02_10_02_714163_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/09/image_11012025_02_09_02_192920_0003.jpg
/home/pi/Desktop/images/11012025/02/10/image_11012025_02_10_02_714163_0000.jpg
/home/pi/Desktop/images/11012025/02/10/image_11012025_02_10_02_714163_0001.jpg
/home/pi/Desktop/images/11012025/02/10/image_11012025_02_10_02_714163_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328029487","1328029489","1328029491","1328029494"],"photo_ids_order":["1328029487","1328029489","1328029491","1328029494"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0b07be1eeb2c91d25dadc557a1f34f2e.jpg","text":"TemporaryFile(/tmp/multipartBody801406109306491379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557892166,"filename":"image_11012025_02_09_02_192920_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0ad2b1f4ba952ed842004ea39c971de6.jpg","text":"TemporaryFile(/tmp/multipartBody6151378638984885594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557892166,"filename":"image_11012025_02_10_02_714163_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e277b3b25044a841e836573bbd4b7db3.jpg","text":"TemporaryFile(/tmp/multipartBody5832415770404610743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557892166,"filename":"image_11012025_02_10_02_714163_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f884f4a3201ec2a1de15f61e201b0a95.jpg","text":"TemporaryFile(/tmp/multipartBody1186090614772479906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557892166,"filename":"image_11012025_02_10_02_714163_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328029491","file1":"1328029489","file0":"1328029487","file3":"1328029494"},"map_files_photo_id_array":[{"photo_id":"1328029491","filename":"file2"},{"photo_id":"1328029489","filename":"file1"},{"photo_id":"1328029487","filename":"file0"},{"photo_id":"1328029494","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328029487":["hashtag1","hashtag2"]},{"1328029489":["hashtag1","hashtag2"]},{"1328029491":["hashtag1","hashtag2"]},{"1328029494":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328029487, 1328029489, 1328029491, 1328029494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.3965425491333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:11:02.843129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/47/image_09012025_22_47_02_431913_0002.jpg', '/home/pi/Desktop/images/09012025/22/47/image_09012025_22_47_02_431913_0003.jpg', '/home/pi/Desktop/images/09012025/22/48/image_09012025_22_48_02_620756_0000.jpg', '/home/pi/Desktop/images/09012025/22/48/image_09012025_22_48_02_620756_0001.jpg', '/home/pi/Desktop/images/09012025/22/48/image_09012025_22_48_02_620756_0002.jpg', '/home/pi/Desktop/images/09012025/22/48/image_09012025_22_48_02_620756_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/47/image_09012025_22_47_02_431913_0002.jpg
/home/pi/Desktop/images/09012025/22/47/image_09012025_22_47_02_431913_0003.jpg
/home/pi/Desktop/images/09012025/22/48/image_09012025_22_48_02_620756_0000.jpg
/home/pi/Desktop/images/09012025/22/48/image_09012025_22_48_02_620756_0001.jpg
/home/pi/Desktop/images/09012025/22/48/image_09012025_22_48_02_620756_0002.jpg
/home/pi/Desktop/images/09012025/22/48/image_09012025_22_48_02_620756_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":["1328029511","1328029502","1328029505","1328029504","1328029507","1328029509"],"photo_ids_order":["1328029502","1328029504","1328029505","1328029507","1328029509","1328029511"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0b8614ce11954dc50e42e2ef7e082afb.jpg","text":"TemporaryFile(/tmp/multipartBody2621336877072896895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557938949,"filename":"image_09012025_22_48_02_620756_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/28958fdb641e44e433df34427ad27f80.jpg","text":"TemporaryFile(/tmp/multipartBody7273700727825854400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557938949,"filename":"image_09012025_22_47_02_431913_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7172338d22389faf3879e23d2c03e7e5.jpg","text":"TemporaryFile(/tmp/multipartBody739281774570653101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557938949,"filename":"image_09012025_22_48_02_620756_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6e219cda2bf7872b7b99e59b375e27d7.jpg","text":"TemporaryFile(/tmp/multipartBody7431540547588780910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557938949,"filename":"image_09012025_22_47_02_431913_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1aa4fc63184833c27ccd6546cef18330.jpg","text":"TemporaryFile(/tmp/multipartBody153853755886933774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557938949,"filename":"image_09012025_22_48_02_620756_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a23f9f8f8af878fb371284d0d3546c49.jpg","text":"TemporaryFile(/tmp/multipartBody2044270196670764345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736557938949,"filename":"image_09012025_22_48_02_620756_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328029505","file1":"1328029504","file0":"1328029502","file4":"1328029509","file5":"1328029511","file3":"1328029507"},"map_files_photo_id_array":[{"photo_id":"1328029511","filename":"file5"},{"photo_id":"1328029505","filename":"file2"},{"photo_id":"1328029509","filename":"file4"},{"photo_id":"1328029504","filename":"file1"},{"photo_id":"1328029502","filename":"file0"},{"photo_id":"1328029507","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328029511":["hashtag1","hashtag2"]},{"1328029502":["hashtag1","hashtag2"]},{"1328029505":["hashtag1","hashtag2"]},{"1328029504":["hashtag1","hashtag2"]},{"1328029507":["hashtag1","hashtag2"]},{"1328029509":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328029511, 1328029502, 1328029505, 1328029504, 1328029507, 1328029509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.72144103050232 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:12:22.118444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/10/image_11012025_02_10_02_714163_0003.jpg', '/home/pi/Desktop/images/11012025/02/11/image_11012025_02_11_02_282927_0000.jpg', '/home/pi/Desktop/images/11012025/02/11/image_11012025_02_11_02_282927_0001.jpg', '/home/pi/Desktop/images/11012025/02/11/image_11012025_02_11_02_282927_0002.jpg', '/home/pi/Desktop/images/11012025/02/11/image_11012025_02_11_02_282927_0003.jpg', '/home/pi/Desktop/images/11012025/02/12/image_11012025_02_12_02_756795_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/10/image_11012025_02_10_02_714163_0003.jpg
/home/pi/Desktop/images/11012025/02/11/image_11012025_02_11_02_282927_0000.jpg
/home/pi/Desktop/images/11012025/02/11/image_11012025_02_11_02_282927_0001.jpg
/home/pi/Desktop/images/11012025/02/11/image_11012025_02_11_02_282927_0002.jpg
/home/pi/Desktop/images/11012025/02/11/image_11012025_02_11_02_282927_0003.jpg
/home/pi/Desktop/images/11012025/02/12/image_11012025_02_12_02_756795_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.631359815597534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:13:03.387959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/10/image_11012025_02_10_02_714163_0003.jpg', '/home/pi/Desktop/images/11012025/02/11/image_11012025_02_11_02_282927_0000.jpg', '/home/pi/Desktop/images/11012025/02/11/image_11012025_02_11_02_282927_0001.jpg', '/home/pi/Desktop/images/11012025/02/11/image_11012025_02_11_02_282927_0002.jpg', '/home/pi/Desktop/images/11012025/02/11/image_11012025_02_11_02_282927_0003.jpg', '/home/pi/Desktop/images/11012025/02/12/image_11012025_02_12_02_756795_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/10/image_11012025_02_10_02_714163_0003.jpg
/home/pi/Desktop/images/11012025/02/11/image_11012025_02_11_02_282927_0000.jpg
/home/pi/Desktop/images/11012025/02/11/image_11012025_02_11_02_282927_0001.jpg
/home/pi/Desktop/images/11012025/02/11/image_11012025_02_11_02_282927_0002.jpg
/home/pi/Desktop/images/11012025/02/11/image_11012025_02_11_02_282927_0003.jpg
/home/pi/Desktop/images/11012025/02/12/image_11012025_02_12_02_756795_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328030753","1328031160","1328031157","1328031084","1328030964","1328030859"],"photo_ids_order":["1328030753","1328030859","1328030964","1328031084","1328031157","1328031160"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5743ebb1a7ebd8ad951a9fb2546576df.jpg","text":"TemporaryFile(/tmp/multipartBody4943606605893764682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558058438,"filename":"image_11012025_02_10_02_714163_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8ba761697bd65502213ff9e3f4a52451.jpg","text":"TemporaryFile(/tmp/multipartBody7290885712747809098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558058438,"filename":"image_11012025_02_12_02_756795_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aaf116d01af734b60537a72e7340731f.jpg","text":"TemporaryFile(/tmp/multipartBody1908629650027746134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558058438,"filename":"image_11012025_02_11_02_282927_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e48eb2140ba5b5fc2b475da9ea7e5b6e.jpg","text":"TemporaryFile(/tmp/multipartBody8604167191101585093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558058438,"filename":"image_11012025_02_11_02_282927_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b42a0cb7ea289008deb59282550fd7f0.jpg","text":"TemporaryFile(/tmp/multipartBody723009718424770587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558058438,"filename":"image_11012025_02_11_02_282927_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/be0a893fba1bfc3ec2e16cd6cc7ec884.jpg","text":"TemporaryFile(/tmp/multipartBody344607385827609747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558058438,"filename":"image_11012025_02_11_02_282927_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328030964","file1":"1328030859","file0":"1328030753","file4":"1328031157","file5":"1328031160","file3":"1328031084"},"map_files_photo_id_array":[{"photo_id":"1328031160","filename":"file5"},{"photo_id":"1328030964","filename":"file2"},{"photo_id":"1328031157","filename":"file4"},{"photo_id":"1328030859","filename":"file1"},{"photo_id":"1328030753","filename":"file0"},{"photo_id":"1328031084","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328030753":["hashtag1","hashtag2"]},{"1328031160":["hashtag1","hashtag2"]},{"1328031157":["hashtag1","hashtag2"]},{"1328031084":["hashtag1","hashtag2"]},{"1328030964":["hashtag1","hashtag2"]},{"1328030859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328030753, 1328031160, 1328031157, 1328031084, 1328030964, 1328030859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.5933256149292 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:14:02.763271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/12/image_11012025_02_12_02_756795_0001.jpg', '/home/pi/Desktop/images/11012025/02/12/image_11012025_02_12_02_756795_0002.jpg', '/home/pi/Desktop/images/11012025/02/12/image_11012025_02_12_02_756795_0003.jpg', '/home/pi/Desktop/images/11012025/02/13/image_11012025_02_13_02_492219_0000.jpg', '/home/pi/Desktop/images/11012025/02/13/image_11012025_02_13_02_492219_0001.jpg', '/home/pi/Desktop/images/11012025/02/13/image_11012025_02_13_02_492219_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/12/image_11012025_02_12_02_756795_0001.jpg
/home/pi/Desktop/images/11012025/02/12/image_11012025_02_12_02_756795_0002.jpg
/home/pi/Desktop/images/11012025/02/12/image_11012025_02_12_02_756795_0003.jpg
/home/pi/Desktop/images/11012025/02/13/image_11012025_02_13_02_492219_0000.jpg
/home/pi/Desktop/images/11012025/02/13/image_11012025_02_13_02_492219_0001.jpg
/home/pi/Desktop/images/11012025/02/13/image_11012025_02_13_02_492219_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328031170","1328031167","1328031172","1328031165","1328031168","1328031173"],"photo_ids_order":["1328031165","1328031167","1328031168","1328031170","1328031172","1328031173"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/da2394b56501c3050306045b1110475e.jpg","text":"TemporaryFile(/tmp/multipartBody661701705142510603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558117810,"filename":"image_11012025_02_13_02_492219_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6f2741c01496003c35bf3f6f92edd965.jpg","text":"TemporaryFile(/tmp/multipartBody3087704882996500111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558117810,"filename":"image_11012025_02_12_02_756795_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a43f27a6a4ffd7e5d47f65b49d4c33b5.jpg","text":"TemporaryFile(/tmp/multipartBody5982594615992059455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558117810,"filename":"image_11012025_02_13_02_492219_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3905f792407ceb8419603a7f78065de2.jpg","text":"TemporaryFile(/tmp/multipartBody9189042459958192779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558117810,"filename":"image_11012025_02_12_02_756795_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f8b65adaa49d77d3997af4b0ba08ebe6.jpg","text":"TemporaryFile(/tmp/multipartBody9125071740062443951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558117810,"filename":"image_11012025_02_12_02_756795_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f408ab57f5bf305fc33efac02dcb3d02.jpg","text":"TemporaryFile(/tmp/multipartBody6373194415141085108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558117810,"filename":"image_11012025_02_13_02_492219_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328031168","file1":"1328031167","file0":"1328031165","file4":"1328031172","file5":"1328031173","file3":"1328031170"},"map_files_photo_id_array":[{"photo_id":"1328031173","filename":"file5"},{"photo_id":"1328031168","filename":"file2"},{"photo_id":"1328031172","filename":"file4"},{"photo_id":"1328031167","filename":"file1"},{"photo_id":"1328031165","filename":"file0"},{"photo_id":"1328031170","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328031170":["hashtag1","hashtag2"]},{"1328031167":["hashtag1","hashtag2"]},{"1328031172":["hashtag1","hashtag2"]},{"1328031165":["hashtag1","hashtag2"]},{"1328031168":["hashtag1","hashtag2"]},{"1328031173":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328031170, 1328031167, 1328031172, 1328031165, 1328031168, 1328031173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.75617480278015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:15:21.872460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/13/image_11012025_02_13_02_492219_0003.jpg', '/home/pi/Desktop/images/11012025/02/14/image_11012025_02_14_03_095361_0000.jpg', '/home/pi/Desktop/images/11012025/02/14/image_11012025_02_14_03_095361_0001.jpg', '/home/pi/Desktop/images/11012025/02/14/image_11012025_02_14_03_095361_0002.jpg', '/home/pi/Desktop/images/11012025/02/14/image_11012025_02_14_03_095361_0003.jpg', '/home/pi/Desktop/images/11012025/02/15/image_11012025_02_15_02_720468_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/13/image_11012025_02_13_02_492219_0003.jpg
/home/pi/Desktop/images/11012025/02/14/image_11012025_02_14_03_095361_0000.jpg
/home/pi/Desktop/images/11012025/02/14/image_11012025_02_14_03_095361_0001.jpg
/home/pi/Desktop/images/11012025/02/14/image_11012025_02_14_03_095361_0002.jpg
/home/pi/Desktop/images/11012025/02/14/image_11012025_02_14_03_095361_0003.jpg
/home/pi/Desktop/images/11012025/02/15/image_11012025_02_15_02_720468_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328031199","1328031203","1328031193","1328031195","1328031201","1328031197"],"photo_ids_order":["1328031193","1328031195","1328031197","1328031199","1328031201","1328031203"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a32caa4d7112057ce013573be19e9cce.jpg","text":"TemporaryFile(/tmp/multipartBody6146338707448164488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558196882,"filename":"image_11012025_02_14_03_095361_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c48df29e63eee27db6f254e011f85353.jpg","text":"TemporaryFile(/tmp/multipartBody6350858594109995023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558196882,"filename":"image_11012025_02_15_02_720468_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ee05930b357b6773da5dd82f8c2c0b59.jpg","text":"TemporaryFile(/tmp/multipartBody9087779886965656013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558196882,"filename":"image_11012025_02_13_02_492219_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ae673a32e6628856627122eb47724ab3.jpg","text":"TemporaryFile(/tmp/multipartBody2083729279409091190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558196882,"filename":"image_11012025_02_14_03_095361_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f56862483d70ecf69182bb9ce6ff7026.jpg","text":"TemporaryFile(/tmp/multipartBody6684027804180662515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558196882,"filename":"image_11012025_02_14_03_095361_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a35ecdbc500d9092d8967c841c2f00c5.jpg","text":"TemporaryFile(/tmp/multipartBody4256526397820153051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558196882,"filename":"image_11012025_02_14_03_095361_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328031197","file1":"1328031195","file0":"1328031193","file4":"1328031201","file5":"1328031203","file3":"1328031199"},"map_files_photo_id_array":[{"photo_id":"1328031203","filename":"file5"},{"photo_id":"1328031197","filename":"file2"},{"photo_id":"1328031201","filename":"file4"},{"photo_id":"1328031195","filename":"file1"},{"photo_id":"1328031193","filename":"file0"},{"photo_id":"1328031199","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328031199":["hashtag1","hashtag2"]},{"1328031203":["hashtag1","hashtag2"]},{"1328031193":["hashtag1","hashtag2"]},{"1328031195":["hashtag1","hashtag2"]},{"1328031201":["hashtag1","hashtag2"]},{"1328031197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328031199, 1328031203, 1328031193, 1328031195, 1328031201, 1328031197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.92286419868469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:16:22.369573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/15/image_11012025_02_15_02_720468_0001.jpg', '/home/pi/Desktop/images/11012025/02/15/image_11012025_02_15_02_720468_0002.jpg', '/home/pi/Desktop/images/11012025/02/15/image_11012025_02_15_02_720468_0003.jpg', '/home/pi/Desktop/images/11012025/02/16/image_11012025_02_16_02_244413_0000.jpg', '/home/pi/Desktop/images/11012025/02/16/image_11012025_02_16_02_244413_0001.jpg', '/home/pi/Desktop/images/11012025/02/16/image_11012025_02_16_02_244413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/15/image_11012025_02_15_02_720468_0001.jpg
/home/pi/Desktop/images/11012025/02/15/image_11012025_02_15_02_720468_0002.jpg
/home/pi/Desktop/images/11012025/02/15/image_11012025_02_15_02_720468_0003.jpg
/home/pi/Desktop/images/11012025/02/16/image_11012025_02_16_02_244413_0000.jpg
/home/pi/Desktop/images/11012025/02/16/image_11012025_02_16_02_244413_0001.jpg
/home/pi/Desktop/images/11012025/02/16/image_11012025_02_16_02_244413_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328031217","1328031211","1328031214","1328031208","1328031219","1328031204"],"photo_ids_order":["1328031204","1328031208","1328031211","1328031214","1328031217","1328031219"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d4bc1472944403967b337ddd499d5031.jpg","text":"TemporaryFile(/tmp/multipartBody7752457063942033942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558257406,"filename":"image_11012025_02_16_02_244413_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/65bd89cc9ce3aae56645e456699ddc3f.jpg","text":"TemporaryFile(/tmp/multipartBody2829175207004977211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558257406,"filename":"image_11012025_02_15_02_720468_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/deea88c4d5a0f174853979dc81a1c0c8.jpg","text":"TemporaryFile(/tmp/multipartBody1044312909638528628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558257406,"filename":"image_11012025_02_16_02_244413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0166cf90d8ded10a700c87bf07dc2626.jpg","text":"TemporaryFile(/tmp/multipartBody6202430673307775439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558257406,"filename":"image_11012025_02_15_02_720468_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6bede49fc820d08d667aad51ddcfe8ab.jpg","text":"TemporaryFile(/tmp/multipartBody1167589938851596759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558257406,"filename":"image_11012025_02_16_02_244413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/44a7aafe9850d663124f78caca3f1e3d.jpg","text":"TemporaryFile(/tmp/multipartBody8500171566062692056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558257406,"filename":"image_11012025_02_15_02_720468_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328031211","file1":"1328031208","file0":"1328031204","file4":"1328031217","file5":"1328031219","file3":"1328031214"},"map_files_photo_id_array":[{"photo_id":"1328031219","filename":"file5"},{"photo_id":"1328031211","filename":"file2"},{"photo_id":"1328031217","filename":"file4"},{"photo_id":"1328031208","filename":"file1"},{"photo_id":"1328031204","filename":"file0"},{"photo_id":"1328031214","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328031217":["hashtag1","hashtag2"]},{"1328031211":["hashtag1","hashtag2"]},{"1328031214":["hashtag1","hashtag2"]},{"1328031208":["hashtag1","hashtag2"]},{"1328031219":["hashtag1","hashtag2"]},{"1328031204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328031217, 1328031211, 1328031214, 1328031208, 1328031219, 1328031204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.264904499053955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:17:21.928061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/16/image_11012025_02_16_02_244413_0003.jpg', '/home/pi/Desktop/images/11012025/02/17/image_11012025_02_17_02_767301_0000.jpg', '/home/pi/Desktop/images/11012025/02/17/image_11012025_02_17_02_767301_0001.jpg', '/home/pi/Desktop/images/11012025/02/17/image_11012025_02_17_02_767301_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/16/image_11012025_02_16_02_244413_0003.jpg
/home/pi/Desktop/images/11012025/02/17/image_11012025_02_17_02_767301_0000.jpg
/home/pi/Desktop/images/11012025/02/17/image_11012025_02_17_02_767301_0001.jpg
/home/pi/Desktop/images/11012025/02/17/image_11012025_02_17_02_767301_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328031221","1328031232","1328031225","1328031228"],"photo_ids_order":["1328031221","1328031225","1328031228","1328031232"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/07ce341cda43143311c176de81ecf348.jpg","text":"TemporaryFile(/tmp/multipartBody4345744511941652765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558312105,"filename":"image_11012025_02_16_02_244413_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e62d4469e4a4b94f842517b7ba6d8f3a.jpg","text":"TemporaryFile(/tmp/multipartBody9216753796705435591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558312105,"filename":"image_11012025_02_17_02_767301_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7aecec5700f7a7b98a5ac3cfe972a090.jpg","text":"TemporaryFile(/tmp/multipartBody1786073670001013834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558312105,"filename":"image_11012025_02_17_02_767301_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/92a4758afb2dcd8c7fc1dd97266b9eb3.jpg","text":"TemporaryFile(/tmp/multipartBody1150619576317191229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558312105,"filename":"image_11012025_02_17_02_767301_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328031228","file1":"1328031225","file0":"1328031221","file3":"1328031232"},"map_files_photo_id_array":[{"photo_id":"1328031228","filename":"file2"},{"photo_id":"1328031225","filename":"file1"},{"photo_id":"1328031221","filename":"file0"},{"photo_id":"1328031232","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328031221":["hashtag1","hashtag2"]},{"1328031232":["hashtag1","hashtag2"]},{"1328031225":["hashtag1","hashtag2"]},{"1328031228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328031221, 1328031232, 1328031225, 1328031228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.71560215950012 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:18:22.388589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/17/image_11012025_02_17_02_767301_0003.jpg', '/home/pi/Desktop/images/11012025/02/18/image_11012025_02_18_02_242006_0000.jpg', '/home/pi/Desktop/images/11012025/02/18/image_11012025_02_18_02_242006_0001.jpg', '/home/pi/Desktop/images/11012025/02/18/image_11012025_02_18_02_242006_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/17/image_11012025_02_17_02_767301_0003.jpg
/home/pi/Desktop/images/11012025/02/18/image_11012025_02_18_02_242006_0000.jpg
/home/pi/Desktop/images/11012025/02/18/image_11012025_02_18_02_242006_0001.jpg
/home/pi/Desktop/images/11012025/02/18/image_11012025_02_18_02_242006_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.855392932891846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:19:02.637407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/17/image_11012025_02_17_02_767301_0003.jpg', '/home/pi/Desktop/images/11012025/02/18/image_11012025_02_18_02_242006_0000.jpg', '/home/pi/Desktop/images/11012025/02/18/image_11012025_02_18_02_242006_0001.jpg', '/home/pi/Desktop/images/11012025/02/18/image_11012025_02_18_02_242006_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/17/image_11012025_02_17_02_767301_0003.jpg
/home/pi/Desktop/images/11012025/02/18/image_11012025_02_18_02_242006_0000.jpg
/home/pi/Desktop/images/11012025/02/18/image_11012025_02_18_02_242006_0001.jpg
/home/pi/Desktop/images/11012025/02/18/image_11012025_02_18_02_242006_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328031278","1328031277","1328031274","1328031275"],"photo_ids_order":["1328031274","1328031275","1328031277","1328031278"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aba5562ffcd5e3e27569327fc600f147.jpg","text":"TemporaryFile(/tmp/multipartBody6805098261739817206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558412885,"filename":"image_11012025_02_18_02_242006_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/56e3899899918460319f08a78d739b03.jpg","text":"TemporaryFile(/tmp/multipartBody5043785692631931267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558412885,"filename":"image_11012025_02_18_02_242006_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f7a844f1f09431cdec97d8569e92affa.jpg","text":"TemporaryFile(/tmp/multipartBody7520967239199934275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558412885,"filename":"image_11012025_02_17_02_767301_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2538c700e14d734dfcae65313cff9115.jpg","text":"TemporaryFile(/tmp/multipartBody7548762723590487010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558412885,"filename":"image_11012025_02_18_02_242006_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328031277","file1":"1328031275","file0":"1328031274","file3":"1328031278"},"map_files_photo_id_array":[{"photo_id":"1328031277","filename":"file2"},{"photo_id":"1328031275","filename":"file1"},{"photo_id":"1328031274","filename":"file0"},{"photo_id":"1328031278","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328031278":["hashtag1","hashtag2"]},{"1328031277":["hashtag1","hashtag2"]},{"1328031274":["hashtag1","hashtag2"]},{"1328031275":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328031278, 1328031277, 1328031274, 1328031275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.51657700538635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:20:03.049458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/18/image_11012025_02_18_02_242006_0003.jpg', '/home/pi/Desktop/images/11012025/02/19/image_11012025_02_19_02_796667_0000.jpg', '/home/pi/Desktop/images/11012025/02/19/image_11012025_02_19_02_796667_0001.jpg', '/home/pi/Desktop/images/11012025/02/19/image_11012025_02_19_02_796667_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/18/image_11012025_02_18_02_242006_0003.jpg
/home/pi/Desktop/images/11012025/02/19/image_11012025_02_19_02_796667_0000.jpg
/home/pi/Desktop/images/11012025/02/19/image_11012025_02_19_02_796667_0001.jpg
/home/pi/Desktop/images/11012025/02/19/image_11012025_02_19_02_796667_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.02513861656189 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:20:22.642810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/18/image_11012025_02_18_02_242006_0003.jpg', '/home/pi/Desktop/images/11012025/02/19/image_11012025_02_19_02_796667_0000.jpg', '/home/pi/Desktop/images/11012025/02/19/image_11012025_02_19_02_796667_0001.jpg', '/home/pi/Desktop/images/11012025/02/19/image_11012025_02_19_02_796667_0002.jpg', '/home/pi/Desktop/images/11012025/02/19/image_11012025_02_19_02_796667_0003.jpg', '/home/pi/Desktop/images/11012025/02/20/image_11012025_02_20_02_359647_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/18/image_11012025_02_18_02_242006_0003.jpg
/home/pi/Desktop/images/11012025/02/19/image_11012025_02_19_02_796667_0000.jpg
/home/pi/Desktop/images/11012025/02/19/image_11012025_02_19_02_796667_0001.jpg
/home/pi/Desktop/images/11012025/02/19/image_11012025_02_19_02_796667_0002.jpg
/home/pi/Desktop/images/11012025/02/19/image_11012025_02_19_02_796667_0003.jpg
/home/pi/Desktop/images/11012025/02/20/image_11012025_02_20_02_359647_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":["1328032231","1328032531","1328032440","1328032148","1328032514","1328032151"],"photo_ids_order":["1328032148","1328032151","1328032231","1328032440","1328032514","1328032531"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3bee6a50d0b61d4d93545339bdfc7193.jpg","text":"TemporaryFile(/tmp/multipartBody2238721057051550229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558497795,"filename":"image_11012025_02_19_02_796667_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1453945f7dbf7b4947a98b485ae1a7bd.jpg","text":"TemporaryFile(/tmp/multipartBody684531277174262019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558497795,"filename":"image_11012025_02_20_02_359647_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/967a8db25bcee88acf0618428eac55ce.jpg","text":"TemporaryFile(/tmp/multipartBody3525557644550629002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558497795,"filename":"image_11012025_02_19_02_796667_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1fa4a55c77c9c86f909dadc4b3cff64a.jpg","text":"TemporaryFile(/tmp/multipartBody4985080552531434086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558497795,"filename":"image_11012025_02_18_02_242006_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a78c4a88e73a75bb2b9389cb347158f0.jpg","text":"TemporaryFile(/tmp/multipartBody6732616163352167919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558497795,"filename":"image_11012025_02_19_02_796667_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a21c00d13dcab980b667d75bbb41b517.jpg","text":"TemporaryFile(/tmp/multipartBody4353548430091626016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558497795,"filename":"image_11012025_02_19_02_796667_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328032231","file1":"1328032151","file0":"1328032148","file4":"1328032514","file5":"1328032531","file3":"1328032440"},"map_files_photo_id_array":[{"photo_id":"1328032531","filename":"file5"},{"photo_id":"1328032231","filename":"file2"},{"photo_id":"1328032514","filename":"file4"},{"photo_id":"1328032151","filename":"file1"},{"photo_id":"1328032148","filename":"file0"},{"photo_id":"1328032440","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328032231":["hashtag1","hashtag2"]},{"1328032531":["hashtag1","hashtag2"]},{"1328032440":["hashtag1","hashtag2"]},{"1328032148":["hashtag1","hashtag2"]},{"1328032514":["hashtag1","hashtag2"]},{"1328032151":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328032231, 1328032531, 1328032440, 1328032148, 1328032514, 1328032151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.14875364303589 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:22:03.050292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/20/image_11012025_02_20_02_359647_0001.jpg', '/home/pi/Desktop/images/11012025/02/20/image_11012025_02_20_02_359647_0002.jpg', '/home/pi/Desktop/images/11012025/02/20/image_11012025_02_20_02_359647_0003.jpg', '/home/pi/Desktop/images/11012025/02/21/image_11012025_02_21_02_976651_0000.jpg', '/home/pi/Desktop/images/11012025/02/21/image_11012025_02_21_02_976651_0001.jpg', '/home/pi/Desktop/images/11012025/02/21/image_11012025_02_21_02_976651_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/20/image_11012025_02_20_02_359647_0001.jpg
/home/pi/Desktop/images/11012025/02/20/image_11012025_02_20_02_359647_0002.jpg
/home/pi/Desktop/images/11012025/02/20/image_11012025_02_20_02_359647_0003.jpg
/home/pi/Desktop/images/11012025/02/21/image_11012025_02_21_02_976651_0000.jpg
/home/pi/Desktop/images/11012025/02/21/image_11012025_02_21_02_976651_0001.jpg
/home/pi/Desktop/images/11012025/02/21/image_11012025_02_21_02_976651_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328033041","1328033043","1328033045","1328032920","1328032809","1328033039"],"photo_ids_order":["1328032809","1328032920","1328033039","1328033041","1328033043","1328033045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/815c038a9deca471cca9f0b80de0af02.jpg","text":"TemporaryFile(/tmp/multipartBody1374934643330732236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558598104,"filename":"image_11012025_02_21_02_976651_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/56097a77adc42466545ed3b49d93a1b8.jpg","text":"TemporaryFile(/tmp/multipartBody234019448409372001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558598104,"filename":"image_11012025_02_21_02_976651_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/944dcd822bcd1c26bdc790abc21a56a7.jpg","text":"TemporaryFile(/tmp/multipartBody4420132346639636774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558598104,"filename":"image_11012025_02_21_02_976651_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8f44e493dfb576a55eef146485af6365.jpg","text":"TemporaryFile(/tmp/multipartBody3250376434803143630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558598104,"filename":"image_11012025_02_20_02_359647_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fa877fbb56d966dc68fc4461a25962ec.jpg","text":"TemporaryFile(/tmp/multipartBody7563695410696936862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558598104,"filename":"image_11012025_02_20_02_359647_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e47fca7c91ea2d1927ee39dff09b6782.jpg","text":"TemporaryFile(/tmp/multipartBody8721707186984606582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558598104,"filename":"image_11012025_02_20_02_359647_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328033039","file1":"1328032920","file0":"1328032809","file4":"1328033043","file5":"1328033045","file3":"1328033041"},"map_files_photo_id_array":[{"photo_id":"1328033045","filename":"file5"},{"photo_id":"1328033039","filename":"file2"},{"photo_id":"1328033043","filename":"file4"},{"photo_id":"1328032920","filename":"file1"},{"photo_id":"1328032809","filename":"file0"},{"photo_id":"1328033041","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328033041":["hashtag1","hashtag2"]},{"1328033043":["hashtag1","hashtag2"]},{"1328033045":["hashtag1","hashtag2"]},{"1328032920":["hashtag1","hashtag2"]},{"1328032809":["hashtag1","hashtag2"]},{"1328033039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328033041, 1328033043, 1328033045, 1328032920, 1328032809, 1328033039)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.60096335411072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:23:22.085686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/21/image_11012025_02_21_02_976651_0003.jpg', '/home/pi/Desktop/images/11012025/02/22/image_11012025_02_22_02_435120_0000.jpg', '/home/pi/Desktop/images/11012025/02/22/image_11012025_02_22_02_435120_0001.jpg', '/home/pi/Desktop/images/11012025/02/22/image_11012025_02_22_02_435120_0002.jpg', '/home/pi/Desktop/images/11012025/02/22/image_11012025_02_22_02_435120_0003.jpg', '/home/pi/Desktop/images/11012025/02/23/image_11012025_02_23_02_951476_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/21/image_11012025_02_21_02_976651_0003.jpg
/home/pi/Desktop/images/11012025/02/22/image_11012025_02_22_02_435120_0000.jpg
/home/pi/Desktop/images/11012025/02/22/image_11012025_02_22_02_435120_0001.jpg
/home/pi/Desktop/images/11012025/02/22/image_11012025_02_22_02_435120_0002.jpg
/home/pi/Desktop/images/11012025/02/22/image_11012025_02_22_02_435120_0003.jpg
/home/pi/Desktop/images/11012025/02/23/image_11012025_02_23_02_951476_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.742494821548462 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:24:02.960903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/21/image_11012025_02_21_02_976651_0003.jpg', '/home/pi/Desktop/images/11012025/02/22/image_11012025_02_22_02_435120_0000.jpg', '/home/pi/Desktop/images/11012025/02/22/image_11012025_02_22_02_435120_0001.jpg', '/home/pi/Desktop/images/11012025/02/22/image_11012025_02_22_02_435120_0002.jpg', '/home/pi/Desktop/images/11012025/02/22/image_11012025_02_22_02_435120_0003.jpg', '/home/pi/Desktop/images/11012025/02/23/image_11012025_02_23_02_951476_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/21/image_11012025_02_21_02_976651_0003.jpg
/home/pi/Desktop/images/11012025/02/22/image_11012025_02_22_02_435120_0000.jpg
/home/pi/Desktop/images/11012025/02/22/image_11012025_02_22_02_435120_0001.jpg
/home/pi/Desktop/images/11012025/02/22/image_11012025_02_22_02_435120_0002.jpg
/home/pi/Desktop/images/11012025/02/22/image_11012025_02_22_02_435120_0003.jpg
/home/pi/Desktop/images/11012025/02/23/image_11012025_02_23_02_951476_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328033065","1328033073","1328033067","1328033069","1328033060","1328033062"],"photo_ids_order":["1328033060","1328033062","1328033065","1328033067","1328033069","1328033073"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f9abea4e1ee413ec74f20519c2b27538.jpg","text":"TemporaryFile(/tmp/multipartBody7891706544860602649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558718148,"filename":"image_11012025_02_22_02_435120_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2beca378735d8676818b4d077c5e1662.jpg","text":"TemporaryFile(/tmp/multipartBody8476560535728270234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558718148,"filename":"image_11012025_02_23_02_951476_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f58ba3393e8c807b6d70a87c7884d405.jpg","text":"TemporaryFile(/tmp/multipartBody8842492922042104658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558718148,"filename":"image_11012025_02_22_02_435120_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aff3274c0b89fc07f90ae418cb0da35f.jpg","text":"TemporaryFile(/tmp/multipartBody3346434031926466953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558718148,"filename":"image_11012025_02_22_02_435120_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/96d457d442d51e625780cc11b312666f.jpg","text":"TemporaryFile(/tmp/multipartBody453167452542504520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558718148,"filename":"image_11012025_02_21_02_976651_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cb8800ec73edddd27658cd031af2416d.jpg","text":"TemporaryFile(/tmp/multipartBody5006634680191713173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558718148,"filename":"image_11012025_02_22_02_435120_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328033065","file1":"1328033062","file0":"1328033060","file4":"1328033069","file5":"1328033073","file3":"1328033067"},"map_files_photo_id_array":[{"photo_id":"1328033073","filename":"file5"},{"photo_id":"1328033065","filename":"file2"},{"photo_id":"1328033069","filename":"file4"},{"photo_id":"1328033062","filename":"file1"},{"photo_id":"1328033060","filename":"file0"},{"photo_id":"1328033067","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328033065":["hashtag1","hashtag2"]},{"1328033073":["hashtag1","hashtag2"]},{"1328033067":["hashtag1","hashtag2"]},{"1328033069":["hashtag1","hashtag2"]},{"1328033060":["hashtag1","hashtag2"]},{"1328033062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328033065, 1328033073, 1328033067, 1328033069, 1328033060, 1328033062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.43179178237915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:25:02.673267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/23/image_11012025_02_23_02_951476_0001.jpg', '/home/pi/Desktop/images/11012025/02/23/image_11012025_02_23_02_951476_0002.jpg', '/home/pi/Desktop/images/11012025/02/23/image_11012025_02_23_02_951476_0003.jpg', '/home/pi/Desktop/images/11012025/02/24/image_11012025_02_24_02_455186_0000.jpg', '/home/pi/Desktop/images/11012025/02/24/image_11012025_02_24_02_455186_0001.jpg', '/home/pi/Desktop/images/11012025/02/24/image_11012025_02_24_02_455186_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/23/image_11012025_02_23_02_951476_0001.jpg
/home/pi/Desktop/images/11012025/02/23/image_11012025_02_23_02_951476_0002.jpg
/home/pi/Desktop/images/11012025/02/23/image_11012025_02_23_02_951476_0003.jpg
/home/pi/Desktop/images/11012025/02/24/image_11012025_02_24_02_455186_0000.jpg
/home/pi/Desktop/images/11012025/02/24/image_11012025_02_24_02_455186_0001.jpg
/home/pi/Desktop/images/11012025/02/24/image_11012025_02_24_02_455186_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.779217720031738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:25:22.177469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/23/image_11012025_02_23_02_951476_0001.jpg', '/home/pi/Desktop/images/11012025/02/23/image_11012025_02_23_02_951476_0002.jpg', '/home/pi/Desktop/images/11012025/02/23/image_11012025_02_23_02_951476_0003.jpg', '/home/pi/Desktop/images/11012025/02/24/image_11012025_02_24_02_455186_0000.jpg', '/home/pi/Desktop/images/11012025/02/24/image_11012025_02_24_02_455186_0001.jpg', '/home/pi/Desktop/images/11012025/02/24/image_11012025_02_24_02_455186_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/23/image_11012025_02_23_02_951476_0001.jpg
/home/pi/Desktop/images/11012025/02/23/image_11012025_02_23_02_951476_0002.jpg
/home/pi/Desktop/images/11012025/02/23/image_11012025_02_23_02_951476_0003.jpg
/home/pi/Desktop/images/11012025/02/24/image_11012025_02_24_02_455186_0000.jpg
/home/pi/Desktop/images/11012025/02/24/image_11012025_02_24_02_455186_0001.jpg
/home/pi/Desktop/images/11012025/02/24/image_11012025_02_24_02_455186_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328033250","1328033243","1328033252","1328033246","1328033254","1328033248"],"photo_ids_order":["1328033243","1328033246","1328033248","1328033250","1328033252","1328033254"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4a0560b5704696d7aeee755c2aa02124.jpg","text":"TemporaryFile(/tmp/multipartBody1903853158572295304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558797259,"filename":"image_11012025_02_24_02_455186_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/91f810af84fb7dcfae97ad00654f0b3b.jpg","text":"TemporaryFile(/tmp/multipartBody6910595587274821573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558797259,"filename":"image_11012025_02_23_02_951476_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9bf283ed42c1b6a11fedebeffd63e05c.jpg","text":"TemporaryFile(/tmp/multipartBody2913511254613217361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558797259,"filename":"image_11012025_02_24_02_455186_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/82dadffb792eb860913fcddd0259645f.jpg","text":"TemporaryFile(/tmp/multipartBody5874812526248499883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558797259,"filename":"image_11012025_02_23_02_951476_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a287456f97c2c9239cf6307866f39016.jpg","text":"TemporaryFile(/tmp/multipartBody3865649480131485664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558797259,"filename":"image_11012025_02_24_02_455186_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/40fa1fe4c0c586e6278b1c6003df08db.jpg","text":"TemporaryFile(/tmp/multipartBody7285547307375784018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558797259,"filename":"image_11012025_02_23_02_951476_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328033248","file1":"1328033246","file0":"1328033243","file4":"1328033252","file5":"1328033254","file3":"1328033250"},"map_files_photo_id_array":[{"photo_id":"1328033254","filename":"file5"},{"photo_id":"1328033248","filename":"file2"},{"photo_id":"1328033252","filename":"file4"},{"photo_id":"1328033246","filename":"file1"},{"photo_id":"1328033243","filename":"file0"},{"photo_id":"1328033250","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328033250":["hashtag1","hashtag2"]},{"1328033243":["hashtag1","hashtag2"]},{"1328033252":["hashtag1","hashtag2"]},{"1328033246":["hashtag1","hashtag2"]},{"1328033254":["hashtag1","hashtag2"]},{"1328033248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328033250, 1328033243, 1328033252, 1328033246, 1328033254, 1328033248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.15853023529053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:26:22.681939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/24/image_11012025_02_24_02_455186_0003.jpg', '/home/pi/Desktop/images/11012025/02/25/image_11012025_02_25_02_975238_0000.jpg', '/home/pi/Desktop/images/11012025/02/25/image_11012025_02_25_02_975238_0001.jpg', '/home/pi/Desktop/images/11012025/02/25/image_11012025_02_25_02_975238_0002.jpg', '/home/pi/Desktop/images/11012025/02/25/image_11012025_02_25_02_975238_0003.jpg', '/home/pi/Desktop/images/11012025/02/26/image_11012025_02_26_02_541867_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/24/image_11012025_02_24_02_455186_0003.jpg
/home/pi/Desktop/images/11012025/02/25/image_11012025_02_25_02_975238_0000.jpg
/home/pi/Desktop/images/11012025/02/25/image_11012025_02_25_02_975238_0001.jpg
/home/pi/Desktop/images/11012025/02/25/image_11012025_02_25_02_975238_0002.jpg
/home/pi/Desktop/images/11012025/02/25/image_11012025_02_25_02_975238_0003.jpg
/home/pi/Desktop/images/11012025/02/26/image_11012025_02_26_02_541867_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328033271","1328033265","1328033259","1328033262","1328033273","1328033267"],"photo_ids_order":["1328033259","1328033262","1328033265","1328033267","1328033271","1328033273"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bdf9742c9bb03760985eb9873bed3801.jpg","text":"TemporaryFile(/tmp/multipartBody97212336741695757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558857906,"filename":"image_11012025_02_25_02_975238_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/10027da22de25ff42812ad1685d46e24.jpg","text":"TemporaryFile(/tmp/multipartBody4682645040971360994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558857906,"filename":"image_11012025_02_25_02_975238_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e176a2f894ab8e2fb9454b8c951046fc.jpg","text":"TemporaryFile(/tmp/multipartBody577841520354996428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558857906,"filename":"image_11012025_02_24_02_455186_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4265e26ec62283d89a3198bec71c8361.jpg","text":"TemporaryFile(/tmp/multipartBody1841879524531338705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558857906,"filename":"image_11012025_02_25_02_975238_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/32b96eae6cdce10e79bdf8d91deacb88.jpg","text":"TemporaryFile(/tmp/multipartBody2457937953578325894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558857906,"filename":"image_11012025_02_26_02_541867_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/af67c0f403bbd829e4d4bc5490fc874b.jpg","text":"TemporaryFile(/tmp/multipartBody6827353955274210662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558857906,"filename":"image_11012025_02_25_02_975238_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328033265","file1":"1328033262","file0":"1328033259","file4":"1328033271","file5":"1328033273","file3":"1328033267"},"map_files_photo_id_array":[{"photo_id":"1328033273","filename":"file5"},{"photo_id":"1328033265","filename":"file2"},{"photo_id":"1328033271","filename":"file4"},{"photo_id":"1328033262","filename":"file1"},{"photo_id":"1328033259","filename":"file0"},{"photo_id":"1328033267","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328033271":["hashtag1","hashtag2"]},{"1328033265":["hashtag1","hashtag2"]},{"1328033259":["hashtag1","hashtag2"]},{"1328033262":["hashtag1","hashtag2"]},{"1328033273":["hashtag1","hashtag2"]},{"1328033267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328033271, 1328033265, 1328033259, 1328033262, 1328033273, 1328033267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.08166027069092 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:27:22.214233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/26/image_11012025_02_26_02_541867_0001.jpg', '/home/pi/Desktop/images/11012025/02/26/image_11012025_02_26_02_541867_0002.jpg', '/home/pi/Desktop/images/11012025/02/26/image_11012025_02_26_02_541867_0003.jpg', '/home/pi/Desktop/images/11012025/02/27/image_11012025_02_27_03_082636_0000.jpg', '/home/pi/Desktop/images/11012025/02/27/image_11012025_02_27_03_082636_0001.jpg', '/home/pi/Desktop/images/11012025/02/27/image_11012025_02_27_03_082636_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/26/image_11012025_02_26_02_541867_0001.jpg
/home/pi/Desktop/images/11012025/02/26/image_11012025_02_26_02_541867_0002.jpg
/home/pi/Desktop/images/11012025/02/26/image_11012025_02_26_02_541867_0003.jpg
/home/pi/Desktop/images/11012025/02/27/image_11012025_02_27_03_082636_0000.jpg
/home/pi/Desktop/images/11012025/02/27/image_11012025_02_27_03_082636_0001.jpg
/home/pi/Desktop/images/11012025/02/27/image_11012025_02_27_03_082636_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328033277","1328033307","1328033285","1328033312","1328033309","1328033281"],"photo_ids_order":["1328033277","1328033281","1328033285","1328033307","1328033309","1328033312"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/56ec300751b37c640dca02409c449c4f.jpg","text":"TemporaryFile(/tmp/multipartBody6449602641421065666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558917178,"filename":"image_11012025_02_26_02_541867_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c86782bbbd27aa4a7dd731aeb784483d.jpg","text":"TemporaryFile(/tmp/multipartBody40089139759853222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558917178,"filename":"image_11012025_02_27_03_082636_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0712369bb56affccab85fda64459bcca.jpg","text":"TemporaryFile(/tmp/multipartBody6392625228339415469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558917178,"filename":"image_11012025_02_26_02_541867_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1772a9ee061f8b0525ebc26f4d49d303.jpg","text":"TemporaryFile(/tmp/multipartBody2258442905337287870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558917178,"filename":"image_11012025_02_27_03_082636_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5d8958fce323ce7f5219bc4887e5e463.jpg","text":"TemporaryFile(/tmp/multipartBody8351907101810203499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558917178,"filename":"image_11012025_02_27_03_082636_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/12e356485790d92ea049b41b1b9f6ae8.jpg","text":"TemporaryFile(/tmp/multipartBody6209872690266161991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736558917178,"filename":"image_11012025_02_26_02_541867_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328033285","file1":"1328033281","file0":"1328033277","file4":"1328033309","file5":"1328033312","file3":"1328033307"},"map_files_photo_id_array":[{"photo_id":"1328033312","filename":"file5"},{"photo_id":"1328033285","filename":"file2"},{"photo_id":"1328033309","filename":"file4"},{"photo_id":"1328033281","filename":"file1"},{"photo_id":"1328033277","filename":"file0"},{"photo_id":"1328033307","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328033277":["hashtag1","hashtag2"]},{"1328033307":["hashtag1","hashtag2"]},{"1328033285":["hashtag1","hashtag2"]},{"1328033312":["hashtag1","hashtag2"]},{"1328033309":["hashtag1","hashtag2"]},{"1328033281":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328033277, 1328033307, 1328033285, 1328033312, 1328033309, 1328033281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.78465533256531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:28:21.798765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/27/image_11012025_02_27_03_082636_0003.jpg', '/home/pi/Desktop/images/11012025/02/28/image_11012025_02_28_02_604835_0000.jpg', '/home/pi/Desktop/images/11012025/02/28/image_11012025_02_28_02_604835_0001.jpg', '/home/pi/Desktop/images/11012025/02/28/image_11012025_02_28_02_604835_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/27/image_11012025_02_27_03_082636_0003.jpg
/home/pi/Desktop/images/11012025/02/28/image_11012025_02_28_02_604835_0000.jpg
/home/pi/Desktop/images/11012025/02/28/image_11012025_02_28_02_604835_0001.jpg
/home/pi/Desktop/images/11012025/02/28/image_11012025_02_28_02_604835_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.917829275131226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:29:02.973427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/27/image_11012025_02_27_03_082636_0003.jpg', '/home/pi/Desktop/images/11012025/02/28/image_11012025_02_28_02_604835_0000.jpg', '/home/pi/Desktop/images/11012025/02/28/image_11012025_02_28_02_604835_0001.jpg', '/home/pi/Desktop/images/11012025/02/28/image_11012025_02_28_02_604835_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/27/image_11012025_02_27_03_082636_0003.jpg
/home/pi/Desktop/images/11012025/02/28/image_11012025_02_28_02_604835_0000.jpg
/home/pi/Desktop/images/11012025/02/28/image_11012025_02_28_02_604835_0001.jpg
/home/pi/Desktop/images/11012025/02/28/image_11012025_02_28_02_604835_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328033326","1328033334","1328033328","1328033333"],"photo_ids_order":["1328033326","1328033328","1328033333","1328033334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/27ec28a87f95ceecdff96f2c8a59008c.jpg","text":"TemporaryFile(/tmp/multipartBody9134896474176754948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559013321,"filename":"image_11012025_02_27_03_082636_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9f5403076d0b0d71ff6da775661b5a32.jpg","text":"TemporaryFile(/tmp/multipartBody7972972701726734872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559013321,"filename":"image_11012025_02_28_02_604835_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9b7277e4340377a0ec3ef1ba4b36a8ee.jpg","text":"TemporaryFile(/tmp/multipartBody1453127225247463178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559013321,"filename":"image_11012025_02_28_02_604835_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/02218ea1207e26d9fa26f995bc667ee8.jpg","text":"TemporaryFile(/tmp/multipartBody4242479754580832500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559013321,"filename":"image_11012025_02_28_02_604835_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328033333","file1":"1328033328","file0":"1328033326","file3":"1328033334"},"map_files_photo_id_array":[{"photo_id":"1328033333","filename":"file2"},{"photo_id":"1328033328","filename":"file1"},{"photo_id":"1328033326","filename":"file0"},{"photo_id":"1328033334","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328033326":["hashtag1","hashtag2"]},{"1328033334":["hashtag1","hashtag2"]},{"1328033328":["hashtag1","hashtag2"]},{"1328033333":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328033326, 1328033334, 1328033328, 1328033333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.76742911338806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:30:02.229290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/28/image_11012025_02_28_02_604835_0003.jpg', '/home/pi/Desktop/images/11012025/02/29/image_11012025_02_29_02_118626_0000.jpg', '/home/pi/Desktop/images/11012025/02/29/image_11012025_02_29_02_118626_0001.jpg', '/home/pi/Desktop/images/11012025/02/29/image_11012025_02_29_02_118626_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/28/image_11012025_02_28_02_604835_0003.jpg
/home/pi/Desktop/images/11012025/02/29/image_11012025_02_29_02_118626_0000.jpg
/home/pi/Desktop/images/11012025/02/29/image_11012025_02_29_02_118626_0001.jpg
/home/pi/Desktop/images/11012025/02/29/image_11012025_02_29_02_118626_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.84630560874939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:30:21.833623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/28/image_11012025_02_28_02_604835_0003.jpg', '/home/pi/Desktop/images/11012025/02/29/image_11012025_02_29_02_118626_0000.jpg', '/home/pi/Desktop/images/11012025/02/29/image_11012025_02_29_02_118626_0001.jpg', '/home/pi/Desktop/images/11012025/02/29/image_11012025_02_29_02_118626_0002.jpg', '/home/pi/Desktop/images/11012025/02/29/image_11012025_02_29_02_118626_0003.jpg', '/home/pi/Desktop/images/11012025/02/30/image_11012025_02_30_02_589537_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/28/image_11012025_02_28_02_604835_0003.jpg
/home/pi/Desktop/images/11012025/02/29/image_11012025_02_29_02_118626_0000.jpg
/home/pi/Desktop/images/11012025/02/29/image_11012025_02_29_02_118626_0001.jpg
/home/pi/Desktop/images/11012025/02/29/image_11012025_02_29_02_118626_0002.jpg
/home/pi/Desktop/images/11012025/02/29/image_11012025_02_29_02_118626_0003.jpg
/home/pi/Desktop/images/11012025/02/30/image_11012025_02_30_02_589537_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":["1328034435","1328034269","1328034026","1328034379","1328034247","1328034121"],"photo_ids_order":["1328034026","1328034121","1328034247","1328034269","1328034379","1328034435"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b721bf3cd1236ebfe0cfa4e20149578e.jpg","text":"TemporaryFile(/tmp/multipartBody5211458810853488631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559096906,"filename":"image_11012025_02_30_02_589537_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/87718009103b102f8012a854e3eea090.jpg","text":"TemporaryFile(/tmp/multipartBody6033488855592442924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559096906,"filename":"image_11012025_02_29_02_118626_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6bb9c789261ed1008db194d132bcfb42.jpg","text":"TemporaryFile(/tmp/multipartBody6126838072230851967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559096906,"filename":"image_11012025_02_28_02_604835_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6a8c15f93cb186daabeebea5361b53b9.jpg","text":"TemporaryFile(/tmp/multipartBody7543679354406759931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559096906,"filename":"image_11012025_02_29_02_118626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/95327707d2543c29ebf58ca496962870.jpg","text":"TemporaryFile(/tmp/multipartBody2330994952527320280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559096906,"filename":"image_11012025_02_29_02_118626_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cb8ab54ccbe8aa09b9df9a70fa18c013.jpg","text":"TemporaryFile(/tmp/multipartBody2018956260163766799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559096906,"filename":"image_11012025_02_29_02_118626_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328034247","file1":"1328034121","file0":"1328034026","file4":"1328034379","file5":"1328034435","file3":"1328034269"},"map_files_photo_id_array":[{"photo_id":"1328034435","filename":"file5"},{"photo_id":"1328034247","filename":"file2"},{"photo_id":"1328034379","filename":"file4"},{"photo_id":"1328034121","filename":"file1"},{"photo_id":"1328034026","filename":"file0"},{"photo_id":"1328034269","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328034435":["hashtag1","hashtag2"]},{"1328034269":["hashtag1","hashtag2"]},{"1328034026":["hashtag1","hashtag2"]},{"1328034379":["hashtag1","hashtag2"]},{"1328034247":["hashtag1","hashtag2"]},{"1328034121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328034435, 1328034269, 1328034026, 1328034379, 1328034247, 1328034121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.07181525230408 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:32:02.364831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/30/image_11012025_02_30_02_589537_0002.jpg', '/home/pi/Desktop/images/11012025/02/30/image_11012025_02_30_02_589537_0003.jpg', '/home/pi/Desktop/images/11012025/02/31/image_11012025_02_31_02_242256_0000.jpg', '/home/pi/Desktop/images/11012025/02/31/image_11012025_02_31_02_242256_0001.jpg', '/home/pi/Desktop/images/11012025/02/31/image_11012025_02_31_02_242256_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/30/image_11012025_02_30_02_589537_0002.jpg
/home/pi/Desktop/images/11012025/02/30/image_11012025_02_30_02_589537_0003.jpg
/home/pi/Desktop/images/11012025/02/31/image_11012025_02_31_02_242256_0000.jpg
/home/pi/Desktop/images/11012025/02/31/image_11012025_02_31_02_242256_0001.jpg
/home/pi/Desktop/images/11012025/02/31/image_11012025_02_31_02_242256_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328035376","1328035442","1328035464","1328035386","1328035389"],"photo_ids_order":["1328035376","1328035386","1328035389","1328035442","1328035464"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/26f699faf31a85338cb7ab057a7e528b.jpg","text":"TemporaryFile(/tmp/multipartBody8823797055503854168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559195030,"filename":"image_11012025_02_30_02_589537_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5dcb57999db052462868a23d87e58366.jpg","text":"TemporaryFile(/tmp/multipartBody3511314610483650917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559195030,"filename":"image_11012025_02_31_02_242256_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e70f2e6efd786d3c4a9ea876db15b884.jpg","text":"TemporaryFile(/tmp/multipartBody4143017817875997514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559195030,"filename":"image_11012025_02_31_02_242256_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6a3fe6664b322c4ac1d62bc7f6bb5bc0.jpg","text":"TemporaryFile(/tmp/multipartBody6121888634045607973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559195030,"filename":"image_11012025_02_30_02_589537_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4f24aaaa3fb604e2b92ec0721494f0be.jpg","text":"TemporaryFile(/tmp/multipartBody3030373305179129454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559195030,"filename":"image_11012025_02_31_02_242256_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328035389","file1":"1328035386","file0":"1328035376","file4":"1328035464","file3":"1328035442"},"map_files_photo_id_array":[{"photo_id":"1328035389","filename":"file2"},{"photo_id":"1328035464","filename":"file4"},{"photo_id":"1328035386","filename":"file1"},{"photo_id":"1328035376","filename":"file0"},{"photo_id":"1328035442","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328035376":["hashtag1","hashtag2"]},{"1328035442":["hashtag1","hashtag2"]},{"1328035464":["hashtag1","hashtag2"]},{"1328035386":["hashtag1","hashtag2"]},{"1328035389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328035376, 1328035442, 1328035464, 1328035386, 1328035389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.75241303443909 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:33:02.977039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/31/image_11012025_02_31_02_242256_0003.jpg', '/home/pi/Desktop/images/11012025/02/32/image_11012025_02_32_02_756910_0000.jpg', '/home/pi/Desktop/images/11012025/02/32/image_11012025_02_32_02_756910_0001.jpg', '/home/pi/Desktop/images/11012025/02/32/image_11012025_02_32_02_756910_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/31/image_11012025_02_31_02_242256_0003.jpg
/home/pi/Desktop/images/11012025/02/32/image_11012025_02_32_02_756910_0000.jpg
/home/pi/Desktop/images/11012025/02/32/image_11012025_02_32_02_756910_0001.jpg
/home/pi/Desktop/images/11012025/02/32/image_11012025_02_32_02_756910_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328036159","1328036116","1328035933","1328036115"],"photo_ids_order":["1328035933","1328036115","1328036116","1328036159"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a0bca99d270afc7ff0dedbf2bf11f73e.jpg","text":"TemporaryFile(/tmp/multipartBody4196131842558343072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559253152,"filename":"image_11012025_02_32_02_756910_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ccbeebbe657a424b9c4940e50f817ae7.jpg","text":"TemporaryFile(/tmp/multipartBody6259982377794244148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559253152,"filename":"image_11012025_02_32_02_756910_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ece302768957301ecc6cc54cb655ebe1.jpg","text":"TemporaryFile(/tmp/multipartBody7012697673635196837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559253152,"filename":"image_11012025_02_31_02_242256_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/605b36e2f3cfadd90572fc9aa4331de6.jpg","text":"TemporaryFile(/tmp/multipartBody5948654090277828017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559253152,"filename":"image_11012025_02_32_02_756910_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328036116","file1":"1328036115","file0":"1328035933","file3":"1328036159"},"map_files_photo_id_array":[{"photo_id":"1328036116","filename":"file2"},{"photo_id":"1328036115","filename":"file1"},{"photo_id":"1328035933","filename":"file0"},{"photo_id":"1328036159","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328036159":["hashtag1","hashtag2"]},{"1328036116":["hashtag1","hashtag2"]},{"1328035933":["hashtag1","hashtag2"]},{"1328036115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328036159, 1328036116, 1328035933, 1328036115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.67639207839966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:34:02.562022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/32/image_11012025_02_32_02_756910_0003.jpg', '/home/pi/Desktop/images/11012025/02/33/image_11012025_02_33_02_313450_0000.jpg', '/home/pi/Desktop/images/11012025/02/33/image_11012025_02_33_02_313450_0001.jpg', '/home/pi/Desktop/images/11012025/02/33/image_11012025_02_33_02_313450_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/32/image_11012025_02_32_02_756910_0003.jpg
/home/pi/Desktop/images/11012025/02/33/image_11012025_02_33_02_313450_0000.jpg
/home/pi/Desktop/images/11012025/02/33/image_11012025_02_33_02_313450_0001.jpg
/home/pi/Desktop/images/11012025/02/33/image_11012025_02_33_02_313450_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328036447","1328036446","1328036445","1328036448"],"photo_ids_order":["1328036445","1328036446","1328036447","1328036448"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6e30fcf1ddbbe434c0f4c6f98ce28b30.jpg","text":"TemporaryFile(/tmp/multipartBody4253068589038279296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559312920,"filename":"image_11012025_02_33_02_313450_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/22d8cc7f484359e515ea146efab5a8ee.jpg","text":"TemporaryFile(/tmp/multipartBody2523769911323924774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559312920,"filename":"image_11012025_02_33_02_313450_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9e3c57a23dce85086a53a7911ef5f094.jpg","text":"TemporaryFile(/tmp/multipartBody7953614499107270195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559312920,"filename":"image_11012025_02_32_02_756910_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a66b172b0dc301b84712d603901db497.jpg","text":"TemporaryFile(/tmp/multipartBody9184642841770061109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559312920,"filename":"image_11012025_02_33_02_313450_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328036447","file1":"1328036446","file0":"1328036445","file3":"1328036448"},"map_files_photo_id_array":[{"photo_id":"1328036447","filename":"file2"},{"photo_id":"1328036446","filename":"file1"},{"photo_id":"1328036445","filename":"file0"},{"photo_id":"1328036448","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328036447":["hashtag1","hashtag2"]},{"1328036446":["hashtag1","hashtag2"]},{"1328036445":["hashtag1","hashtag2"]},{"1328036448":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328036447, 1328036446, 1328036445, 1328036448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.273744106292725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:35:03.357090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/33/image_11012025_02_33_02_313450_0003.jpg', '/home/pi/Desktop/images/11012025/02/34/image_11012025_02_34_02_831966_0000.jpg', '/home/pi/Desktop/images/11012025/02/34/image_11012025_02_34_02_831966_0001.jpg', '/home/pi/Desktop/images/11012025/02/34/image_11012025_02_34_02_831966_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/33/image_11012025_02_33_02_313450_0003.jpg
/home/pi/Desktop/images/11012025/02/34/image_11012025_02_34_02_831966_0000.jpg
/home/pi/Desktop/images/11012025/02/34/image_11012025_02_34_02_831966_0001.jpg
/home/pi/Desktop/images/11012025/02/34/image_11012025_02_34_02_831966_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328036702","1328036701","1328036704","1328036703"],"photo_ids_order":["1328036701","1328036702","1328036703","1328036704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6f2c3f6c94a7fe95aa3c6711db75b2ac.jpg","text":"TemporaryFile(/tmp/multipartBody6362775748612465065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559373590,"filename":"image_11012025_02_34_02_831966_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/35b2cfe34bafbd8ccf736be0468e3e52.jpg","text":"TemporaryFile(/tmp/multipartBody7856682579276930015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559373590,"filename":"image_11012025_02_33_02_313450_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/df684ab6dac75f3b4a6879977a1c4de0.jpg","text":"TemporaryFile(/tmp/multipartBody7964151792297885233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559373590,"filename":"image_11012025_02_34_02_831966_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ae7854427561c662d1ea44e55ce30468.jpg","text":"TemporaryFile(/tmp/multipartBody982400260124775381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559373590,"filename":"image_11012025_02_34_02_831966_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328036703","file1":"1328036702","file0":"1328036701","file3":"1328036704"},"map_files_photo_id_array":[{"photo_id":"1328036703","filename":"file2"},{"photo_id":"1328036702","filename":"file1"},{"photo_id":"1328036701","filename":"file0"},{"photo_id":"1328036704","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328036702":["hashtag1","hashtag2"]},{"1328036701":["hashtag1","hashtag2"]},{"1328036704":["hashtag1","hashtag2"]},{"1328036703":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328036702, 1328036701, 1328036704, 1328036703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.46485948562622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:36:02.701974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/34/image_11012025_02_34_02_831966_0003.jpg', '/home/pi/Desktop/images/11012025/02/35/image_11012025_02_35_02_550308_0000.jpg', '/home/pi/Desktop/images/11012025/02/35/image_11012025_02_35_02_550308_0001.jpg', '/home/pi/Desktop/images/11012025/02/35/image_11012025_02_35_02_550308_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/34/image_11012025_02_34_02_831966_0003.jpg
/home/pi/Desktop/images/11012025/02/35/image_11012025_02_35_02_550308_0000.jpg
/home/pi/Desktop/images/11012025/02/35/image_11012025_02_35_02_550308_0001.jpg
/home/pi/Desktop/images/11012025/02/35/image_11012025_02_35_02_550308_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328037043","1328036839","1328036725","1328036940"],"photo_ids_order":["1328036725","1328036839","1328036940","1328037043"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dc767528f4ae7ba2e5c24d509e67f35b.jpg","text":"TemporaryFile(/tmp/multipartBody7087051778326963992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559432931,"filename":"image_11012025_02_35_02_550308_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1f6c84ae98dadbb758e440eb2e911e1d.jpg","text":"TemporaryFile(/tmp/multipartBody5127589276574018813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559432931,"filename":"image_11012025_02_35_02_550308_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1902f3eddd6189b71594822c2902e1ca.jpg","text":"TemporaryFile(/tmp/multipartBody7103383954226033040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559432931,"filename":"image_11012025_02_34_02_831966_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a2ce9aef5628c6e522ac85465649831e.jpg","text":"TemporaryFile(/tmp/multipartBody2168257898874357059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559432931,"filename":"image_11012025_02_35_02_550308_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328036940","file1":"1328036839","file0":"1328036725","file3":"1328037043"},"map_files_photo_id_array":[{"photo_id":"1328036940","filename":"file2"},{"photo_id":"1328036839","filename":"file1"},{"photo_id":"1328036725","filename":"file0"},{"photo_id":"1328037043","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328037043":["hashtag1","hashtag2"]},{"1328036839":["hashtag1","hashtag2"]},{"1328036725":["hashtag1","hashtag2"]},{"1328036940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328037043, 1328036839, 1328036725, 1328036940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.40118098258972 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:37:02.490900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/35/image_11012025_02_35_02_550308_0003.jpg', '/home/pi/Desktop/images/11012025/02/36/image_11012025_02_36_03_072199_0000.jpg', '/home/pi/Desktop/images/11012025/02/36/image_11012025_02_36_03_072199_0001.jpg', '/home/pi/Desktop/images/11012025/02/36/image_11012025_02_36_03_072199_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/35/image_11012025_02_35_02_550308_0003.jpg
/home/pi/Desktop/images/11012025/02/36/image_11012025_02_36_03_072199_0000.jpg
/home/pi/Desktop/images/11012025/02/36/image_11012025_02_36_03_072199_0001.jpg
/home/pi/Desktop/images/11012025/02/36/image_11012025_02_36_03_072199_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.858798503875732 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:37:21.740976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/35/image_11012025_02_35_02_550308_0003.jpg', '/home/pi/Desktop/images/11012025/02/36/image_11012025_02_36_03_072199_0000.jpg', '/home/pi/Desktop/images/11012025/02/36/image_11012025_02_36_03_072199_0001.jpg', '/home/pi/Desktop/images/11012025/02/36/image_11012025_02_36_03_072199_0002.jpg', '/home/pi/Desktop/images/11012025/02/36/image_11012025_02_36_03_072199_0003.jpg', '/home/pi/Desktop/images/11012025/02/37/image_11012025_02_37_02_659759_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/35/image_11012025_02_35_02_550308_0003.jpg
/home/pi/Desktop/images/11012025/02/36/image_11012025_02_36_03_072199_0000.jpg
/home/pi/Desktop/images/11012025/02/36/image_11012025_02_36_03_072199_0001.jpg
/home/pi/Desktop/images/11012025/02/36/image_11012025_02_36_03_072199_0002.jpg
/home/pi/Desktop/images/11012025/02/36/image_11012025_02_36_03_072199_0003.jpg
/home/pi/Desktop/images/11012025/02/37/image_11012025_02_37_02_659759_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328037262","1328037268","1328037264","1328037258","1328037266","1328037260"],"photo_ids_order":["1328037258","1328037260","1328037262","1328037264","1328037266","1328037268"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7fabbd889617a11faef83fa672349b82.jpg","text":"TemporaryFile(/tmp/multipartBody8011582465147425502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559516673,"filename":"image_11012025_02_36_03_072199_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/151a898d0087ce4756da4e12ce8a1c4c.jpg","text":"TemporaryFile(/tmp/multipartBody2355459598098112581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559516673,"filename":"image_11012025_02_37_02_659759_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ffab65f2cb4a2794a341981d39a88df8.jpg","text":"TemporaryFile(/tmp/multipartBody4116904192569334969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559516673,"filename":"image_11012025_02_36_03_072199_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/17a080a1e0b61c4bdc5e5597972e3f0b.jpg","text":"TemporaryFile(/tmp/multipartBody7743701127949715814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559516673,"filename":"image_11012025_02_35_02_550308_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0fe40a4f78c82a3c9ce139fbbcd2461a.jpg","text":"TemporaryFile(/tmp/multipartBody7069190171852086383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559516673,"filename":"image_11012025_02_36_03_072199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/63d38a86595211d5ba9d58bece656330.jpg","text":"TemporaryFile(/tmp/multipartBody893030402219571491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559516673,"filename":"image_11012025_02_36_03_072199_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328037262","file1":"1328037260","file0":"1328037258","file4":"1328037266","file5":"1328037268","file3":"1328037264"},"map_files_photo_id_array":[{"photo_id":"1328037268","filename":"file5"},{"photo_id":"1328037262","filename":"file2"},{"photo_id":"1328037266","filename":"file4"},{"photo_id":"1328037260","filename":"file1"},{"photo_id":"1328037258","filename":"file0"},{"photo_id":"1328037264","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328037262":["hashtag1","hashtag2"]},{"1328037268":["hashtag1","hashtag2"]},{"1328037264":["hashtag1","hashtag2"]},{"1328037258":["hashtag1","hashtag2"]},{"1328037266":["hashtag1","hashtag2"]},{"1328037260":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328037262, 1328037268, 1328037264, 1328037258, 1328037266, 1328037260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.20987033843994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:38:22.397599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/37/image_11012025_02_37_02_659759_0001.jpg', '/home/pi/Desktop/images/11012025/02/37/image_11012025_02_37_02_659759_0002.jpg', '/home/pi/Desktop/images/11012025/02/37/image_11012025_02_37_02_659759_0003.jpg', '/home/pi/Desktop/images/11012025/02/38/image_11012025_02_38_02_172404_0000.jpg', '/home/pi/Desktop/images/11012025/02/38/image_11012025_02_38_02_172404_0001.jpg', '/home/pi/Desktop/images/11012025/02/38/image_11012025_02_38_02_172404_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/37/image_11012025_02_37_02_659759_0001.jpg
/home/pi/Desktop/images/11012025/02/37/image_11012025_02_37_02_659759_0002.jpg
/home/pi/Desktop/images/11012025/02/37/image_11012025_02_37_02_659759_0003.jpg
/home/pi/Desktop/images/11012025/02/38/image_11012025_02_38_02_172404_0000.jpg
/home/pi/Desktop/images/11012025/02/38/image_11012025_02_38_02_172404_0001.jpg
/home/pi/Desktop/images/11012025/02/38/image_11012025_02_38_02_172404_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328037271","1328037274","1328037282","1328037276","1328037285","1328037279"],"photo_ids_order":["1328037271","1328037274","1328037276","1328037279","1328037282","1328037285"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a570b1a7db4870ce32af6c2cb706d862.jpg","text":"TemporaryFile(/tmp/multipartBody5705825911126430141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559577512,"filename":"image_11012025_02_37_02_659759_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/45674045e45ef4858863fe532291ffb5.jpg","text":"TemporaryFile(/tmp/multipartBody1275812928077401775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559577512,"filename":"image_11012025_02_37_02_659759_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/64ae32ffdb91253405ced7fac85c0483.jpg","text":"TemporaryFile(/tmp/multipartBody7975376309183324252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559577512,"filename":"image_11012025_02_38_02_172404_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2686b2dba60ff22e14297f3588ed238b.jpg","text":"TemporaryFile(/tmp/multipartBody5637787364788027441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559577512,"filename":"image_11012025_02_37_02_659759_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/06e14abf4deb509a57935fa4c2d398d3.jpg","text":"TemporaryFile(/tmp/multipartBody6812343573762865721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559577512,"filename":"image_11012025_02_38_02_172404_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3874dd7b71d42fa43d8f3ffc38c53d14.jpg","text":"TemporaryFile(/tmp/multipartBody8839777726001851636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559577512,"filename":"image_11012025_02_38_02_172404_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328037276","file1":"1328037274","file0":"1328037271","file4":"1328037282","file5":"1328037285","file3":"1328037279"},"map_files_photo_id_array":[{"photo_id":"1328037285","filename":"file5"},{"photo_id":"1328037276","filename":"file2"},{"photo_id":"1328037282","filename":"file4"},{"photo_id":"1328037274","filename":"file1"},{"photo_id":"1328037271","filename":"file0"},{"photo_id":"1328037279","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328037271":["hashtag1","hashtag2"]},{"1328037274":["hashtag1","hashtag2"]},{"1328037282":["hashtag1","hashtag2"]},{"1328037276":["hashtag1","hashtag2"]},{"1328037285":["hashtag1","hashtag2"]},{"1328037279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328037271, 1328037274, 1328037282, 1328037276, 1328037285, 1328037279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.99728775024414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:40:02.905743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/38/image_11012025_02_38_02_172404_0003.jpg', '/home/pi/Desktop/images/11012025/02/39/image_11012025_02_39_02_775031_0000.jpg', '/home/pi/Desktop/images/11012025/02/39/image_11012025_02_39_02_775031_0001.jpg', '/home/pi/Desktop/images/11012025/02/39/image_11012025_02_39_02_775031_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/38/image_11012025_02_38_02_172404_0003.jpg
/home/pi/Desktop/images/11012025/02/39/image_11012025_02_39_02_775031_0000.jpg
/home/pi/Desktop/images/11012025/02/39/image_11012025_02_39_02_775031_0001.jpg
/home/pi/Desktop/images/11012025/02/39/image_11012025_02_39_02_775031_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328037319","1328037324","1328037318","1328037321"],"photo_ids_order":["1328037318","1328037319","1328037321","1328037324"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b8ebeec7de37712f5b03911ba6cdd8c3.jpg","text":"TemporaryFile(/tmp/multipartBody771009690363372395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559673318,"filename":"image_11012025_02_39_02_775031_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/82f1446ef94ec248cc0ef37f3e1718e2.jpg","text":"TemporaryFile(/tmp/multipartBody8306886904303418579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559673318,"filename":"image_11012025_02_39_02_775031_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c402f6680887ee85253e4191d9a84c75.jpg","text":"TemporaryFile(/tmp/multipartBody4372235085483179777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559673318,"filename":"image_11012025_02_38_02_172404_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8a38f5e7caf7347042fb03eb752a6f24.jpg","text":"TemporaryFile(/tmp/multipartBody637348114971270542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559673318,"filename":"image_11012025_02_39_02_775031_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328037321","file1":"1328037319","file0":"1328037318","file3":"1328037324"},"map_files_photo_id_array":[{"photo_id":"1328037321","filename":"file2"},{"photo_id":"1328037319","filename":"file1"},{"photo_id":"1328037318","filename":"file0"},{"photo_id":"1328037324","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328037319":["hashtag1","hashtag2"]},{"1328037324":["hashtag1","hashtag2"]},{"1328037318":["hashtag1","hashtag2"]},{"1328037321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328037319, 1328037324, 1328037318, 1328037321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.5579879283905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:41:02.497762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/39/image_11012025_02_39_02_775031_0003.jpg', '/home/pi/Desktop/images/11012025/02/40/image_11012025_02_40_02_287603_0000.jpg', '/home/pi/Desktop/images/11012025/02/40/image_11012025_02_40_02_287603_0001.jpg', '/home/pi/Desktop/images/11012025/02/40/image_11012025_02_40_02_287603_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/39/image_11012025_02_39_02_775031_0003.jpg
/home/pi/Desktop/images/11012025/02/40/image_11012025_02_40_02_287603_0000.jpg
/home/pi/Desktop/images/11012025/02/40/image_11012025_02_40_02_287603_0001.jpg
/home/pi/Desktop/images/11012025/02/40/image_11012025_02_40_02_287603_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.869200229644775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:41:21.869004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/39/image_11012025_02_39_02_775031_0003.jpg', '/home/pi/Desktop/images/11012025/02/40/image_11012025_02_40_02_287603_0000.jpg', '/home/pi/Desktop/images/11012025/02/40/image_11012025_02_40_02_287603_0001.jpg', '/home/pi/Desktop/images/11012025/02/40/image_11012025_02_40_02_287603_0002.jpg', '/home/pi/Desktop/images/11012025/02/40/image_11012025_02_40_02_287603_0003.jpg', '/home/pi/Desktop/images/11012025/02/41/image_11012025_02_41_02_792176_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/39/image_11012025_02_39_02_775031_0003.jpg
/home/pi/Desktop/images/11012025/02/40/image_11012025_02_40_02_287603_0000.jpg
/home/pi/Desktop/images/11012025/02/40/image_11012025_02_40_02_287603_0001.jpg
/home/pi/Desktop/images/11012025/02/40/image_11012025_02_40_02_287603_0002.jpg
/home/pi/Desktop/images/11012025/02/40/image_11012025_02_40_02_287603_0003.jpg
/home/pi/Desktop/images/11012025/02/41/image_11012025_02_41_02_792176_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328037341","1328037343","1328037337","1328037345","1328037339","1328037347"],"photo_ids_order":["1328037337","1328037339","1328037341","1328037343","1328037345","1328037347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dea9be1e91e1cc832eeb54fbc92313ff.jpg","text":"TemporaryFile(/tmp/multipartBody9161649471542715427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559756850,"filename":"image_11012025_02_40_02_287603_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/53073b2cddc70300cae3924116c0d8bd.jpg","text":"TemporaryFile(/tmp/multipartBody2938290978451607689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559756850,"filename":"image_11012025_02_40_02_287603_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/974b65ab7d990ca24e9a0b7f2075d7b8.jpg","text":"TemporaryFile(/tmp/multipartBody7592184487117615477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559756850,"filename":"image_11012025_02_39_02_775031_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/39164d1b3779578e97b91d283585e788.jpg","text":"TemporaryFile(/tmp/multipartBody2782720764826021575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559756850,"filename":"image_11012025_02_40_02_287603_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/87181fcad4b175f0ea689c76af2febcb.jpg","text":"TemporaryFile(/tmp/multipartBody6653703828818402246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559756850,"filename":"image_11012025_02_40_02_287603_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b4f0f94ec8d2350f728e32de64f044cf.jpg","text":"TemporaryFile(/tmp/multipartBody1625198239705131453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559756850,"filename":"image_11012025_02_41_02_792176_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328037341","file1":"1328037339","file0":"1328037337","file4":"1328037345","file5":"1328037347","file3":"1328037343"},"map_files_photo_id_array":[{"photo_id":"1328037347","filename":"file5"},{"photo_id":"1328037341","filename":"file2"},{"photo_id":"1328037345","filename":"file4"},{"photo_id":"1328037339","filename":"file1"},{"photo_id":"1328037337","filename":"file0"},{"photo_id":"1328037343","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328037341":["hashtag1","hashtag2"]},{"1328037343":["hashtag1","hashtag2"]},{"1328037337":["hashtag1","hashtag2"]},{"1328037345":["hashtag1","hashtag2"]},{"1328037339":["hashtag1","hashtag2"]},{"1328037347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328037341, 1328037343, 1328037337, 1328037345, 1328037339, 1328037347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.16973423957825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:42:22.603502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/41/image_11012025_02_41_02_792176_0001.jpg', '/home/pi/Desktop/images/11012025/02/41/image_11012025_02_41_02_792176_0002.jpg', '/home/pi/Desktop/images/11012025/02/41/image_11012025_02_41_02_792176_0003.jpg', '/home/pi/Desktop/images/11012025/02/42/image_11012025_02_42_02_312308_0000.jpg', '/home/pi/Desktop/images/11012025/02/42/image_11012025_02_42_02_312308_0001.jpg', '/home/pi/Desktop/images/11012025/02/42/image_11012025_02_42_02_312308_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/41/image_11012025_02_41_02_792176_0001.jpg
/home/pi/Desktop/images/11012025/02/41/image_11012025_02_41_02_792176_0002.jpg
/home/pi/Desktop/images/11012025/02/41/image_11012025_02_41_02_792176_0003.jpg
/home/pi/Desktop/images/11012025/02/42/image_11012025_02_42_02_312308_0000.jpg
/home/pi/Desktop/images/11012025/02/42/image_11012025_02_42_02_312308_0001.jpg
/home/pi/Desktop/images/11012025/02/42/image_11012025_02_42_02_312308_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328037388","1328037351","1328037383","1328037386","1328037380","1328037353"],"photo_ids_order":["1328037351","1328037353","1328037380","1328037383","1328037386","1328037388"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0158aff7ee2c51abc9f8a353c9b97db2.jpg","text":"TemporaryFile(/tmp/multipartBody7590808104056195886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559817464,"filename":"image_11012025_02_42_02_312308_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/91799b2c39721a2329bae5acf7f45079.jpg","text":"TemporaryFile(/tmp/multipartBody7672764047174067797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559817464,"filename":"image_11012025_02_41_02_792176_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/188a2204f7fd1f03ce65244bd67ae96f.jpg","text":"TemporaryFile(/tmp/multipartBody4793544845161182131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559817464,"filename":"image_11012025_02_42_02_312308_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/07feffca80cf8065433d5c7d8ecb2ce6.jpg","text":"TemporaryFile(/tmp/multipartBody6673644180556913516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559817464,"filename":"image_11012025_02_42_02_312308_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b1f80b3deb4eeb8039c26b0f6d1f05b6.jpg","text":"TemporaryFile(/tmp/multipartBody8840748618534462025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559817464,"filename":"image_11012025_02_41_02_792176_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c7314d6e2c02e1f645dd761766c710c8.jpg","text":"TemporaryFile(/tmp/multipartBody7540554119021005686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559817464,"filename":"image_11012025_02_41_02_792176_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328037380","file1":"1328037353","file0":"1328037351","file4":"1328037386","file5":"1328037388","file3":"1328037383"},"map_files_photo_id_array":[{"photo_id":"1328037388","filename":"file5"},{"photo_id":"1328037380","filename":"file2"},{"photo_id":"1328037386","filename":"file4"},{"photo_id":"1328037353","filename":"file1"},{"photo_id":"1328037351","filename":"file0"},{"photo_id":"1328037383","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328037388":["hashtag1","hashtag2"]},{"1328037351":["hashtag1","hashtag2"]},{"1328037383":["hashtag1","hashtag2"]},{"1328037386":["hashtag1","hashtag2"]},{"1328037380":["hashtag1","hashtag2"]},{"1328037353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328037388, 1328037351, 1328037383, 1328037386, 1328037380, 1328037353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.718525409698486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:43:22.135772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/42/image_11012025_02_42_02_312308_0003.jpg', '/home/pi/Desktop/images/11012025/02/43/image_11012025_02_43_03_017811_0000.jpg', '/home/pi/Desktop/images/11012025/02/43/image_11012025_02_43_03_017811_0001.jpg', '/home/pi/Desktop/images/11012025/02/43/image_11012025_02_43_03_017811_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/42/image_11012025_02_42_02_312308_0003.jpg
/home/pi/Desktop/images/11012025/02/43/image_11012025_02_43_03_017811_0000.jpg
/home/pi/Desktop/images/11012025/02/43/image_11012025_02_43_03_017811_0001.jpg
/home/pi/Desktop/images/11012025/02/43/image_11012025_02_43_03_017811_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328037391","1328037393","1328037396","1328037398"],"photo_ids_order":["1328037391","1328037393","1328037396","1328037398"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/db4c44259248759d7fc82518510c8448.jpg","text":"TemporaryFile(/tmp/multipartBody5773797537476402276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559872267,"filename":"image_11012025_02_42_02_312308_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2870d2fe68b953043d61a7b626af8664.jpg","text":"TemporaryFile(/tmp/multipartBody311734915694234142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559872267,"filename":"image_11012025_02_43_03_017811_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4582d1ad158b96b8db753bf269b11c18.jpg","text":"TemporaryFile(/tmp/multipartBody3943158160666450946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559872267,"filename":"image_11012025_02_43_03_017811_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b03b093696c97c36d76bcf7a345d692a.jpg","text":"TemporaryFile(/tmp/multipartBody5924050544733087279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559872267,"filename":"image_11012025_02_43_03_017811_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328037396","file1":"1328037393","file0":"1328037391","file3":"1328037398"},"map_files_photo_id_array":[{"photo_id":"1328037396","filename":"file2"},{"photo_id":"1328037393","filename":"file1"},{"photo_id":"1328037391","filename":"file0"},{"photo_id":"1328037398","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328037391":["hashtag1","hashtag2"]},{"1328037393":["hashtag1","hashtag2"]},{"1328037396":["hashtag1","hashtag2"]},{"1328037398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328037391, 1328037393, 1328037396, 1328037398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.17971348762512 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:44:02.993745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/49/image_09012025_22_49_02_801332_0000.jpg', '/home/pi/Desktop/images/09012025/22/49/image_09012025_22_49_02_801332_0001.jpg', '/home/pi/Desktop/images/09012025/22/49/image_09012025_22_49_02_801332_0002.jpg', '/home/pi/Desktop/images/09012025/22/49/image_09012025_22_49_02_801332_0003.jpg', '/home/pi/Desktop/images/09012025/22/50/image_09012025_22_50_02_187602_0000.jpg', '/home/pi/Desktop/images/09012025/22/50/image_09012025_22_50_02_187602_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/49/image_09012025_22_49_02_801332_0000.jpg
/home/pi/Desktop/images/09012025/22/49/image_09012025_22_49_02_801332_0001.jpg
/home/pi/Desktop/images/09012025/22/49/image_09012025_22_49_02_801332_0002.jpg
/home/pi/Desktop/images/09012025/22/49/image_09012025_22_49_02_801332_0003.jpg
/home/pi/Desktop/images/09012025/22/50/image_09012025_22_50_02_187602_0000.jpg
/home/pi/Desktop/images/09012025/22/50/image_09012025_22_50_02_187602_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328037413","1328037416","1328037412","1328037415","1328037418","1328037408"],"photo_ids_order":["1328037408","1328037412","1328037413","1328037415","1328037416","1328037418"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/95bb8682ff44afc4ad87996bac30b1f2.jpg","text":"TemporaryFile(/tmp/multipartBody8711329762643792211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559919376,"filename":"image_09012025_22_49_02_801332_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1d5d5650941ca69000355a2fbc093774.jpg","text":"TemporaryFile(/tmp/multipartBody959854736772542179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559919376,"filename":"image_09012025_22_50_02_187602_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4eeb6d910193cd06cb695548f5e6ee7f.jpg","text":"TemporaryFile(/tmp/multipartBody1640762335604346551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559919376,"filename":"image_09012025_22_49_02_801332_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b3df380399941d68899f39899982a323.jpg","text":"TemporaryFile(/tmp/multipartBody1862162471059907671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559919376,"filename":"image_09012025_22_49_02_801332_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/123d464703c8f23226c72d38afbbbe8a.jpg","text":"TemporaryFile(/tmp/multipartBody6966752647546013182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559919376,"filename":"image_09012025_22_50_02_187602_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b268dbb10741ff7b0f78838d07a6d954.jpg","text":"TemporaryFile(/tmp/multipartBody5371375684952899276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559919376,"filename":"image_09012025_22_49_02_801332_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328037413","file1":"1328037412","file0":"1328037408","file4":"1328037416","file5":"1328037418","file3":"1328037415"},"map_files_photo_id_array":[{"photo_id":"1328037418","filename":"file5"},{"photo_id":"1328037413","filename":"file2"},{"photo_id":"1328037416","filename":"file4"},{"photo_id":"1328037412","filename":"file1"},{"photo_id":"1328037408","filename":"file0"},{"photo_id":"1328037415","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328037413":["hashtag1","hashtag2"]},{"1328037416":["hashtag1","hashtag2"]},{"1328037412":["hashtag1","hashtag2"]},{"1328037415":["hashtag1","hashtag2"]},{"1328037418":["hashtag1","hashtag2"]},{"1328037408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328037413, 1328037416, 1328037412, 1328037415, 1328037418, 1328037408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.84554076194763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:45:02.618295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/43/image_11012025_02_43_03_017811_0003.jpg', '/home/pi/Desktop/images/11012025/02/44/image_11012025_02_44_02_518624_0000.jpg', '/home/pi/Desktop/images/11012025/02/44/image_11012025_02_44_02_518624_0001.jpg', '/home/pi/Desktop/images/11012025/02/44/image_11012025_02_44_02_518624_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/43/image_11012025_02_43_03_017811_0003.jpg
/home/pi/Desktop/images/11012025/02/44/image_11012025_02_44_02_518624_0000.jpg
/home/pi/Desktop/images/11012025/02/44/image_11012025_02_44_02_518624_0001.jpg
/home/pi/Desktop/images/11012025/02/44/image_11012025_02_44_02_518624_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328037586","1328037646","1328037549","1328037857"],"photo_ids_order":["1328037549","1328037586","1328037646","1328037857"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bd15eb21e09e28c66f97a7e12fa71014.jpg","text":"TemporaryFile(/tmp/multipartBody2181327065116526895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559972958,"filename":"image_11012025_02_44_02_518624_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f75634c22c72b89a11b7c8a77f9f45d4.jpg","text":"TemporaryFile(/tmp/multipartBody390830892570344728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559972958,"filename":"image_11012025_02_44_02_518624_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/049c329d08b72eea0298ecadf7f092f9.jpg","text":"TemporaryFile(/tmp/multipartBody8391360314852271739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559972958,"filename":"image_11012025_02_43_03_017811_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/69eaad370a2a02647c27f34184559e0f.jpg","text":"TemporaryFile(/tmp/multipartBody8081647646740260991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736559972958,"filename":"image_11012025_02_44_02_518624_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328037646","file1":"1328037586","file0":"1328037549","file3":"1328037857"},"map_files_photo_id_array":[{"photo_id":"1328037646","filename":"file2"},{"photo_id":"1328037586","filename":"file1"},{"photo_id":"1328037549","filename":"file0"},{"photo_id":"1328037857","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328037586":["hashtag1","hashtag2"]},{"1328037646":["hashtag1","hashtag2"]},{"1328037549":["hashtag1","hashtag2"]},{"1328037857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328037586, 1328037646, 1328037549, 1328037857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.7698392868042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:46:02.327937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/44/image_11012025_02_44_02_518624_0003.jpg', '/home/pi/Desktop/images/11012025/02/45/image_11012025_02_45_03_015322_0000.jpg', '/home/pi/Desktop/images/11012025/02/45/image_11012025_02_45_03_015322_0001.jpg', '/home/pi/Desktop/images/11012025/02/45/image_11012025_02_45_03_015322_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/44/image_11012025_02_44_02_518624_0003.jpg
/home/pi/Desktop/images/11012025/02/45/image_11012025_02_45_03_015322_0000.jpg
/home/pi/Desktop/images/11012025/02/45/image_11012025_02_45_03_015322_0001.jpg
/home/pi/Desktop/images/11012025/02/45/image_11012025_02_45_03_015322_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328038564","1328038561","1328038563","1328038565"],"photo_ids_order":["1328038561","1328038563","1328038564","1328038565"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a5887ea9a0504ed9fdadb54484c95fde.jpg","text":"TemporaryFile(/tmp/multipartBody45604552763674839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560032778,"filename":"image_11012025_02_45_03_015322_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6ebc0b180b1184584ed239dc6255adb3.jpg","text":"TemporaryFile(/tmp/multipartBody2345550864255204683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560032778,"filename":"image_11012025_02_44_02_518624_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e482c804f7937f6a119564e4c94284e4.jpg","text":"TemporaryFile(/tmp/multipartBody5523504441297162635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560032778,"filename":"image_11012025_02_45_03_015322_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6bb4bf44f1dad2f7119e435864680e65.jpg","text":"TemporaryFile(/tmp/multipartBody8632157784505592166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560032778,"filename":"image_11012025_02_45_03_015322_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328038564","file1":"1328038563","file0":"1328038561","file3":"1328038565"},"map_files_photo_id_array":[{"photo_id":"1328038564","filename":"file2"},{"photo_id":"1328038563","filename":"file1"},{"photo_id":"1328038561","filename":"file0"},{"photo_id":"1328038565","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328038564":["hashtag1","hashtag2"]},{"1328038561":["hashtag1","hashtag2"]},{"1328038563":["hashtag1","hashtag2"]},{"1328038565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328038564, 1328038561, 1328038563, 1328038565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.19608163833618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:47:02.947264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/45/image_11012025_02_45_03_015322_0003.jpg', '/home/pi/Desktop/images/11012025/02/46/image_11012025_02_46_02_576684_0000.jpg', '/home/pi/Desktop/images/11012025/02/46/image_11012025_02_46_02_576684_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/45/image_11012025_02_45_03_015322_0003.jpg
/home/pi/Desktop/images/11012025/02/46/image_11012025_02_46_02_576684_0000.jpg
/home/pi/Desktop/images/11012025/02/46/image_11012025_02_46_02_576684_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328038840","1328038980","1328038841"],"photo_ids_order":["1328038840","1328038841","1328038980"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7cc09c30856e00cbddc834f53e680e46.jpg","text":"TemporaryFile(/tmp/multipartBody7234673817374203059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560091087,"filename":"image_11012025_02_45_03_015322_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/12b0d512992b50b403b0a11aa8dfa5ee.jpg","text":"TemporaryFile(/tmp/multipartBody3410886853820174917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560091087,"filename":"image_11012025_02_46_02_576684_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fd54e5d22dfde2e6ca5b0f88f7d90172.jpg","text":"TemporaryFile(/tmp/multipartBody4599720862917840015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560091087,"filename":"image_11012025_02_46_02_576684_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328038980","file1":"1328038841","file0":"1328038840"},"map_files_photo_id_array":[{"photo_id":"1328038980","filename":"file2"},{"photo_id":"1328038841","filename":"file1"},{"photo_id":"1328038840","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328038840":["hashtag1","hashtag2"]},{"1328038980":["hashtag1","hashtag2"]},{"1328038841":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328038840, 1328038980, 1328038841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.692643880844116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:48:02.365937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/46/image_11012025_02_46_02_576684_0003.jpg', '/home/pi/Desktop/images/11012025/02/47/image_11012025_02_47_02_260011_0000.jpg', '/home/pi/Desktop/images/11012025/02/47/image_11012025_02_47_02_260011_0001.jpg', '/home/pi/Desktop/images/11012025/02/47/image_11012025_02_47_02_260011_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/46/image_11012025_02_46_02_576684_0003.jpg
/home/pi/Desktop/images/11012025/02/47/image_11012025_02_47_02_260011_0000.jpg
/home/pi/Desktop/images/11012025/02/47/image_11012025_02_47_02_260011_0001.jpg
/home/pi/Desktop/images/11012025/02/47/image_11012025_02_47_02_260011_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328039257","1328039259","1328039229","1328039258"],"photo_ids_order":["1328039229","1328039257","1328039258","1328039259"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/043b9b88a20417e5d92e0300bac4f3aa.jpg","text":"TemporaryFile(/tmp/multipartBody3383153383616134375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560152716,"filename":"image_11012025_02_47_02_260011_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7cd404fa55efa3d3acccf273120641c9.jpg","text":"TemporaryFile(/tmp/multipartBody6462525034364989482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560152716,"filename":"image_11012025_02_47_02_260011_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bc9c736c3fc7c599df0468b9962f7baf.jpg","text":"TemporaryFile(/tmp/multipartBody2344291507704315949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560152716,"filename":"image_11012025_02_46_02_576684_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/597b6d27414bb2b1f2abc09163d7d31b.jpg","text":"TemporaryFile(/tmp/multipartBody6519420016251349293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560152716,"filename":"image_11012025_02_47_02_260011_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328039258","file1":"1328039257","file0":"1328039229","file3":"1328039259"},"map_files_photo_id_array":[{"photo_id":"1328039258","filename":"file2"},{"photo_id":"1328039257","filename":"file1"},{"photo_id":"1328039229","filename":"file0"},{"photo_id":"1328039259","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328039257":["hashtag1","hashtag2"]},{"1328039259":["hashtag1","hashtag2"]},{"1328039229":["hashtag1","hashtag2"]},{"1328039258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328039257, 1328039259, 1328039229, 1328039258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.31484937667847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:49:03.182810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/47/image_11012025_02_47_02_260011_0003.jpg', '/home/pi/Desktop/images/11012025/02/48/image_11012025_02_48_02_769268_0000.jpg', '/home/pi/Desktop/images/11012025/02/48/image_11012025_02_48_02_769268_0001.jpg', '/home/pi/Desktop/images/11012025/02/48/image_11012025_02_48_02_769268_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/47/image_11012025_02_47_02_260011_0003.jpg
/home/pi/Desktop/images/11012025/02/48/image_11012025_02_48_02_769268_0000.jpg
/home/pi/Desktop/images/11012025/02/48/image_11012025_02_48_02_769268_0001.jpg
/home/pi/Desktop/images/11012025/02/48/image_11012025_02_48_02_769268_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328039295","1328039294","1328039296","1328039293"],"photo_ids_order":["1328039293","1328039294","1328039295","1328039296"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b7d84bdae6c6fd1290f2d8aca5c0fd42.jpg","text":"TemporaryFile(/tmp/multipartBody420839681182004127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560213306,"filename":"image_11012025_02_48_02_769268_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b33fd3764a114da88968a69f784e6355.jpg","text":"TemporaryFile(/tmp/multipartBody1662100091155629821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560213306,"filename":"image_11012025_02_48_02_769268_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/207d25eddbc457290cebb01c1340dd02.jpg","text":"TemporaryFile(/tmp/multipartBody9130309296103058055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560213306,"filename":"image_11012025_02_48_02_769268_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1583ca50e61c1b951a74b9484c2d7f31.jpg","text":"TemporaryFile(/tmp/multipartBody1547303905431458506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560213306,"filename":"image_11012025_02_47_02_260011_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328039295","file1":"1328039294","file0":"1328039293","file3":"1328039296"},"map_files_photo_id_array":[{"photo_id":"1328039295","filename":"file2"},{"photo_id":"1328039294","filename":"file1"},{"photo_id":"1328039293","filename":"file0"},{"photo_id":"1328039296","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328039295":["hashtag1","hashtag2"]},{"1328039294":["hashtag1","hashtag2"]},{"1328039296":["hashtag1","hashtag2"]},{"1328039293":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328039295, 1328039294, 1328039296, 1328039293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08890724182129 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:50:02.619007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/48/image_11012025_02_48_02_769268_0003.jpg', '/home/pi/Desktop/images/11012025/02/49/image_11012025_02_49_02_408749_0000.jpg', '/home/pi/Desktop/images/11012025/02/49/image_11012025_02_49_02_408749_0001.jpg', '/home/pi/Desktop/images/11012025/02/49/image_11012025_02_49_02_408749_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/48/image_11012025_02_48_02_769268_0003.jpg
/home/pi/Desktop/images/11012025/02/49/image_11012025_02_49_02_408749_0000.jpg
/home/pi/Desktop/images/11012025/02/49/image_11012025_02_49_02_408749_0001.jpg
/home/pi/Desktop/images/11012025/02/49/image_11012025_02_49_02_408749_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328039592","1328039675","1328039642","1328039671"],"photo_ids_order":["1328039592","1328039642","1328039671","1328039675"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c28f4172b58e668b7b14941fd3714126.jpg","text":"TemporaryFile(/tmp/multipartBody4816109641287407649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560272942,"filename":"image_11012025_02_48_02_769268_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4c5213056921ff4b4bbaec2e6390663e.jpg","text":"TemporaryFile(/tmp/multipartBody7915467749942294490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560272942,"filename":"image_11012025_02_49_02_408749_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/26e85f7cf3d067c02e95da37c8f3e3af.jpg","text":"TemporaryFile(/tmp/multipartBody367394289570493156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560272942,"filename":"image_11012025_02_49_02_408749_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bd7896ef53df719b5d174980a84ccf63.jpg","text":"TemporaryFile(/tmp/multipartBody4607166061938387262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560272942,"filename":"image_11012025_02_49_02_408749_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328039671","file1":"1328039642","file0":"1328039592","file3":"1328039675"},"map_files_photo_id_array":[{"photo_id":"1328039671","filename":"file2"},{"photo_id":"1328039642","filename":"file1"},{"photo_id":"1328039592","filename":"file0"},{"photo_id":"1328039675","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328039592":["hashtag1","hashtag2"]},{"1328039675":["hashtag1","hashtag2"]},{"1328039642":["hashtag1","hashtag2"]},{"1328039671":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328039592, 1328039675, 1328039642, 1328039671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.7510941028595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:51:02.482499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/49/image_11012025_02_49_02_408749_0003.jpg', '/home/pi/Desktop/images/11012025/02/50/image_11012025_02_50_02_887090_0000.jpg', '/home/pi/Desktop/images/11012025/02/50/image_11012025_02_50_02_887090_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/49/image_11012025_02_49_02_408749_0003.jpg
/home/pi/Desktop/images/11012025/02/50/image_11012025_02_50_02_887090_0000.jpg
/home/pi/Desktop/images/11012025/02/50/image_11012025_02_50_02_887090_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328039824","1328039822","1328039821"],"photo_ids_order":["1328039821","1328039822","1328039824"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bae2402c789355fca30b3768a6a3c00f.jpg","text":"TemporaryFile(/tmp/multipartBody3473319112529928973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560330384,"filename":"image_11012025_02_50_02_887090_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/237e4a90c9af555d64c700a6df82bc86.jpg","text":"TemporaryFile(/tmp/multipartBody8257362941511847538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560330384,"filename":"image_11012025_02_50_02_887090_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/590bb01948e3b16f76b08f170647a892.jpg","text":"TemporaryFile(/tmp/multipartBody2813937774955134827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560330384,"filename":"image_11012025_02_49_02_408749_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328039824","file1":"1328039822","file0":"1328039821"},"map_files_photo_id_array":[{"photo_id":"1328039824","filename":"file2"},{"photo_id":"1328039822","filename":"file1"},{"photo_id":"1328039821","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328039824":["hashtag1","hashtag2"]},{"1328039822":["hashtag1","hashtag2"]},{"1328039821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328039824, 1328039822, 1328039821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.696035861968994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:52:02.787087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/50/image_11012025_02_50_02_887090_0003.jpg', '/home/pi/Desktop/images/11012025/02/51/image_11012025_02_51_02_636960_0000.jpg', '/home/pi/Desktop/images/11012025/02/51/image_11012025_02_51_02_636960_0001.jpg', '/home/pi/Desktop/images/11012025/02/51/image_11012025_02_51_02_636960_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/50/image_11012025_02_50_02_887090_0003.jpg
/home/pi/Desktop/images/11012025/02/51/image_11012025_02_51_02_636960_0000.jpg
/home/pi/Desktop/images/11012025/02/51/image_11012025_02_51_02_636960_0001.jpg
/home/pi/Desktop/images/11012025/02/51/image_11012025_02_51_02_636960_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328039853","1328039858","1328039854","1328039857"],"photo_ids_order":["1328039853","1328039854","1328039857","1328039858"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a9c6cd6d77b24bcf1e96a8408604dcd4.jpg","text":"TemporaryFile(/tmp/multipartBody608421753346368820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560393028,"filename":"image_11012025_02_50_02_887090_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/021ba54ab3455165aa8896d2849e6f3e.jpg","text":"TemporaryFile(/tmp/multipartBody2079153068239256985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560393028,"filename":"image_11012025_02_51_02_636960_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/69c34231bc504273f519e91162d50608.jpg","text":"TemporaryFile(/tmp/multipartBody3060486082338411646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560393028,"filename":"image_11012025_02_51_02_636960_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1bcc25199d44a0582a206a35bd162212.jpg","text":"TemporaryFile(/tmp/multipartBody6387279138071868423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560393028,"filename":"image_11012025_02_51_02_636960_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328039857","file1":"1328039854","file0":"1328039853","file3":"1328039858"},"map_files_photo_id_array":[{"photo_id":"1328039857","filename":"file2"},{"photo_id":"1328039854","filename":"file1"},{"photo_id":"1328039853","filename":"file0"},{"photo_id":"1328039858","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328039853":["hashtag1","hashtag2"]},{"1328039858":["hashtag1","hashtag2"]},{"1328039854":["hashtag1","hashtag2"]},{"1328039857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328039853, 1328039858, 1328039854, 1328039857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.90858292579651 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:53:02.447631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/51/image_11012025_02_51_02_636960_0003.jpg', '/home/pi/Desktop/images/11012025/02/52/image_11012025_02_52_02_154789_0000.jpg', '/home/pi/Desktop/images/11012025/02/52/image_11012025_02_52_02_154789_0001.jpg', '/home/pi/Desktop/images/11012025/02/52/image_11012025_02_52_02_154789_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/51/image_11012025_02_51_02_636960_0003.jpg
/home/pi/Desktop/images/11012025/02/52/image_11012025_02_52_02_154789_0000.jpg
/home/pi/Desktop/images/11012025/02/52/image_11012025_02_52_02_154789_0001.jpg
/home/pi/Desktop/images/11012025/02/52/image_11012025_02_52_02_154789_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328039865","1328039870","1328039866","1328039869"],"photo_ids_order":["1328039865","1328039866","1328039869","1328039870"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6113d4ae825dbe042f44164231bfc19b.jpg","text":"TemporaryFile(/tmp/multipartBody1771546628544071118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560452780,"filename":"image_11012025_02_51_02_636960_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/148b2d87bfd75dce736e26995281bf20.jpg","text":"TemporaryFile(/tmp/multipartBody8783848895067351960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560452780,"filename":"image_11012025_02_52_02_154789_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/53dd4c43495b61c10155a7628169e169.jpg","text":"TemporaryFile(/tmp/multipartBody8036442384976626062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560452780,"filename":"image_11012025_02_52_02_154789_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1a6e186322d70c8af60c385fe7dc8c55.jpg","text":"TemporaryFile(/tmp/multipartBody5578057132945427160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560452780,"filename":"image_11012025_02_52_02_154789_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328039869","file1":"1328039866","file0":"1328039865","file3":"1328039870"},"map_files_photo_id_array":[{"photo_id":"1328039869","filename":"file2"},{"photo_id":"1328039866","filename":"file1"},{"photo_id":"1328039865","filename":"file0"},{"photo_id":"1328039870","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328039865":["hashtag1","hashtag2"]},{"1328039870":["hashtag1","hashtag2"]},{"1328039866":["hashtag1","hashtag2"]},{"1328039869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328039865, 1328039870, 1328039866, 1328039869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.1824848651886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:54:02.842630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/52/image_11012025_02_52_02_154789_0003.jpg', '/home/pi/Desktop/images/11012025/02/53/image_11012025_02_53_02_831513_0000.jpg', '/home/pi/Desktop/images/11012025/02/53/image_11012025_02_53_02_831513_0001.jpg', '/home/pi/Desktop/images/11012025/02/53/image_11012025_02_53_02_831513_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/52/image_11012025_02_52_02_154789_0003.jpg
/home/pi/Desktop/images/11012025/02/53/image_11012025_02_53_02_831513_0000.jpg
/home/pi/Desktop/images/11012025/02/53/image_11012025_02_53_02_831513_0001.jpg
/home/pi/Desktop/images/11012025/02/53/image_11012025_02_53_02_831513_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328039877","1328039879","1328039884","1328039881"],"photo_ids_order":["1328039877","1328039879","1328039881","1328039884"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a7ecc7f0715060a3e09a1c2ec4c177bd.jpg","text":"TemporaryFile(/tmp/multipartBody7319666509360418303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560513110,"filename":"image_11012025_02_52_02_154789_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7a93a9a2ec4b35ae3330abdc1adbfe12.jpg","text":"TemporaryFile(/tmp/multipartBody2484199530634444210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560513110,"filename":"image_11012025_02_53_02_831513_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/29c5b231e5eefa0890a1ea69c7b747c2.jpg","text":"TemporaryFile(/tmp/multipartBody2341112584291367215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560513110,"filename":"image_11012025_02_53_02_831513_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c74724254536dd426078ad0a759d5de4.jpg","text":"TemporaryFile(/tmp/multipartBody7470948365611082252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560513110,"filename":"image_11012025_02_53_02_831513_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328039881","file1":"1328039879","file0":"1328039877","file3":"1328039884"},"map_files_photo_id_array":[{"photo_id":"1328039881","filename":"file2"},{"photo_id":"1328039879","filename":"file1"},{"photo_id":"1328039877","filename":"file0"},{"photo_id":"1328039884","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328039877":["hashtag1","hashtag2"]},{"1328039879":["hashtag1","hashtag2"]},{"1328039884":["hashtag1","hashtag2"]},{"1328039881":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328039877, 1328039879, 1328039884, 1328039881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.19184684753418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:55:02.764540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/53/image_11012025_02_53_02_831513_0003.jpg', '/home/pi/Desktop/images/11012025/02/54/image_11012025_02_54_02_203406_0000.jpg', '/home/pi/Desktop/images/11012025/02/54/image_11012025_02_54_02_203406_0001.jpg', '/home/pi/Desktop/images/11012025/02/54/image_11012025_02_54_02_203406_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/53/image_11012025_02_53_02_831513_0003.jpg
/home/pi/Desktop/images/11012025/02/54/image_11012025_02_54_02_203406_0000.jpg
/home/pi/Desktop/images/11012025/02/54/image_11012025_02_54_02_203406_0001.jpg
/home/pi/Desktop/images/11012025/02/54/image_11012025_02_54_02_203406_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328039923","1328039922","1328039925","1328039924"],"photo_ids_order":["1328039922","1328039923","1328039924","1328039925"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1bc87da3f5e1b417eaa8b57cb8aca12b.jpg","text":"TemporaryFile(/tmp/multipartBody6984751732305471248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560573065,"filename":"image_11012025_02_54_02_203406_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/195306bad4f24b6e0668865909dbc1c7.jpg","text":"TemporaryFile(/tmp/multipartBody4135245324860858541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560573065,"filename":"image_11012025_02_53_02_831513_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b49886550b55b8d626e53d9b00fbbaf0.jpg","text":"TemporaryFile(/tmp/multipartBody8836672410246239650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560573065,"filename":"image_11012025_02_54_02_203406_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2ffdb9116439166166344847f5a61582.jpg","text":"TemporaryFile(/tmp/multipartBody4784487182680701639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560573065,"filename":"image_11012025_02_54_02_203406_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328039924","file1":"1328039923","file0":"1328039922","file3":"1328039925"},"map_files_photo_id_array":[{"photo_id":"1328039924","filename":"file2"},{"photo_id":"1328039923","filename":"file1"},{"photo_id":"1328039922","filename":"file0"},{"photo_id":"1328039925","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328039923":["hashtag1","hashtag2"]},{"1328039922":["hashtag1","hashtag2"]},{"1328039925":["hashtag1","hashtag2"]},{"1328039924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328039923, 1328039922, 1328039925, 1328039924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.18699765205383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:56:02.932119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/54/image_11012025_02_54_02_203406_0003.jpg', '/home/pi/Desktop/images/11012025/02/55/image_11012025_02_55_02_809395_0000.jpg', '/home/pi/Desktop/images/11012025/02/55/image_11012025_02_55_02_809395_0001.jpg', '/home/pi/Desktop/images/11012025/02/55/image_11012025_02_55_02_809395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/54/image_11012025_02_54_02_203406_0003.jpg
/home/pi/Desktop/images/11012025/02/55/image_11012025_02_55_02_809395_0000.jpg
/home/pi/Desktop/images/11012025/02/55/image_11012025_02_55_02_809395_0001.jpg
/home/pi/Desktop/images/11012025/02/55/image_11012025_02_55_02_809395_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328039938","1328039932","1328039933","1328039935"],"photo_ids_order":["1328039932","1328039933","1328039935","1328039938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/61714f590411e4f083d8f9ad694d4424.jpg","text":"TemporaryFile(/tmp/multipartBody9182749763326849978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560633208,"filename":"image_11012025_02_55_02_809395_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/72899c5519abf4953ca09689a8d65858.jpg","text":"TemporaryFile(/tmp/multipartBody7883622081317790030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560633208,"filename":"image_11012025_02_54_02_203406_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7118d75c7ee979cbe31829d8a05e1114.jpg","text":"TemporaryFile(/tmp/multipartBody8087263410399972981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560633208,"filename":"image_11012025_02_55_02_809395_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aba2a0236ed502eb6adfc220098cb2b9.jpg","text":"TemporaryFile(/tmp/multipartBody4196559143217175155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560633208,"filename":"image_11012025_02_55_02_809395_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328039935","file1":"1328039933","file0":"1328039932","file3":"1328039938"},"map_files_photo_id_array":[{"photo_id":"1328039935","filename":"file2"},{"photo_id":"1328039933","filename":"file1"},{"photo_id":"1328039932","filename":"file0"},{"photo_id":"1328039938","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328039938":["hashtag1","hashtag2"]},{"1328039932":["hashtag1","hashtag2"]},{"1328039933":["hashtag1","hashtag2"]},{"1328039935":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328039938, 1328039932, 1328039933, 1328039935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.667560338974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:57:02.673075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/55/image_11012025_02_55_02_809395_0003.jpg', '/home/pi/Desktop/images/11012025/02/56/image_11012025_02_56_02_283554_0000.jpg', '/home/pi/Desktop/images/11012025/02/56/image_11012025_02_56_02_283554_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/55/image_11012025_02_55_02_809395_0003.jpg
/home/pi/Desktop/images/11012025/02/56/image_11012025_02_56_02_283554_0000.jpg
/home/pi/Desktop/images/11012025/02/56/image_11012025_02_56_02_283554_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328039970","1328039972","1328039968"],"photo_ids_order":["1328039968","1328039970","1328039972"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3fb0b42cf4e995d903b78d129ca8c409.jpg","text":"TemporaryFile(/tmp/multipartBody8288344172849741244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560690726,"filename":"image_11012025_02_56_02_283554_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/78143964e892848c698e52d5dc4cb895.jpg","text":"TemporaryFile(/tmp/multipartBody3046667278477999622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560690726,"filename":"image_11012025_02_56_02_283554_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d36a77b491fc73237f4e688045efe028.jpg","text":"TemporaryFile(/tmp/multipartBody191448653409748934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560690726,"filename":"image_11012025_02_55_02_809395_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328039972","file1":"1328039970","file0":"1328039968"},"map_files_photo_id_array":[{"photo_id":"1328039972","filename":"file2"},{"photo_id":"1328039970","filename":"file1"},{"photo_id":"1328039968","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328039970":["hashtag1","hashtag2"]},{"1328039972":["hashtag1","hashtag2"]},{"1328039968":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328039970, 1328039972, 1328039968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.481355905532837 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 02:59:02.530389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/56/image_11012025_02_56_02_283554_0002.jpg', '/home/pi/Desktop/images/11012025/02/57/image_11012025_02_57_02_927151_0000.jpg', '/home/pi/Desktop/images/11012025/02/57/image_11012025_02_57_02_927151_0001.jpg', '/home/pi/Desktop/images/11012025/02/57/image_11012025_02_57_02_927151_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/56/image_11012025_02_56_02_283554_0002.jpg
/home/pi/Desktop/images/11012025/02/57/image_11012025_02_57_02_927151_0000.jpg
/home/pi/Desktop/images/11012025/02/57/image_11012025_02_57_02_927151_0001.jpg
/home/pi/Desktop/images/11012025/02/57/image_11012025_02_57_02_927151_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.819435358047485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 02:59:21.791073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/56/image_11012025_02_56_02_283554_0002.jpg', '/home/pi/Desktop/images/11012025/02/57/image_11012025_02_57_02_927151_0000.jpg', '/home/pi/Desktop/images/11012025/02/57/image_11012025_02_57_02_927151_0001.jpg', '/home/pi/Desktop/images/11012025/02/57/image_11012025_02_57_02_927151_0002.jpg', '/home/pi/Desktop/images/11012025/02/57/image_11012025_02_57_02_927151_0003.jpg', '/home/pi/Desktop/images/11012025/02/58/image_11012025_02_58_02_443373_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/56/image_11012025_02_56_02_283554_0002.jpg
/home/pi/Desktop/images/11012025/02/57/image_11012025_02_57_02_927151_0000.jpg
/home/pi/Desktop/images/11012025/02/57/image_11012025_02_57_02_927151_0001.jpg
/home/pi/Desktop/images/11012025/02/57/image_11012025_02_57_02_927151_0002.jpg
/home/pi/Desktop/images/11012025/02/57/image_11012025_02_57_02_927151_0003.jpg
/home/pi/Desktop/images/11012025/02/58/image_11012025_02_58_02_443373_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328040325","1328040678","1328040507","1328040779","1328040155","1328040158"],"photo_ids_order":["1328040155","1328040158","1328040325","1328040507","1328040678","1328040779"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/413bba1a4a6e1d12733a0155e668d152.jpg","text":"TemporaryFile(/tmp/multipartBody1088575813520688529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560836756,"filename":"image_11012025_02_57_02_927151_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/94410ca2a37e33cc004f8dfe09223d42.jpg","text":"TemporaryFile(/tmp/multipartBody6450345073943024918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560836756,"filename":"image_11012025_02_57_02_927151_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bdcfdaf9a6740922f1d4edd421c04808.jpg","text":"TemporaryFile(/tmp/multipartBody6003234021883529252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560836756,"filename":"image_11012025_02_57_02_927151_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/da6d84321135e1642d4bada0b364b0da.jpg","text":"TemporaryFile(/tmp/multipartBody9146316353295631924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560836756,"filename":"image_11012025_02_58_02_443373_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9cbaaa81eca103514acf2125e117b7b2.jpg","text":"TemporaryFile(/tmp/multipartBody1716768556219857942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560836756,"filename":"image_11012025_02_56_02_283554_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/28a053bcd880e943614137e10bb5222c.jpg","text":"TemporaryFile(/tmp/multipartBody3630360141586428936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560836756,"filename":"image_11012025_02_57_02_927151_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328040325","file1":"1328040158","file0":"1328040155","file4":"1328040678","file5":"1328040779","file3":"1328040507"},"map_files_photo_id_array":[{"photo_id":"1328040779","filename":"file5"},{"photo_id":"1328040325","filename":"file2"},{"photo_id":"1328040678","filename":"file4"},{"photo_id":"1328040158","filename":"file1"},{"photo_id":"1328040155","filename":"file0"},{"photo_id":"1328040507","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328040325":["hashtag1","hashtag2"]},{"1328040678":["hashtag1","hashtag2"]},{"1328040507":["hashtag1","hashtag2"]},{"1328040779":["hashtag1","hashtag2"]},{"1328040155":["hashtag1","hashtag2"]},{"1328040158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328040325, 1328040678, 1328040507, 1328040779, 1328040155, 1328040158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.73817491531372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:00:22.517375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/58/image_11012025_02_58_02_443373_0001.jpg', '/home/pi/Desktop/images/11012025/02/58/image_11012025_02_58_02_443373_0002.jpg', '/home/pi/Desktop/images/11012025/02/58/image_11012025_02_58_02_443373_0003.jpg', '/home/pi/Desktop/images/11012025/02/59/image_11012025_02_59_03_077211_0000.jpg', '/home/pi/Desktop/images/11012025/02/59/image_11012025_02_59_03_077211_0001.jpg', '/home/pi/Desktop/images/11012025/02/59/image_11012025_02_59_03_077211_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/58/image_11012025_02_58_02_443373_0001.jpg
/home/pi/Desktop/images/11012025/02/58/image_11012025_02_58_02_443373_0002.jpg
/home/pi/Desktop/images/11012025/02/58/image_11012025_02_58_02_443373_0003.jpg
/home/pi/Desktop/images/11012025/02/59/image_11012025_02_59_03_077211_0000.jpg
/home/pi/Desktop/images/11012025/02/59/image_11012025_02_59_03_077211_0001.jpg
/home/pi/Desktop/images/11012025/02/59/image_11012025_02_59_03_077211_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328040802","1328040789","1328040798","1328040831","1328040828","1328040791"],"photo_ids_order":["1328040789","1328040791","1328040798","1328040802","1328040828","1328040831"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2ecf2a701a24d53e41708326457cf86c.jpg","text":"TemporaryFile(/tmp/multipartBody3962364171667818267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560897352,"filename":"image_11012025_02_59_03_077211_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0809fe2d9d94e6f30e5265798a1f0f77.jpg","text":"TemporaryFile(/tmp/multipartBody8158558805750478676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560897352,"filename":"image_11012025_02_58_02_443373_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/620ff9ffb7ba6c550a14729e7eb7d41f.jpg","text":"TemporaryFile(/tmp/multipartBody6606016457631565431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560897352,"filename":"image_11012025_02_58_02_443373_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dbfc127acaee9f6ef32b97ce6ffbe3ea.jpg","text":"TemporaryFile(/tmp/multipartBody1303975080501074240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560897352,"filename":"image_11012025_02_59_03_077211_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d6ec8ce160fb32c56013fbed3099615f.jpg","text":"TemporaryFile(/tmp/multipartBody4428190528254238113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560897352,"filename":"image_11012025_02_59_03_077211_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/df3d5910b88f10c2a760f3d2a99450b3.jpg","text":"TemporaryFile(/tmp/multipartBody7320133159417818720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560897352,"filename":"image_11012025_02_58_02_443373_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328040798","file1":"1328040791","file0":"1328040789","file4":"1328040828","file5":"1328040831","file3":"1328040802"},"map_files_photo_id_array":[{"photo_id":"1328040831","filename":"file5"},{"photo_id":"1328040798","filename":"file2"},{"photo_id":"1328040828","filename":"file4"},{"photo_id":"1328040791","filename":"file1"},{"photo_id":"1328040789","filename":"file0"},{"photo_id":"1328040802","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328040802":["hashtag1","hashtag2"]},{"1328040789":["hashtag1","hashtag2"]},{"1328040798":["hashtag1","hashtag2"]},{"1328040831":["hashtag1","hashtag2"]},{"1328040828":["hashtag1","hashtag2"]},{"1328040791":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328040802, 1328040789, 1328040798, 1328040831, 1328040828, 1328040791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.80882215499878 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:01:22.106079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/59/image_11012025_02_59_03_077211_0003.jpg', '/home/pi/Desktop/images/11012025/03/00/image_11012025_03_00_02_244920_0000.jpg', '/home/pi/Desktop/images/11012025/03/00/image_11012025_03_00_02_244920_0001.jpg', '/home/pi/Desktop/images/11012025/03/00/image_11012025_03_00_02_244920_0002.jpg', '/home/pi/Desktop/images/11012025/03/00/image_11012025_03_00_02_244920_0003.jpg', '/home/pi/Desktop/images/11012025/03/01/image_11012025_03_01_02_922208_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/59/image_11012025_02_59_03_077211_0003.jpg
/home/pi/Desktop/images/11012025/03/00/image_11012025_03_00_02_244920_0000.jpg
/home/pi/Desktop/images/11012025/03/00/image_11012025_03_00_02_244920_0001.jpg
/home/pi/Desktop/images/11012025/03/00/image_11012025_03_00_02_244920_0002.jpg
/home/pi/Desktop/images/11012025/03/00/image_11012025_03_00_02_244920_0003.jpg
/home/pi/Desktop/images/11012025/03/01/image_11012025_03_01_02_922208_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.632969856262207 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:02:03.017851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/02/59/image_11012025_02_59_03_077211_0003.jpg', '/home/pi/Desktop/images/11012025/03/00/image_11012025_03_00_02_244920_0000.jpg', '/home/pi/Desktop/images/11012025/03/00/image_11012025_03_00_02_244920_0001.jpg', '/home/pi/Desktop/images/11012025/03/00/image_11012025_03_00_02_244920_0002.jpg', '/home/pi/Desktop/images/11012025/03/00/image_11012025_03_00_02_244920_0003.jpg', '/home/pi/Desktop/images/11012025/03/01/image_11012025_03_01_02_922208_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/02/59/image_11012025_02_59_03_077211_0003.jpg
/home/pi/Desktop/images/11012025/03/00/image_11012025_03_00_02_244920_0000.jpg
/home/pi/Desktop/images/11012025/03/00/image_11012025_03_00_02_244920_0001.jpg
/home/pi/Desktop/images/11012025/03/00/image_11012025_03_00_02_244920_0002.jpg
/home/pi/Desktop/images/11012025/03/00/image_11012025_03_00_02_244920_0003.jpg
/home/pi/Desktop/images/11012025/03/01/image_11012025_03_01_02_922208_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328041770","1328041760","1328041763","1328041757","1328041765","1328041768"],"photo_ids_order":["1328041757","1328041760","1328041763","1328041765","1328041768","1328041770"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/da960ba1fa2501c87ecc1258322cf6b5.jpg","text":"TemporaryFile(/tmp/multipartBody2774728271894903510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560998129,"filename":"image_11012025_03_01_02_922208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ee3eff52b5021e98b8c08ce63a5711c6.jpg","text":"TemporaryFile(/tmp/multipartBody4423143753914735181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560998129,"filename":"image_11012025_03_00_02_244920_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/14777ecc34bb5db4bd6c948efcf1d6e9.jpg","text":"TemporaryFile(/tmp/multipartBody1351104338650269080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560998129,"filename":"image_11012025_03_00_02_244920_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6550162cd27037b3e4f0675b461f2b1b.jpg","text":"TemporaryFile(/tmp/multipartBody8912303749652448546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560998129,"filename":"image_11012025_02_59_03_077211_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4b504487e71a5fe6f1531c01880aaa02.jpg","text":"TemporaryFile(/tmp/multipartBody8765397912099004927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560998129,"filename":"image_11012025_03_00_02_244920_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4dd8500482ff029fb5b4d910294c5588.jpg","text":"TemporaryFile(/tmp/multipartBody6923588973740589996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736560998129,"filename":"image_11012025_03_00_02_244920_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328041763","file1":"1328041760","file0":"1328041757","file4":"1328041768","file5":"1328041770","file3":"1328041765"},"map_files_photo_id_array":[{"photo_id":"1328041770","filename":"file5"},{"photo_id":"1328041763","filename":"file2"},{"photo_id":"1328041768","filename":"file4"},{"photo_id":"1328041760","filename":"file1"},{"photo_id":"1328041757","filename":"file0"},{"photo_id":"1328041765","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328041770":["hashtag1","hashtag2"]},{"1328041760":["hashtag1","hashtag2"]},{"1328041763":["hashtag1","hashtag2"]},{"1328041757":["hashtag1","hashtag2"]},{"1328041765":["hashtag1","hashtag2"]},{"1328041768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328041770, 1328041760, 1328041763, 1328041757, 1328041765, 1328041768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.04843521118164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:03:02.664984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/01/image_11012025_03_01_02_922208_0001.jpg', '/home/pi/Desktop/images/11012025/03/01/image_11012025_03_01_02_922208_0002.jpg', '/home/pi/Desktop/images/11012025/03/01/image_11012025_03_01_02_922208_0003.jpg', '/home/pi/Desktop/images/11012025/03/02/image_11012025_03_02_02_497252_0000.jpg', '/home/pi/Desktop/images/11012025/03/02/image_11012025_03_02_02_497252_0001.jpg', '/home/pi/Desktop/images/11012025/03/02/image_11012025_03_02_02_497252_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/01/image_11012025_03_01_02_922208_0001.jpg
/home/pi/Desktop/images/11012025/03/01/image_11012025_03_01_02_922208_0002.jpg
/home/pi/Desktop/images/11012025/03/01/image_11012025_03_01_02_922208_0003.jpg
/home/pi/Desktop/images/11012025/03/02/image_11012025_03_02_02_497252_0000.jpg
/home/pi/Desktop/images/11012025/03/02/image_11012025_03_02_02_497252_0001.jpg
/home/pi/Desktop/images/11012025/03/02/image_11012025_03_02_02_497252_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.883198022842407 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:03:21.988201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/01/image_11012025_03_01_02_922208_0001.jpg', '/home/pi/Desktop/images/11012025/03/01/image_11012025_03_01_02_922208_0002.jpg', '/home/pi/Desktop/images/11012025/03/01/image_11012025_03_01_02_922208_0003.jpg', '/home/pi/Desktop/images/11012025/03/02/image_11012025_03_02_02_497252_0000.jpg', '/home/pi/Desktop/images/11012025/03/02/image_11012025_03_02_02_497252_0001.jpg', '/home/pi/Desktop/images/11012025/03/02/image_11012025_03_02_02_497252_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/01/image_11012025_03_01_02_922208_0001.jpg
/home/pi/Desktop/images/11012025/03/01/image_11012025_03_01_02_922208_0002.jpg
/home/pi/Desktop/images/11012025/03/01/image_11012025_03_01_02_922208_0003.jpg
/home/pi/Desktop/images/11012025/03/02/image_11012025_03_02_02_497252_0000.jpg
/home/pi/Desktop/images/11012025/03/02/image_11012025_03_02_02_497252_0001.jpg
/home/pi/Desktop/images/11012025/03/02/image_11012025_03_02_02_497252_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328041822","1328041788","1328041824","1328041796","1328041793","1328041826"],"photo_ids_order":["1328041788","1328041793","1328041796","1328041822","1328041824","1328041826"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ed2cf552f76ab3c18d87f5fd76db675d.jpg","text":"TemporaryFile(/tmp/multipartBody5433967456606824677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561077189,"filename":"image_11012025_03_02_02_497252_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7bdf536d805381dc211990f244329c3b.jpg","text":"TemporaryFile(/tmp/multipartBody625007872054535971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561077189,"filename":"image_11012025_03_01_02_922208_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/34637aa62db1ac28d93dc837589f4989.jpg","text":"TemporaryFile(/tmp/multipartBody2199178125662306495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561077189,"filename":"image_11012025_03_02_02_497252_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/08d6ddc0eaaaaf397ab8045649b35bb8.jpg","text":"TemporaryFile(/tmp/multipartBody2820502599232451104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561077189,"filename":"image_11012025_03_01_02_922208_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a82b74270135a3a50f0fb7028b948f79.jpg","text":"TemporaryFile(/tmp/multipartBody3059506711529330638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561077189,"filename":"image_11012025_03_01_02_922208_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8d1376ab2bf8d2e766213dea96d92c31.jpg","text":"TemporaryFile(/tmp/multipartBody6887734771877633332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561077189,"filename":"image_11012025_03_02_02_497252_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328041796","file1":"1328041793","file0":"1328041788","file4":"1328041824","file5":"1328041826","file3":"1328041822"},"map_files_photo_id_array":[{"photo_id":"1328041826","filename":"file5"},{"photo_id":"1328041796","filename":"file2"},{"photo_id":"1328041824","filename":"file4"},{"photo_id":"1328041793","filename":"file1"},{"photo_id":"1328041788","filename":"file0"},{"photo_id":"1328041822","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328041822":["hashtag1","hashtag2"]},{"1328041788":["hashtag1","hashtag2"]},{"1328041824":["hashtag1","hashtag2"]},{"1328041796":["hashtag1","hashtag2"]},{"1328041793":["hashtag1","hashtag2"]},{"1328041826":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328041822, 1328041788, 1328041824, 1328041796, 1328041793, 1328041826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.885826110839844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:04:22.648008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/02/image_11012025_03_02_02_497252_0003.jpg', '/home/pi/Desktop/images/11012025/03/03/image_11012025_03_03_02_965729_0000.jpg', '/home/pi/Desktop/images/11012025/03/03/image_11012025_03_03_02_965729_0001.jpg', '/home/pi/Desktop/images/11012025/03/03/image_11012025_03_03_02_965729_0002.jpg', '/home/pi/Desktop/images/11012025/03/03/image_11012025_03_03_02_965729_0003.jpg', '/home/pi/Desktop/images/11012025/03/04/image_11012025_03_04_02_423385_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/02/image_11012025_03_02_02_497252_0003.jpg
/home/pi/Desktop/images/11012025/03/03/image_11012025_03_03_02_965729_0000.jpg
/home/pi/Desktop/images/11012025/03/03/image_11012025_03_03_02_965729_0001.jpg
/home/pi/Desktop/images/11012025/03/03/image_11012025_03_03_02_965729_0002.jpg
/home/pi/Desktop/images/11012025/03/03/image_11012025_03_03_02_965729_0003.jpg
/home/pi/Desktop/images/11012025/03/04/image_11012025_03_04_02_423385_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328041842","1328041832","1328041841","1328041835","1328041829","1328041838"],"photo_ids_order":["1328041829","1328041832","1328041835","1328041838","1328041841","1328041842"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c66215b91af9431114a506945125613d.jpg","text":"TemporaryFile(/tmp/multipartBody2007159124127622794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561137578,"filename":"image_11012025_03_04_02_423385_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a9e7741295ab444bee844521c2636933.jpg","text":"TemporaryFile(/tmp/multipartBody230523085029471527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561137578,"filename":"image_11012025_03_03_02_965729_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/61be4634f864049206263ecdd78bbb3e.jpg","text":"TemporaryFile(/tmp/multipartBody3200102452061339698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561137578,"filename":"image_11012025_03_03_02_965729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c5a95ba434eab17519fd6a8ddac0c105.jpg","text":"TemporaryFile(/tmp/multipartBody6996592746400529334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561137578,"filename":"image_11012025_03_03_02_965729_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e5f316ef603dd5d0f193db95a310da33.jpg","text":"TemporaryFile(/tmp/multipartBody8937496123638094906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561137578,"filename":"image_11012025_03_02_02_497252_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cce636fa7cef0da2299467d856181fa1.jpg","text":"TemporaryFile(/tmp/multipartBody4832514615958150634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561137578,"filename":"image_11012025_03_03_02_965729_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328041835","file1":"1328041832","file0":"1328041829","file4":"1328041841","file5":"1328041842","file3":"1328041838"},"map_files_photo_id_array":[{"photo_id":"1328041842","filename":"file5"},{"photo_id":"1328041835","filename":"file2"},{"photo_id":"1328041841","filename":"file4"},{"photo_id":"1328041832","filename":"file1"},{"photo_id":"1328041829","filename":"file0"},{"photo_id":"1328041838","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328041842":["hashtag1","hashtag2"]},{"1328041832":["hashtag1","hashtag2"]},{"1328041841":["hashtag1","hashtag2"]},{"1328041835":["hashtag1","hashtag2"]},{"1328041829":["hashtag1","hashtag2"]},{"1328041838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328041842, 1328041832, 1328041841, 1328041835, 1328041829, 1328041838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.60830998420715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:05:22.245024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/04/image_11012025_03_04_02_423385_0001.jpg', '/home/pi/Desktop/images/11012025/03/04/image_11012025_03_04_02_423385_0002.jpg', '/home/pi/Desktop/images/11012025/03/04/image_11012025_03_04_02_423385_0003.jpg', '/home/pi/Desktop/images/11012025/03/05/image_11012025_03_05_03_044163_0000.jpg', '/home/pi/Desktop/images/11012025/03/05/image_11012025_03_05_03_044163_0001.jpg', '/home/pi/Desktop/images/11012025/03/05/image_11012025_03_05_03_044163_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/04/image_11012025_03_04_02_423385_0001.jpg
/home/pi/Desktop/images/11012025/03/04/image_11012025_03_04_02_423385_0002.jpg
/home/pi/Desktop/images/11012025/03/04/image_11012025_03_04_02_423385_0003.jpg
/home/pi/Desktop/images/11012025/03/05/image_11012025_03_05_03_044163_0000.jpg
/home/pi/Desktop/images/11012025/03/05/image_11012025_03_05_03_044163_0001.jpg
/home/pi/Desktop/images/11012025/03/05/image_11012025_03_05_03_044163_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328041855","1328041849","1328041857","1328041851","1328041853","1328041846"],"photo_ids_order":["1328041846","1328041849","1328041851","1328041853","1328041855","1328041857"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f3ee499e57fb2d5ea24413438ed8a26f.jpg","text":"TemporaryFile(/tmp/multipartBody7639174139279510388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561197308,"filename":"image_11012025_03_05_03_044163_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3697a86389edbe9fb5955d46a27ea1fd.jpg","text":"TemporaryFile(/tmp/multipartBody3441286758179875556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561197308,"filename":"image_11012025_03_04_02_423385_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e0005cf5ee4ebc3ff9ec6f8f1d6bcfeb.jpg","text":"TemporaryFile(/tmp/multipartBody706958222679283683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561197308,"filename":"image_11012025_03_05_03_044163_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/549e06aefdcc92e539e1e20057aaa524.jpg","text":"TemporaryFile(/tmp/multipartBody4052195629106855694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561197308,"filename":"image_11012025_03_04_02_423385_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8daa82bba8fe70e5dae1d5fb3ad0f79d.jpg","text":"TemporaryFile(/tmp/multipartBody801939620405601687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561197308,"filename":"image_11012025_03_05_03_044163_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/09391d092eb0101439b45ba9f069bc2a.jpg","text":"TemporaryFile(/tmp/multipartBody539740130831108056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561197308,"filename":"image_11012025_03_04_02_423385_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328041851","file1":"1328041849","file0":"1328041846","file4":"1328041855","file5":"1328041857","file3":"1328041853"},"map_files_photo_id_array":[{"photo_id":"1328041857","filename":"file5"},{"photo_id":"1328041851","filename":"file2"},{"photo_id":"1328041855","filename":"file4"},{"photo_id":"1328041849","filename":"file1"},{"photo_id":"1328041846","filename":"file0"},{"photo_id":"1328041853","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328041855":["hashtag1","hashtag2"]},{"1328041849":["hashtag1","hashtag2"]},{"1328041857":["hashtag1","hashtag2"]},{"1328041851":["hashtag1","hashtag2"]},{"1328041853":["hashtag1","hashtag2"]},{"1328041846":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328041855, 1328041849, 1328041857, 1328041851, 1328041853, 1328041846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.73583984375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:06:22.700888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/05/image_11012025_03_05_03_044163_0003.jpg', '/home/pi/Desktop/images/11012025/03/06/image_11012025_03_06_02_555893_0000.jpg', '/home/pi/Desktop/images/11012025/03/06/image_11012025_03_06_02_555893_0001.jpg', '/home/pi/Desktop/images/11012025/03/06/image_11012025_03_06_02_555893_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/05/image_11012025_03_05_03_044163_0003.jpg
/home/pi/Desktop/images/11012025/03/06/image_11012025_03_06_02_555893_0000.jpg
/home/pi/Desktop/images/11012025/03/06/image_11012025_03_06_02_555893_0001.jpg
/home/pi/Desktop/images/11012025/03/06/image_11012025_03_06_02_555893_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.843411207199097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:07:02.758566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/05/image_11012025_03_05_03_044163_0003.jpg', '/home/pi/Desktop/images/11012025/03/06/image_11012025_03_06_02_555893_0000.jpg', '/home/pi/Desktop/images/11012025/03/06/image_11012025_03_06_02_555893_0001.jpg', '/home/pi/Desktop/images/11012025/03/06/image_11012025_03_06_02_555893_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/05/image_11012025_03_05_03_044163_0003.jpg
/home/pi/Desktop/images/11012025/03/06/image_11012025_03_06_02_555893_0000.jpg
/home/pi/Desktop/images/11012025/03/06/image_11012025_03_06_02_555893_0001.jpg
/home/pi/Desktop/images/11012025/03/06/image_11012025_03_06_02_555893_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328041893","1328041892","1328041894","1328041891"],"photo_ids_order":["1328041891","1328041892","1328041893","1328041894"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5de2b55cc7ab905dfdda4d87ddcf593d.jpg","text":"TemporaryFile(/tmp/multipartBody2101535351219414978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561293066,"filename":"image_11012025_03_06_02_555893_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bbedcd1b0a87e91683653e2fe1f090db.jpg","text":"TemporaryFile(/tmp/multipartBody6371170060903824086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561293066,"filename":"image_11012025_03_06_02_555893_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/04c4ba3e807d2e708d2344ec6ff990c6.jpg","text":"TemporaryFile(/tmp/multipartBody6145469292890390320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561293066,"filename":"image_11012025_03_06_02_555893_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ef749f770e141af130e62b7f823f1ee6.jpg","text":"TemporaryFile(/tmp/multipartBody7643034455789103853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561293066,"filename":"image_11012025_03_05_03_044163_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328041893","file1":"1328041892","file0":"1328041891","file3":"1328041894"},"map_files_photo_id_array":[{"photo_id":"1328041893","filename":"file2"},{"photo_id":"1328041892","filename":"file1"},{"photo_id":"1328041891","filename":"file0"},{"photo_id":"1328041894","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328041893":["hashtag1","hashtag2"]},{"1328041892":["hashtag1","hashtag2"]},{"1328041894":["hashtag1","hashtag2"]},{"1328041891":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328041893, 1328041892, 1328041894, 1328041891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.991243839263916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:08:02.224586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/06/image_11012025_03_06_02_555893_0003.jpg', '/home/pi/Desktop/images/11012025/03/07/image_11012025_03_07_03_088586_0000.jpg', '/home/pi/Desktop/images/11012025/03/07/image_11012025_03_07_03_088586_0001.jpg', '/home/pi/Desktop/images/11012025/03/07/image_11012025_03_07_03_088586_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/06/image_11012025_03_06_02_555893_0003.jpg
/home/pi/Desktop/images/11012025/03/07/image_11012025_03_07_03_088586_0000.jpg
/home/pi/Desktop/images/11012025/03/07/image_11012025_03_07_03_088586_0001.jpg
/home/pi/Desktop/images/11012025/03/07/image_11012025_03_07_03_088586_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.897252559661865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:08:21.858890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/06/image_11012025_03_06_02_555893_0003.jpg', '/home/pi/Desktop/images/11012025/03/07/image_11012025_03_07_03_088586_0000.jpg', '/home/pi/Desktop/images/11012025/03/07/image_11012025_03_07_03_088586_0001.jpg', '/home/pi/Desktop/images/11012025/03/07/image_11012025_03_07_03_088586_0002.jpg', '/home/pi/Desktop/images/11012025/03/07/image_11012025_03_07_03_088586_0003.jpg', '/home/pi/Desktop/images/11012025/03/08/image_11012025_03_08_02_634127_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/06/image_11012025_03_06_02_555893_0003.jpg
/home/pi/Desktop/images/11012025/03/07/image_11012025_03_07_03_088586_0000.jpg
/home/pi/Desktop/images/11012025/03/07/image_11012025_03_07_03_088586_0001.jpg
/home/pi/Desktop/images/11012025/03/07/image_11012025_03_07_03_088586_0002.jpg
/home/pi/Desktop/images/11012025/03/07/image_11012025_03_07_03_088586_0003.jpg
/home/pi/Desktop/images/11012025/03/08/image_11012025_03_08_02_634127_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328041906","1328041918","1328041920","1328041908","1328041922","1328041910"],"photo_ids_order":["1328041906","1328041908","1328041910","1328041918","1328041920","1328041922"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/35213ebf516828feed37ce76610fa382.jpg","text":"TemporaryFile(/tmp/multipartBody8211246638410350274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561376872,"filename":"image_11012025_03_06_02_555893_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/667a00f763ba9af6d4110c080a25a3d6.jpg","text":"TemporaryFile(/tmp/multipartBody7488437363260523807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561376872,"filename":"image_11012025_03_07_03_088586_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1578df8015c3d64f42b4f28aa0e54738.jpg","text":"TemporaryFile(/tmp/multipartBody6078795073494120441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561376872,"filename":"image_11012025_03_07_03_088586_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/787da09fbd661d3ae695d0805d5cd8fa.jpg","text":"TemporaryFile(/tmp/multipartBody6544945541116022893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561376872,"filename":"image_11012025_03_07_03_088586_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3e15e2f6acd1964548a1c628e4b7c8e8.jpg","text":"TemporaryFile(/tmp/multipartBody8983035981407892790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561376872,"filename":"image_11012025_03_08_02_634127_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6743ebd4768e9ce9d59d271d7284e0ec.jpg","text":"TemporaryFile(/tmp/multipartBody1247664288846708176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561376872,"filename":"image_11012025_03_07_03_088586_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328041910","file1":"1328041908","file0":"1328041906","file4":"1328041920","file5":"1328041922","file3":"1328041918"},"map_files_photo_id_array":[{"photo_id":"1328041922","filename":"file5"},{"photo_id":"1328041910","filename":"file2"},{"photo_id":"1328041920","filename":"file4"},{"photo_id":"1328041908","filename":"file1"},{"photo_id":"1328041906","filename":"file0"},{"photo_id":"1328041918","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328041906":["hashtag1","hashtag2"]},{"1328041918":["hashtag1","hashtag2"]},{"1328041920":["hashtag1","hashtag2"]},{"1328041908":["hashtag1","hashtag2"]},{"1328041922":["hashtag1","hashtag2"]},{"1328041910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328041906, 1328041918, 1328041920, 1328041908, 1328041922, 1328041910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.208125829696655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:09:22.368197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/08/image_11012025_03_08_02_634127_0001.jpg', '/home/pi/Desktop/images/11012025/03/08/image_11012025_03_08_02_634127_0002.jpg', '/home/pi/Desktop/images/11012025/03/08/image_11012025_03_08_02_634127_0003.jpg', '/home/pi/Desktop/images/11012025/03/09/image_11012025_03_09_02_223367_0000.jpg', '/home/pi/Desktop/images/11012025/03/09/image_11012025_03_09_02_223367_0001.jpg', '/home/pi/Desktop/images/11012025/03/09/image_11012025_03_09_02_223367_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/08/image_11012025_03_08_02_634127_0001.jpg
/home/pi/Desktop/images/11012025/03/08/image_11012025_03_08_02_634127_0002.jpg
/home/pi/Desktop/images/11012025/03/08/image_11012025_03_08_02_634127_0003.jpg
/home/pi/Desktop/images/11012025/03/09/image_11012025_03_09_02_223367_0000.jpg
/home/pi/Desktop/images/11012025/03/09/image_11012025_03_09_02_223367_0001.jpg
/home/pi/Desktop/images/11012025/03/09/image_11012025_03_09_02_223367_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328042148","1328041953","1328042261","1328042270","1328042186","1328042188"],"photo_ids_order":["1328041953","1328042148","1328042186","1328042188","1328042261","1328042270"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/82598eaf869d034f1d8ae24d84aa945a.jpg","text":"TemporaryFile(/tmp/multipartBody5581763209686180055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561437161,"filename":"image_11012025_03_08_02_634127_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fb7fd83a5fab4215b9834b2c159a1d99.jpg","text":"TemporaryFile(/tmp/multipartBody7747721054033475240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561437161,"filename":"image_11012025_03_08_02_634127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0dd070ead3ea2da7bf4001890ba238c4.jpg","text":"TemporaryFile(/tmp/multipartBody4597450695850920956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561437161,"filename":"image_11012025_03_09_02_223367_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5e0d6f13e5e55c9ab6ddfd791619d95e.jpg","text":"TemporaryFile(/tmp/multipartBody7699683131275674108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561437161,"filename":"image_11012025_03_09_02_223367_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0c632fbfddf8f41acb9169d84507318c.jpg","text":"TemporaryFile(/tmp/multipartBody6062620459712121908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561437161,"filename":"image_11012025_03_08_02_634127_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a2514e1c8871770bd8cd071c7047ca02.jpg","text":"TemporaryFile(/tmp/multipartBody7310314455399983807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561437161,"filename":"image_11012025_03_09_02_223367_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328042186","file1":"1328042148","file0":"1328041953","file4":"1328042261","file5":"1328042270","file3":"1328042188"},"map_files_photo_id_array":[{"photo_id":"1328042270","filename":"file5"},{"photo_id":"1328042186","filename":"file2"},{"photo_id":"1328042261","filename":"file4"},{"photo_id":"1328042148","filename":"file1"},{"photo_id":"1328041953","filename":"file0"},{"photo_id":"1328042188","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328042148":["hashtag1","hashtag2"]},{"1328041953":["hashtag1","hashtag2"]},{"1328042261":["hashtag1","hashtag2"]},{"1328042270":["hashtag1","hashtag2"]},{"1328042186":["hashtag1","hashtag2"]},{"1328042188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328042148, 1328041953, 1328042261, 1328042270, 1328042186, 1328042188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.33776378631592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:10:21.855625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/09/image_11012025_03_09_02_223367_0003.jpg', '/home/pi/Desktop/images/11012025/03/10/image_11012025_03_10_02_717196_0000.jpg', '/home/pi/Desktop/images/11012025/03/10/image_11012025_03_10_02_717196_0001.jpg', '/home/pi/Desktop/images/11012025/03/10/image_11012025_03_10_02_717196_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/09/image_11012025_03_09_02_223367_0003.jpg
/home/pi/Desktop/images/11012025/03/10/image_11012025_03_10_02_717196_0000.jpg
/home/pi/Desktop/images/11012025/03/10/image_11012025_03_10_02_717196_0001.jpg
/home/pi/Desktop/images/11012025/03/10/image_11012025_03_10_02_717196_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328042406","1328042530","1328042527","1328042500"],"photo_ids_order":["1328042406","1328042500","1328042527","1328042530"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/67b42edef36f30914b3e0b52ea702305.jpg","text":"TemporaryFile(/tmp/multipartBody6122548140549227435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561492024,"filename":"image_11012025_03_09_02_223367_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/33b100f9efd61ae9c7ce61779b28b748.jpg","text":"TemporaryFile(/tmp/multipartBody471044706001097684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561492024,"filename":"image_11012025_03_10_02_717196_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f923c98e1a9fc6a6db71a959666c46de.jpg","text":"TemporaryFile(/tmp/multipartBody8824797496873825449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561492024,"filename":"image_11012025_03_10_02_717196_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a48632d0c03ec765c4bdb1258dc3c55f.jpg","text":"TemporaryFile(/tmp/multipartBody6168910050046315031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561492024,"filename":"image_11012025_03_10_02_717196_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328042527","file1":"1328042500","file0":"1328042406","file3":"1328042530"},"map_files_photo_id_array":[{"photo_id":"1328042527","filename":"file2"},{"photo_id":"1328042500","filename":"file1"},{"photo_id":"1328042406","filename":"file0"},{"photo_id":"1328042530","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328042406":["hashtag1","hashtag2"]},{"1328042530":["hashtag1","hashtag2"]},{"1328042527":["hashtag1","hashtag2"]},{"1328042500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328042406, 1328042530, 1328042527, 1328042500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.91760754585266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:11:22.328191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/10/image_11012025_03_10_02_717196_0003.jpg', '/home/pi/Desktop/images/11012025/03/11/image_11012025_03_11_02_216208_0000.jpg', '/home/pi/Desktop/images/11012025/03/11/image_11012025_03_11_02_216208_0001.jpg', '/home/pi/Desktop/images/11012025/03/11/image_11012025_03_11_02_216208_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/10/image_11012025_03_10_02_717196_0003.jpg
/home/pi/Desktop/images/11012025/03/11/image_11012025_03_11_02_216208_0000.jpg
/home/pi/Desktop/images/11012025/03/11/image_11012025_03_11_02_216208_0001.jpg
/home/pi/Desktop/images/11012025/03/11/image_11012025_03_11_02_216208_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328042541","1328042543","1328042537","1328042539"],"photo_ids_order":["1328042537","1328042539","1328042541","1328042543"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6c9add139be1af715d8350ca4198f765.jpg","text":"TemporaryFile(/tmp/multipartBody2124001534058907651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561552530,"filename":"image_11012025_03_11_02_216208_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8f759c62653ccf7e2ff4b04aa572af7d.jpg","text":"TemporaryFile(/tmp/multipartBody7961979790421374687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561552530,"filename":"image_11012025_03_11_02_216208_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4bfb4dca7cbe8b0c2b873b721f525b21.jpg","text":"TemporaryFile(/tmp/multipartBody6912182132846561339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561552530,"filename":"image_11012025_03_10_02_717196_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/825b6410914a4d89135fd6b498e3557f.jpg","text":"TemporaryFile(/tmp/multipartBody636129146915231362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561552530,"filename":"image_11012025_03_11_02_216208_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328042541","file1":"1328042539","file0":"1328042537","file3":"1328042543"},"map_files_photo_id_array":[{"photo_id":"1328042541","filename":"file2"},{"photo_id":"1328042539","filename":"file1"},{"photo_id":"1328042537","filename":"file0"},{"photo_id":"1328042543","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328042541":["hashtag1","hashtag2"]},{"1328042543":["hashtag1","hashtag2"]},{"1328042537":["hashtag1","hashtag2"]},{"1328042539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328042541, 1328042543, 1328042537, 1328042539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.556418895721436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:12:22.025484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/11/image_11012025_03_11_02_216208_0003.jpg', '/home/pi/Desktop/images/11012025/03/12/image_11012025_03_12_02_822420_0000.jpg', '/home/pi/Desktop/images/11012025/03/12/image_11012025_03_12_02_822420_0001.jpg', '/home/pi/Desktop/images/11012025/03/12/image_11012025_03_12_02_822420_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/11/image_11012025_03_11_02_216208_0003.jpg
/home/pi/Desktop/images/11012025/03/12/image_11012025_03_12_02_822420_0000.jpg
/home/pi/Desktop/images/11012025/03/12/image_11012025_03_12_02_822420_0001.jpg
/home/pi/Desktop/images/11012025/03/12/image_11012025_03_12_02_822420_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.799787759780884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:13:03.124777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/11/image_11012025_03_11_02_216208_0003.jpg', '/home/pi/Desktop/images/11012025/03/12/image_11012025_03_12_02_822420_0000.jpg', '/home/pi/Desktop/images/11012025/03/12/image_11012025_03_12_02_822420_0001.jpg', '/home/pi/Desktop/images/11012025/03/12/image_11012025_03_12_02_822420_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/11/image_11012025_03_11_02_216208_0003.jpg
/home/pi/Desktop/images/11012025/03/12/image_11012025_03_12_02_822420_0000.jpg
/home/pi/Desktop/images/11012025/03/12/image_11012025_03_12_02_822420_0001.jpg
/home/pi/Desktop/images/11012025/03/12/image_11012025_03_12_02_822420_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328042565","1328042559","1328042563","1328042560"],"photo_ids_order":["1328042559","1328042560","1328042563","1328042565"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/00e15b8570d390499d9ef1304816a2f2.jpg","text":"TemporaryFile(/tmp/multipartBody6156818842678627735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561653385,"filename":"image_11012025_03_12_02_822420_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/72b3a94034429ccffbcc35e1dae94653.jpg","text":"TemporaryFile(/tmp/multipartBody1692664304512259158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561653385,"filename":"image_11012025_03_11_02_216208_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/00aebd512d6d0e93b7c420ebc171c36c.jpg","text":"TemporaryFile(/tmp/multipartBody858963518227530322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561653385,"filename":"image_11012025_03_12_02_822420_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/51b78744f1223b36cad71c4d0b8e429c.jpg","text":"TemporaryFile(/tmp/multipartBody9162398170712186267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561653385,"filename":"image_11012025_03_12_02_822420_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328042563","file1":"1328042560","file0":"1328042559","file3":"1328042565"},"map_files_photo_id_array":[{"photo_id":"1328042563","filename":"file2"},{"photo_id":"1328042560","filename":"file1"},{"photo_id":"1328042559","filename":"file0"},{"photo_id":"1328042565","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328042565":["hashtag1","hashtag2"]},{"1328042559":["hashtag1","hashtag2"]},{"1328042563":["hashtag1","hashtag2"]},{"1328042560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328042565, 1328042559, 1328042563, 1328042560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.02302289009094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:14:02.507793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/12/image_11012025_03_12_02_822420_0003.jpg', '/home/pi/Desktop/images/11012025/03/13/image_11012025_03_13_02_336921_0000.jpg', '/home/pi/Desktop/images/11012025/03/13/image_11012025_03_13_02_336921_0001.jpg', '/home/pi/Desktop/images/11012025/03/13/image_11012025_03_13_02_336921_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/12/image_11012025_03_12_02_822420_0003.jpg
/home/pi/Desktop/images/11012025/03/13/image_11012025_03_13_02_336921_0000.jpg
/home/pi/Desktop/images/11012025/03/13/image_11012025_03_13_02_336921_0001.jpg
/home/pi/Desktop/images/11012025/03/13/image_11012025_03_13_02_336921_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.933855772018433 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:14:22.031122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/12/image_11012025_03_12_02_822420_0003.jpg', '/home/pi/Desktop/images/11012025/03/13/image_11012025_03_13_02_336921_0000.jpg', '/home/pi/Desktop/images/11012025/03/13/image_11012025_03_13_02_336921_0001.jpg', '/home/pi/Desktop/images/11012025/03/13/image_11012025_03_13_02_336921_0002.jpg', '/home/pi/Desktop/images/11012025/03/13/image_11012025_03_13_02_336921_0003.jpg', '/home/pi/Desktop/images/11012025/03/14/image_11012025_03_14_02_907581_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/12/image_11012025_03_12_02_822420_0003.jpg
/home/pi/Desktop/images/11012025/03/13/image_11012025_03_13_02_336921_0000.jpg
/home/pi/Desktop/images/11012025/03/13/image_11012025_03_13_02_336921_0001.jpg
/home/pi/Desktop/images/11012025/03/13/image_11012025_03_13_02_336921_0002.jpg
/home/pi/Desktop/images/11012025/03/13/image_11012025_03_13_02_336921_0003.jpg
/home/pi/Desktop/images/11012025/03/14/image_11012025_03_14_02_907581_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328042589","1328042585","1328042587","1328042596","1328042599","1328042592"],"photo_ids_order":["1328042585","1328042587","1328042589","1328042592","1328042596","1328042599"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a4bd5803e2d1bbc702daba95c81995a4.jpg","text":"TemporaryFile(/tmp/multipartBody2236236595335347428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561737045,"filename":"image_11012025_03_13_02_336921_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6a3821afd96415afa3f794302a0aebdd.jpg","text":"TemporaryFile(/tmp/multipartBody8382734778544427878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561737045,"filename":"image_11012025_03_12_02_822420_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7ca1857d6ceaa9fa9292fc13d8c84ce2.jpg","text":"TemporaryFile(/tmp/multipartBody7297540496606856109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561737045,"filename":"image_11012025_03_13_02_336921_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c974316f624422503fe12fe570a2726.jpg","text":"TemporaryFile(/tmp/multipartBody7000596504216932318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561737045,"filename":"image_11012025_03_13_02_336921_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ee5c7fe26cf7ef2d95541b3f9668cfce.jpg","text":"TemporaryFile(/tmp/multipartBody7321453418860285601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561737045,"filename":"image_11012025_03_14_02_907581_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/629312fcffddcffbaf57210539db613d.jpg","text":"TemporaryFile(/tmp/multipartBody462853202128686346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561737045,"filename":"image_11012025_03_13_02_336921_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328042589","file1":"1328042587","file0":"1328042585","file4":"1328042596","file5":"1328042599","file3":"1328042592"},"map_files_photo_id_array":[{"photo_id":"1328042599","filename":"file5"},{"photo_id":"1328042589","filename":"file2"},{"photo_id":"1328042596","filename":"file4"},{"photo_id":"1328042587","filename":"file1"},{"photo_id":"1328042585","filename":"file0"},{"photo_id":"1328042592","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328042589":["hashtag1","hashtag2"]},{"1328042585":["hashtag1","hashtag2"]},{"1328042587":["hashtag1","hashtag2"]},{"1328042596":["hashtag1","hashtag2"]},{"1328042599":["hashtag1","hashtag2"]},{"1328042592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328042589, 1328042585, 1328042587, 1328042596, 1328042599, 1328042592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.54199719429016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:15:22.607013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/14/image_11012025_03_14_02_907581_0001.jpg', '/home/pi/Desktop/images/11012025/03/14/image_11012025_03_14_02_907581_0002.jpg', '/home/pi/Desktop/images/11012025/03/14/image_11012025_03_14_02_907581_0003.jpg', '/home/pi/Desktop/images/11012025/03/15/image_11012025_03_15_02_436840_0000.jpg', '/home/pi/Desktop/images/11012025/03/15/image_11012025_03_15_02_436840_0001.jpg', '/home/pi/Desktop/images/11012025/03/15/image_11012025_03_15_02_436840_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/14/image_11012025_03_14_02_907581_0001.jpg
/home/pi/Desktop/images/11012025/03/14/image_11012025_03_14_02_907581_0002.jpg
/home/pi/Desktop/images/11012025/03/14/image_11012025_03_14_02_907581_0003.jpg
/home/pi/Desktop/images/11012025/03/15/image_11012025_03_15_02_436840_0000.jpg
/home/pi/Desktop/images/11012025/03/15/image_11012025_03_15_02_436840_0001.jpg
/home/pi/Desktop/images/11012025/03/15/image_11012025_03_15_02_436840_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328042859","1328042861","1328042849","1328042854","1328042857","1328042790"],"photo_ids_order":["1328042790","1328042849","1328042854","1328042857","1328042859","1328042861"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f0b360ce56e86bd34a228e773de2182d.jpg","text":"TemporaryFile(/tmp/multipartBody1188830539722238551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561797528,"filename":"image_11012025_03_15_02_436840_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/029bedf1cea07dc33c95236da27b40ad.jpg","text":"TemporaryFile(/tmp/multipartBody2098768236992216969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561797528,"filename":"image_11012025_03_15_02_436840_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a6c83e8dbdae98427fbc163c5135d59e.jpg","text":"TemporaryFile(/tmp/multipartBody6258503273683082003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561797528,"filename":"image_11012025_03_14_02_907581_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/86f8722851a2ef1b8652b4107dcb83b4.jpg","text":"TemporaryFile(/tmp/multipartBody636035899460399545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561797528,"filename":"image_11012025_03_14_02_907581_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a5f992ab1975df2600ee70804b7ed0a8.jpg","text":"TemporaryFile(/tmp/multipartBody7631327699071644690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561797528,"filename":"image_11012025_03_15_02_436840_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/518a357d7a4065de16499610296a713b.jpg","text":"TemporaryFile(/tmp/multipartBody3732077598679531947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561797528,"filename":"image_11012025_03_14_02_907581_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328042854","file1":"1328042849","file0":"1328042790","file4":"1328042859","file5":"1328042861","file3":"1328042857"},"map_files_photo_id_array":[{"photo_id":"1328042861","filename":"file5"},{"photo_id":"1328042854","filename":"file2"},{"photo_id":"1328042859","filename":"file4"},{"photo_id":"1328042849","filename":"file1"},{"photo_id":"1328042790","filename":"file0"},{"photo_id":"1328042857","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328042859":["hashtag1","hashtag2"]},{"1328042861":["hashtag1","hashtag2"]},{"1328042849":["hashtag1","hashtag2"]},{"1328042854":["hashtag1","hashtag2"]},{"1328042857":["hashtag1","hashtag2"]},{"1328042790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328042859, 1328042861, 1328042849, 1328042854, 1328042857, 1328042790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.15337061882019 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:16:22.093277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/15/image_11012025_03_15_02_436840_0003.jpg', '/home/pi/Desktop/images/11012025/03/16/image_11012025_03_16_02_986272_0000.jpg', '/home/pi/Desktop/images/11012025/03/16/image_11012025_03_16_02_986272_0001.jpg', '/home/pi/Desktop/images/11012025/03/16/image_11012025_03_16_02_986272_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/15/image_11012025_03_15_02_436840_0003.jpg
/home/pi/Desktop/images/11012025/03/16/image_11012025_03_16_02_986272_0000.jpg
/home/pi/Desktop/images/11012025/03/16/image_11012025_03_16_02_986272_0001.jpg
/home/pi/Desktop/images/11012025/03/16/image_11012025_03_16_02_986272_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328042874","1328042870","1328042872","1328042877"],"photo_ids_order":["1328042870","1328042872","1328042874","1328042877"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6e3f4f88f291a7cc085d5f96750cc6c5.jpg","text":"TemporaryFile(/tmp/multipartBody7271375455389087898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561852364,"filename":"image_11012025_03_16_02_986272_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/affa655676474b6799086087ca23d142.jpg","text":"TemporaryFile(/tmp/multipartBody2362380555109041409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561852364,"filename":"image_11012025_03_15_02_436840_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/02c47a153c69de5700e9caf424a07990.jpg","text":"TemporaryFile(/tmp/multipartBody636104220913567333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561852364,"filename":"image_11012025_03_16_02_986272_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/de5a4c3d46a17484e1332429e5e9d4a5.jpg","text":"TemporaryFile(/tmp/multipartBody5533533406657234340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561852364,"filename":"image_11012025_03_16_02_986272_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328042874","file1":"1328042872","file0":"1328042870","file3":"1328042877"},"map_files_photo_id_array":[{"photo_id":"1328042874","filename":"file2"},{"photo_id":"1328042872","filename":"file1"},{"photo_id":"1328042870","filename":"file0"},{"photo_id":"1328042877","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328042874":["hashtag1","hashtag2"]},{"1328042870":["hashtag1","hashtag2"]},{"1328042872":["hashtag1","hashtag2"]},{"1328042877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328042874, 1328042870, 1328042872, 1328042877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.316080808639526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:17:03.300924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/50/image_09012025_22_50_02_187602_0002.jpg', '/home/pi/Desktop/images/09012025/22/50/image_09012025_22_50_02_187602_0003.jpg', '/home/pi/Desktop/images/09012025/22/51/image_09012025_22_51_02_383178_0000.jpg', '/home/pi/Desktop/images/09012025/22/51/image_09012025_22_51_02_383178_0001.jpg', '/home/pi/Desktop/images/09012025/22/51/image_09012025_22_51_02_383178_0002.jpg', '/home/pi/Desktop/images/09012025/22/51/image_09012025_22_51_02_383178_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/50/image_09012025_22_50_02_187602_0002.jpg
/home/pi/Desktop/images/09012025/22/50/image_09012025_22_50_02_187602_0003.jpg
/home/pi/Desktop/images/09012025/22/51/image_09012025_22_51_02_383178_0000.jpg
/home/pi/Desktop/images/09012025/22/51/image_09012025_22_51_02_383178_0001.jpg
/home/pi/Desktop/images/09012025/22/51/image_09012025_22_51_02_383178_0002.jpg
/home/pi/Desktop/images/09012025/22/51/image_09012025_22_51_02_383178_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328043097","1328043101","1328043094","1328043103","1328043096","1328043099"],"photo_ids_order":["1328043094","1328043096","1328043097","1328043099","1328043101","1328043103"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9bfa28136240b6ed9dd662e7aefc6b4c.jpg","text":"TemporaryFile(/tmp/multipartBody6043449235707160230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561899628,"filename":"image_09012025_22_51_02_383178_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/293991b8487b0f8b39958ec7b1d3a54d.jpg","text":"TemporaryFile(/tmp/multipartBody3779964065071757299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561899628,"filename":"image_09012025_22_51_02_383178_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2f675e33ce7655e67115aceee8b7a709.jpg","text":"TemporaryFile(/tmp/multipartBody6480151089778242821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561899628,"filename":"image_09012025_22_50_02_187602_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/711943a3ecffcf2ed68979b07cebbcb1.jpg","text":"TemporaryFile(/tmp/multipartBody3159674457326227937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561899628,"filename":"image_09012025_22_51_02_383178_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4a0a6f5314dc2e6f26851b8c53835618.jpg","text":"TemporaryFile(/tmp/multipartBody8137648126615672647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561899628,"filename":"image_09012025_22_50_02_187602_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6d03abea16db3473961561324b6c2e6d.jpg","text":"TemporaryFile(/tmp/multipartBody518558546399649984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561899628,"filename":"image_09012025_22_51_02_383178_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328043097","file1":"1328043096","file0":"1328043094","file4":"1328043101","file5":"1328043103","file3":"1328043099"},"map_files_photo_id_array":[{"photo_id":"1328043103","filename":"file5"},{"photo_id":"1328043097","filename":"file2"},{"photo_id":"1328043101","filename":"file4"},{"photo_id":"1328043096","filename":"file1"},{"photo_id":"1328043094","filename":"file0"},{"photo_id":"1328043099","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328043097":["hashtag1","hashtag2"]},{"1328043101":["hashtag1","hashtag2"]},{"1328043094":["hashtag1","hashtag2"]},{"1328043103":["hashtag1","hashtag2"]},{"1328043096":["hashtag1","hashtag2"]},{"1328043099":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328043097, 1328043101, 1328043094, 1328043103, 1328043096, 1328043099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.21342086791992 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:18:02.844888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/16/image_11012025_03_16_02_986272_0003.jpg', '/home/pi/Desktop/images/11012025/03/17/image_11012025_03_17_02_531691_0000.jpg', '/home/pi/Desktop/images/11012025/03/17/image_11012025_03_17_02_531691_0001.jpg', '/home/pi/Desktop/images/11012025/03/17/image_11012025_03_17_02_531691_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/16/image_11012025_03_16_02_986272_0003.jpg
/home/pi/Desktop/images/11012025/03/17/image_11012025_03_17_02_531691_0000.jpg
/home/pi/Desktop/images/11012025/03/17/image_11012025_03_17_02_531691_0001.jpg
/home/pi/Desktop/images/11012025/03/17/image_11012025_03_17_02_531691_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328043108","1328043110","1328043107","1328043112"],"photo_ids_order":["1328043107","1328043108","1328043110","1328043112"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9a83687d41336040ae04f6db1fb6349e.jpg","text":"TemporaryFile(/tmp/multipartBody1081682396876365437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561953158,"filename":"image_11012025_03_17_02_531691_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7302197a06f4caf61cc87eb5f082def2.jpg","text":"TemporaryFile(/tmp/multipartBody8066966706112616120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561953158,"filename":"image_11012025_03_17_02_531691_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ae4275d3d1bd198328529c0ebd194398.jpg","text":"TemporaryFile(/tmp/multipartBody1442300200766627871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561953158,"filename":"image_11012025_03_16_02_986272_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0d4a0df94c56958daa4c43b98c151491.jpg","text":"TemporaryFile(/tmp/multipartBody8590504012344130200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736561953158,"filename":"image_11012025_03_17_02_531691_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328043110","file1":"1328043108","file0":"1328043107","file3":"1328043112"},"map_files_photo_id_array":[{"photo_id":"1328043110","filename":"file2"},{"photo_id":"1328043108","filename":"file1"},{"photo_id":"1328043107","filename":"file0"},{"photo_id":"1328043112","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328043108":["hashtag1","hashtag2"]},{"1328043110":["hashtag1","hashtag2"]},{"1328043107":["hashtag1","hashtag2"]},{"1328043112":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328043108, 1328043110, 1328043107, 1328043112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.15506982803345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:19:02.355560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/17/image_11012025_03_17_02_531691_0003.jpg', '/home/pi/Desktop/images/11012025/03/18/image_11012025_03_18_03_089330_0000.jpg', '/home/pi/Desktop/images/11012025/03/18/image_11012025_03_18_03_089330_0001.jpg', '/home/pi/Desktop/images/11012025/03/18/image_11012025_03_18_03_089330_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/17/image_11012025_03_17_02_531691_0003.jpg
/home/pi/Desktop/images/11012025/03/18/image_11012025_03_18_03_089330_0000.jpg
/home/pi/Desktop/images/11012025/03/18/image_11012025_03_18_03_089330_0001.jpg
/home/pi/Desktop/images/11012025/03/18/image_11012025_03_18_03_089330_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328043173","1328043155","1328043158","1328043156"],"photo_ids_order":["1328043155","1328043156","1328043158","1328043173"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6dc55da536ae3e150ff5c2ffd998ed38.jpg","text":"TemporaryFile(/tmp/multipartBody4818820761438196781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562012578,"filename":"image_11012025_03_18_03_089330_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9d9eb643a8ae105bc7a4e2648016dc3e.jpg","text":"TemporaryFile(/tmp/multipartBody2268582008720756793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562012578,"filename":"image_11012025_03_17_02_531691_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/28415bf823ea678b612a8bdafea2debe.jpg","text":"TemporaryFile(/tmp/multipartBody7627089738963263387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562012578,"filename":"image_11012025_03_18_03_089330_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/706aaa1ffd48fed91f72f3c513192eed.jpg","text":"TemporaryFile(/tmp/multipartBody3368652866072457607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562012578,"filename":"image_11012025_03_18_03_089330_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328043158","file1":"1328043156","file0":"1328043155","file3":"1328043173"},"map_files_photo_id_array":[{"photo_id":"1328043158","filename":"file2"},{"photo_id":"1328043156","filename":"file1"},{"photo_id":"1328043155","filename":"file0"},{"photo_id":"1328043173","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328043173":["hashtag1","hashtag2"]},{"1328043155":["hashtag1","hashtag2"]},{"1328043158":["hashtag1","hashtag2"]},{"1328043156":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328043173, 1328043155, 1328043158, 1328043156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.920072078704834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:20:02.896458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/18/image_11012025_03_18_03_089330_0003.jpg', '/home/pi/Desktop/images/11012025/03/19/image_11012025_03_19_02_681939_0000.jpg', '/home/pi/Desktop/images/11012025/03/19/image_11012025_03_19_02_681939_0001.jpg', '/home/pi/Desktop/images/11012025/03/19/image_11012025_03_19_02_681939_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/18/image_11012025_03_18_03_089330_0003.jpg
/home/pi/Desktop/images/11012025/03/19/image_11012025_03_19_02_681939_0000.jpg
/home/pi/Desktop/images/11012025/03/19/image_11012025_03_19_02_681939_0001.jpg
/home/pi/Desktop/images/11012025/03/19/image_11012025_03_19_02_681939_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328043269","1328043223","1328043186","1328043255"],"photo_ids_order":["1328043186","1328043223","1328043255","1328043269"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aa10cad21087f9088a2fddcf33fbd2a8.jpg","text":"TemporaryFile(/tmp/multipartBody2677715655722628760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562073104,"filename":"image_11012025_03_19_02_681939_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/939000150d8ba9d20257131ffb11056c.jpg","text":"TemporaryFile(/tmp/multipartBody1452290155344076028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562073104,"filename":"image_11012025_03_19_02_681939_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f90506f52265122de4ea2b42a77bb366.jpg","text":"TemporaryFile(/tmp/multipartBody8180217568928617816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562073104,"filename":"image_11012025_03_18_03_089330_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5392b960977a13c3385e6bd793ffe77f.jpg","text":"TemporaryFile(/tmp/multipartBody6301894756369892433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562073104,"filename":"image_11012025_03_19_02_681939_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328043255","file1":"1328043223","file0":"1328043186","file3":"1328043269"},"map_files_photo_id_array":[{"photo_id":"1328043255","filename":"file2"},{"photo_id":"1328043223","filename":"file1"},{"photo_id":"1328043186","filename":"file0"},{"photo_id":"1328043269","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328043269":["hashtag1","hashtag2"]},{"1328043223":["hashtag1","hashtag2"]},{"1328043186":["hashtag1","hashtag2"]},{"1328043255":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328043269, 1328043223, 1328043186, 1328043255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.96148133277893 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:21:02.598024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/19/image_11012025_03_19_02_681939_0003.jpg', '/home/pi/Desktop/images/11012025/03/20/image_11012025_03_20_02_197020_0000.jpg', '/home/pi/Desktop/images/11012025/03/20/image_11012025_03_20_02_197020_0001.jpg', '/home/pi/Desktop/images/11012025/03/20/image_11012025_03_20_02_197020_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/19/image_11012025_03_19_02_681939_0003.jpg
/home/pi/Desktop/images/11012025/03/20/image_11012025_03_20_02_197020_0000.jpg
/home/pi/Desktop/images/11012025/03/20/image_11012025_03_20_02_197020_0001.jpg
/home/pi/Desktop/images/11012025/03/20/image_11012025_03_20_02_197020_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328043389","1328043392","1328043391","1328043390"],"photo_ids_order":["1328043389","1328043390","1328043391","1328043392"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4553f8e70028a1d0b75a02069ee8629c.jpg","text":"TemporaryFile(/tmp/multipartBody5366885210217321128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562132843,"filename":"image_11012025_03_19_02_681939_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4410646198b1e9c9cb90d6092f796614.jpg","text":"TemporaryFile(/tmp/multipartBody7464501573213764616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562132843,"filename":"image_11012025_03_20_02_197020_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cf8f2f2ad8e9bbd9e64e078f7d82f115.jpg","text":"TemporaryFile(/tmp/multipartBody3950450988266621700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562132843,"filename":"image_11012025_03_20_02_197020_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1223a4e809dd851eb8e64c633d0e8fff.jpg","text":"TemporaryFile(/tmp/multipartBody4614324992471553010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562132843,"filename":"image_11012025_03_20_02_197020_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328043391","file1":"1328043390","file0":"1328043389","file3":"1328043392"},"map_files_photo_id_array":[{"photo_id":"1328043391","filename":"file2"},{"photo_id":"1328043390","filename":"file1"},{"photo_id":"1328043389","filename":"file0"},{"photo_id":"1328043392","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328043389":["hashtag1","hashtag2"]},{"1328043392":["hashtag1","hashtag2"]},{"1328043391":["hashtag1","hashtag2"]},{"1328043390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328043389, 1328043392, 1328043391, 1328043390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.361600160598755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:22:03.118325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/20/image_11012025_03_20_02_197020_0003.jpg', '/home/pi/Desktop/images/11012025/03/21/image_11012025_03_21_02_842868_0000.jpg', '/home/pi/Desktop/images/11012025/03/21/image_11012025_03_21_02_842868_0001.jpg', '/home/pi/Desktop/images/11012025/03/21/image_11012025_03_21_02_842868_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/20/image_11012025_03_20_02_197020_0003.jpg
/home/pi/Desktop/images/11012025/03/21/image_11012025_03_21_02_842868_0000.jpg
/home/pi/Desktop/images/11012025/03/21/image_11012025_03_21_02_842868_0001.jpg
/home/pi/Desktop/images/11012025/03/21/image_11012025_03_21_02_842868_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328043432","1328043430","1328043433","1328043429"],"photo_ids_order":["1328043429","1328043430","1328043432","1328043433"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fe3b0c98ea894ca8d44aa2af7e17f23b.jpg","text":"TemporaryFile(/tmp/multipartBody101097380881826945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562193254,"filename":"image_11012025_03_21_02_842868_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/202d73621968b0f4e813e397f223bbf6.jpg","text":"TemporaryFile(/tmp/multipartBody2864780458786242169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562193254,"filename":"image_11012025_03_21_02_842868_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5c2bfc0efb90f36eeedb673891a52067.jpg","text":"TemporaryFile(/tmp/multipartBody3204368854300940004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562193254,"filename":"image_11012025_03_21_02_842868_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/82de9f087afe1a8e244dfa4271f7811a.jpg","text":"TemporaryFile(/tmp/multipartBody7872162649236711820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562193254,"filename":"image_11012025_03_20_02_197020_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328043432","file1":"1328043430","file0":"1328043429","file3":"1328043433"},"map_files_photo_id_array":[{"photo_id":"1328043432","filename":"file2"},{"photo_id":"1328043430","filename":"file1"},{"photo_id":"1328043429","filename":"file0"},{"photo_id":"1328043433","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328043432":["hashtag1","hashtag2"]},{"1328043430":["hashtag1","hashtag2"]},{"1328043433":["hashtag1","hashtag2"]},{"1328043429":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328043432, 1328043430, 1328043433, 1328043429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.89413142204285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:23:02.872640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/21/image_11012025_03_21_02_842868_0003.jpg', '/home/pi/Desktop/images/11012025/03/22/image_11012025_03_22_02_371486_0000.jpg', '/home/pi/Desktop/images/11012025/03/22/image_11012025_03_22_02_371486_0001.jpg', '/home/pi/Desktop/images/11012025/03/22/image_11012025_03_22_02_371486_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/21/image_11012025_03_21_02_842868_0003.jpg
/home/pi/Desktop/images/11012025/03/22/image_11012025_03_22_02_371486_0000.jpg
/home/pi/Desktop/images/11012025/03/22/image_11012025_03_22_02_371486_0001.jpg
/home/pi/Desktop/images/11012025/03/22/image_11012025_03_22_02_371486_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328043446","1328043449","1328043445","1328043448"],"photo_ids_order":["1328043445","1328043446","1328043448","1328043449"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8fb6a2e7ce79699a8247fef4602e505c.jpg","text":"TemporaryFile(/tmp/multipartBody7063196171628067382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562253144,"filename":"image_11012025_03_22_02_371486_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/edcc82b81c203fc362076ab25f70d411.jpg","text":"TemporaryFile(/tmp/multipartBody872571391828984325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562253144,"filename":"image_11012025_03_22_02_371486_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9b63d8ac7486ef9ca2165400b8e1a1fc.jpg","text":"TemporaryFile(/tmp/multipartBody7323845435858906268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562253144,"filename":"image_11012025_03_21_02_842868_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9c22233e1023549cb6141dd642a193e2.jpg","text":"TemporaryFile(/tmp/multipartBody8788880953477541364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562253144,"filename":"image_11012025_03_22_02_371486_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328043448","file1":"1328043446","file0":"1328043445","file3":"1328043449"},"map_files_photo_id_array":[{"photo_id":"1328043448","filename":"file2"},{"photo_id":"1328043446","filename":"file1"},{"photo_id":"1328043445","filename":"file0"},{"photo_id":"1328043449","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328043446":["hashtag1","hashtag2"]},{"1328043449":["hashtag1","hashtag2"]},{"1328043445":["hashtag1","hashtag2"]},{"1328043448":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328043446, 1328043449, 1328043445, 1328043448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.06847167015076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:24:02.239855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/22/image_11012025_03_22_02_371486_0003.jpg', '/home/pi/Desktop/images/11012025/03/23/image_11012025_03_23_03_043271_0000.jpg', '/home/pi/Desktop/images/11012025/03/23/image_11012025_03_23_03_043271_0001.jpg', '/home/pi/Desktop/images/11012025/03/23/image_11012025_03_23_03_043271_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/22/image_11012025_03_22_02_371486_0003.jpg
/home/pi/Desktop/images/11012025/03/23/image_11012025_03_23_03_043271_0000.jpg
/home/pi/Desktop/images/11012025/03/23/image_11012025_03_23_03_043271_0001.jpg
/home/pi/Desktop/images/11012025/03/23/image_11012025_03_23_03_043271_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.795468807220459 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:24:21.827540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/22/image_11012025_03_22_02_371486_0003.jpg', '/home/pi/Desktop/images/11012025/03/23/image_11012025_03_23_03_043271_0000.jpg', '/home/pi/Desktop/images/11012025/03/23/image_11012025_03_23_03_043271_0001.jpg', '/home/pi/Desktop/images/11012025/03/23/image_11012025_03_23_03_043271_0002.jpg', '/home/pi/Desktop/images/11012025/03/23/image_11012025_03_23_03_043271_0003.jpg', '/home/pi/Desktop/images/11012025/03/24/image_11012025_03_24_02_522408_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/22/image_11012025_03_22_02_371486_0003.jpg
/home/pi/Desktop/images/11012025/03/23/image_11012025_03_23_03_043271_0000.jpg
/home/pi/Desktop/images/11012025/03/23/image_11012025_03_23_03_043271_0001.jpg
/home/pi/Desktop/images/11012025/03/23/image_11012025_03_23_03_043271_0002.jpg
/home/pi/Desktop/images/11012025/03/23/image_11012025_03_23_03_043271_0003.jpg
/home/pi/Desktop/images/11012025/03/24/image_11012025_03_24_02_522408_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328043504","1328043472","1328043469","1328043502","1328043474","1328043462"],"photo_ids_order":["1328043462","1328043469","1328043472","1328043474","1328043502","1328043504"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9a5aa8179008301883b8ae47aaea43b6.jpg","text":"TemporaryFile(/tmp/multipartBody3766902348345131128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562336671,"filename":"image_11012025_03_24_02_522408_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fac9dd24cf55ca84056bdc55fab609e4.jpg","text":"TemporaryFile(/tmp/multipartBody5804094213897774498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562336671,"filename":"image_11012025_03_23_03_043271_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/65fa0edc72f6fb65dcced381212d3a80.jpg","text":"TemporaryFile(/tmp/multipartBody3485518648662418227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562336671,"filename":"image_11012025_03_23_03_043271_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a36bde16e16eaaaabe9a271aba745333.jpg","text":"TemporaryFile(/tmp/multipartBody4755439031924683694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562336671,"filename":"image_11012025_03_23_03_043271_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/441d0c4ea6bff11d69f294ddd1de2e40.jpg","text":"TemporaryFile(/tmp/multipartBody4709864653816292550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562336671,"filename":"image_11012025_03_23_03_043271_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9742d5f7d70aa964d75e7814ed0b9a5a.jpg","text":"TemporaryFile(/tmp/multipartBody9207908022056021390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562336671,"filename":"image_11012025_03_22_02_371486_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328043472","file1":"1328043469","file0":"1328043462","file4":"1328043502","file5":"1328043504","file3":"1328043474"},"map_files_photo_id_array":[{"photo_id":"1328043504","filename":"file5"},{"photo_id":"1328043472","filename":"file2"},{"photo_id":"1328043502","filename":"file4"},{"photo_id":"1328043469","filename":"file1"},{"photo_id":"1328043462","filename":"file0"},{"photo_id":"1328043474","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328043504":["hashtag1","hashtag2"]},{"1328043472":["hashtag1","hashtag2"]},{"1328043469":["hashtag1","hashtag2"]},{"1328043502":["hashtag1","hashtag2"]},{"1328043474":["hashtag1","hashtag2"]},{"1328043462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328043504, 1328043472, 1328043469, 1328043502, 1328043474, 1328043462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.22863173484802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:25:22.321370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/24/image_11012025_03_24_02_522408_0001.jpg', '/home/pi/Desktop/images/11012025/03/24/image_11012025_03_24_02_522408_0002.jpg', '/home/pi/Desktop/images/11012025/03/24/image_11012025_03_24_02_522408_0003.jpg', '/home/pi/Desktop/images/11012025/03/25/image_11012025_03_25_02_186716_0000.jpg', '/home/pi/Desktop/images/11012025/03/25/image_11012025_03_25_02_186716_0001.jpg', '/home/pi/Desktop/images/11012025/03/25/image_11012025_03_25_02_186716_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/24/image_11012025_03_24_02_522408_0001.jpg
/home/pi/Desktop/images/11012025/03/24/image_11012025_03_24_02_522408_0002.jpg
/home/pi/Desktop/images/11012025/03/24/image_11012025_03_24_02_522408_0003.jpg
/home/pi/Desktop/images/11012025/03/25/image_11012025_03_25_02_186716_0000.jpg
/home/pi/Desktop/images/11012025/03/25/image_11012025_03_25_02_186716_0001.jpg
/home/pi/Desktop/images/11012025/03/25/image_11012025_03_25_02_186716_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328043516","1328043510","1328043512","1328043506","1328043514","1328043508"],"photo_ids_order":["1328043506","1328043508","1328043510","1328043512","1328043514","1328043516"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a01c48e25824a5d4233cd55553d7549f.jpg","text":"TemporaryFile(/tmp/multipartBody6983015275719853272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562397251,"filename":"image_11012025_03_25_02_186716_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c7f69e823e3e2544862d0531b5f5d49d.jpg","text":"TemporaryFile(/tmp/multipartBody493737209173547897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562397251,"filename":"image_11012025_03_24_02_522408_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ecbb9e7b65be734405ed1b8753834989.jpg","text":"TemporaryFile(/tmp/multipartBody6852158135034662035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562397251,"filename":"image_11012025_03_25_02_186716_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7f55a94c164c2dd8de2b8c5789c3d8bb.jpg","text":"TemporaryFile(/tmp/multipartBody8944470114547755983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562397251,"filename":"image_11012025_03_24_02_522408_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2453d1fd4058a44bf587aad8dfab0514.jpg","text":"TemporaryFile(/tmp/multipartBody739559794169405745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562397251,"filename":"image_11012025_03_25_02_186716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ae19c644eb3d5bda2c6f903005b843eb.jpg","text":"TemporaryFile(/tmp/multipartBody1436666988748953872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562397251,"filename":"image_11012025_03_24_02_522408_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328043510","file1":"1328043508","file0":"1328043506","file4":"1328043514","file5":"1328043516","file3":"1328043512"},"map_files_photo_id_array":[{"photo_id":"1328043516","filename":"file5"},{"photo_id":"1328043510","filename":"file2"},{"photo_id":"1328043514","filename":"file4"},{"photo_id":"1328043508","filename":"file1"},{"photo_id":"1328043506","filename":"file0"},{"photo_id":"1328043512","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328043516":["hashtag1","hashtag2"]},{"1328043510":["hashtag1","hashtag2"]},{"1328043512":["hashtag1","hashtag2"]},{"1328043506":["hashtag1","hashtag2"]},{"1328043514":["hashtag1","hashtag2"]},{"1328043508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328043516, 1328043510, 1328043512, 1328043506, 1328043514, 1328043508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.397873640060425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:27:02.903719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/25/image_11012025_03_25_02_186716_0003.jpg', '/home/pi/Desktop/images/11012025/03/26/image_11012025_03_26_02_666757_0000.jpg', '/home/pi/Desktop/images/11012025/03/26/image_11012025_03_26_02_666757_0001.jpg', '/home/pi/Desktop/images/11012025/03/26/image_11012025_03_26_02_666757_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/25/image_11012025_03_25_02_186716_0003.jpg
/home/pi/Desktop/images/11012025/03/26/image_11012025_03_26_02_666757_0000.jpg
/home/pi/Desktop/images/11012025/03/26/image_11012025_03_26_02_666757_0001.jpg
/home/pi/Desktop/images/11012025/03/26/image_11012025_03_26_02_666757_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0113365650177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:27:22.248104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/25/image_11012025_03_25_02_186716_0003.jpg', '/home/pi/Desktop/images/11012025/03/26/image_11012025_03_26_02_666757_0000.jpg', '/home/pi/Desktop/images/11012025/03/26/image_11012025_03_26_02_666757_0001.jpg', '/home/pi/Desktop/images/11012025/03/26/image_11012025_03_26_02_666757_0002.jpg', '/home/pi/Desktop/images/11012025/03/26/image_11012025_03_26_02_666757_0003.jpg', '/home/pi/Desktop/images/11012025/03/27/image_11012025_03_27_02_144184_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/25/image_11012025_03_25_02_186716_0003.jpg
/home/pi/Desktop/images/11012025/03/26/image_11012025_03_26_02_666757_0000.jpg
/home/pi/Desktop/images/11012025/03/26/image_11012025_03_26_02_666757_0001.jpg
/home/pi/Desktop/images/11012025/03/26/image_11012025_03_26_02_666757_0002.jpg
/home/pi/Desktop/images/11012025/03/26/image_11012025_03_26_02_666757_0003.jpg
/home/pi/Desktop/images/11012025/03/27/image_11012025_03_27_02_144184_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":["1328044067","1328044040","1328043662","1328044069","1328044038","1328043951"],"photo_ids_order":["1328043662","1328043951","1328044038","1328044040","1328044067","1328044069"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2cd5802d2cc5f689b820ef44e0fab235.jpg","text":"TemporaryFile(/tmp/multipartBody6517039259191680713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562517335,"filename":"image_11012025_03_26_02_666757_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/78e36e4a06a696d35b29bc50099bed9a.jpg","text":"TemporaryFile(/tmp/multipartBody4687963577284064032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562517335,"filename":"image_11012025_03_26_02_666757_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eed116ad4a9cae3e99177ea30f36a049.jpg","text":"TemporaryFile(/tmp/multipartBody5708821936402512636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562517335,"filename":"image_11012025_03_25_02_186716_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/845e540f3edba5bc3fe62df7c03588e4.jpg","text":"TemporaryFile(/tmp/multipartBody8801615636615746140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562517335,"filename":"image_11012025_03_27_02_144184_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0b5930d6cce941abd79633f34a274cb5.jpg","text":"TemporaryFile(/tmp/multipartBody1331917975509757342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562517335,"filename":"image_11012025_03_26_02_666757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a51a4bf6b66de2568c54a82609e671d3.jpg","text":"TemporaryFile(/tmp/multipartBody3011128500817748293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562517335,"filename":"image_11012025_03_26_02_666757_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328044038","file1":"1328043951","file0":"1328043662","file4":"1328044067","file5":"1328044069","file3":"1328044040"},"map_files_photo_id_array":[{"photo_id":"1328044069","filename":"file5"},{"photo_id":"1328044038","filename":"file2"},{"photo_id":"1328044067","filename":"file4"},{"photo_id":"1328043951","filename":"file1"},{"photo_id":"1328043662","filename":"file0"},{"photo_id":"1328044040","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328044067":["hashtag1","hashtag2"]},{"1328044040":["hashtag1","hashtag2"]},{"1328043662":["hashtag1","hashtag2"]},{"1328044069":["hashtag1","hashtag2"]},{"1328044038":["hashtag1","hashtag2"]},{"1328043951":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328044067, 1328044040, 1328043662, 1328044069, 1328044038, 1328043951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.993037939071655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:29:03.190232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/27/image_11012025_03_27_02_144184_0001.jpg', '/home/pi/Desktop/images/11012025/03/27/image_11012025_03_27_02_144184_0002.jpg', '/home/pi/Desktop/images/11012025/03/27/image_11012025_03_27_02_144184_0003.jpg', '/home/pi/Desktop/images/11012025/03/28/image_11012025_03_28_02_681028_0000.jpg', '/home/pi/Desktop/images/11012025/03/28/image_11012025_03_28_02_681028_0001.jpg', '/home/pi/Desktop/images/11012025/03/28/image_11012025_03_28_02_681028_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/27/image_11012025_03_27_02_144184_0001.jpg
/home/pi/Desktop/images/11012025/03/27/image_11012025_03_27_02_144184_0002.jpg
/home/pi/Desktop/images/11012025/03/27/image_11012025_03_27_02_144184_0003.jpg
/home/pi/Desktop/images/11012025/03/28/image_11012025_03_28_02_681028_0000.jpg
/home/pi/Desktop/images/11012025/03/28/image_11012025_03_28_02_681028_0001.jpg
/home/pi/Desktop/images/11012025/03/28/image_11012025_03_28_02_681028_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328044523","1328044349","1328044354","1328044519","1328044494","1328044521"],"photo_ids_order":["1328044349","1328044354","1328044494","1328044519","1328044521","1328044523"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/43b63c38d69effd1923e5d92b4290f4f.jpg","text":"TemporaryFile(/tmp/multipartBody8621416256010712596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562618228,"filename":"image_11012025_03_28_02_681028_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a6f9356486a838363d8e58426b4d2f9c.jpg","text":"TemporaryFile(/tmp/multipartBody5518306530779055079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562618228,"filename":"image_11012025_03_27_02_144184_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a575544abdc80a9a690ef967bbf7cf89.jpg","text":"TemporaryFile(/tmp/multipartBody243788101522294606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562618228,"filename":"image_11012025_03_27_02_144184_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f8b6815112eaae925eeb87a65f2efb6a.jpg","text":"TemporaryFile(/tmp/multipartBody445917259188198504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562618228,"filename":"image_11012025_03_28_02_681028_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/224ec6b7cae5ec2289255f3abf6dc952.jpg","text":"TemporaryFile(/tmp/multipartBody8011098120942001626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562618228,"filename":"image_11012025_03_27_02_144184_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/03a35059b557c4c0a79fb0102530be13.jpg","text":"TemporaryFile(/tmp/multipartBody4225071530141655448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562618228,"filename":"image_11012025_03_28_02_681028_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328044494","file1":"1328044354","file0":"1328044349","file4":"1328044521","file5":"1328044523","file3":"1328044519"},"map_files_photo_id_array":[{"photo_id":"1328044523","filename":"file5"},{"photo_id":"1328044494","filename":"file2"},{"photo_id":"1328044521","filename":"file4"},{"photo_id":"1328044354","filename":"file1"},{"photo_id":"1328044349","filename":"file0"},{"photo_id":"1328044519","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328044523":["hashtag1","hashtag2"]},{"1328044349":["hashtag1","hashtag2"]},{"1328044354":["hashtag1","hashtag2"]},{"1328044519":["hashtag1","hashtag2"]},{"1328044494":["hashtag1","hashtag2"]},{"1328044521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328044523, 1328044349, 1328044354, 1328044519, 1328044494, 1328044521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.34491229057312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:30:02.693331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/28/image_11012025_03_28_02_681028_0003.jpg', '/home/pi/Desktop/images/11012025/03/29/image_11012025_03_29_02_475960_0000.jpg', '/home/pi/Desktop/images/11012025/03/29/image_11012025_03_29_02_475960_0001.jpg', '/home/pi/Desktop/images/11012025/03/29/image_11012025_03_29_02_475960_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/28/image_11012025_03_28_02_681028_0003.jpg
/home/pi/Desktop/images/11012025/03/29/image_11012025_03_29_02_475960_0000.jpg
/home/pi/Desktop/images/11012025/03/29/image_11012025_03_29_02_475960_0001.jpg
/home/pi/Desktop/images/11012025/03/29/image_11012025_03_29_02_475960_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328044528","1328044531","1328044530","1328044527"],"photo_ids_order":["1328044527","1328044528","1328044530","1328044531"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8b20168fe95e6cc369ef54d2dd890370.jpg","text":"TemporaryFile(/tmp/multipartBody5341257181734639756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562672799,"filename":"image_11012025_03_29_02_475960_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cbd381435d16e231450b0d9f6cb4437c.jpg","text":"TemporaryFile(/tmp/multipartBody7268695110792723909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562672799,"filename":"image_11012025_03_29_02_475960_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e987bbd167894de3099a761d70bba571.jpg","text":"TemporaryFile(/tmp/multipartBody930955847792581612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562672799,"filename":"image_11012025_03_29_02_475960_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1617061da66f1a8c19d7a9027a54c1b7.jpg","text":"TemporaryFile(/tmp/multipartBody1866047730851213908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562672799,"filename":"image_11012025_03_28_02_681028_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328044530","file1":"1328044528","file0":"1328044527","file3":"1328044531"},"map_files_photo_id_array":[{"photo_id":"1328044530","filename":"file2"},{"photo_id":"1328044528","filename":"file1"},{"photo_id":"1328044527","filename":"file0"},{"photo_id":"1328044531","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328044528":["hashtag1","hashtag2"]},{"1328044531":["hashtag1","hashtag2"]},{"1328044530":["hashtag1","hashtag2"]},{"1328044527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328044528, 1328044531, 1328044530, 1328044527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.271690130233765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:31:02.427455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/29/image_11012025_03_29_02_475960_0003.jpg', '/home/pi/Desktop/images/11012025/03/30/image_11012025_03_30_03_021935_0000.jpg', '/home/pi/Desktop/images/11012025/03/30/image_11012025_03_30_03_021935_0001.jpg', '/home/pi/Desktop/images/11012025/03/30/image_11012025_03_30_03_021935_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/29/image_11012025_03_29_02_475960_0003.jpg
/home/pi/Desktop/images/11012025/03/30/image_11012025_03_30_03_021935_0000.jpg
/home/pi/Desktop/images/11012025/03/30/image_11012025_03_30_03_021935_0001.jpg
/home/pi/Desktop/images/11012025/03/30/image_11012025_03_30_03_021935_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328044544","1328044546","1328044543","1328044548"],"photo_ids_order":["1328044543","1328044544","1328044546","1328044548"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/faa22f5a7531f06b545ca97785003597.jpg","text":"TemporaryFile(/tmp/multipartBody3598798427490601109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562732727,"filename":"image_11012025_03_30_03_021935_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6098b827f39feb662381da0fc737f3ec.jpg","text":"TemporaryFile(/tmp/multipartBody1139014600316609986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562732727,"filename":"image_11012025_03_30_03_021935_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ebc4d51bb42edf8dd1f477c059b0ebd2.jpg","text":"TemporaryFile(/tmp/multipartBody6128357592446764898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562732727,"filename":"image_11012025_03_29_02_475960_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fad2220498886aaecffcc8d5a83e7dc8.jpg","text":"TemporaryFile(/tmp/multipartBody8959855767414961822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562732727,"filename":"image_11012025_03_30_03_021935_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328044546","file1":"1328044544","file0":"1328044543","file3":"1328044548"},"map_files_photo_id_array":[{"photo_id":"1328044546","filename":"file2"},{"photo_id":"1328044544","filename":"file1"},{"photo_id":"1328044543","filename":"file0"},{"photo_id":"1328044548","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328044544":["hashtag1","hashtag2"]},{"1328044546":["hashtag1","hashtag2"]},{"1328044543":["hashtag1","hashtag2"]},{"1328044548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328044544, 1328044546, 1328044543, 1328044548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.29220366477966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:32:02.932965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/30/image_11012025_03_30_03_021935_0003.jpg', '/home/pi/Desktop/images/11012025/03/31/image_11012025_03_31_02_750592_0000.jpg', '/home/pi/Desktop/images/11012025/03/31/image_11012025_03_31_02_750592_0001.jpg', '/home/pi/Desktop/images/11012025/03/31/image_11012025_03_31_02_750592_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/30/image_11012025_03_30_03_021935_0003.jpg
/home/pi/Desktop/images/11012025/03/31/image_11012025_03_31_02_750592_0000.jpg
/home/pi/Desktop/images/11012025/03/31/image_11012025_03_31_02_750592_0001.jpg
/home/pi/Desktop/images/11012025/03/31/image_11012025_03_31_02_750592_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328044556","1328044558","1328044555","1328044557"],"photo_ids_order":["1328044555","1328044556","1328044557","1328044558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ee4f9e24dca76199dcb0988399a5f24a.jpg","text":"TemporaryFile(/tmp/multipartBody7498492449818679077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562793290,"filename":"image_11012025_03_31_02_750592_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/79f18df24b1db569633249ac1e402360.jpg","text":"TemporaryFile(/tmp/multipartBody1898984515232715234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562793290,"filename":"image_11012025_03_31_02_750592_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c5c7f2bc657fcd748784f99bd8b4b23d.jpg","text":"TemporaryFile(/tmp/multipartBody8481527229967901908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562793290,"filename":"image_11012025_03_30_03_021935_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8906d1d67d84c35703d6e977b7e36562.jpg","text":"TemporaryFile(/tmp/multipartBody355005161415077252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562793290,"filename":"image_11012025_03_31_02_750592_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328044557","file1":"1328044556","file0":"1328044555","file3":"1328044558"},"map_files_photo_id_array":[{"photo_id":"1328044557","filename":"file2"},{"photo_id":"1328044556","filename":"file1"},{"photo_id":"1328044555","filename":"file0"},{"photo_id":"1328044558","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328044556":["hashtag1","hashtag2"]},{"1328044558":["hashtag1","hashtag2"]},{"1328044555":["hashtag1","hashtag2"]},{"1328044557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328044556, 1328044558, 1328044555, 1328044557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.04273343086243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:33:02.823135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/31/image_11012025_03_31_02_750592_0003.jpg', '/home/pi/Desktop/images/11012025/03/32/image_11012025_03_32_02_307692_0000.jpg', '/home/pi/Desktop/images/11012025/03/32/image_11012025_03_32_02_307692_0001.jpg', '/home/pi/Desktop/images/11012025/03/32/image_11012025_03_32_02_307692_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/31/image_11012025_03_31_02_750592_0003.jpg
/home/pi/Desktop/images/11012025/03/32/image_11012025_03_32_02_307692_0000.jpg
/home/pi/Desktop/images/11012025/03/32/image_11012025_03_32_02_307692_0001.jpg
/home/pi/Desktop/images/11012025/03/32/image_11012025_03_32_02_307692_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328044568","1328044570","1328044567","1328044571"],"photo_ids_order":["1328044567","1328044568","1328044570","1328044571"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3598c62d08c5d5235b49ca95f56b523b.jpg","text":"TemporaryFile(/tmp/multipartBody5557764566624072847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562853192,"filename":"image_11012025_03_32_02_307692_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/98f8489f8e791e01af2ce80b13b7aa9e.jpg","text":"TemporaryFile(/tmp/multipartBody6351049395213010890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562853192,"filename":"image_11012025_03_32_02_307692_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c750fdd3095fce4f4c7ec58c5ee056ba.jpg","text":"TemporaryFile(/tmp/multipartBody7032498488775106399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562853192,"filename":"image_11012025_03_31_02_750592_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/94f8edea9208dba6d5da2b923b29ce3b.jpg","text":"TemporaryFile(/tmp/multipartBody2990624041457697412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562853192,"filename":"image_11012025_03_32_02_307692_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328044570","file1":"1328044568","file0":"1328044567","file3":"1328044571"},"map_files_photo_id_array":[{"photo_id":"1328044570","filename":"file2"},{"photo_id":"1328044568","filename":"file1"},{"photo_id":"1328044567","filename":"file0"},{"photo_id":"1328044571","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328044568":["hashtag1","hashtag2"]},{"1328044570":["hashtag1","hashtag2"]},{"1328044567":["hashtag1","hashtag2"]},{"1328044571":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328044568, 1328044570, 1328044567, 1328044571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.66616225242615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:34:02.356034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/32/image_11012025_03_32_02_307692_0003.jpg', '/home/pi/Desktop/images/11012025/03/33/image_11012025_03_33_03_044204_0000.jpg', '/home/pi/Desktop/images/11012025/03/33/image_11012025_03_33_03_044204_0001.jpg', '/home/pi/Desktop/images/11012025/03/33/image_11012025_03_33_03_044204_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/32/image_11012025_03_32_02_307692_0003.jpg
/home/pi/Desktop/images/11012025/03/33/image_11012025_03_33_03_044204_0000.jpg
/home/pi/Desktop/images/11012025/03/33/image_11012025_03_33_03_044204_0001.jpg
/home/pi/Desktop/images/11012025/03/33/image_11012025_03_33_03_044204_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328044583","1328044579","1328044581","1328044578"],"photo_ids_order":["1328044578","1328044579","1328044581","1328044583"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/343822b4ed6a5294e911383b9194430b.jpg","text":"TemporaryFile(/tmp/multipartBody712202120577177433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562912587,"filename":"image_11012025_03_33_03_044204_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8d98c3a394bf41c65b5f7bbb35a59883.jpg","text":"TemporaryFile(/tmp/multipartBody2740249473620342088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562912587,"filename":"image_11012025_03_33_03_044204_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/702cddcdf533cefc60c90faf6c41220b.jpg","text":"TemporaryFile(/tmp/multipartBody2721314914058692040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562912587,"filename":"image_11012025_03_33_03_044204_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9b06cbbb4701a44f9b9e1c34e8938a83.jpg","text":"TemporaryFile(/tmp/multipartBody3223148003629253622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562912587,"filename":"image_11012025_03_32_02_307692_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328044581","file1":"1328044579","file0":"1328044578","file3":"1328044583"},"map_files_photo_id_array":[{"photo_id":"1328044581","filename":"file2"},{"photo_id":"1328044579","filename":"file1"},{"photo_id":"1328044578","filename":"file0"},{"photo_id":"1328044583","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328044583":["hashtag1","hashtag2"]},{"1328044579":["hashtag1","hashtag2"]},{"1328044581":["hashtag1","hashtag2"]},{"1328044578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328044583, 1328044579, 1328044581, 1328044578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.91325044631958 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:35:02.946764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/33/image_11012025_03_33_03_044204_0003.jpg', '/home/pi/Desktop/images/11012025/03/34/image_11012025_03_34_02_541453_0000.jpg', '/home/pi/Desktop/images/11012025/03/34/image_11012025_03_34_02_541453_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/33/image_11012025_03_33_03_044204_0003.jpg
/home/pi/Desktop/images/11012025/03/34/image_11012025_03_34_02_541453_0000.jpg
/home/pi/Desktop/images/11012025/03/34/image_11012025_03_34_02_541453_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.444540739059448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:35:22.368135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/33/image_11012025_03_33_03_044204_0003.jpg', '/home/pi/Desktop/images/11012025/03/34/image_11012025_03_34_02_541453_0000.jpg', '/home/pi/Desktop/images/11012025/03/34/image_11012025_03_34_02_541453_0001.jpg', '/home/pi/Desktop/images/11012025/03/34/image_11012025_03_34_02_541453_0003.jpg', '/home/pi/Desktop/images/11012025/03/35/image_11012025_03_35_02_280850_0000.jpg', '/home/pi/Desktop/images/11012025/03/35/image_11012025_03_35_02_280850_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/33/image_11012025_03_33_03_044204_0003.jpg
/home/pi/Desktop/images/11012025/03/34/image_11012025_03_34_02_541453_0000.jpg
/home/pi/Desktop/images/11012025/03/34/image_11012025_03_34_02_541453_0001.jpg
/home/pi/Desktop/images/11012025/03/34/image_11012025_03_34_02_541453_0003.jpg
/home/pi/Desktop/images/11012025/03/35/image_11012025_03_35_02_280850_0000.jpg
/home/pi/Desktop/images/11012025/03/35/image_11012025_03_35_02_280850_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328044604","1328044594","1328044600","1328044596","1328044598","1328044602"],"photo_ids_order":["1328044594","1328044596","1328044598","1328044600","1328044602","1328044604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9d908bbd9f347bc4f22031548ff9eb34.jpg","text":"TemporaryFile(/tmp/multipartBody7325441754321837465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562997284,"filename":"image_11012025_03_35_02_280850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/95b1eb539231ef2918c0cc312fb48d0b.jpg","text":"TemporaryFile(/tmp/multipartBody1682625697953262047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562997284,"filename":"image_11012025_03_33_03_044204_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3c68c91aa8bbb18e587627b57acf4be1.jpg","text":"TemporaryFile(/tmp/multipartBody2488183069364309711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562997284,"filename":"image_11012025_03_34_02_541453_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/62cdc98d929f1ea03721fb24f1a6227f.jpg","text":"TemporaryFile(/tmp/multipartBody160617761188298698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562997284,"filename":"image_11012025_03_34_02_541453_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5efdfaa960e2d7279ee3978afc282e9e.jpg","text":"TemporaryFile(/tmp/multipartBody912701598648257290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562997284,"filename":"image_11012025_03_34_02_541453_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bc0ee40662d6d09a139efef183aae543.jpg","text":"TemporaryFile(/tmp/multipartBody8830038453649364003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736562997284,"filename":"image_11012025_03_35_02_280850_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328044598","file1":"1328044596","file0":"1328044594","file4":"1328044602","file5":"1328044604","file3":"1328044600"},"map_files_photo_id_array":[{"photo_id":"1328044604","filename":"file5"},{"photo_id":"1328044598","filename":"file2"},{"photo_id":"1328044602","filename":"file4"},{"photo_id":"1328044596","filename":"file1"},{"photo_id":"1328044594","filename":"file0"},{"photo_id":"1328044600","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328044604":["hashtag1","hashtag2"]},{"1328044594":["hashtag1","hashtag2"]},{"1328044600":["hashtag1","hashtag2"]},{"1328044596":["hashtag1","hashtag2"]},{"1328044598":["hashtag1","hashtag2"]},{"1328044602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328044604, 1328044594, 1328044600, 1328044596, 1328044598, 1328044602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.10939621925354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:36:22.089702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/35/image_11012025_03_35_02_280850_0002.jpg', '/home/pi/Desktop/images/11012025/03/35/image_11012025_03_35_02_280850_0003.jpg', '/home/pi/Desktop/images/11012025/03/36/image_11012025_03_36_02_839749_0000.jpg', '/home/pi/Desktop/images/11012025/03/36/image_11012025_03_36_02_839749_0001.jpg', '/home/pi/Desktop/images/11012025/03/36/image_11012025_03_36_02_839749_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/35/image_11012025_03_35_02_280850_0002.jpg
/home/pi/Desktop/images/11012025/03/35/image_11012025_03_35_02_280850_0003.jpg
/home/pi/Desktop/images/11012025/03/36/image_11012025_03_36_02_839749_0000.jpg
/home/pi/Desktop/images/11012025/03/36/image_11012025_03_36_02_839749_0001.jpg
/home/pi/Desktop/images/11012025/03/36/image_11012025_03_36_02_839749_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328045015","1328044891","1328045047","1328044963","1328045058"],"photo_ids_order":["1328044891","1328044963","1328045015","1328045047","1328045058"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d3648c909833f61b022e1c1aca3a4e6f.jpg","text":"TemporaryFile(/tmp/multipartBody7929932366729079927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563054847,"filename":"image_11012025_03_36_02_839749_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/496e8d8152f23d991650628353c11d5e.jpg","text":"TemporaryFile(/tmp/multipartBody300915553606996096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563054847,"filename":"image_11012025_03_35_02_280850_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/188129454f1d5043ecb2d076932a4f2a.jpg","text":"TemporaryFile(/tmp/multipartBody50326644435766588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563054847,"filename":"image_11012025_03_36_02_839749_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7f528fac4f9eb55335fcf6bf27f392e0.jpg","text":"TemporaryFile(/tmp/multipartBody8102726002271438612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563054847,"filename":"image_11012025_03_35_02_280850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a8695c46904c1126460f1c96015fefe5.jpg","text":"TemporaryFile(/tmp/multipartBody1409245910797259063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563054847,"filename":"image_11012025_03_36_02_839749_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328045015","file1":"1328044963","file0":"1328044891","file4":"1328045058","file3":"1328045047"},"map_files_photo_id_array":[{"photo_id":"1328045015","filename":"file2"},{"photo_id":"1328045058","filename":"file4"},{"photo_id":"1328044963","filename":"file1"},{"photo_id":"1328044891","filename":"file0"},{"photo_id":"1328045047","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328045015":["hashtag1","hashtag2"]},{"1328044891":["hashtag1","hashtag2"]},{"1328045047":["hashtag1","hashtag2"]},{"1328044963":["hashtag1","hashtag2"]},{"1328045058":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328045015, 1328044891, 1328045047, 1328044963, 1328045058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.04163336753845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:37:22.695594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/36/image_11012025_03_36_02_839749_0003.jpg', '/home/pi/Desktop/images/11012025/03/37/image_11012025_03_37_02_501064_0000.jpg', '/home/pi/Desktop/images/11012025/03/37/image_11012025_03_37_02_501064_0001.jpg', '/home/pi/Desktop/images/11012025/03/37/image_11012025_03_37_02_501064_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/36/image_11012025_03_36_02_839749_0003.jpg
/home/pi/Desktop/images/11012025/03/37/image_11012025_03_37_02_501064_0000.jpg
/home/pi/Desktop/images/11012025/03/37/image_11012025_03_37_02_501064_0001.jpg
/home/pi/Desktop/images/11012025/03/37/image_11012025_03_37_02_501064_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328045129","1328045074","1328045131","1328045127"],"photo_ids_order":["1328045074","1328045127","1328045129","1328045131"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/720c2ae877394d4dc0826979621f9697.jpg","text":"TemporaryFile(/tmp/multipartBody3265946427147014614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563112845,"filename":"image_11012025_03_37_02_501064_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bb8a731e96112376d6184c43fad8f15e.jpg","text":"TemporaryFile(/tmp/multipartBody7521346410500470590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563112845,"filename":"image_11012025_03_36_02_839749_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ae8aa3fe887b4ffd8397737f416360b7.jpg","text":"TemporaryFile(/tmp/multipartBody6786867663765511521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563112845,"filename":"image_11012025_03_37_02_501064_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0253f69ba016647840b006225c34c5a7.jpg","text":"TemporaryFile(/tmp/multipartBody4408903848685061585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563112845,"filename":"image_11012025_03_37_02_501064_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328045129","file1":"1328045127","file0":"1328045074","file3":"1328045131"},"map_files_photo_id_array":[{"photo_id":"1328045129","filename":"file2"},{"photo_id":"1328045127","filename":"file1"},{"photo_id":"1328045074","filename":"file0"},{"photo_id":"1328045131","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328045129":["hashtag1","hashtag2"]},{"1328045074":["hashtag1","hashtag2"]},{"1328045131":["hashtag1","hashtag2"]},{"1328045127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328045129, 1328045074, 1328045131, 1328045127)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.07226777076721 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:38:22.166493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/37/image_11012025_03_37_02_501064_0003.jpg', '/home/pi/Desktop/images/11012025/03/38/image_11012025_03_38_03_029663_0000.jpg', '/home/pi/Desktop/images/11012025/03/38/image_11012025_03_38_03_029663_0001.jpg', '/home/pi/Desktop/images/11012025/03/38/image_11012025_03_38_03_029663_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/37/image_11012025_03_37_02_501064_0003.jpg
/home/pi/Desktop/images/11012025/03/38/image_11012025_03_38_03_029663_0000.jpg
/home/pi/Desktop/images/11012025/03/38/image_11012025_03_38_03_029663_0001.jpg
/home/pi/Desktop/images/11012025/03/38/image_11012025_03_38_03_029663_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.776472568511963 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:39:03.277024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/37/image_11012025_03_37_02_501064_0003.jpg', '/home/pi/Desktop/images/11012025/03/38/image_11012025_03_38_03_029663_0000.jpg', '/home/pi/Desktop/images/11012025/03/38/image_11012025_03_38_03_029663_0001.jpg', '/home/pi/Desktop/images/11012025/03/38/image_11012025_03_38_03_029663_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/37/image_11012025_03_37_02_501064_0003.jpg
/home/pi/Desktop/images/11012025/03/38/image_11012025_03_38_03_029663_0000.jpg
/home/pi/Desktop/images/11012025/03/38/image_11012025_03_38_03_029663_0001.jpg
/home/pi/Desktop/images/11012025/03/38/image_11012025_03_38_03_029663_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328045216","1328045215","1328045190","1328045189"],"photo_ids_order":["1328045189","1328045190","1328045215","1328045216"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/42a42b62032c1ce94cd30bccf3243e10.jpg","text":"TemporaryFile(/tmp/multipartBody3741854496576063949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563213498,"filename":"image_11012025_03_38_03_029663_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/44548b3b7420c1cfa5b259e3ade4bdaf.jpg","text":"TemporaryFile(/tmp/multipartBody1265265168426936457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563213498,"filename":"image_11012025_03_38_03_029663_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/708715e45c72c5da55d2a4cd619396c7.jpg","text":"TemporaryFile(/tmp/multipartBody7150351991998367308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563213498,"filename":"image_11012025_03_38_03_029663_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aa6f00ddf8b9a8134b0f6cccc6db5448.jpg","text":"TemporaryFile(/tmp/multipartBody6583715645562736063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563213498,"filename":"image_11012025_03_37_02_501064_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328045215","file1":"1328045190","file0":"1328045189","file3":"1328045216"},"map_files_photo_id_array":[{"photo_id":"1328045215","filename":"file2"},{"photo_id":"1328045190","filename":"file1"},{"photo_id":"1328045189","filename":"file0"},{"photo_id":"1328045216","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328045216":["hashtag1","hashtag2"]},{"1328045215":["hashtag1","hashtag2"]},{"1328045190":["hashtag1","hashtag2"]},{"1328045189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328045216, 1328045215, 1328045190, 1328045189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.647719383239746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:40:02.808720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/38/image_11012025_03_38_03_029663_0003.jpg', '/home/pi/Desktop/images/11012025/03/39/image_11012025_03_39_02_575595_0000.jpg', '/home/pi/Desktop/images/11012025/03/39/image_11012025_03_39_02_575595_0001.jpg', '/home/pi/Desktop/images/11012025/03/39/image_11012025_03_39_02_575595_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/38/image_11012025_03_38_03_029663_0003.jpg
/home/pi/Desktop/images/11012025/03/39/image_11012025_03_39_02_575595_0000.jpg
/home/pi/Desktop/images/11012025/03/39/image_11012025_03_39_02_575595_0001.jpg
/home/pi/Desktop/images/11012025/03/39/image_11012025_03_39_02_575595_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.857500076293945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:40:22.318709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/38/image_11012025_03_38_03_029663_0003.jpg', '/home/pi/Desktop/images/11012025/03/39/image_11012025_03_39_02_575595_0000.jpg', '/home/pi/Desktop/images/11012025/03/39/image_11012025_03_39_02_575595_0001.jpg', '/home/pi/Desktop/images/11012025/03/39/image_11012025_03_39_02_575595_0002.jpg', '/home/pi/Desktop/images/11012025/03/39/image_11012025_03_39_02_575595_0003.jpg', '/home/pi/Desktop/images/11012025/03/40/image_11012025_03_40_03_119858_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/38/image_11012025_03_38_03_029663_0003.jpg
/home/pi/Desktop/images/11012025/03/39/image_11012025_03_39_02_575595_0000.jpg
/home/pi/Desktop/images/11012025/03/39/image_11012025_03_39_02_575595_0001.jpg
/home/pi/Desktop/images/11012025/03/39/image_11012025_03_39_02_575595_0002.jpg
/home/pi/Desktop/images/11012025/03/39/image_11012025_03_39_02_575595_0003.jpg
/home/pi/Desktop/images/11012025/03/40/image_11012025_03_40_03_119858_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328045272","1328045262","1328045265","1328045268","1328045270","1328045264"],"photo_ids_order":["1328045262","1328045264","1328045265","1328045268","1328045270","1328045272"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5dfa5d13008b117e38233224eb43e964.jpg","text":"TemporaryFile(/tmp/multipartBody6048961747806901640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563297409,"filename":"image_11012025_03_40_03_119858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4c53bdfbfab906a49cc3da6f8f775473.jpg","text":"TemporaryFile(/tmp/multipartBody56343407661194749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563297409,"filename":"image_11012025_03_38_03_029663_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/86db4f2876e1d58ca1256ecbf0c0d4ff.jpg","text":"TemporaryFile(/tmp/multipartBody2680293625945613711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563297409,"filename":"image_11012025_03_39_02_575595_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5e8801a8dd00b7407df850b6f4d5d544.jpg","text":"TemporaryFile(/tmp/multipartBody5651445290431979783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563297409,"filename":"image_11012025_03_39_02_575595_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a83fdc8ff7509cb0fe3a7d300ef9aa40.jpg","text":"TemporaryFile(/tmp/multipartBody2056996777099044235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563297409,"filename":"image_11012025_03_39_02_575595_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/779160ce81938dc0234cca5561848d88.jpg","text":"TemporaryFile(/tmp/multipartBody148964753274714882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563297409,"filename":"image_11012025_03_39_02_575595_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328045265","file1":"1328045264","file0":"1328045262","file4":"1328045270","file5":"1328045272","file3":"1328045268"},"map_files_photo_id_array":[{"photo_id":"1328045272","filename":"file5"},{"photo_id":"1328045265","filename":"file2"},{"photo_id":"1328045270","filename":"file4"},{"photo_id":"1328045264","filename":"file1"},{"photo_id":"1328045262","filename":"file0"},{"photo_id":"1328045268","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328045272":["hashtag1","hashtag2"]},{"1328045262":["hashtag1","hashtag2"]},{"1328045265":["hashtag1","hashtag2"]},{"1328045268":["hashtag1","hashtag2"]},{"1328045270":["hashtag1","hashtag2"]},{"1328045264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328045272, 1328045262, 1328045265, 1328045268, 1328045270, 1328045264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.59398102760315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:41:21.928183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/40/image_11012025_03_40_03_119858_0001.jpg', '/home/pi/Desktop/images/11012025/03/40/image_11012025_03_40_03_119858_0002.jpg', '/home/pi/Desktop/images/11012025/03/40/image_11012025_03_40_03_119858_0003.jpg', '/home/pi/Desktop/images/11012025/03/41/image_11012025_03_41_02_747832_0000.jpg', '/home/pi/Desktop/images/11012025/03/41/image_11012025_03_41_02_747832_0001.jpg', '/home/pi/Desktop/images/11012025/03/41/image_11012025_03_41_02_747832_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/40/image_11012025_03_40_03_119858_0001.jpg
/home/pi/Desktop/images/11012025/03/40/image_11012025_03_40_03_119858_0002.jpg
/home/pi/Desktop/images/11012025/03/40/image_11012025_03_40_03_119858_0003.jpg
/home/pi/Desktop/images/11012025/03/41/image_11012025_03_41_02_747832_0000.jpg
/home/pi/Desktop/images/11012025/03/41/image_11012025_03_41_02_747832_0001.jpg
/home/pi/Desktop/images/11012025/03/41/image_11012025_03_41_02_747832_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328045281","1328045287","1328045283","1328045277","1328045285","1328045279"],"photo_ids_order":["1328045277","1328045279","1328045281","1328045283","1328045285","1328045287"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/daca464ca6dda6dba80afc8b08c31b11.jpg","text":"TemporaryFile(/tmp/multipartBody7604091676765720829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563356777,"filename":"image_11012025_03_40_03_119858_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/22a6056d5c6a6953c3b113418f53ded4.jpg","text":"TemporaryFile(/tmp/multipartBody2670609883870844016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563356777,"filename":"image_11012025_03_41_02_747832_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b739a9d8b475e545ec63e0ee40a8bc82.jpg","text":"TemporaryFile(/tmp/multipartBody662290839202710471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563356777,"filename":"image_11012025_03_41_02_747832_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5f756bbeb71d4cdcdf1476ea756f83c2.jpg","text":"TemporaryFile(/tmp/multipartBody4045246090772084987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563356777,"filename":"image_11012025_03_40_03_119858_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/13fb625a273255a04553e2a0dab04036.jpg","text":"TemporaryFile(/tmp/multipartBody241357207623237330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563356777,"filename":"image_11012025_03_41_02_747832_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f53f3e6f5606879d50a4f8b795a8b5da.jpg","text":"TemporaryFile(/tmp/multipartBody776832502373449505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563356777,"filename":"image_11012025_03_40_03_119858_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328045281","file1":"1328045279","file0":"1328045277","file4":"1328045285","file5":"1328045287","file3":"1328045283"},"map_files_photo_id_array":[{"photo_id":"1328045287","filename":"file5"},{"photo_id":"1328045281","filename":"file2"},{"photo_id":"1328045285","filename":"file4"},{"photo_id":"1328045279","filename":"file1"},{"photo_id":"1328045277","filename":"file0"},{"photo_id":"1328045283","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328045281":["hashtag1","hashtag2"]},{"1328045287":["hashtag1","hashtag2"]},{"1328045283":["hashtag1","hashtag2"]},{"1328045277":["hashtag1","hashtag2"]},{"1328045285":["hashtag1","hashtag2"]},{"1328045279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328045281, 1328045287, 1328045283, 1328045277, 1328045285, 1328045279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.96824669837952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:42:22.404787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/41/image_11012025_03_41_02_747832_0003.jpg', '/home/pi/Desktop/images/11012025/03/42/image_11012025_03_42_02_266409_0000.jpg', '/home/pi/Desktop/images/11012025/03/42/image_11012025_03_42_02_266409_0001.jpg', '/home/pi/Desktop/images/11012025/03/42/image_11012025_03_42_02_266409_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/41/image_11012025_03_41_02_747832_0003.jpg
/home/pi/Desktop/images/11012025/03/42/image_11012025_03_42_02_266409_0000.jpg
/home/pi/Desktop/images/11012025/03/42/image_11012025_03_42_02_266409_0001.jpg
/home/pi/Desktop/images/11012025/03/42/image_11012025_03_42_02_266409_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328045677","1328045706","1328045675","1328045684"],"photo_ids_order":["1328045675","1328045677","1328045684","1328045706"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/72a7428df783a61bc698621e31affb15.jpg","text":"TemporaryFile(/tmp/multipartBody2803058703087907233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563412619,"filename":"image_11012025_03_42_02_266409_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8a966c6a05eaadeb634286f59e14c3f1.jpg","text":"TemporaryFile(/tmp/multipartBody4890975749868279921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563412619,"filename":"image_11012025_03_42_02_266409_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7b10ba17c19afb75b26c0ade44f253c9.jpg","text":"TemporaryFile(/tmp/multipartBody8591495744482765510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563412619,"filename":"image_11012025_03_41_02_747832_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/89f2dc5ccf2662581ca05a9f2041c2cf.jpg","text":"TemporaryFile(/tmp/multipartBody7034585168922316524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563412619,"filename":"image_11012025_03_42_02_266409_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328045684","file1":"1328045677","file0":"1328045675","file3":"1328045706"},"map_files_photo_id_array":[{"photo_id":"1328045684","filename":"file2"},{"photo_id":"1328045677","filename":"file1"},{"photo_id":"1328045675","filename":"file0"},{"photo_id":"1328045706","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328045677":["hashtag1","hashtag2"]},{"1328045706":["hashtag1","hashtag2"]},{"1328045675":["hashtag1","hashtag2"]},{"1328045684":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328045677, 1328045706, 1328045675, 1328045684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.66647958755493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:43:21.964404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/42/image_11012025_03_42_02_266409_0003.jpg', '/home/pi/Desktop/images/11012025/03/43/image_11012025_03_43_02_743168_0000.jpg', '/home/pi/Desktop/images/11012025/03/43/image_11012025_03_43_02_743168_0001.jpg', '/home/pi/Desktop/images/11012025/03/43/image_11012025_03_43_02_743168_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/42/image_11012025_03_42_02_266409_0003.jpg
/home/pi/Desktop/images/11012025/03/43/image_11012025_03_43_02_743168_0000.jpg
/home/pi/Desktop/images/11012025/03/43/image_11012025_03_43_02_743168_0001.jpg
/home/pi/Desktop/images/11012025/03/43/image_11012025_03_43_02_743168_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328045900","1328045902","1328046018","1328046020"],"photo_ids_order":["1328045900","1328045902","1328046018","1328046020"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ac7c68a8ac542e4977b59013bcd5a548.jpg","text":"TemporaryFile(/tmp/multipartBody6126258559157860584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563472129,"filename":"image_11012025_03_42_02_266409_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d382bb80a33b77fc35153b4f9d65e16a.jpg","text":"TemporaryFile(/tmp/multipartBody3094552675471782883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563472129,"filename":"image_11012025_03_43_02_743168_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ed2d66a17298cc161c86b472f40a936a.jpg","text":"TemporaryFile(/tmp/multipartBody7596147279794640391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563472129,"filename":"image_11012025_03_43_02_743168_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c53f509256773be473b8601a85eb21e1.jpg","text":"TemporaryFile(/tmp/multipartBody6847453244109399901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563472129,"filename":"image_11012025_03_43_02_743168_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328046018","file1":"1328045902","file0":"1328045900","file3":"1328046020"},"map_files_photo_id_array":[{"photo_id":"1328046018","filename":"file2"},{"photo_id":"1328045902","filename":"file1"},{"photo_id":"1328045900","filename":"file0"},{"photo_id":"1328046020","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328045900":["hashtag1","hashtag2"]},{"1328045902":["hashtag1","hashtag2"]},{"1328046018":["hashtag1","hashtag2"]},{"1328046020":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328045900, 1328045902, 1328046018, 1328046020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.87429094314575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:44:02.853361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/52/image_09012025_22_52_02_564187_0000.jpg', '/home/pi/Desktop/images/09012025/22/52/image_09012025_22_52_02_564187_0001.jpg', '/home/pi/Desktop/images/09012025/22/52/image_09012025_22_52_02_564187_0002.jpg', '/home/pi/Desktop/images/09012025/22/52/image_09012025_22_52_02_564187_0003.jpg', '/home/pi/Desktop/images/09012025/22/53/image_09012025_22_53_02_689143_0000.jpg', '/home/pi/Desktop/images/09012025/22/53/image_09012025_22_53_02_689143_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/52/image_09012025_22_52_02_564187_0000.jpg
/home/pi/Desktop/images/09012025/22/52/image_09012025_22_52_02_564187_0001.jpg
/home/pi/Desktop/images/09012025/22/52/image_09012025_22_52_02_564187_0002.jpg
/home/pi/Desktop/images/09012025/22/52/image_09012025_22_52_02_564187_0003.jpg
/home/pi/Desktop/images/09012025/22/53/image_09012025_22_53_02_689143_0000.jpg
/home/pi/Desktop/images/09012025/22/53/image_09012025_22_53_02_689143_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328046064","1328046067","1328046069","1328046060","1328046063","1328046071"],"photo_ids_order":["1328046060","1328046063","1328046064","1328046067","1328046069","1328046071"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9f564b4fb84216eac503e3adfbd5d32a.jpg","text":"TemporaryFile(/tmp/multipartBody2910660757914367504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563519205,"filename":"image_09012025_22_52_02_564187_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1f080a4c5be755f22648fbb399522417.jpg","text":"TemporaryFile(/tmp/multipartBody6765642726024054618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563519205,"filename":"image_09012025_22_52_02_564187_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a24f7118d40eeed8b5a942da64352591.jpg","text":"TemporaryFile(/tmp/multipartBody2402770576039007565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563519205,"filename":"image_09012025_22_53_02_689143_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b4dd4af01483c238c76b213fe61aa163.jpg","text":"TemporaryFile(/tmp/multipartBody690862066886572538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563519205,"filename":"image_09012025_22_52_02_564187_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/658c94e856709e7377ac1394c4d92958.jpg","text":"TemporaryFile(/tmp/multipartBody6866846964245473976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563519205,"filename":"image_09012025_22_52_02_564187_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/47443f62f9b13ae1d0b307b15d52be3e.jpg","text":"TemporaryFile(/tmp/multipartBody5016338280587132545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563519205,"filename":"image_09012025_22_53_02_689143_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328046064","file1":"1328046063","file0":"1328046060","file4":"1328046069","file5":"1328046071","file3":"1328046067"},"map_files_photo_id_array":[{"photo_id":"1328046071","filename":"file5"},{"photo_id":"1328046064","filename":"file2"},{"photo_id":"1328046069","filename":"file4"},{"photo_id":"1328046063","filename":"file1"},{"photo_id":"1328046060","filename":"file0"},{"photo_id":"1328046067","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328046064":["hashtag1","hashtag2"]},{"1328046067":["hashtag1","hashtag2"]},{"1328046069":["hashtag1","hashtag2"]},{"1328046060":["hashtag1","hashtag2"]},{"1328046063":["hashtag1","hashtag2"]},{"1328046071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328046064, 1328046067, 1328046069, 1328046060, 1328046063, 1328046071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.60403037071228 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:45:02.654432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/43/image_11012025_03_43_02_743168_0003.jpg', '/home/pi/Desktop/images/11012025/03/44/image_11012025_03_44_02_348789_0000.jpg', '/home/pi/Desktop/images/11012025/03/44/image_11012025_03_44_02_348789_0001.jpg', '/home/pi/Desktop/images/11012025/03/44/image_11012025_03_44_02_348789_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/43/image_11012025_03_43_02_743168_0003.jpg
/home/pi/Desktop/images/11012025/03/44/image_11012025_03_44_02_348789_0000.jpg
/home/pi/Desktop/images/11012025/03/44/image_11012025_03_44_02_348789_0001.jpg
/home/pi/Desktop/images/11012025/03/44/image_11012025_03_44_02_348789_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328046102","1328046080","1328046104","1328046082"],"photo_ids_order":["1328046080","1328046082","1328046102","1328046104"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/deafdc3e3c0f3e51c677d81a95c329ba.jpg","text":"TemporaryFile(/tmp/multipartBody8035967444208544766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563572909,"filename":"image_11012025_03_44_02_348789_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e84638508948027b09e0773009979ac9.jpg","text":"TemporaryFile(/tmp/multipartBody5694684864058306556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563572909,"filename":"image_11012025_03_43_02_743168_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f30001ed02564413729e855c8da76efd.jpg","text":"TemporaryFile(/tmp/multipartBody5274544207501887254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563572909,"filename":"image_11012025_03_44_02_348789_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5e85040cbef3d5312afd7d1319fe4286.jpg","text":"TemporaryFile(/tmp/multipartBody5874333112691247698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563572909,"filename":"image_11012025_03_44_02_348789_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328046102","file1":"1328046082","file0":"1328046080","file3":"1328046104"},"map_files_photo_id_array":[{"photo_id":"1328046102","filename":"file2"},{"photo_id":"1328046082","filename":"file1"},{"photo_id":"1328046080","filename":"file0"},{"photo_id":"1328046104","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328046102":["hashtag1","hashtag2"]},{"1328046080":["hashtag1","hashtag2"]},{"1328046104":["hashtag1","hashtag2"]},{"1328046082":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328046102, 1328046080, 1328046104, 1328046082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.08823275566101 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:46:03.080834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/44/image_11012025_03_44_02_348789_0003.jpg', '/home/pi/Desktop/images/11012025/03/45/image_11012025_03_45_02_865526_0000.jpg', '/home/pi/Desktop/images/11012025/03/45/image_11012025_03_45_02_865526_0001.jpg', '/home/pi/Desktop/images/11012025/03/45/image_11012025_03_45_02_865526_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/44/image_11012025_03_44_02_348789_0003.jpg
/home/pi/Desktop/images/11012025/03/45/image_11012025_03_45_02_865526_0000.jpg
/home/pi/Desktop/images/11012025/03/45/image_11012025_03_45_02_865526_0001.jpg
/home/pi/Desktop/images/11012025/03/45/image_11012025_03_45_02_865526_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328046453","1328046150","1328046111","1328046280"],"photo_ids_order":["1328046111","1328046150","1328046280","1328046453"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/59182242adb1b7f2d4fe8cd204926957.jpg","text":"TemporaryFile(/tmp/multipartBody5585394169234784669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563633302,"filename":"image_11012025_03_45_02_865526_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/63040bdd3afb346e745fe2e88e50f46d.jpg","text":"TemporaryFile(/tmp/multipartBody7598415523262702646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563633302,"filename":"image_11012025_03_45_02_865526_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/41fc01b9052e8738eaa812b253513eae.jpg","text":"TemporaryFile(/tmp/multipartBody6430153252310352816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563633302,"filename":"image_11012025_03_44_02_348789_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/efbc321f9c196aee6deb890a12f578ba.jpg","text":"TemporaryFile(/tmp/multipartBody3409128677067028205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563633302,"filename":"image_11012025_03_45_02_865526_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328046280","file1":"1328046150","file0":"1328046111","file3":"1328046453"},"map_files_photo_id_array":[{"photo_id":"1328046280","filename":"file2"},{"photo_id":"1328046150","filename":"file1"},{"photo_id":"1328046111","filename":"file0"},{"photo_id":"1328046453","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328046453":["hashtag1","hashtag2"]},{"1328046150":["hashtag1","hashtag2"]},{"1328046111":["hashtag1","hashtag2"]},{"1328046280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328046453, 1328046150, 1328046111, 1328046280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 49.3936185836792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:47:02.714794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/45/image_11012025_03_45_02_865526_0003.jpg', '/home/pi/Desktop/images/11012025/03/46/image_11012025_03_46_02_441167_0000.jpg', '/home/pi/Desktop/images/11012025/03/46/image_11012025_03_46_02_441167_0001.jpg', '/home/pi/Desktop/images/11012025/03/46/image_11012025_03_46_02_441167_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/45/image_11012025_03_45_02_865526_0003.jpg
/home/pi/Desktop/images/11012025/03/46/image_11012025_03_46_02_441167_0000.jpg
/home/pi/Desktop/images/11012025/03/46/image_11012025_03_46_02_441167_0001.jpg
/home/pi/Desktop/images/11012025/03/46/image_11012025_03_46_02_441167_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.84979248046875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:47:22.192943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/45/image_11012025_03_45_02_865526_0003.jpg', '/home/pi/Desktop/images/11012025/03/46/image_11012025_03_46_02_441167_0000.jpg', '/home/pi/Desktop/images/11012025/03/46/image_11012025_03_46_02_441167_0001.jpg', '/home/pi/Desktop/images/11012025/03/46/image_11012025_03_46_02_441167_0002.jpg', '/home/pi/Desktop/images/11012025/03/46/image_11012025_03_46_02_441167_0003.jpg', '/home/pi/Desktop/images/11012025/03/47/image_11012025_03_47_03_043848_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/45/image_11012025_03_45_02_865526_0003.jpg
/home/pi/Desktop/images/11012025/03/46/image_11012025_03_46_02_441167_0000.jpg
/home/pi/Desktop/images/11012025/03/46/image_11012025_03_46_02_441167_0001.jpg
/home/pi/Desktop/images/11012025/03/46/image_11012025_03_46_02_441167_0002.jpg
/home/pi/Desktop/images/11012025/03/46/image_11012025_03_46_02_441167_0003.jpg
/home/pi/Desktop/images/11012025/03/47/image_11012025_03_47_03_043848_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328046766","1328046757","1328046762","1328046633","1328046764","1328046635"],"photo_ids_order":["1328046633","1328046635","1328046757","1328046762","1328046764","1328046766"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d718dd55c6f16733d09afba539c05970.jpg","text":"TemporaryFile(/tmp/multipartBody2525201228655404950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563717043,"filename":"image_11012025_03_47_03_043848_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2f5c7172084bfc619125b5cee89d76f9.jpg","text":"TemporaryFile(/tmp/multipartBody5114693718381299357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563717043,"filename":"image_11012025_03_46_02_441167_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f8b2b12c42ba49546e909bad6e76d419.jpg","text":"TemporaryFile(/tmp/multipartBody8429064095766776194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563717043,"filename":"image_11012025_03_46_02_441167_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b59781033e77df01f74ab8e0a9e0ffb3.jpg","text":"TemporaryFile(/tmp/multipartBody5784813131679203328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563717043,"filename":"image_11012025_03_45_02_865526_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/462b503722059e60279460731b237eb6.jpg","text":"TemporaryFile(/tmp/multipartBody2602521852289628945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563717043,"filename":"image_11012025_03_46_02_441167_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5c41ffa07b412a60b187ce7b7b287519.jpg","text":"TemporaryFile(/tmp/multipartBody6244355867769074854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563717043,"filename":"image_11012025_03_46_02_441167_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328046757","file1":"1328046635","file0":"1328046633","file4":"1328046764","file5":"1328046766","file3":"1328046762"},"map_files_photo_id_array":[{"photo_id":"1328046766","filename":"file5"},{"photo_id":"1328046757","filename":"file2"},{"photo_id":"1328046764","filename":"file4"},{"photo_id":"1328046635","filename":"file1"},{"photo_id":"1328046633","filename":"file0"},{"photo_id":"1328046762","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328046766":["hashtag1","hashtag2"]},{"1328046757":["hashtag1","hashtag2"]},{"1328046762":["hashtag1","hashtag2"]},{"1328046633":["hashtag1","hashtag2"]},{"1328046764":["hashtag1","hashtag2"]},{"1328046635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328046766, 1328046757, 1328046762, 1328046633, 1328046764, 1328046635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.489237785339355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:48:21.863931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/47/image_11012025_03_47_03_043848_0001.jpg', '/home/pi/Desktop/images/11012025/03/47/image_11012025_03_47_03_043848_0002.jpg', '/home/pi/Desktop/images/11012025/03/47/image_11012025_03_47_03_043848_0003.jpg', '/home/pi/Desktop/images/11012025/03/48/image_11012025_03_48_02_674281_0000.jpg', '/home/pi/Desktop/images/11012025/03/48/image_11012025_03_48_02_674281_0001.jpg', '/home/pi/Desktop/images/11012025/03/48/image_11012025_03_48_02_674281_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/47/image_11012025_03_47_03_043848_0001.jpg
/home/pi/Desktop/images/11012025/03/47/image_11012025_03_47_03_043848_0002.jpg
/home/pi/Desktop/images/11012025/03/47/image_11012025_03_47_03_043848_0003.jpg
/home/pi/Desktop/images/11012025/03/48/image_11012025_03_48_02_674281_0000.jpg
/home/pi/Desktop/images/11012025/03/48/image_11012025_03_48_02_674281_0001.jpg
/home/pi/Desktop/images/11012025/03/48/image_11012025_03_48_02_674281_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328046826","1328046817","1328046783","1328046821","1328046824","1328046781"],"photo_ids_order":["1328046781","1328046783","1328046817","1328046821","1328046824","1328046826"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4b9db0b225b9feeb8ab5029309c712cc.jpg","text":"TemporaryFile(/tmp/multipartBody4501571050890658328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563776929,"filename":"image_11012025_03_48_02_674281_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/569b1474a15851b4cf7c96af06a1c93e.jpg","text":"TemporaryFile(/tmp/multipartBody4119034199476482844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563776929,"filename":"image_11012025_03_47_03_043848_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bea31f2e704b3ab78becb67a82102113.jpg","text":"TemporaryFile(/tmp/multipartBody610146758828050293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563776929,"filename":"image_11012025_03_47_03_043848_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ae76b45b846805f7f10d05bd4785f67a.jpg","text":"TemporaryFile(/tmp/multipartBody5410647941898314947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563776929,"filename":"image_11012025_03_48_02_674281_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8c8087f23548a5f41bc943f4d96b2789.jpg","text":"TemporaryFile(/tmp/multipartBody8621345384882596144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563776929,"filename":"image_11012025_03_48_02_674281_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e29f7f4bf3b6ce3ff7d45d11e8d0e375.jpg","text":"TemporaryFile(/tmp/multipartBody467576044567844710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563776929,"filename":"image_11012025_03_47_03_043848_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328046817","file1":"1328046783","file0":"1328046781","file4":"1328046824","file5":"1328046826","file3":"1328046821"},"map_files_photo_id_array":[{"photo_id":"1328046826","filename":"file5"},{"photo_id":"1328046817","filename":"file2"},{"photo_id":"1328046824","filename":"file4"},{"photo_id":"1328046783","filename":"file1"},{"photo_id":"1328046781","filename":"file0"},{"photo_id":"1328046821","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328046826":["hashtag1","hashtag2"]},{"1328046817":["hashtag1","hashtag2"]},{"1328046783":["hashtag1","hashtag2"]},{"1328046821":["hashtag1","hashtag2"]},{"1328046824":["hashtag1","hashtag2"]},{"1328046781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328046826, 1328046817, 1328046783, 1328046821, 1328046824, 1328046781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.17667078971863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:49:22.384149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/48/image_11012025_03_48_02_674281_0003.jpg', '/home/pi/Desktop/images/11012025/03/49/image_11012025_03_49_02_176922_0000.jpg', '/home/pi/Desktop/images/11012025/03/49/image_11012025_03_49_02_176922_0001.jpg', '/home/pi/Desktop/images/11012025/03/49/image_11012025_03_49_02_176922_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/48/image_11012025_03_48_02_674281_0003.jpg
/home/pi/Desktop/images/11012025/03/49/image_11012025_03_49_02_176922_0000.jpg
/home/pi/Desktop/images/11012025/03/49/image_11012025_03_49_02_176922_0001.jpg
/home/pi/Desktop/images/11012025/03/49/image_11012025_03_49_02_176922_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328046835","1328046837","1328046831","1328046834"],"photo_ids_order":["1328046831","1328046834","1328046835","1328046837"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e1178ef83da93ec60789607f804b642f.jpg","text":"TemporaryFile(/tmp/multipartBody2831630823412772825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563832572,"filename":"image_11012025_03_49_02_176922_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9780b997e2477afb3856f8ccdb545d26.jpg","text":"TemporaryFile(/tmp/multipartBody2245485183657913450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563832572,"filename":"image_11012025_03_49_02_176922_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bd38cde31a5147c8545a32c57ff430c5.jpg","text":"TemporaryFile(/tmp/multipartBody6216749373959868386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563832572,"filename":"image_11012025_03_48_02_674281_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/386b6f262046c6ff1c9ad26b4257911e.jpg","text":"TemporaryFile(/tmp/multipartBody6759656013045223691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563832572,"filename":"image_11012025_03_49_02_176922_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328046835","file1":"1328046834","file0":"1328046831","file3":"1328046837"},"map_files_photo_id_array":[{"photo_id":"1328046835","filename":"file2"},{"photo_id":"1328046834","filename":"file1"},{"photo_id":"1328046831","filename":"file0"},{"photo_id":"1328046837","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328046835":["hashtag1","hashtag2"]},{"1328046837":["hashtag1","hashtag2"]},{"1328046831":["hashtag1","hashtag2"]},{"1328046834":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328046835, 1328046837, 1328046831, 1328046834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 67.68251609802246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:51:03.011324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/49/image_11012025_03_49_02_176922_0003.jpg', '/home/pi/Desktop/images/11012025/03/50/image_11012025_03_50_02_703214_0000.jpg', '/home/pi/Desktop/images/11012025/03/50/image_11012025_03_50_02_703214_0001.jpg', '/home/pi/Desktop/images/11012025/03/50/image_11012025_03_50_02_703214_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/49/image_11012025_03_49_02_176922_0003.jpg
/home/pi/Desktop/images/11012025/03/50/image_11012025_03_50_02_703214_0000.jpg
/home/pi/Desktop/images/11012025/03/50/image_11012025_03_50_02_703214_0001.jpg
/home/pi/Desktop/images/11012025/03/50/image_11012025_03_50_02_703214_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328046850","1328046846","1328046851","1328046848"],"photo_ids_order":["1328046846","1328046848","1328046850","1328046851"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/16450484f9d2e7c22bbf5a55e6295345.jpg","text":"TemporaryFile(/tmp/multipartBody1912390543968170629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563933230,"filename":"image_11012025_03_50_02_703214_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6942e7e57b40265c8718ac44340528ea.jpg","text":"TemporaryFile(/tmp/multipartBody6586004492707210559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563933230,"filename":"image_11012025_03_49_02_176922_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ac8287456994317708b89d2d59e4333b.jpg","text":"TemporaryFile(/tmp/multipartBody2829206047897852247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563933230,"filename":"image_11012025_03_50_02_703214_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ab74dde23018117b4b68355b91c35224.jpg","text":"TemporaryFile(/tmp/multipartBody649247808325598286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736563933230,"filename":"image_11012025_03_50_02_703214_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328046850","file1":"1328046848","file0":"1328046846","file3":"1328046851"},"map_files_photo_id_array":[{"photo_id":"1328046850","filename":"file2"},{"photo_id":"1328046848","filename":"file1"},{"photo_id":"1328046846","filename":"file0"},{"photo_id":"1328046851","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328046850":["hashtag1","hashtag2"]},{"1328046846":["hashtag1","hashtag2"]},{"1328046851":["hashtag1","hashtag2"]},{"1328046848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328046850, 1328046846, 1328046851, 1328046848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.65358257293701 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:52:02.373947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/50/image_11012025_03_50_02_703214_0003.jpg', '/home/pi/Desktop/images/11012025/03/51/image_11012025_03_51_02_284763_0000.jpg', '/home/pi/Desktop/images/11012025/03/51/image_11012025_03_51_02_284763_0001.jpg', '/home/pi/Desktop/images/11012025/03/51/image_11012025_03_51_02_284763_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/50/image_11012025_03_50_02_703214_0003.jpg
/home/pi/Desktop/images/11012025/03/51/image_11012025_03_51_02_284763_0000.jpg
/home/pi/Desktop/images/11012025/03/51/image_11012025_03_51_02_284763_0001.jpg
/home/pi/Desktop/images/11012025/03/51/image_11012025_03_51_02_284763_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.71549105644226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:52:22.011542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/50/image_11012025_03_50_02_703214_0003.jpg', '/home/pi/Desktop/images/11012025/03/51/image_11012025_03_51_02_284763_0000.jpg', '/home/pi/Desktop/images/11012025/03/51/image_11012025_03_51_02_284763_0001.jpg', '/home/pi/Desktop/images/11012025/03/51/image_11012025_03_51_02_284763_0002.jpg', '/home/pi/Desktop/images/11012025/03/51/image_11012025_03_51_02_284763_0003.jpg', '/home/pi/Desktop/images/11012025/03/52/image_11012025_03_52_02_873028_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/50/image_11012025_03_50_02_703214_0003.jpg
/home/pi/Desktop/images/11012025/03/51/image_11012025_03_51_02_284763_0000.jpg
/home/pi/Desktop/images/11012025/03/51/image_11012025_03_51_02_284763_0001.jpg
/home/pi/Desktop/images/11012025/03/51/image_11012025_03_51_02_284763_0002.jpg
/home/pi/Desktop/images/11012025/03/51/image_11012025_03_51_02_284763_0003.jpg
/home/pi/Desktop/images/11012025/03/52/image_11012025_03_52_02_873028_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328046865","1328046867","1328046870","1328046872","1328046869","1328046877"],"photo_ids_order":["1328046865","1328046867","1328046869","1328046870","1328046872","1328046877"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4ae5a27e2d58117c79a15d93b9f23182.jpg","text":"TemporaryFile(/tmp/multipartBody5897121510344773089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564016876,"filename":"image_11012025_03_50_02_703214_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c322ef0740bfde6343b5bbbd6069a94a.jpg","text":"TemporaryFile(/tmp/multipartBody289726503429854361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564016876,"filename":"image_11012025_03_51_02_284763_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2798965924eb29db0c8c80c9b976f559.jpg","text":"TemporaryFile(/tmp/multipartBody4289866369587151667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564016876,"filename":"image_11012025_03_51_02_284763_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c5872442261867d9682d33202d7acad5.jpg","text":"TemporaryFile(/tmp/multipartBody165077440618949642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564016876,"filename":"image_11012025_03_51_02_284763_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9e29a07d5b23f488f5a0f4325a22edae.jpg","text":"TemporaryFile(/tmp/multipartBody2952855882576867894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564016876,"filename":"image_11012025_03_51_02_284763_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9eee58cdcaef14cd5ed224f866763f55.jpg","text":"TemporaryFile(/tmp/multipartBody553089157608357303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564016876,"filename":"image_11012025_03_52_02_873028_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328046869","file1":"1328046867","file0":"1328046865","file4":"1328046872","file5":"1328046877","file3":"1328046870"},"map_files_photo_id_array":[{"photo_id":"1328046877","filename":"file5"},{"photo_id":"1328046869","filename":"file2"},{"photo_id":"1328046872","filename":"file4"},{"photo_id":"1328046867","filename":"file1"},{"photo_id":"1328046865","filename":"file0"},{"photo_id":"1328046870","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328046865":["hashtag1","hashtag2"]},{"1328046867":["hashtag1","hashtag2"]},{"1328046870":["hashtag1","hashtag2"]},{"1328046872":["hashtag1","hashtag2"]},{"1328046869":["hashtag1","hashtag2"]},{"1328046877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328046865, 1328046867, 1328046870, 1328046872, 1328046869, 1328046877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.181270599365234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:53:22.588071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/52/image_11012025_03_52_02_873028_0001.jpg', '/home/pi/Desktop/images/11012025/03/52/image_11012025_03_52_02_873028_0002.jpg', '/home/pi/Desktop/images/11012025/03/52/image_11012025_03_52_02_873028_0003.jpg', '/home/pi/Desktop/images/11012025/03/53/image_11012025_03_53_02_427131_0000.jpg', '/home/pi/Desktop/images/11012025/03/53/image_11012025_03_53_02_427131_0001.jpg', '/home/pi/Desktop/images/11012025/03/53/image_11012025_03_53_02_427131_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/52/image_11012025_03_52_02_873028_0001.jpg
/home/pi/Desktop/images/11012025/03/52/image_11012025_03_52_02_873028_0002.jpg
/home/pi/Desktop/images/11012025/03/52/image_11012025_03_52_02_873028_0003.jpg
/home/pi/Desktop/images/11012025/03/53/image_11012025_03_53_02_427131_0000.jpg
/home/pi/Desktop/images/11012025/03/53/image_11012025_03_53_02_427131_0001.jpg
/home/pi/Desktop/images/11012025/03/53/image_11012025_03_53_02_427131_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328046958","1328046952","1328046960","1328046954","1328046950","1328046956"],"photo_ids_order":["1328046950","1328046952","1328046954","1328046956","1328046958","1328046960"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bbb991432f855fcb6ddabd6e9f3393ac.jpg","text":"TemporaryFile(/tmp/multipartBody2669948571752355432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564077469,"filename":"image_11012025_03_53_02_427131_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4ed7a36077d2f039f2163677d786e2b9.jpg","text":"TemporaryFile(/tmp/multipartBody160436579169160071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564077469,"filename":"image_11012025_03_52_02_873028_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e5c3638d7dca30b330c6c8cdb642e7b7.jpg","text":"TemporaryFile(/tmp/multipartBody6431471569161104149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564077469,"filename":"image_11012025_03_53_02_427131_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/66253b230608ae6ca6fc14bb6740cbf6.jpg","text":"TemporaryFile(/tmp/multipartBody8822643522385274013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564077469,"filename":"image_11012025_03_52_02_873028_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6aae1d12ab4144fd5c9b0a870de834dd.jpg","text":"TemporaryFile(/tmp/multipartBody1232246546775453392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564077469,"filename":"image_11012025_03_52_02_873028_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9f1de29a75d4626992ca4e6312dd7897.jpg","text":"TemporaryFile(/tmp/multipartBody1519268738806769560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564077469,"filename":"image_11012025_03_53_02_427131_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328046954","file1":"1328046952","file0":"1328046950","file4":"1328046958","file5":"1328046960","file3":"1328046956"},"map_files_photo_id_array":[{"photo_id":"1328046960","filename":"file5"},{"photo_id":"1328046954","filename":"file2"},{"photo_id":"1328046958","filename":"file4"},{"photo_id":"1328046952","filename":"file1"},{"photo_id":"1328046950","filename":"file0"},{"photo_id":"1328046956","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328046958":["hashtag1","hashtag2"]},{"1328046952":["hashtag1","hashtag2"]},{"1328046960":["hashtag1","hashtag2"]},{"1328046954":["hashtag1","hashtag2"]},{"1328046950":["hashtag1","hashtag2"]},{"1328046956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328046958, 1328046952, 1328046960, 1328046954, 1328046950, 1328046956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.06065607070923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:54:22.114951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/53/image_11012025_03_53_02_427131_0003.jpg', '/home/pi/Desktop/images/11012025/03/54/image_11012025_03_54_02_975264_0000.jpg', '/home/pi/Desktop/images/11012025/03/54/image_11012025_03_54_02_975264_0001.jpg', '/home/pi/Desktop/images/11012025/03/54/image_11012025_03_54_02_975264_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/53/image_11012025_03_53_02_427131_0003.jpg
/home/pi/Desktop/images/11012025/03/54/image_11012025_03_54_02_975264_0000.jpg
/home/pi/Desktop/images/11012025/03/54/image_11012025_03_54_02_975264_0001.jpg
/home/pi/Desktop/images/11012025/03/54/image_11012025_03_54_02_975264_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328046964","1328046965","1328046968","1328046962"],"photo_ids_order":["1328046962","1328046964","1328046965","1328046968"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/08067d49173f8b3119300c6ccfc4b798.jpg","text":"TemporaryFile(/tmp/multipartBody1227222487539095282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564132412,"filename":"image_11012025_03_54_02_975264_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c076441b108a003895d20280d99b9b6a.jpg","text":"TemporaryFile(/tmp/multipartBody128501607596844867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564132412,"filename":"image_11012025_03_54_02_975264_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dbb5a806619a504515331432dd0b6037.jpg","text":"TemporaryFile(/tmp/multipartBody1088590356502221440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564132412,"filename":"image_11012025_03_54_02_975264_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8a7f12d60ca428c7eedbf523cc7248d7.jpg","text":"TemporaryFile(/tmp/multipartBody8972450449796459613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564132412,"filename":"image_11012025_03_53_02_427131_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328046965","file1":"1328046964","file0":"1328046962","file3":"1328046968"},"map_files_photo_id_array":[{"photo_id":"1328046965","filename":"file2"},{"photo_id":"1328046964","filename":"file1"},{"photo_id":"1328046962","filename":"file0"},{"photo_id":"1328046968","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328046964":["hashtag1","hashtag2"]},{"1328046965":["hashtag1","hashtag2"]},{"1328046968":["hashtag1","hashtag2"]},{"1328046962":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328046964, 1328046965, 1328046968, 1328046962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.65687346458435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:55:03.185149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/53/image_09012025_22_53_02_689143_0002.jpg', '/home/pi/Desktop/images/09012025/22/53/image_09012025_22_53_02_689143_0003.jpg', '/home/pi/Desktop/images/09012025/22/54/image_09012025_22_54_02_913462_0000.jpg', '/home/pi/Desktop/images/09012025/22/54/image_09012025_22_54_02_913462_0001.jpg', '/home/pi/Desktop/images/09012025/22/54/image_09012025_22_54_02_913462_0002.jpg', '/home/pi/Desktop/images/09012025/22/54/image_09012025_22_54_02_913462_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/53/image_09012025_22_53_02_689143_0002.jpg
/home/pi/Desktop/images/09012025/22/53/image_09012025_22_53_02_689143_0003.jpg
/home/pi/Desktop/images/09012025/22/54/image_09012025_22_54_02_913462_0000.jpg
/home/pi/Desktop/images/09012025/22/54/image_09012025_22_54_02_913462_0001.jpg
/home/pi/Desktop/images/09012025/22/54/image_09012025_22_54_02_913462_0002.jpg
/home/pi/Desktop/images/09012025/22/54/image_09012025_22_54_02_913462_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":["1328046985","1328046979","1328046981","1328046978","1328046983","1328046977"],"photo_ids_order":["1328046977","1328046978","1328046979","1328046981","1328046983","1328046985"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e8c74d99f91a6c2e9c772fb56aa92c14.jpg","text":"TemporaryFile(/tmp/multipartBody7151391117390968978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564179473,"filename":"image_09012025_22_54_02_913462_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9af7a6e5ebe996bbb36a494e74c31939.jpg","text":"TemporaryFile(/tmp/multipartBody931078698744240221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564179473,"filename":"image_09012025_22_54_02_913462_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ffb91892ef02673cbd98ab5e95cea066.jpg","text":"TemporaryFile(/tmp/multipartBody4122797977767821446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564179473,"filename":"image_09012025_22_54_02_913462_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6e6d4fe92f47f19a217614c4b99e99c9.jpg","text":"TemporaryFile(/tmp/multipartBody3729059280799477607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564179473,"filename":"image_09012025_22_53_02_689143_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9204e24ce4a0a44258812988f88bb92c.jpg","text":"TemporaryFile(/tmp/multipartBody2334393322724003135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564179473,"filename":"image_09012025_22_54_02_913462_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/57c17db872ca938f1849680c1cc98f79.jpg","text":"TemporaryFile(/tmp/multipartBody1714858427631486570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564179473,"filename":"image_09012025_22_53_02_689143_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328046979","file1":"1328046978","file0":"1328046977","file4":"1328046983","file5":"1328046985","file3":"1328046981"},"map_files_photo_id_array":[{"photo_id":"1328046985","filename":"file5"},{"photo_id":"1328046979","filename":"file2"},{"photo_id":"1328046983","filename":"file4"},{"photo_id":"1328046978","filename":"file1"},{"photo_id":"1328046977","filename":"file0"},{"photo_id":"1328046981","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328046985":["hashtag1","hashtag2"]},{"1328046979":["hashtag1","hashtag2"]},{"1328046981":["hashtag1","hashtag2"]},{"1328046978":["hashtag1","hashtag2"]},{"1328046983":["hashtag1","hashtag2"]},{"1328046977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328046985, 1328046979, 1328046981, 1328046978, 1328046983, 1328046977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.44465494155884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 03:56:22.256527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/54/image_11012025_03_54_02_975264_0003.jpg', '/home/pi/Desktop/images/11012025/03/55/image_11012025_03_55_02_487799_0000.jpg', '/home/pi/Desktop/images/11012025/03/55/image_11012025_03_55_02_487799_0001.jpg', '/home/pi/Desktop/images/11012025/03/55/image_11012025_03_55_02_487799_0002.jpg', '/home/pi/Desktop/images/11012025/03/55/image_11012025_03_55_02_487799_0003.jpg', '/home/pi/Desktop/images/11012025/03/56/image_11012025_03_56_02_939494_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/54/image_11012025_03_54_02_975264_0003.jpg
/home/pi/Desktop/images/11012025/03/55/image_11012025_03_55_02_487799_0000.jpg
/home/pi/Desktop/images/11012025/03/55/image_11012025_03_55_02_487799_0001.jpg
/home/pi/Desktop/images/11012025/03/55/image_11012025_03_55_02_487799_0002.jpg
/home/pi/Desktop/images/11012025/03/55/image_11012025_03_55_02_487799_0003.jpg
/home/pi/Desktop/images/11012025/03/56/image_11012025_03_56_02_939494_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.5144202709198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:57:02.444682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/54/image_11012025_03_54_02_975264_0003.jpg', '/home/pi/Desktop/images/11012025/03/55/image_11012025_03_55_02_487799_0000.jpg', '/home/pi/Desktop/images/11012025/03/55/image_11012025_03_55_02_487799_0001.jpg', '/home/pi/Desktop/images/11012025/03/55/image_11012025_03_55_02_487799_0002.jpg', '/home/pi/Desktop/images/11012025/03/55/image_11012025_03_55_02_487799_0003.jpg', '/home/pi/Desktop/images/11012025/03/56/image_11012025_03_56_02_939494_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/54/image_11012025_03_54_02_975264_0003.jpg
/home/pi/Desktop/images/11012025/03/55/image_11012025_03_55_02_487799_0000.jpg
/home/pi/Desktop/images/11012025/03/55/image_11012025_03_55_02_487799_0001.jpg
/home/pi/Desktop/images/11012025/03/55/image_11012025_03_55_02_487799_0002.jpg
/home/pi/Desktop/images/11012025/03/55/image_11012025_03_55_02_487799_0003.jpg
/home/pi/Desktop/images/11012025/03/56/image_11012025_03_56_02_939494_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328047027","1328047021","1328047044","1328047020","1328047022","1328047025"],"photo_ids_order":["1328047020","1328047021","1328047022","1328047025","1328047027","1328047044"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d1ac47b1bf0a7f226f2ee6c88c508196.jpg","text":"TemporaryFile(/tmp/multipartBody7204770568806845981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564297386,"filename":"image_11012025_03_55_02_487799_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/03b0e36cf4a236c24da50b2d7c23d32e.jpg","text":"TemporaryFile(/tmp/multipartBody4138632561148790979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564297386,"filename":"image_11012025_03_55_02_487799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6d3478adbab4eb25f4900195409f9137.jpg","text":"TemporaryFile(/tmp/multipartBody5017171858324308884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564297386,"filename":"image_11012025_03_56_02_939494_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1ec42575e64812324992f60fd6e8e42a.jpg","text":"TemporaryFile(/tmp/multipartBody4596114221270221869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564297386,"filename":"image_11012025_03_54_02_975264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b17143cd13805b0a17c57a34c62613fa.jpg","text":"TemporaryFile(/tmp/multipartBody2386030965908766301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564297386,"filename":"image_11012025_03_55_02_487799_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/771c15d886eedd3ba36f4edb18d55f9f.jpg","text":"TemporaryFile(/tmp/multipartBody3093964058030571168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564297386,"filename":"image_11012025_03_55_02_487799_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328047022","file1":"1328047021","file0":"1328047020","file4":"1328047027","file5":"1328047044","file3":"1328047025"},"map_files_photo_id_array":[{"photo_id":"1328047044","filename":"file5"},{"photo_id":"1328047022","filename":"file2"},{"photo_id":"1328047027","filename":"file4"},{"photo_id":"1328047021","filename":"file1"},{"photo_id":"1328047020","filename":"file0"},{"photo_id":"1328047025","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328047027":["hashtag1","hashtag2"]},{"1328047021":["hashtag1","hashtag2"]},{"1328047044":["hashtag1","hashtag2"]},{"1328047020":["hashtag1","hashtag2"]},{"1328047022":["hashtag1","hashtag2"]},{"1328047025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328047027, 1328047021, 1328047044, 1328047020, 1328047022, 1328047025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.800694942474365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 03:59:03.262902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/56/image_11012025_03_56_02_939494_0001.jpg', '/home/pi/Desktop/images/11012025/03/56/image_11012025_03_56_02_939494_0002.jpg', '/home/pi/Desktop/images/11012025/03/56/image_11012025_03_56_02_939494_0003.jpg', '/home/pi/Desktop/images/11012025/03/57/image_11012025_03_57_02_625933_0000.jpg', '/home/pi/Desktop/images/11012025/03/57/image_11012025_03_57_02_625933_0001.jpg', '/home/pi/Desktop/images/11012025/03/57/image_11012025_03_57_02_625933_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/56/image_11012025_03_56_02_939494_0001.jpg
/home/pi/Desktop/images/11012025/03/56/image_11012025_03_56_02_939494_0002.jpg
/home/pi/Desktop/images/11012025/03/56/image_11012025_03_56_02_939494_0003.jpg
/home/pi/Desktop/images/11012025/03/57/image_11012025_03_57_02_625933_0000.jpg
/home/pi/Desktop/images/11012025/03/57/image_11012025_03_57_02_625933_0001.jpg
/home/pi/Desktop/images/11012025/03/57/image_11012025_03_57_02_625933_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328047318","1328047284","1328047317","1328047313","1328047279","1328047288"],"photo_ids_order":["1328047279","1328047284","1328047288","1328047313","1328047317","1328047318"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b7e45cb7f248a1845114d93c5a7dcdf7.jpg","text":"TemporaryFile(/tmp/multipartBody7564982147782435077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564418312,"filename":"image_11012025_03_57_02_625933_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/401323dd8eed880e7d5e56e9feb1fd97.jpg","text":"TemporaryFile(/tmp/multipartBody5064737309862954743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564418312,"filename":"image_11012025_03_56_02_939494_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d54343136df95724de9cd7d6a4df5236.jpg","text":"TemporaryFile(/tmp/multipartBody1340780167814183254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564418312,"filename":"image_11012025_03_57_02_625933_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/859d135c53b268650990aef507f9153a.jpg","text":"TemporaryFile(/tmp/multipartBody4912794649521286606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564418312,"filename":"image_11012025_03_57_02_625933_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/439b5a02cf102a4dc74b546d3dd8e403.jpg","text":"TemporaryFile(/tmp/multipartBody1230395466153505666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564418312,"filename":"image_11012025_03_56_02_939494_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/10d5403c12f78235e203acbbe0c5f051.jpg","text":"TemporaryFile(/tmp/multipartBody541771634862827779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564418312,"filename":"image_11012025_03_56_02_939494_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328047288","file1":"1328047284","file0":"1328047279","file4":"1328047317","file5":"1328047318","file3":"1328047313"},"map_files_photo_id_array":[{"photo_id":"1328047318","filename":"file5"},{"photo_id":"1328047288","filename":"file2"},{"photo_id":"1328047317","filename":"file4"},{"photo_id":"1328047284","filename":"file1"},{"photo_id":"1328047279","filename":"file0"},{"photo_id":"1328047313","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328047318":["hashtag1","hashtag2"]},{"1328047284":["hashtag1","hashtag2"]},{"1328047317":["hashtag1","hashtag2"]},{"1328047313":["hashtag1","hashtag2"]},{"1328047279":["hashtag1","hashtag2"]},{"1328047288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328047318, 1328047284, 1328047317, 1328047313, 1328047279, 1328047288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.30251216888428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:00:02.742880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/57/image_11012025_03_57_02_625933_0003.jpg', '/home/pi/Desktop/images/11012025/03/58/image_11012025_03_58_02_178551_0000.jpg', '/home/pi/Desktop/images/11012025/03/58/image_11012025_03_58_02_178551_0001.jpg', '/home/pi/Desktop/images/11012025/03/58/image_11012025_03_58_02_178551_0002.jpg', '/home/pi/Desktop/images/11012025/03/58/image_11012025_03_58_02_178551_0003.jpg', '/home/pi/Desktop/images/11012025/03/59/image_11012025_03_59_02_900302_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/57/image_11012025_03_57_02_625933_0003.jpg
/home/pi/Desktop/images/11012025/03/58/image_11012025_03_58_02_178551_0000.jpg
/home/pi/Desktop/images/11012025/03/58/image_11012025_03_58_02_178551_0001.jpg
/home/pi/Desktop/images/11012025/03/58/image_11012025_03_58_02_178551_0002.jpg
/home/pi/Desktop/images/11012025/03/58/image_11012025_03_58_02_178551_0003.jpg
/home/pi/Desktop/images/11012025/03/59/image_11012025_03_59_02_900302_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328047324","1328047327","1328047329","1328047338","1328047328","1328047336"],"photo_ids_order":["1328047324","1328047327","1328047328","1328047329","1328047336","1328047338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e17ac4121b05216aed48fbb896d71445.jpg","text":"TemporaryFile(/tmp/multipartBody783481067726843068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564477696,"filename":"image_11012025_03_57_02_625933_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fd7f6d50ba98a193052328c22b300636.jpg","text":"TemporaryFile(/tmp/multipartBody3174818147307759969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564477696,"filename":"image_11012025_03_58_02_178551_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a63adccb19c7088695f61680760b6fab.jpg","text":"TemporaryFile(/tmp/multipartBody9033267538450759546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564477696,"filename":"image_11012025_03_58_02_178551_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1d139e607f9acbb3493801dd484a576f.jpg","text":"TemporaryFile(/tmp/multipartBody3023705022815144117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564477696,"filename":"image_11012025_03_59_02_900302_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4d0265a46e572f93320eefd5d6318571.jpg","text":"TemporaryFile(/tmp/multipartBody8210458408192919979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564477696,"filename":"image_11012025_03_58_02_178551_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5111f4b8b1b2c99b63c3bb9ac8f8eceb.jpg","text":"TemporaryFile(/tmp/multipartBody1183575546334235901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564477696,"filename":"image_11012025_03_58_02_178551_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328047328","file1":"1328047327","file0":"1328047324","file4":"1328047336","file5":"1328047338","file3":"1328047329"},"map_files_photo_id_array":[{"photo_id":"1328047338","filename":"file5"},{"photo_id":"1328047328","filename":"file2"},{"photo_id":"1328047336","filename":"file4"},{"photo_id":"1328047327","filename":"file1"},{"photo_id":"1328047324","filename":"file0"},{"photo_id":"1328047329","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328047324":["hashtag1","hashtag2"]},{"1328047327":["hashtag1","hashtag2"]},{"1328047329":["hashtag1","hashtag2"]},{"1328047338":["hashtag1","hashtag2"]},{"1328047328":["hashtag1","hashtag2"]},{"1328047336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328047324, 1328047327, 1328047329, 1328047338, 1328047328, 1328047336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.66048002243042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:01:02.330523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/59/image_11012025_03_59_02_900302_0001.jpg', '/home/pi/Desktop/images/11012025/03/59/image_11012025_03_59_02_900302_0002.jpg', '/home/pi/Desktop/images/11012025/03/59/image_11012025_03_59_02_900302_0003.jpg', '/home/pi/Desktop/images/11012025/04/00/image_11012025_04_00_03_032811_0000.jpg', '/home/pi/Desktop/images/11012025/04/00/image_11012025_04_00_03_032811_0001.jpg', '/home/pi/Desktop/images/11012025/04/00/image_11012025_04_00_03_032811_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/03/59/image_11012025_03_59_02_900302_0001.jpg
/home/pi/Desktop/images/11012025/03/59/image_11012025_03_59_02_900302_0002.jpg
/home/pi/Desktop/images/11012025/03/59/image_11012025_03_59_02_900302_0003.jpg
/home/pi/Desktop/images/11012025/04/00/image_11012025_04_00_03_032811_0000.jpg
/home/pi/Desktop/images/11012025/04/00/image_11012025_04_00_03_032811_0001.jpg
/home/pi/Desktop/images/11012025/04/00/image_11012025_04_00_03_032811_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328048160","1328049049","1328048965","1328048848","1328048431","1328049051"],"photo_ids_order":["1328048160","1328048431","1328048848","1328048965","1328049049","1328049051"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/397e0a8647e166fbb3aa1fecb83f6342.jpg","text":"TemporaryFile(/tmp/multipartBody8686761484844519282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564537564,"filename":"image_11012025_03_59_02_900302_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e5bb52461f56fd1079334ab22e662337.jpg","text":"TemporaryFile(/tmp/multipartBody1968017689798011783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564537564,"filename":"image_11012025_04_00_03_032811_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d187d89073fceb47e0a2ecfe18a4629a.jpg","text":"TemporaryFile(/tmp/multipartBody2244955505266130484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564537564,"filename":"image_11012025_04_00_03_032811_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3ed8daabf30660b0831994535c836b11.jpg","text":"TemporaryFile(/tmp/multipartBody7335731616999740379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564537564,"filename":"image_11012025_03_59_02_900302_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/35ff63627f17ed9f79676b735ed9bd6d.jpg","text":"TemporaryFile(/tmp/multipartBody5853938866740994152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564537564,"filename":"image_11012025_03_59_02_900302_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8586965cec2bb12c58b6169a640ae99c.jpg","text":"TemporaryFile(/tmp/multipartBody8661342623913810315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564537564,"filename":"image_11012025_04_00_03_032811_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328048848","file1":"1328048431","file0":"1328048160","file4":"1328049049","file5":"1328049051","file3":"1328048965"},"map_files_photo_id_array":[{"photo_id":"1328049051","filename":"file5"},{"photo_id":"1328048848","filename":"file2"},{"photo_id":"1328049049","filename":"file4"},{"photo_id":"1328048431","filename":"file1"},{"photo_id":"1328048160","filename":"file0"},{"photo_id":"1328048965","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328048160":["hashtag1","hashtag2"]},{"1328049049":["hashtag1","hashtag2"]},{"1328048965":["hashtag1","hashtag2"]},{"1328048848":["hashtag1","hashtag2"]},{"1328048431":["hashtag1","hashtag2"]},{"1328049051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328048160, 1328049049, 1328048965, 1328048848, 1328048431, 1328049051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.17357349395752 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:02:02.844608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/00/image_11012025_04_00_03_032811_0003.jpg', '/home/pi/Desktop/images/11012025/04/01/image_11012025_04_01_02_673369_0000.jpg', '/home/pi/Desktop/images/11012025/04/01/image_11012025_04_01_02_673369_0001.jpg', '/home/pi/Desktop/images/11012025/04/01/image_11012025_04_01_02_673369_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/00/image_11012025_04_00_03_032811_0003.jpg
/home/pi/Desktop/images/11012025/04/01/image_11012025_04_01_02_673369_0000.jpg
/home/pi/Desktop/images/11012025/04/01/image_11012025_04_01_02_673369_0001.jpg
/home/pi/Desktop/images/11012025/04/01/image_11012025_04_01_02_673369_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.946979999542236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:02:22.430024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/00/image_11012025_04_00_03_032811_0003.jpg', '/home/pi/Desktop/images/11012025/04/01/image_11012025_04_01_02_673369_0000.jpg', '/home/pi/Desktop/images/11012025/04/01/image_11012025_04_01_02_673369_0001.jpg', '/home/pi/Desktop/images/11012025/04/01/image_11012025_04_01_02_673369_0002.jpg', '/home/pi/Desktop/images/11012025/04/01/image_11012025_04_01_02_673369_0003.jpg', '/home/pi/Desktop/images/11012025/04/02/image_11012025_04_02_02_180514_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/00/image_11012025_04_00_03_032811_0003.jpg
/home/pi/Desktop/images/11012025/04/01/image_11012025_04_01_02_673369_0000.jpg
/home/pi/Desktop/images/11012025/04/01/image_11012025_04_01_02_673369_0001.jpg
/home/pi/Desktop/images/11012025/04/01/image_11012025_04_01_02_673369_0002.jpg
/home/pi/Desktop/images/11012025/04/01/image_11012025_04_01_02_673369_0003.jpg
/home/pi/Desktop/images/11012025/04/02/image_11012025_04_02_02_180514_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":["1328049470","1328049386","1328049716","1328049602","1328049388","1328049403"],"photo_ids_order":["1328049386","1328049388","1328049403","1328049470","1328049602","1328049716"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e417412939790d0764699dec2729316d.jpg","text":"TemporaryFile(/tmp/multipartBody2192442511614903083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564617487,"filename":"image_11012025_04_01_02_673369_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/427ec0e631ee89d95a8c0fa98ad26534.jpg","text":"TemporaryFile(/tmp/multipartBody2340588710235056415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564617487,"filename":"image_11012025_04_00_03_032811_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/595224551734cb76c4bc7060da5ad1c8.jpg","text":"TemporaryFile(/tmp/multipartBody7954914775607794829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564617487,"filename":"image_11012025_04_02_02_180514_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/23649b371a80135e7a83df31d778bbc1.jpg","text":"TemporaryFile(/tmp/multipartBody2557835137400215594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564617487,"filename":"image_11012025_04_01_02_673369_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/681f42e4b8d54d1aacead7a001262c97.jpg","text":"TemporaryFile(/tmp/multipartBody6883612619003318672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564617487,"filename":"image_11012025_04_01_02_673369_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cb0b3e8346d6da2e9b00167e7d2dc83f.jpg","text":"TemporaryFile(/tmp/multipartBody5647997961965110746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564617487,"filename":"image_11012025_04_01_02_673369_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328049403","file1":"1328049388","file0":"1328049386","file4":"1328049602","file5":"1328049716","file3":"1328049470"},"map_files_photo_id_array":[{"photo_id":"1328049716","filename":"file5"},{"photo_id":"1328049403","filename":"file2"},{"photo_id":"1328049602","filename":"file4"},{"photo_id":"1328049388","filename":"file1"},{"photo_id":"1328049386","filename":"file0"},{"photo_id":"1328049470","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328049470":["hashtag1","hashtag2"]},{"1328049386":["hashtag1","hashtag2"]},{"1328049716":["hashtag1","hashtag2"]},{"1328049602":["hashtag1","hashtag2"]},{"1328049388":["hashtag1","hashtag2"]},{"1328049403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328049470, 1328049386, 1328049716, 1328049602, 1328049388, 1328049403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.601022481918335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:04:02.930194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/02/image_11012025_04_02_02_180514_0001.jpg', '/home/pi/Desktop/images/11012025/04/02/image_11012025_04_02_02_180514_0002.jpg', '/home/pi/Desktop/images/11012025/04/02/image_11012025_04_02_02_180514_0003.jpg', '/home/pi/Desktop/images/11012025/04/03/image_11012025_04_03_02_780915_0000.jpg', '/home/pi/Desktop/images/11012025/04/03/image_11012025_04_03_02_780915_0001.jpg', '/home/pi/Desktop/images/11012025/04/03/image_11012025_04_03_02_780915_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/02/image_11012025_04_02_02_180514_0001.jpg
/home/pi/Desktop/images/11012025/04/02/image_11012025_04_02_02_180514_0002.jpg
/home/pi/Desktop/images/11012025/04/02/image_11012025_04_02_02_180514_0003.jpg
/home/pi/Desktop/images/11012025/04/03/image_11012025_04_03_02_780915_0000.jpg
/home/pi/Desktop/images/11012025/04/03/image_11012025_04_03_02_780915_0001.jpg
/home/pi/Desktop/images/11012025/04/03/image_11012025_04_03_02_780915_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328050902","1328050905","1328050907","1328050910","1328050904","1328050900"],"photo_ids_order":["1328050900","1328050902","1328050904","1328050905","1328050907","1328050910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0373c65b33b7b75292c44332a1a95933.jpg","text":"TemporaryFile(/tmp/multipartBody4211534566051647369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564717913,"filename":"image_11012025_04_02_02_180514_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9a4f14e48531e89f618751ff99e81a8a.jpg","text":"TemporaryFile(/tmp/multipartBody3876730337621469953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564717913,"filename":"image_11012025_04_03_02_780915_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fd3907c40808639a6f067aed697e7379.jpg","text":"TemporaryFile(/tmp/multipartBody1942720177578164326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564717913,"filename":"image_11012025_04_03_02_780915_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c25c2c7fc9353fe846e9f11f4f57d22d.jpg","text":"TemporaryFile(/tmp/multipartBody1814483908894467153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564717913,"filename":"image_11012025_04_03_02_780915_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/14bde415b45929edd8927738ae72a893.jpg","text":"TemporaryFile(/tmp/multipartBody6676357452787154061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564717913,"filename":"image_11012025_04_02_02_180514_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bd58ac825c6d7b6bda2834dfa7d86dc2.jpg","text":"TemporaryFile(/tmp/multipartBody3145671263308316027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564717913,"filename":"image_11012025_04_02_02_180514_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328050904","file1":"1328050902","file0":"1328050900","file4":"1328050907","file5":"1328050910","file3":"1328050905"},"map_files_photo_id_array":[{"photo_id":"1328050910","filename":"file5"},{"photo_id":"1328050904","filename":"file2"},{"photo_id":"1328050907","filename":"file4"},{"photo_id":"1328050902","filename":"file1"},{"photo_id":"1328050900","filename":"file0"},{"photo_id":"1328050905","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328050902":["hashtag1","hashtag2"]},{"1328050905":["hashtag1","hashtag2"]},{"1328050907":["hashtag1","hashtag2"]},{"1328050910":["hashtag1","hashtag2"]},{"1328050904":["hashtag1","hashtag2"]},{"1328050900":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328050902, 1328050905, 1328050907, 1328050910, 1328050904, 1328050900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.09619879722595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:05:02.720133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/03/image_11012025_04_03_02_780915_0003.jpg', '/home/pi/Desktop/images/11012025/04/04/image_11012025_04_04_02_327254_0000.jpg', '/home/pi/Desktop/images/11012025/04/04/image_11012025_04_04_02_327254_0001.jpg', '/home/pi/Desktop/images/11012025/04/04/image_11012025_04_04_02_327254_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/03/image_11012025_04_03_02_780915_0003.jpg
/home/pi/Desktop/images/11012025/04/04/image_11012025_04_04_02_327254_0000.jpg
/home/pi/Desktop/images/11012025/04/04/image_11012025_04_04_02_327254_0001.jpg
/home/pi/Desktop/images/11012025/04/04/image_11012025_04_04_02_327254_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.8169686794281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:05:22.050547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/03/image_11012025_04_03_02_780915_0003.jpg', '/home/pi/Desktop/images/11012025/04/04/image_11012025_04_04_02_327254_0000.jpg', '/home/pi/Desktop/images/11012025/04/04/image_11012025_04_04_02_327254_0001.jpg', '/home/pi/Desktop/images/11012025/04/04/image_11012025_04_04_02_327254_0002.jpg', '/home/pi/Desktop/images/11012025/04/04/image_11012025_04_04_02_327254_0003.jpg', '/home/pi/Desktop/images/11012025/04/05/image_11012025_04_05_02_901603_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/03/image_11012025_04_03_02_780915_0003.jpg
/home/pi/Desktop/images/11012025/04/04/image_11012025_04_04_02_327254_0000.jpg
/home/pi/Desktop/images/11012025/04/04/image_11012025_04_04_02_327254_0001.jpg
/home/pi/Desktop/images/11012025/04/04/image_11012025_04_04_02_327254_0002.jpg
/home/pi/Desktop/images/11012025/04/04/image_11012025_04_04_02_327254_0003.jpg
/home/pi/Desktop/images/11012025/04/05/image_11012025_04_05_02_901603_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328051537","1328051516","1328051596","1328051598","1328051562","1328051559"],"photo_ids_order":["1328051516","1328051537","1328051559","1328051562","1328051596","1328051598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f1417cb3820078721340c4ae4300ad87.jpg","text":"TemporaryFile(/tmp/multipartBody2451908643218333073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564797063,"filename":"image_11012025_04_04_02_327254_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4f88ea8eacc223970d1356001fae98c3.jpg","text":"TemporaryFile(/tmp/multipartBody8944307434908696985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564797063,"filename":"image_11012025_04_03_02_780915_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c5dda08d834c14a83bbb022c8b31b57.jpg","text":"TemporaryFile(/tmp/multipartBody7292721584612001971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564797063,"filename":"image_11012025_04_04_02_327254_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e01a4c6112b7058b47a65104ca0381b4.jpg","text":"TemporaryFile(/tmp/multipartBody6545419329982000283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564797063,"filename":"image_11012025_04_05_02_901603_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/135b1a2b3b86d10718649385d255ee91.jpg","text":"TemporaryFile(/tmp/multipartBody6797338424789125788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564797063,"filename":"image_11012025_04_04_02_327254_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fa414323950567c7524fe4b7a3ec6aa6.jpg","text":"TemporaryFile(/tmp/multipartBody6600603963457816924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564797063,"filename":"image_11012025_04_04_02_327254_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328051559","file1":"1328051537","file0":"1328051516","file4":"1328051596","file5":"1328051598","file3":"1328051562"},"map_files_photo_id_array":[{"photo_id":"1328051598","filename":"file5"},{"photo_id":"1328051559","filename":"file2"},{"photo_id":"1328051596","filename":"file4"},{"photo_id":"1328051537","filename":"file1"},{"photo_id":"1328051516","filename":"file0"},{"photo_id":"1328051562","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328051537":["hashtag1","hashtag2"]},{"1328051516":["hashtag1","hashtag2"]},{"1328051596":["hashtag1","hashtag2"]},{"1328051598":["hashtag1","hashtag2"]},{"1328051562":["hashtag1","hashtag2"]},{"1328051559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328051537, 1328051516, 1328051596, 1328051598, 1328051562, 1328051559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.46441721916199 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:06:22.732767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/05/image_11012025_04_05_02_901603_0001.jpg', '/home/pi/Desktop/images/11012025/04/05/image_11012025_04_05_02_901603_0002.jpg', '/home/pi/Desktop/images/11012025/04/05/image_11012025_04_05_02_901603_0003.jpg', '/home/pi/Desktop/images/11012025/04/06/image_11012025_04_06_02_475321_0000.jpg', '/home/pi/Desktop/images/11012025/04/06/image_11012025_04_06_02_475321_0001.jpg', '/home/pi/Desktop/images/11012025/04/06/image_11012025_04_06_02_475321_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/05/image_11012025_04_05_02_901603_0001.jpg
/home/pi/Desktop/images/11012025/04/05/image_11012025_04_05_02_901603_0002.jpg
/home/pi/Desktop/images/11012025/04/05/image_11012025_04_05_02_901603_0003.jpg
/home/pi/Desktop/images/11012025/04/06/image_11012025_04_06_02_475321_0000.jpg
/home/pi/Desktop/images/11012025/04/06/image_11012025_04_06_02_475321_0001.jpg
/home/pi/Desktop/images/11012025/04/06/image_11012025_04_06_02_475321_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328051607","1328051618","1328051605","1328051614","1328051602","1328051646"],"photo_ids_order":["1328051602","1328051605","1328051607","1328051614","1328051618","1328051646"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cf003344318a277b4ababdd7041066a7.jpg","text":"TemporaryFile(/tmp/multipartBody6407432483423241308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564857784,"filename":"image_11012025_04_05_02_901603_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/06b787728694217276ad9388374c64d2.jpg","text":"TemporaryFile(/tmp/multipartBody3151010935546298726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564857784,"filename":"image_11012025_04_06_02_475321_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d128f18480a0ca43197402f0b3f5c213.jpg","text":"TemporaryFile(/tmp/multipartBody3158099823653871044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564857784,"filename":"image_11012025_04_05_02_901603_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/01844284e56a014d8d623e53f57f802f.jpg","text":"TemporaryFile(/tmp/multipartBody2984351170913329508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564857784,"filename":"image_11012025_04_06_02_475321_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b2a3d9b42f07e6d669573aecce65003a.jpg","text":"TemporaryFile(/tmp/multipartBody9042618511111698609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564857784,"filename":"image_11012025_04_05_02_901603_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f193582c2b74b102c9fbeab7db1a233e.jpg","text":"TemporaryFile(/tmp/multipartBody7991847598607994587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564857784,"filename":"image_11012025_04_06_02_475321_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328051607","file1":"1328051605","file0":"1328051602","file4":"1328051618","file5":"1328051646","file3":"1328051614"},"map_files_photo_id_array":[{"photo_id":"1328051646","filename":"file5"},{"photo_id":"1328051607","filename":"file2"},{"photo_id":"1328051618","filename":"file4"},{"photo_id":"1328051605","filename":"file1"},{"photo_id":"1328051602","filename":"file0"},{"photo_id":"1328051614","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328051607":["hashtag1","hashtag2"]},{"1328051618":["hashtag1","hashtag2"]},{"1328051605":["hashtag1","hashtag2"]},{"1328051614":["hashtag1","hashtag2"]},{"1328051602":["hashtag1","hashtag2"]},{"1328051646":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328051607, 1328051618, 1328051605, 1328051614, 1328051602, 1328051646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.98188948631287 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:08:02.237309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/06/image_11012025_04_06_02_475321_0003.jpg', '/home/pi/Desktop/images/11012025/04/07/image_11012025_04_07_03_117854_0000.jpg', '/home/pi/Desktop/images/11012025/04/07/image_11012025_04_07_03_117854_0001.jpg', '/home/pi/Desktop/images/11012025/04/07/image_11012025_04_07_03_117854_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/06/image_11012025_04_06_02_475321_0003.jpg
/home/pi/Desktop/images/11012025/04/07/image_11012025_04_07_03_117854_0000.jpg
/home/pi/Desktop/images/11012025/04/07/image_11012025_04_07_03_117854_0001.jpg
/home/pi/Desktop/images/11012025/04/07/image_11012025_04_07_03_117854_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328051660","1328051662","1328051665","1328051658"],"photo_ids_order":["1328051658","1328051660","1328051662","1328051665"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/07cd7bda9fe8c62c696547d925c85c9d.jpg","text":"TemporaryFile(/tmp/multipartBody2792557653651234476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564952503,"filename":"image_11012025_04_07_03_117854_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/507d85497955d7971afbeec257b5fe85.jpg","text":"TemporaryFile(/tmp/multipartBody8233847144190893155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564952503,"filename":"image_11012025_04_07_03_117854_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bcbe0af763d639ec2b649c7f951c0fd1.jpg","text":"TemporaryFile(/tmp/multipartBody2927545834492970787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564952503,"filename":"image_11012025_04_07_03_117854_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bfb344507be77c8b56bc0e4ff0f059f2.jpg","text":"TemporaryFile(/tmp/multipartBody5180623547944343133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736564952503,"filename":"image_11012025_04_06_02_475321_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328051662","file1":"1328051660","file0":"1328051658","file3":"1328051665"},"map_files_photo_id_array":[{"photo_id":"1328051662","filename":"file2"},{"photo_id":"1328051660","filename":"file1"},{"photo_id":"1328051658","filename":"file0"},{"photo_id":"1328051665","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328051660":["hashtag1","hashtag2"]},{"1328051662":["hashtag1","hashtag2"]},{"1328051665":["hashtag1","hashtag2"]},{"1328051658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328051660, 1328051662, 1328051665, 1328051658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.21302080154419 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:09:02.786420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/07/image_11012025_04_07_03_117854_0003.jpg', '/home/pi/Desktop/images/11012025/04/08/image_11012025_04_08_02_664738_0000.jpg', '/home/pi/Desktop/images/11012025/04/08/image_11012025_04_08_02_664738_0001.jpg', '/home/pi/Desktop/images/11012025/04/08/image_11012025_04_08_02_664738_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/07/image_11012025_04_07_03_117854_0003.jpg
/home/pi/Desktop/images/11012025/04/08/image_11012025_04_08_02_664738_0000.jpg
/home/pi/Desktop/images/11012025/04/08/image_11012025_04_08_02_664738_0001.jpg
/home/pi/Desktop/images/11012025/04/08/image_11012025_04_08_02_664738_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328051675","1328051674","1328051677","1328051679"],"photo_ids_order":["1328051674","1328051675","1328051677","1328051679"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8d708516a3699f55ceafcdd9a224997a.jpg","text":"TemporaryFile(/tmp/multipartBody4650599507595632093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565012926,"filename":"image_11012025_04_08_02_664738_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fa53f21a3e70aeb7b17e01a8ea15748c.jpg","text":"TemporaryFile(/tmp/multipartBody8136548837878439132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565012926,"filename":"image_11012025_04_07_03_117854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c6f4837b516e42cb73202ff9ab81916c.jpg","text":"TemporaryFile(/tmp/multipartBody3421855390174033528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565012926,"filename":"image_11012025_04_08_02_664738_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8991a78f4b6f0436e62e1134233b36a3.jpg","text":"TemporaryFile(/tmp/multipartBody2170944256090110500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565012926,"filename":"image_11012025_04_08_02_664738_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328051677","file1":"1328051675","file0":"1328051674","file3":"1328051679"},"map_files_photo_id_array":[{"photo_id":"1328051677","filename":"file2"},{"photo_id":"1328051675","filename":"file1"},{"photo_id":"1328051674","filename":"file0"},{"photo_id":"1328051679","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328051675":["hashtag1","hashtag2"]},{"1328051674":["hashtag1","hashtag2"]},{"1328051677":["hashtag1","hashtag2"]},{"1328051679":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328051675, 1328051674, 1328051677, 1328051679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.095086336135864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:10:02.411046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/08/image_11012025_04_08_02_664738_0003.jpg', '/home/pi/Desktop/images/11012025/04/09/image_11012025_04_09_02_155470_0000.jpg', '/home/pi/Desktop/images/11012025/04/09/image_11012025_04_09_02_155470_0001.jpg', '/home/pi/Desktop/images/11012025/04/09/image_11012025_04_09_02_155470_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/08/image_11012025_04_08_02_664738_0003.jpg
/home/pi/Desktop/images/11012025/04/09/image_11012025_04_09_02_155470_0000.jpg
/home/pi/Desktop/images/11012025/04/09/image_11012025_04_09_02_155470_0001.jpg
/home/pi/Desktop/images/11012025/04/09/image_11012025_04_09_02_155470_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328051712","1328051711","1328051714","1328051716"],"photo_ids_order":["1328051711","1328051712","1328051714","1328051716"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ba0447d7337f6a4a5d17cd9f9439716e.jpg","text":"TemporaryFile(/tmp/multipartBody5456881246339858651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565072740,"filename":"image_11012025_04_09_02_155470_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/576cd529e123ef36573d77f4b729c867.jpg","text":"TemporaryFile(/tmp/multipartBody7433510342661631590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565072740,"filename":"image_11012025_04_08_02_664738_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8582020c13a7f4692dbc855027b0b895.jpg","text":"TemporaryFile(/tmp/multipartBody9124377243366057989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565072740,"filename":"image_11012025_04_09_02_155470_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2da0a38fb404a96276da6dada6b8fc11.jpg","text":"TemporaryFile(/tmp/multipartBody2546873228895496788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565072740,"filename":"image_11012025_04_09_02_155470_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328051714","file1":"1328051712","file0":"1328051711","file3":"1328051716"},"map_files_photo_id_array":[{"photo_id":"1328051714","filename":"file2"},{"photo_id":"1328051712","filename":"file1"},{"photo_id":"1328051711","filename":"file0"},{"photo_id":"1328051716","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328051712":["hashtag1","hashtag2"]},{"1328051711":["hashtag1","hashtag2"]},{"1328051714":["hashtag1","hashtag2"]},{"1328051716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328051712, 1328051711, 1328051714, 1328051716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.83280658721924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:11:03.011753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/09/image_11012025_04_09_02_155470_0003.jpg', '/home/pi/Desktop/images/11012025/04/10/image_11012025_04_10_02_652315_0000.jpg', '/home/pi/Desktop/images/11012025/04/10/image_11012025_04_10_02_652315_0001.jpg', '/home/pi/Desktop/images/11012025/04/10/image_11012025_04_10_02_652315_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/09/image_11012025_04_09_02_155470_0003.jpg
/home/pi/Desktop/images/11012025/04/10/image_11012025_04_10_02_652315_0000.jpg
/home/pi/Desktop/images/11012025/04/10/image_11012025_04_10_02_652315_0001.jpg
/home/pi/Desktop/images/11012025/04/10/image_11012025_04_10_02_652315_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.965543508529663 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:11:22.402051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/09/image_11012025_04_09_02_155470_0003.jpg', '/home/pi/Desktop/images/11012025/04/10/image_11012025_04_10_02_652315_0000.jpg', '/home/pi/Desktop/images/11012025/04/10/image_11012025_04_10_02_652315_0001.jpg', '/home/pi/Desktop/images/11012025/04/10/image_11012025_04_10_02_652315_0002.jpg', '/home/pi/Desktop/images/11012025/04/10/image_11012025_04_10_02_652315_0003.jpg', '/home/pi/Desktop/images/11012025/04/11/image_11012025_04_11_02_301626_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/09/image_11012025_04_09_02_155470_0003.jpg
/home/pi/Desktop/images/11012025/04/10/image_11012025_04_10_02_652315_0000.jpg
/home/pi/Desktop/images/11012025/04/10/image_11012025_04_10_02_652315_0001.jpg
/home/pi/Desktop/images/11012025/04/10/image_11012025_04_10_02_652315_0002.jpg
/home/pi/Desktop/images/11012025/04/10/image_11012025_04_10_02_652315_0003.jpg
/home/pi/Desktop/images/11012025/04/11/image_11012025_04_11_02_301626_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328051910","1328051903","1328051906","1328051900","1328051911","1328051908"],"photo_ids_order":["1328051900","1328051903","1328051906","1328051908","1328051910","1328051911"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f4ae1f3d27196f320776decf35377e8d.jpg","text":"TemporaryFile(/tmp/multipartBody6106997812905770094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565157448,"filename":"image_11012025_04_10_02_652315_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ea9145d43c6e275bed7e3878af093941.jpg","text":"TemporaryFile(/tmp/multipartBody8384869969867175567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565157448,"filename":"image_11012025_04_10_02_652315_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/edc41e7aa8dfd793560a29ed797eddc0.jpg","text":"TemporaryFile(/tmp/multipartBody3942891893585000118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565157448,"filename":"image_11012025_04_10_02_652315_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0550bafdff6447149b18156b57c33867.jpg","text":"TemporaryFile(/tmp/multipartBody8845590862384136089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565157448,"filename":"image_11012025_04_09_02_155470_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0b914f6e587ab3405a2b1cda9ba2aea6.jpg","text":"TemporaryFile(/tmp/multipartBody2572287620043672234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565157448,"filename":"image_11012025_04_11_02_301626_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/99027026580e987c13b84c98f7813418.jpg","text":"TemporaryFile(/tmp/multipartBody1796576717425953419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565157448,"filename":"image_11012025_04_10_02_652315_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328051906","file1":"1328051903","file0":"1328051900","file4":"1328051910","file5":"1328051911","file3":"1328051908"},"map_files_photo_id_array":[{"photo_id":"1328051911","filename":"file5"},{"photo_id":"1328051906","filename":"file2"},{"photo_id":"1328051910","filename":"file4"},{"photo_id":"1328051903","filename":"file1"},{"photo_id":"1328051900","filename":"file0"},{"photo_id":"1328051908","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328051910":["hashtag1","hashtag2"]},{"1328051903":["hashtag1","hashtag2"]},{"1328051906":["hashtag1","hashtag2"]},{"1328051900":["hashtag1","hashtag2"]},{"1328051911":["hashtag1","hashtag2"]},{"1328051908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328051910, 1328051903, 1328051906, 1328051900, 1328051911, 1328051908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.79860854148865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:12:22.125000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/11/image_11012025_04_11_02_301626_0001.jpg', '/home/pi/Desktop/images/11012025/04/11/image_11012025_04_11_02_301626_0002.jpg', '/home/pi/Desktop/images/11012025/04/11/image_11012025_04_11_02_301626_0003.jpg', '/home/pi/Desktop/images/11012025/04/12/image_11012025_04_12_02_825056_0000.jpg', '/home/pi/Desktop/images/11012025/04/12/image_11012025_04_12_02_825056_0001.jpg', '/home/pi/Desktop/images/11012025/04/12/image_11012025_04_12_02_825056_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/11/image_11012025_04_11_02_301626_0001.jpg
/home/pi/Desktop/images/11012025/04/11/image_11012025_04_11_02_301626_0002.jpg
/home/pi/Desktop/images/11012025/04/11/image_11012025_04_11_02_301626_0003.jpg
/home/pi/Desktop/images/11012025/04/12/image_11012025_04_12_02_825056_0000.jpg
/home/pi/Desktop/images/11012025/04/12/image_11012025_04_12_02_825056_0001.jpg
/home/pi/Desktop/images/11012025/04/12/image_11012025_04_12_02_825056_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328051916","1328051966","1328051957","1328051930","1328051961","1328051925"],"photo_ids_order":["1328051916","1328051925","1328051930","1328051957","1328051961","1328051966"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4d9c35d7b79c95f7f74aeaa33877c835.jpg","text":"TemporaryFile(/tmp/multipartBody2131814634816713205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565217099,"filename":"image_11012025_04_11_02_301626_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/05af4ebe8a09953e9acdb513a3fc2b41.jpg","text":"TemporaryFile(/tmp/multipartBody8575448218126289011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565217099,"filename":"image_11012025_04_12_02_825056_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4aae2a7141156a8e7acba10cd7205db1.jpg","text":"TemporaryFile(/tmp/multipartBody4686542326874959744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565217099,"filename":"image_11012025_04_12_02_825056_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0ef345a0a540cd251c6dfea762e92641.jpg","text":"TemporaryFile(/tmp/multipartBody3476862041823052815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565217099,"filename":"image_11012025_04_11_02_301626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/923c5bc8de19d8339fc42b2d585d8d7e.jpg","text":"TemporaryFile(/tmp/multipartBody4225293353802402113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565217099,"filename":"image_11012025_04_12_02_825056_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cc2c21148effe9d2e7119c45b76cc81e.jpg","text":"TemporaryFile(/tmp/multipartBody2437955639218902956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565217099,"filename":"image_11012025_04_11_02_301626_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328051930","file1":"1328051925","file0":"1328051916","file4":"1328051961","file5":"1328051966","file3":"1328051957"},"map_files_photo_id_array":[{"photo_id":"1328051966","filename":"file5"},{"photo_id":"1328051930","filename":"file2"},{"photo_id":"1328051961","filename":"file4"},{"photo_id":"1328051925","filename":"file1"},{"photo_id":"1328051916","filename":"file0"},{"photo_id":"1328051957","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328051916":["hashtag1","hashtag2"]},{"1328051966":["hashtag1","hashtag2"]},{"1328051957":["hashtag1","hashtag2"]},{"1328051930":["hashtag1","hashtag2"]},{"1328051961":["hashtag1","hashtag2"]},{"1328051925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328051916, 1328051966, 1328051957, 1328051930, 1328051961, 1328051925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.02577829360962 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-11 04:14:02.520654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/12/image_11012025_04_12_02_825056_0003.jpg', '/home/pi/Desktop/images/11012025/04/13/image_11012025_04_13_02_579285_0000.jpg', '/home/pi/Desktop/images/11012025/04/13/image_11012025_04_13_02_579285_0001.jpg', '/home/pi/Desktop/images/11012025/04/13/image_11012025_04_13_02_579285_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/12/image_11012025_04_12_02_825056_0003.jpg
/home/pi/Desktop/images/11012025/04/13/image_11012025_04_13_02_579285_0000.jpg
/home/pi/Desktop/images/11012025/04/13/image_11012025_04_13_02_579285_0001.jpg
/home/pi/Desktop/images/11012025/04/13/image_11012025_04_13_02_579285_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.854644536972046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:14:22.202680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/12/image_11012025_04_12_02_825056_0003.jpg', '/home/pi/Desktop/images/11012025/04/13/image_11012025_04_13_02_579285_0000.jpg', '/home/pi/Desktop/images/11012025/04/13/image_11012025_04_13_02_579285_0001.jpg', '/home/pi/Desktop/images/11012025/04/13/image_11012025_04_13_02_579285_0002.jpg', '/home/pi/Desktop/images/11012025/04/13/image_11012025_04_13_02_579285_0003.jpg', '/home/pi/Desktop/images/11012025/04/14/image_11012025_04_14_03_092447_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/12/image_11012025_04_12_02_825056_0003.jpg
/home/pi/Desktop/images/11012025/04/13/image_11012025_04_13_02_579285_0000.jpg
/home/pi/Desktop/images/11012025/04/13/image_11012025_04_13_02_579285_0001.jpg
/home/pi/Desktop/images/11012025/04/13/image_11012025_04_13_02_579285_0002.jpg
/home/pi/Desktop/images/11012025/04/13/image_11012025_04_13_02_579285_0003.jpg
/home/pi/Desktop/images/11012025/04/14/image_11012025_04_14_03_092447_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328052017","1328052011","1328052005","1328052014","1328052001","1328052007"],"photo_ids_order":["1328052001","1328052005","1328052007","1328052011","1328052014","1328052017"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/14da2cf4b7a9a8b1506f0f73ea9b14ba.jpg","text":"TemporaryFile(/tmp/multipartBody2421834166773826928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565337148,"filename":"image_11012025_04_14_03_092447_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1e3fdb15cfae700d5037edb431cb4c8a.jpg","text":"TemporaryFile(/tmp/multipartBody2963926995685357716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565337148,"filename":"image_11012025_04_13_02_579285_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8c70720decc1be13241092a2b511ab3c.jpg","text":"TemporaryFile(/tmp/multipartBody6419485514549629698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565337148,"filename":"image_11012025_04_13_02_579285_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/94410a6971449bdfc02936755840dc26.jpg","text":"TemporaryFile(/tmp/multipartBody5608502973099958398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565337148,"filename":"image_11012025_04_13_02_579285_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2d5c565d9763eed14c6a473d442d23dc.jpg","text":"TemporaryFile(/tmp/multipartBody474535287494724269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565337148,"filename":"image_11012025_04_12_02_825056_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/16c6a1bba50200c464d851f298dc1dca.jpg","text":"TemporaryFile(/tmp/multipartBody3248622056488409280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565337148,"filename":"image_11012025_04_13_02_579285_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328052007","file1":"1328052005","file0":"1328052001","file4":"1328052014","file5":"1328052017","file3":"1328052011"},"map_files_photo_id_array":[{"photo_id":"1328052017","filename":"file5"},{"photo_id":"1328052007","filename":"file2"},{"photo_id":"1328052014","filename":"file4"},{"photo_id":"1328052005","filename":"file1"},{"photo_id":"1328052001","filename":"file0"},{"photo_id":"1328052011","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328052017":["hashtag1","hashtag2"]},{"1328052011":["hashtag1","hashtag2"]},{"1328052005":["hashtag1","hashtag2"]},{"1328052014":["hashtag1","hashtag2"]},{"1328052001":["hashtag1","hashtag2"]},{"1328052007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328052017, 1328052011, 1328052005, 1328052014, 1328052001, 1328052007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.84996557235718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:15:22.752559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/14/image_11012025_04_14_03_092447_0001.jpg', '/home/pi/Desktop/images/11012025/04/14/image_11012025_04_14_03_092447_0002.jpg', '/home/pi/Desktop/images/11012025/04/14/image_11012025_04_14_03_092447_0003.jpg', '/home/pi/Desktop/images/11012025/04/15/image_11012025_04_15_02_568864_0000.jpg', '/home/pi/Desktop/images/11012025/04/15/image_11012025_04_15_02_568864_0001.jpg', '/home/pi/Desktop/images/11012025/04/15/image_11012025_04_15_02_568864_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/14/image_11012025_04_14_03_092447_0001.jpg
/home/pi/Desktop/images/11012025/04/14/image_11012025_04_14_03_092447_0002.jpg
/home/pi/Desktop/images/11012025/04/14/image_11012025_04_14_03_092447_0003.jpg
/home/pi/Desktop/images/11012025/04/15/image_11012025_04_15_02_568864_0000.jpg
/home/pi/Desktop/images/11012025/04/15/image_11012025_04_15_02_568864_0001.jpg
/home/pi/Desktop/images/11012025/04/15/image_11012025_04_15_02_568864_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328052062","1328052032","1328052064","1328052040","1328052028","1328052025"],"photo_ids_order":["1328052025","1328052028","1328052032","1328052040","1328052062","1328052064"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/663f242831758fb3134380ede7dcb50a.jpg","text":"TemporaryFile(/tmp/multipartBody3621061537609921900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565397801,"filename":"image_11012025_04_15_02_568864_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f4c606e12592a01cf892aee48f80659f.jpg","text":"TemporaryFile(/tmp/multipartBody4379625539014579791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565397801,"filename":"image_11012025_04_14_03_092447_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/56a92585cb63c7d51085bfe28bfd5fc0.jpg","text":"TemporaryFile(/tmp/multipartBody6398265488665063215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565397801,"filename":"image_11012025_04_15_02_568864_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dea90289f87bda1049d8eb878f0fa012.jpg","text":"TemporaryFile(/tmp/multipartBody6205915153246331239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565397801,"filename":"image_11012025_04_15_02_568864_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/69e5317d9c1a57d0a4d70e740dca4a8b.jpg","text":"TemporaryFile(/tmp/multipartBody4975266197549798609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565397801,"filename":"image_11012025_04_14_03_092447_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9837a1ae49946e89f49efede3f2eae70.jpg","text":"TemporaryFile(/tmp/multipartBody8591152400980408098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565397801,"filename":"image_11012025_04_14_03_092447_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328052032","file1":"1328052028","file0":"1328052025","file4":"1328052062","file5":"1328052064","file3":"1328052040"},"map_files_photo_id_array":[{"photo_id":"1328052064","filename":"file5"},{"photo_id":"1328052032","filename":"file2"},{"photo_id":"1328052062","filename":"file4"},{"photo_id":"1328052028","filename":"file1"},{"photo_id":"1328052025","filename":"file0"},{"photo_id":"1328052040","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328052062":["hashtag1","hashtag2"]},{"1328052032":["hashtag1","hashtag2"]},{"1328052064":["hashtag1","hashtag2"]},{"1328052040":["hashtag1","hashtag2"]},{"1328052028":["hashtag1","hashtag2"]},{"1328052025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328052062, 1328052032, 1328052064, 1328052040, 1328052028, 1328052025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.356518268585205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:16:22.183712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/15/image_11012025_04_15_02_568864_0003.jpg', '/home/pi/Desktop/images/11012025/04/16/image_11012025_04_16_03_090185_0000.jpg', '/home/pi/Desktop/images/11012025/04/16/image_11012025_04_16_03_090185_0001.jpg', '/home/pi/Desktop/images/11012025/04/16/image_11012025_04_16_03_090185_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/15/image_11012025_04_15_02_568864_0003.jpg
/home/pi/Desktop/images/11012025/04/16/image_11012025_04_16_03_090185_0000.jpg
/home/pi/Desktop/images/11012025/04/16/image_11012025_04_16_03_090185_0001.jpg
/home/pi/Desktop/images/11012025/04/16/image_11012025_04_16_03_090185_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328052068","1328052079","1328052075","1328052071"],"photo_ids_order":["1328052068","1328052071","1328052075","1328052079"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3b57162a5bab640b0df0d3e7ab6fb92f.jpg","text":"TemporaryFile(/tmp/multipartBody3854655827757572844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565452493,"filename":"image_11012025_04_15_02_568864_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2a39317b41db4098ed0212704fe7a715.jpg","text":"TemporaryFile(/tmp/multipartBody4155644682268748498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565452493,"filename":"image_11012025_04_16_03_090185_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/923f2758cebf5b24c6ad5fdd7ef07d5c.jpg","text":"TemporaryFile(/tmp/multipartBody680968183681006006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565452493,"filename":"image_11012025_04_16_03_090185_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/638bda4cf9182f655f172cfc5aaf65b6.jpg","text":"TemporaryFile(/tmp/multipartBody1516799018843963202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565452493,"filename":"image_11012025_04_16_03_090185_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328052075","file1":"1328052071","file0":"1328052068","file3":"1328052079"},"map_files_photo_id_array":[{"photo_id":"1328052075","filename":"file2"},{"photo_id":"1328052071","filename":"file1"},{"photo_id":"1328052068","filename":"file0"},{"photo_id":"1328052079","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328052068":["hashtag1","hashtag2"]},{"1328052079":["hashtag1","hashtag2"]},{"1328052075":["hashtag1","hashtag2"]},{"1328052071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328052068, 1328052079, 1328052075, 1328052071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.597124338150024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:17:21.779568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/16/image_11012025_04_16_03_090185_0003.jpg', '/home/pi/Desktop/images/11012025/04/17/image_11012025_04_17_02_662967_0000.jpg', '/home/pi/Desktop/images/11012025/04/17/image_11012025_04_17_02_662967_0001.jpg', '/home/pi/Desktop/images/11012025/04/17/image_11012025_04_17_02_662967_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/16/image_11012025_04_16_03_090185_0003.jpg
/home/pi/Desktop/images/11012025/04/17/image_11012025_04_17_02_662967_0000.jpg
/home/pi/Desktop/images/11012025/04/17/image_11012025_04_17_02_662967_0001.jpg
/home/pi/Desktop/images/11012025/04/17/image_11012025_04_17_02_662967_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328052095","1328052088","1328052098","1328052092"],"photo_ids_order":["1328052088","1328052092","1328052095","1328052098"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/338fe4bbd064224b166818f3d1f65c65.jpg","text":"TemporaryFile(/tmp/multipartBody6267343592702157997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565512192,"filename":"image_11012025_04_17_02_662967_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/43bbe812eb70e1bbdb52e7fbc597596f.jpg","text":"TemporaryFile(/tmp/multipartBody2231193745468567648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565512192,"filename":"image_11012025_04_16_03_090185_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/083d6c704b560b77c3b831f59d3f8eaf.jpg","text":"TemporaryFile(/tmp/multipartBody1097698146189678204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565512192,"filename":"image_11012025_04_17_02_662967_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cbcec52a571fb0e5587218f1aec0eed7.jpg","text":"TemporaryFile(/tmp/multipartBody3772873480761319491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565512192,"filename":"image_11012025_04_17_02_662967_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328052095","file1":"1328052092","file0":"1328052088","file3":"1328052098"},"map_files_photo_id_array":[{"photo_id":"1328052095","filename":"file2"},{"photo_id":"1328052092","filename":"file1"},{"photo_id":"1328052088","filename":"file0"},{"photo_id":"1328052098","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328052095":["hashtag1","hashtag2"]},{"1328052088":["hashtag1","hashtag2"]},{"1328052098":["hashtag1","hashtag2"]},{"1328052092":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328052095, 1328052088, 1328052098, 1328052092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.69393515586853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:18:22.388691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/17/image_11012025_04_17_02_662967_0003.jpg', '/home/pi/Desktop/images/11012025/04/18/image_11012025_04_18_02_188862_0000.jpg', '/home/pi/Desktop/images/11012025/04/18/image_11012025_04_18_02_188862_0001.jpg', '/home/pi/Desktop/images/11012025/04/18/image_11012025_04_18_02_188862_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/17/image_11012025_04_17_02_662967_0003.jpg
/home/pi/Desktop/images/11012025/04/18/image_11012025_04_18_02_188862_0000.jpg
/home/pi/Desktop/images/11012025/04/18/image_11012025_04_18_02_188862_0001.jpg
/home/pi/Desktop/images/11012025/04/18/image_11012025_04_18_02_188862_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.752819776535034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:19:02.398747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/17/image_11012025_04_17_02_662967_0003.jpg', '/home/pi/Desktop/images/11012025/04/18/image_11012025_04_18_02_188862_0000.jpg', '/home/pi/Desktop/images/11012025/04/18/image_11012025_04_18_02_188862_0001.jpg', '/home/pi/Desktop/images/11012025/04/18/image_11012025_04_18_02_188862_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/17/image_11012025_04_17_02_662967_0003.jpg
/home/pi/Desktop/images/11012025/04/18/image_11012025_04_18_02_188862_0000.jpg
/home/pi/Desktop/images/11012025/04/18/image_11012025_04_18_02_188862_0001.jpg
/home/pi/Desktop/images/11012025/04/18/image_11012025_04_18_02_188862_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328052403","1328052258","1328052204","1328052147"],"photo_ids_order":["1328052147","1328052204","1328052258","1328052403"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9b1fc5733cbf54ea23c2813a4bb4e9e6.jpg","text":"TemporaryFile(/tmp/multipartBody4786332002231488463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565612653,"filename":"image_11012025_04_18_02_188862_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/01a1afa89ab645dfb6121c6ad4ee7680.jpg","text":"TemporaryFile(/tmp/multipartBody72386992053837364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565612653,"filename":"image_11012025_04_18_02_188862_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f91796afc664d3817317ee0213e20ab4.jpg","text":"TemporaryFile(/tmp/multipartBody955978811574799774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565612653,"filename":"image_11012025_04_18_02_188862_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2c5c1bac26077520157aa755a3fad212.jpg","text":"TemporaryFile(/tmp/multipartBody3098410726747940489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565612653,"filename":"image_11012025_04_17_02_662967_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328052258","file1":"1328052204","file0":"1328052147","file3":"1328052403"},"map_files_photo_id_array":[{"photo_id":"1328052258","filename":"file2"},{"photo_id":"1328052204","filename":"file1"},{"photo_id":"1328052147","filename":"file0"},{"photo_id":"1328052403","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328052403":["hashtag1","hashtag2"]},{"1328052258":["hashtag1","hashtag2"]},{"1328052204":["hashtag1","hashtag2"]},{"1328052147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328052403, 1328052258, 1328052204, 1328052147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.90234637260437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:20:02.831601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/18/image_11012025_04_18_02_188862_0003.jpg', '/home/pi/Desktop/images/11012025/04/19/image_11012025_04_19_02_709566_0000.jpg', '/home/pi/Desktop/images/11012025/04/19/image_11012025_04_19_02_709566_0001.jpg', '/home/pi/Desktop/images/11012025/04/19/image_11012025_04_19_02_709566_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/18/image_11012025_04_18_02_188862_0003.jpg
/home/pi/Desktop/images/11012025/04/19/image_11012025_04_19_02_709566_0000.jpg
/home/pi/Desktop/images/11012025/04/19/image_11012025_04_19_02_709566_0001.jpg
/home/pi/Desktop/images/11012025/04/19/image_11012025_04_19_02_709566_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.746145486831665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:20:22.458520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/18/image_11012025_04_18_02_188862_0003.jpg', '/home/pi/Desktop/images/11012025/04/19/image_11012025_04_19_02_709566_0000.jpg', '/home/pi/Desktop/images/11012025/04/19/image_11012025_04_19_02_709566_0001.jpg', '/home/pi/Desktop/images/11012025/04/19/image_11012025_04_19_02_709566_0002.jpg', '/home/pi/Desktop/images/11012025/04/19/image_11012025_04_19_02_709566_0003.jpg', '/home/pi/Desktop/images/11012025/04/20/image_11012025_04_20_02_252227_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/18/image_11012025_04_18_02_188862_0003.jpg
/home/pi/Desktop/images/11012025/04/19/image_11012025_04_19_02_709566_0000.jpg
/home/pi/Desktop/images/11012025/04/19/image_11012025_04_19_02_709566_0001.jpg
/home/pi/Desktop/images/11012025/04/19/image_11012025_04_19_02_709566_0002.jpg
/home/pi/Desktop/images/11012025/04/19/image_11012025_04_19_02_709566_0003.jpg
/home/pi/Desktop/images/11012025/04/20/image_11012025_04_20_02_252227_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328053063","1328053065","1328053061","1328053058","1328053052","1328053055"],"photo_ids_order":["1328053052","1328053055","1328053058","1328053061","1328053063","1328053065"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9cf1857c09905c8c51751466e954abaa.jpg","text":"TemporaryFile(/tmp/multipartBody7262577451856412372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565697435,"filename":"image_11012025_04_19_02_709566_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/baf8cb22c01c0c5f7aa71ef7f953c150.jpg","text":"TemporaryFile(/tmp/multipartBody5914082976053461629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565697435,"filename":"image_11012025_04_20_02_252227_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f6dab711e09a851dde9d32c481a3f704.jpg","text":"TemporaryFile(/tmp/multipartBody6487072861736231057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565697435,"filename":"image_11012025_04_19_02_709566_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c397785a6f08540f28115413a7904909.jpg","text":"TemporaryFile(/tmp/multipartBody234661771035534080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565697435,"filename":"image_11012025_04_19_02_709566_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f228ba5ae36732c0b825095331bcd435.jpg","text":"TemporaryFile(/tmp/multipartBody1914331369155621200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565697435,"filename":"image_11012025_04_18_02_188862_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ef4934440a09128e07bbd8c99a503a50.jpg","text":"TemporaryFile(/tmp/multipartBody5706546428459712803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565697435,"filename":"image_11012025_04_19_02_709566_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328053058","file1":"1328053055","file0":"1328053052","file4":"1328053063","file5":"1328053065","file3":"1328053061"},"map_files_photo_id_array":[{"photo_id":"1328053065","filename":"file5"},{"photo_id":"1328053058","filename":"file2"},{"photo_id":"1328053063","filename":"file4"},{"photo_id":"1328053055","filename":"file1"},{"photo_id":"1328053052","filename":"file0"},{"photo_id":"1328053061","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328053063":["hashtag1","hashtag2"]},{"1328053065":["hashtag1","hashtag2"]},{"1328053061":["hashtag1","hashtag2"]},{"1328053058":["hashtag1","hashtag2"]},{"1328053052":["hashtag1","hashtag2"]},{"1328053055":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328053063, 1328053065, 1328053061, 1328053058, 1328053052, 1328053055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.9371280670166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:21:22.097536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/20/image_11012025_04_20_02_252227_0001.jpg', '/home/pi/Desktop/images/11012025/04/20/image_11012025_04_20_02_252227_0002.jpg', '/home/pi/Desktop/images/11012025/04/20/image_11012025_04_20_02_252227_0003.jpg', '/home/pi/Desktop/images/11012025/04/21/image_11012025_04_21_02_836917_0000.jpg', '/home/pi/Desktop/images/11012025/04/21/image_11012025_04_21_02_836917_0001.jpg', '/home/pi/Desktop/images/11012025/04/21/image_11012025_04_21_02_836917_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/20/image_11012025_04_20_02_252227_0001.jpg
/home/pi/Desktop/images/11012025/04/20/image_11012025_04_20_02_252227_0002.jpg
/home/pi/Desktop/images/11012025/04/20/image_11012025_04_20_02_252227_0003.jpg
/home/pi/Desktop/images/11012025/04/21/image_11012025_04_21_02_836917_0000.jpg
/home/pi/Desktop/images/11012025/04/21/image_11012025_04_21_02_836917_0001.jpg
/home/pi/Desktop/images/11012025/04/21/image_11012025_04_21_02_836917_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328053619","1328053561","1328053564","1328053531","1328053609","1328053617"],"photo_ids_order":["1328053531","1328053561","1328053564","1328053609","1328053617","1328053619"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/569245194f9083ffaa643ccd098da229.jpg","text":"TemporaryFile(/tmp/multipartBody6833416213125179965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565756965,"filename":"image_11012025_04_21_02_836917_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8322b02610906a3f8bbe2927febd5d04.jpg","text":"TemporaryFile(/tmp/multipartBody5025527627706740480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565756965,"filename":"image_11012025_04_20_02_252227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ff8f7edb93f2ebff0735d5b2f4b9d5e8.jpg","text":"TemporaryFile(/tmp/multipartBody2444997051933700696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565756965,"filename":"image_11012025_04_20_02_252227_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ae3db7afd9edbe0515edf09d860adb06.jpg","text":"TemporaryFile(/tmp/multipartBody1000095147086277543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565756965,"filename":"image_11012025_04_20_02_252227_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d43b2a9c4aa3c0c45874c2c216157883.jpg","text":"TemporaryFile(/tmp/multipartBody949915181239180837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565756965,"filename":"image_11012025_04_21_02_836917_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ce01cf78b461df2dfc03e810da5ab01b.jpg","text":"TemporaryFile(/tmp/multipartBody452768063083897140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565756965,"filename":"image_11012025_04_21_02_836917_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328053564","file1":"1328053561","file0":"1328053531","file4":"1328053617","file5":"1328053619","file3":"1328053609"},"map_files_photo_id_array":[{"photo_id":"1328053619","filename":"file5"},{"photo_id":"1328053564","filename":"file2"},{"photo_id":"1328053617","filename":"file4"},{"photo_id":"1328053561","filename":"file1"},{"photo_id":"1328053531","filename":"file0"},{"photo_id":"1328053609","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328053619":["hashtag1","hashtag2"]},{"1328053561":["hashtag1","hashtag2"]},{"1328053564":["hashtag1","hashtag2"]},{"1328053531":["hashtag1","hashtag2"]},{"1328053609":["hashtag1","hashtag2"]},{"1328053617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328053619, 1328053561, 1328053564, 1328053531, 1328053609, 1328053617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.774922132492065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:22:22.555599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/21/image_11012025_04_21_02_836917_0003.jpg', '/home/pi/Desktop/images/11012025/04/22/image_11012025_04_22_02_395494_0000.jpg', '/home/pi/Desktop/images/11012025/04/22/image_11012025_04_22_02_395494_0001.jpg', '/home/pi/Desktop/images/11012025/04/22/image_11012025_04_22_02_395494_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/21/image_11012025_04_21_02_836917_0003.jpg
/home/pi/Desktop/images/11012025/04/22/image_11012025_04_22_02_395494_0000.jpg
/home/pi/Desktop/images/11012025/04/22/image_11012025_04_22_02_395494_0001.jpg
/home/pi/Desktop/images/11012025/04/22/image_11012025_04_22_02_395494_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328053633","1328053623","1328053626","1328053629"],"photo_ids_order":["1328053623","1328053626","1328053629","1328053633"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b91ae2a35c7aa90bdf997671ef733d36.jpg","text":"TemporaryFile(/tmp/multipartBody6881597256389674925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565812589,"filename":"image_11012025_04_22_02_395494_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4432a13b27e0bd8a38b49fba35cc68e3.jpg","text":"TemporaryFile(/tmp/multipartBody2757465040321504099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565812589,"filename":"image_11012025_04_21_02_836917_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/21dadc6db1c0ea72bf988042e10ece32.jpg","text":"TemporaryFile(/tmp/multipartBody2526929105346993429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565812589,"filename":"image_11012025_04_22_02_395494_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3acb6dd5d939a28206ca88af9b33ad3c.jpg","text":"TemporaryFile(/tmp/multipartBody4482180841876350981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565812589,"filename":"image_11012025_04_22_02_395494_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328053629","file1":"1328053626","file0":"1328053623","file3":"1328053633"},"map_files_photo_id_array":[{"photo_id":"1328053629","filename":"file2"},{"photo_id":"1328053626","filename":"file1"},{"photo_id":"1328053623","filename":"file0"},{"photo_id":"1328053633","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328053633":["hashtag1","hashtag2"]},{"1328053623":["hashtag1","hashtag2"]},{"1328053626":["hashtag1","hashtag2"]},{"1328053629":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328053633, 1328053623, 1328053626, 1328053629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.81342101097107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:23:02.905523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/55/image_09012025_22_55_02_107075_0000.jpg', '/home/pi/Desktop/images/09012025/22/55/image_09012025_22_55_02_107075_0001.jpg', '/home/pi/Desktop/images/09012025/22/55/image_09012025_22_55_02_107075_0002.jpg', '/home/pi/Desktop/images/09012025/22/55/image_09012025_22_55_02_107075_0003.jpg', '/home/pi/Desktop/images/09012025/22/56/image_09012025_22_56_02_327159_0000.jpg', '/home/pi/Desktop/images/09012025/22/56/image_09012025_22_56_02_327159_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/55/image_09012025_22_55_02_107075_0000.jpg
/home/pi/Desktop/images/09012025/22/55/image_09012025_22_55_02_107075_0001.jpg
/home/pi/Desktop/images/09012025/22/55/image_09012025_22_55_02_107075_0002.jpg
/home/pi/Desktop/images/09012025/22/55/image_09012025_22_55_02_107075_0003.jpg
/home/pi/Desktop/images/09012025/22/56/image_09012025_22_56_02_327159_0000.jpg
/home/pi/Desktop/images/09012025/22/56/image_09012025_22_56_02_327159_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328053642","1328053656","1328053644","1328053652","1328053646","1328053649"],"photo_ids_order":["1328053642","1328053644","1328053646","1328053649","1328053652","1328053656"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/54fe3a69ba941c27e23424c0df79525b.jpg","text":"TemporaryFile(/tmp/multipartBody2340713948918075119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565859017,"filename":"image_09012025_22_55_02_107075_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bf39344bbf287ec82af583d7f29d0486.jpg","text":"TemporaryFile(/tmp/multipartBody6228659399057764416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565859017,"filename":"image_09012025_22_56_02_327159_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8f03aedb66779ebc41cb80385cda7208.jpg","text":"TemporaryFile(/tmp/multipartBody328473064108248259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565859017,"filename":"image_09012025_22_55_02_107075_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f933dda80682e466083bb37d0fb6e8d0.jpg","text":"TemporaryFile(/tmp/multipartBody602619676305460786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565859017,"filename":"image_09012025_22_56_02_327159_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2c9cce45cec4d6093e30e40e48f832e8.jpg","text":"TemporaryFile(/tmp/multipartBody7363327862878843547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565859017,"filename":"image_09012025_22_55_02_107075_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e0ba9ccf1796a028c842e0edb9c8f767.jpg","text":"TemporaryFile(/tmp/multipartBody2207969768597029140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565859017,"filename":"image_09012025_22_55_02_107075_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328053646","file1":"1328053644","file0":"1328053642","file4":"1328053652","file5":"1328053656","file3":"1328053649"},"map_files_photo_id_array":[{"photo_id":"1328053656","filename":"file5"},{"photo_id":"1328053646","filename":"file2"},{"photo_id":"1328053652","filename":"file4"},{"photo_id":"1328053644","filename":"file1"},{"photo_id":"1328053642","filename":"file0"},{"photo_id":"1328053649","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328053642":["hashtag1","hashtag2"]},{"1328053656":["hashtag1","hashtag2"]},{"1328053644":["hashtag1","hashtag2"]},{"1328053652":["hashtag1","hashtag2"]},{"1328053646":["hashtag1","hashtag2"]},{"1328053649":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328053642, 1328053656, 1328053644, 1328053652, 1328053646, 1328053649)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.326844215393066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:24:22.644578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/22/image_11012025_04_22_02_395494_0003.jpg', '/home/pi/Desktop/images/11012025/04/23/image_11012025_04_23_02_864274_0000.jpg', '/home/pi/Desktop/images/11012025/04/23/image_11012025_04_23_02_864274_0001.jpg', '/home/pi/Desktop/images/11012025/04/23/image_11012025_04_23_02_864274_0002.jpg', '/home/pi/Desktop/images/11012025/04/23/image_11012025_04_23_02_864274_0003.jpg', '/home/pi/Desktop/images/11012025/04/24/image_11012025_04_24_02_489724_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/22/image_11012025_04_22_02_395494_0003.jpg
/home/pi/Desktop/images/11012025/04/23/image_11012025_04_23_02_864274_0000.jpg
/home/pi/Desktop/images/11012025/04/23/image_11012025_04_23_02_864274_0001.jpg
/home/pi/Desktop/images/11012025/04/23/image_11012025_04_23_02_864274_0002.jpg
/home/pi/Desktop/images/11012025/04/23/image_11012025_04_23_02_864274_0003.jpg
/home/pi/Desktop/images/11012025/04/24/image_11012025_04_24_02_489724_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.783811807632446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:25:02.843738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/22/image_11012025_04_22_02_395494_0003.jpg', '/home/pi/Desktop/images/11012025/04/23/image_11012025_04_23_02_864274_0000.jpg', '/home/pi/Desktop/images/11012025/04/23/image_11012025_04_23_02_864274_0001.jpg', '/home/pi/Desktop/images/11012025/04/23/image_11012025_04_23_02_864274_0002.jpg', '/home/pi/Desktop/images/11012025/04/23/image_11012025_04_23_02_864274_0003.jpg', '/home/pi/Desktop/images/11012025/04/24/image_11012025_04_24_02_489724_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/22/image_11012025_04_22_02_395494_0003.jpg
/home/pi/Desktop/images/11012025/04/23/image_11012025_04_23_02_864274_0000.jpg
/home/pi/Desktop/images/11012025/04/23/image_11012025_04_23_02_864274_0001.jpg
/home/pi/Desktop/images/11012025/04/23/image_11012025_04_23_02_864274_0002.jpg
/home/pi/Desktop/images/11012025/04/23/image_11012025_04_23_02_864274_0003.jpg
/home/pi/Desktop/images/11012025/04/24/image_11012025_04_24_02_489724_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328053706","1328053708","1328053716","1328053719","1328053710","1328053713"],"photo_ids_order":["1328053706","1328053708","1328053710","1328053713","1328053716","1328053719"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1dec2a4e5e064f10ada3c1cd89a02e13.jpg","text":"TemporaryFile(/tmp/multipartBody1032038626869208206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565978055,"filename":"image_11012025_04_22_02_395494_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cc9e23b5c3074ade5cf2337eebf39d5e.jpg","text":"TemporaryFile(/tmp/multipartBody601670166366850896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565978055,"filename":"image_11012025_04_23_02_864274_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/10da2cb090edb1064b819ce38739609c.jpg","text":"TemporaryFile(/tmp/multipartBody7577189562674371897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565978055,"filename":"image_11012025_04_23_02_864274_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/425357f469673a859e09f87ac28249c5.jpg","text":"TemporaryFile(/tmp/multipartBody3780329986786495153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565978055,"filename":"image_11012025_04_24_02_489724_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1bc33cd5f195bc486e664c0c9768a6b9.jpg","text":"TemporaryFile(/tmp/multipartBody672206500869372656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565978055,"filename":"image_11012025_04_23_02_864274_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cbb37b4f00a3bd4525347c0a27bf78df.jpg","text":"TemporaryFile(/tmp/multipartBody4666731590192623071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736565978055,"filename":"image_11012025_04_23_02_864274_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328053710","file1":"1328053708","file0":"1328053706","file4":"1328053716","file5":"1328053719","file3":"1328053713"},"map_files_photo_id_array":[{"photo_id":"1328053719","filename":"file5"},{"photo_id":"1328053710","filename":"file2"},{"photo_id":"1328053716","filename":"file4"},{"photo_id":"1328053708","filename":"file1"},{"photo_id":"1328053706","filename":"file0"},{"photo_id":"1328053713","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328053706":["hashtag1","hashtag2"]},{"1328053708":["hashtag1","hashtag2"]},{"1328053716":["hashtag1","hashtag2"]},{"1328053719":["hashtag1","hashtag2"]},{"1328053710":["hashtag1","hashtag2"]},{"1328053713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328053706, 1328053708, 1328053716, 1328053719, 1328053710, 1328053713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.91627264022827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:26:02.327901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/24/image_11012025_04_24_02_489724_0001.jpg', '/home/pi/Desktop/images/11012025/04/24/image_11012025_04_24_02_489724_0002.jpg', '/home/pi/Desktop/images/11012025/04/24/image_11012025_04_24_02_489724_0003.jpg', '/home/pi/Desktop/images/11012025/04/25/image_11012025_04_25_03_060114_0000.jpg', '/home/pi/Desktop/images/11012025/04/25/image_11012025_04_25_03_060114_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/24/image_11012025_04_24_02_489724_0001.jpg
/home/pi/Desktop/images/11012025/04/24/image_11012025_04_24_02_489724_0002.jpg
/home/pi/Desktop/images/11012025/04/24/image_11012025_04_24_02_489724_0003.jpg
/home/pi/Desktop/images/11012025/04/25/image_11012025_04_25_03_060114_0000.jpg
/home/pi/Desktop/images/11012025/04/25/image_11012025_04_25_03_060114_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.870325803756714 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:26:21.878738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/24/image_11012025_04_24_02_489724_0001.jpg', '/home/pi/Desktop/images/11012025/04/24/image_11012025_04_24_02_489724_0002.jpg', '/home/pi/Desktop/images/11012025/04/24/image_11012025_04_24_02_489724_0003.jpg', '/home/pi/Desktop/images/11012025/04/25/image_11012025_04_25_03_060114_0000.jpg', '/home/pi/Desktop/images/11012025/04/25/image_11012025_04_25_03_060114_0001.jpg', '/home/pi/Desktop/images/11012025/04/25/image_11012025_04_25_03_060114_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/24/image_11012025_04_24_02_489724_0001.jpg
/home/pi/Desktop/images/11012025/04/24/image_11012025_04_24_02_489724_0002.jpg
/home/pi/Desktop/images/11012025/04/24/image_11012025_04_24_02_489724_0003.jpg
/home/pi/Desktop/images/11012025/04/25/image_11012025_04_25_03_060114_0000.jpg
/home/pi/Desktop/images/11012025/04/25/image_11012025_04_25_03_060114_0001.jpg
/home/pi/Desktop/images/11012025/04/25/image_11012025_04_25_03_060114_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328053759","1328053738","1328053732","1328053735","1328053755","1328053757"],"photo_ids_order":["1328053732","1328053735","1328053738","1328053755","1328053757","1328053759"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/436ebb6d6f023af9277636a667066324.jpg","text":"TemporaryFile(/tmp/multipartBody7538716180335741929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566056466,"filename":"image_11012025_04_25_03_060114_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/24461b16b4c288f11cca7a94964576a0.jpg","text":"TemporaryFile(/tmp/multipartBody8133845290212196624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566056466,"filename":"image_11012025_04_24_02_489724_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b0d31d0875949019d98e42f8179a8d3a.jpg","text":"TemporaryFile(/tmp/multipartBody3373068249972414997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566056466,"filename":"image_11012025_04_24_02_489724_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e609a2bb5fe143912b76a60f66493924.jpg","text":"TemporaryFile(/tmp/multipartBody1694961249197066061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566056466,"filename":"image_11012025_04_24_02_489724_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0cd2dfd0b80d2dcc84cb9b0e069f8ca1.jpg","text":"TemporaryFile(/tmp/multipartBody9162000395315967479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566056466,"filename":"image_11012025_04_25_03_060114_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cfeb8b5bfecde243c7edbcaeb09d2f8d.jpg","text":"TemporaryFile(/tmp/multipartBody6696499448992674749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566056466,"filename":"image_11012025_04_25_03_060114_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328053738","file1":"1328053735","file0":"1328053732","file4":"1328053757","file5":"1328053759","file3":"1328053755"},"map_files_photo_id_array":[{"photo_id":"1328053759","filename":"file5"},{"photo_id":"1328053738","filename":"file2"},{"photo_id":"1328053757","filename":"file4"},{"photo_id":"1328053735","filename":"file1"},{"photo_id":"1328053732","filename":"file0"},{"photo_id":"1328053755","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328053759":["hashtag1","hashtag2"]},{"1328053738":["hashtag1","hashtag2"]},{"1328053732":["hashtag1","hashtag2"]},{"1328053735":["hashtag1","hashtag2"]},{"1328053755":["hashtag1","hashtag2"]},{"1328053757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328053759, 1328053738, 1328053732, 1328053735, 1328053755, 1328053757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.016637086868286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:27:22.355006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/26/image_11012025_04_26_02_586218_0000.jpg', '/home/pi/Desktop/images/11012025/04/26/image_11012025_04_26_02_586218_0001.jpg', '/home/pi/Desktop/images/11012025/04/26/image_11012025_04_26_02_586218_0002.jpg', '/home/pi/Desktop/images/11012025/04/26/image_11012025_04_26_02_586218_0003.jpg', '/home/pi/Desktop/images/11012025/04/27/image_11012025_04_27_02_248717_0000.jpg', '/home/pi/Desktop/images/11012025/04/27/image_11012025_04_27_02_248717_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/26/image_11012025_04_26_02_586218_0000.jpg
/home/pi/Desktop/images/11012025/04/26/image_11012025_04_26_02_586218_0001.jpg
/home/pi/Desktop/images/11012025/04/26/image_11012025_04_26_02_586218_0002.jpg
/home/pi/Desktop/images/11012025/04/26/image_11012025_04_26_02_586218_0003.jpg
/home/pi/Desktop/images/11012025/04/27/image_11012025_04_27_02_248717_0000.jpg
/home/pi/Desktop/images/11012025/04/27/image_11012025_04_27_02_248717_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328053849","1328053845","1328053815","1328053812","1328053806","1328053847"],"photo_ids_order":["1328053806","1328053812","1328053815","1328053845","1328053847","1328053849"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4ccee1f49c712da536f32ad1db6ca6a5.jpg","text":"TemporaryFile(/tmp/multipartBody6690431072386599186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566116615,"filename":"image_11012025_04_27_02_248717_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1234d81bfd9bfba1fbc137f54aa15a10.jpg","text":"TemporaryFile(/tmp/multipartBody1386496997925875308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566116615,"filename":"image_11012025_04_26_02_586218_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fbf71dae2d866e11725765dfd0ecf65a.jpg","text":"TemporaryFile(/tmp/multipartBody2453507400927006035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566116615,"filename":"image_11012025_04_26_02_586218_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/30ebe571fd6b8abef56fe4bdcdc81ffe.jpg","text":"TemporaryFile(/tmp/multipartBody4874772469281876091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566116615,"filename":"image_11012025_04_26_02_586218_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7e856c38d30b68c55bb4c6c093d7cd66.jpg","text":"TemporaryFile(/tmp/multipartBody9185269573274640659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566116615,"filename":"image_11012025_04_26_02_586218_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/637f515163b9c087468a5805f97003c6.jpg","text":"TemporaryFile(/tmp/multipartBody2686312322479316984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566116615,"filename":"image_11012025_04_27_02_248717_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328053815","file1":"1328053812","file0":"1328053806","file4":"1328053847","file5":"1328053849","file3":"1328053845"},"map_files_photo_id_array":[{"photo_id":"1328053849","filename":"file5"},{"photo_id":"1328053815","filename":"file2"},{"photo_id":"1328053847","filename":"file4"},{"photo_id":"1328053812","filename":"file1"},{"photo_id":"1328053806","filename":"file0"},{"photo_id":"1328053845","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328053849":["hashtag1","hashtag2"]},{"1328053845":["hashtag1","hashtag2"]},{"1328053815":["hashtag1","hashtag2"]},{"1328053812":["hashtag1","hashtag2"]},{"1328053806":["hashtag1","hashtag2"]},{"1328053847":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328053849, 1328053845, 1328053815, 1328053812, 1328053806, 1328053847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.01980209350586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:28:21.943519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/27/image_11012025_04_27_02_248717_0002.jpg', '/home/pi/Desktop/images/11012025/04/27/image_11012025_04_27_02_248717_0003.jpg', '/home/pi/Desktop/images/11012025/04/28/image_11012025_04_28_02_758302_0001.jpg', '/home/pi/Desktop/images/11012025/04/28/image_11012025_04_28_02_758302_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/27/image_11012025_04_27_02_248717_0002.jpg
/home/pi/Desktop/images/11012025/04/27/image_11012025_04_27_02_248717_0003.jpg
/home/pi/Desktop/images/11012025/04/28/image_11012025_04_28_02_758302_0001.jpg
/home/pi/Desktop/images/11012025/04/28/image_11012025_04_28_02_758302_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328053864","1328053852","1328053860","1328053856"],"photo_ids_order":["1328053852","1328053856","1328053860","1328053864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/01916aa2caa11c5c23a0b669e6e1a91f.jpg","text":"TemporaryFile(/tmp/multipartBody7687354536308112433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566171693,"filename":"image_11012025_04_28_02_758302_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0d1f68969db387c988a334f58a8f8bf2.jpg","text":"TemporaryFile(/tmp/multipartBody2502106974121031810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566171693,"filename":"image_11012025_04_27_02_248717_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bc024e1f9fad9563eed27b5b36a481a1.jpg","text":"TemporaryFile(/tmp/multipartBody5251292155632845535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566171693,"filename":"image_11012025_04_28_02_758302_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d1b2d7aa3a1d42b8fe1e19edbbb9a115.jpg","text":"TemporaryFile(/tmp/multipartBody8759832004772146288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566171693,"filename":"image_11012025_04_27_02_248717_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328053860","file1":"1328053856","file0":"1328053852","file3":"1328053864"},"map_files_photo_id_array":[{"photo_id":"1328053860","filename":"file2"},{"photo_id":"1328053856","filename":"file1"},{"photo_id":"1328053852","filename":"file0"},{"photo_id":"1328053864","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328053864":["hashtag1","hashtag2"]},{"1328053852":["hashtag1","hashtag2"]},{"1328053860":["hashtag1","hashtag2"]},{"1328053856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328053864, 1328053852, 1328053860, 1328053856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.259509325027466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:29:03.138766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/56/image_09012025_22_56_02_327159_0002.jpg', '/home/pi/Desktop/images/09012025/22/56/image_09012025_22_56_02_327159_0003.jpg', '/home/pi/Desktop/images/09012025/22/57/image_09012025_22_57_02_486039_0000.jpg', '/home/pi/Desktop/images/09012025/22/57/image_09012025_22_57_02_486039_0002.jpg', '/home/pi/Desktop/images/09012025/22/57/image_09012025_22_57_02_486039_0003.jpg', '/home/pi/Desktop/images/09012025/22/58/image_09012025_22_58_02_714838_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/56/image_09012025_22_56_02_327159_0002.jpg
/home/pi/Desktop/images/09012025/22/56/image_09012025_22_56_02_327159_0003.jpg
/home/pi/Desktop/images/09012025/22/57/image_09012025_22_57_02_486039_0000.jpg
/home/pi/Desktop/images/09012025/22/57/image_09012025_22_57_02_486039_0002.jpg
/home/pi/Desktop/images/09012025/22/57/image_09012025_22_57_02_486039_0003.jpg
/home/pi/Desktop/images/09012025/22/58/image_09012025_22_58_02_714838_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328053888","1328053881","1328053878","1328053892","1328053883","1328053886"],"photo_ids_order":["1328053878","1328053881","1328053883","1328053886","1328053888","1328053892"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ae36eb29a04a3aeac54b6d99b2984035.jpg","text":"TemporaryFile(/tmp/multipartBody5757798229423404529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566219239,"filename":"image_09012025_22_57_02_486039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bc01b93b541c7b4e4ca4a936a7b6768d.jpg","text":"TemporaryFile(/tmp/multipartBody5764476035729044557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566219239,"filename":"image_09012025_22_56_02_327159_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/135f50e513e47a7b9cc50d033f3fe539.jpg","text":"TemporaryFile(/tmp/multipartBody5760982292625323806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566219239,"filename":"image_09012025_22_56_02_327159_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a47aaf93bbba592c778463890eb4db07.jpg","text":"TemporaryFile(/tmp/multipartBody3992284729882897619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566219239,"filename":"image_09012025_22_58_02_714838_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4a47a01fa014af14eaa66ec12d959b90.jpg","text":"TemporaryFile(/tmp/multipartBody5607754893365334390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566219239,"filename":"image_09012025_22_57_02_486039_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0957fa490d9fa9d5b4398224a5155450.jpg","text":"TemporaryFile(/tmp/multipartBody7774940933998254326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566219239,"filename":"image_09012025_22_57_02_486039_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328053883","file1":"1328053881","file0":"1328053878","file4":"1328053888","file5":"1328053892","file3":"1328053886"},"map_files_photo_id_array":[{"photo_id":"1328053892","filename":"file5"},{"photo_id":"1328053883","filename":"file2"},{"photo_id":"1328053888","filename":"file4"},{"photo_id":"1328053881","filename":"file1"},{"photo_id":"1328053878","filename":"file0"},{"photo_id":"1328053886","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328053888":["hashtag1","hashtag2"]},{"1328053881":["hashtag1","hashtag2"]},{"1328053878":["hashtag1","hashtag2"]},{"1328053892":["hashtag1","hashtag2"]},{"1328053883":["hashtag1","hashtag2"]},{"1328053886":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328053888, 1328053881, 1328053878, 1328053892, 1328053883, 1328053886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.435590982437134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:30:02.532406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/28/image_11012025_04_28_02_758302_0003.jpg', '/home/pi/Desktop/images/11012025/04/29/image_11012025_04_29_02_305696_0000.jpg', '/home/pi/Desktop/images/11012025/04/29/image_11012025_04_29_02_305696_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/28/image_11012025_04_28_02_758302_0003.jpg
/home/pi/Desktop/images/11012025/04/29/image_11012025_04_29_02_305696_0000.jpg
/home/pi/Desktop/images/11012025/04/29/image_11012025_04_29_02_305696_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.0580620765686035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:30:22.009117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/28/image_11012025_04_28_02_758302_0003.jpg', '/home/pi/Desktop/images/11012025/04/29/image_11012025_04_29_02_305696_0000.jpg', '/home/pi/Desktop/images/11012025/04/29/image_11012025_04_29_02_305696_0001.jpg', '/home/pi/Desktop/images/11012025/04/29/image_11012025_04_29_02_305696_0003.jpg', '/home/pi/Desktop/images/11012025/04/30/image_11012025_04_30_02_776648_0000.jpg', '/home/pi/Desktop/images/11012025/04/30/image_11012025_04_30_02_776648_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/28/image_11012025_04_28_02_758302_0003.jpg
/home/pi/Desktop/images/11012025/04/29/image_11012025_04_29_02_305696_0000.jpg
/home/pi/Desktop/images/11012025/04/29/image_11012025_04_29_02_305696_0001.jpg
/home/pi/Desktop/images/11012025/04/29/image_11012025_04_29_02_305696_0003.jpg
/home/pi/Desktop/images/11012025/04/30/image_11012025_04_30_02_776648_0000.jpg
/home/pi/Desktop/images/11012025/04/30/image_11012025_04_30_02_776648_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328053903","1328053935","1328053914","1328053917","1328053905","1328053919"],"photo_ids_order":["1328053903","1328053905","1328053914","1328053917","1328053919","1328053935"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0c30f2192cda09c6205b6c43ee2f6d40.jpg","text":"TemporaryFile(/tmp/multipartBody8233016047007123151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566296286,"filename":"image_11012025_04_28_02_758302_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2bc9c4417e4c3014985155adb889cd60.jpg","text":"TemporaryFile(/tmp/multipartBody5137325842069625792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566296286,"filename":"image_11012025_04_30_02_776648_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6367f4cba30eb2ca44f580fad43d3448.jpg","text":"TemporaryFile(/tmp/multipartBody644636369287601751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566296286,"filename":"image_11012025_04_29_02_305696_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/957c81eda0437dc63d3b299d9b05d9cc.jpg","text":"TemporaryFile(/tmp/multipartBody3281991163394436948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566296286,"filename":"image_11012025_04_29_02_305696_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6229152db3914934d1072dc1f83935b5.jpg","text":"TemporaryFile(/tmp/multipartBody2837475380303567027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566296286,"filename":"image_11012025_04_29_02_305696_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a75e397511f6fd2e719b44d00a75ace9.jpg","text":"TemporaryFile(/tmp/multipartBody2525684275761685568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566296286,"filename":"image_11012025_04_30_02_776648_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328053914","file1":"1328053905","file0":"1328053903","file4":"1328053919","file5":"1328053935","file3":"1328053917"},"map_files_photo_id_array":[{"photo_id":"1328053935","filename":"file5"},{"photo_id":"1328053914","filename":"file2"},{"photo_id":"1328053919","filename":"file4"},{"photo_id":"1328053905","filename":"file1"},{"photo_id":"1328053903","filename":"file0"},{"photo_id":"1328053917","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328053903":["hashtag1","hashtag2"]},{"1328053935":["hashtag1","hashtag2"]},{"1328053914":["hashtag1","hashtag2"]},{"1328053917":["hashtag1","hashtag2"]},{"1328053905":["hashtag1","hashtag2"]},{"1328053919":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328053903, 1328053935, 1328053914, 1328053917, 1328053905, 1328053919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.29194617271423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:31:22.614045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/30/image_11012025_04_30_02_776648_0002.jpg', '/home/pi/Desktop/images/11012025/04/30/image_11012025_04_30_02_776648_0003.jpg', '/home/pi/Desktop/images/11012025/04/31/image_11012025_04_31_02_376780_0000.jpg', '/home/pi/Desktop/images/11012025/04/31/image_11012025_04_31_02_376780_0001.jpg', '/home/pi/Desktop/images/11012025/04/31/image_11012025_04_31_02_376780_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/30/image_11012025_04_30_02_776648_0002.jpg
/home/pi/Desktop/images/11012025/04/30/image_11012025_04_30_02_776648_0003.jpg
/home/pi/Desktop/images/11012025/04/31/image_11012025_04_31_02_376780_0000.jpg
/home/pi/Desktop/images/11012025/04/31/image_11012025_04_31_02_376780_0001.jpg
/home/pi/Desktop/images/11012025/04/31/image_11012025_04_31_02_376780_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328054353","1328054268","1328054351","1328054225","1328054405"],"photo_ids_order":["1328054225","1328054268","1328054351","1328054353","1328054405"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ba52da1c1f97c9f74d502efbdde862d2.jpg","text":"TemporaryFile(/tmp/multipartBody8012978591664547045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566354666,"filename":"image_11012025_04_31_02_376780_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/987f7655a49131ced2f075e19496cdc0.jpg","text":"TemporaryFile(/tmp/multipartBody2306657792993749384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566354666,"filename":"image_11012025_04_30_02_776648_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4e622b925d1ed98065b241e53b54fb62.jpg","text":"TemporaryFile(/tmp/multipartBody6054546531450738096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566354666,"filename":"image_11012025_04_31_02_376780_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d9e7e64617a68e1340f14c29e1b7dea7.jpg","text":"TemporaryFile(/tmp/multipartBody3842665070038066949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566354666,"filename":"image_11012025_04_30_02_776648_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/13e65e44cf298944ccd4f84ef43a0040.jpg","text":"TemporaryFile(/tmp/multipartBody1213496945598048094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566354666,"filename":"image_11012025_04_31_02_376780_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328054351","file1":"1328054268","file0":"1328054225","file4":"1328054405","file3":"1328054353"},"map_files_photo_id_array":[{"photo_id":"1328054351","filename":"file2"},{"photo_id":"1328054405","filename":"file4"},{"photo_id":"1328054268","filename":"file1"},{"photo_id":"1328054225","filename":"file0"},{"photo_id":"1328054353","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328054353":["hashtag1","hashtag2"]},{"1328054268":["hashtag1","hashtag2"]},{"1328054351":["hashtag1","hashtag2"]},{"1328054225":["hashtag1","hashtag2"]},{"1328054405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328054353, 1328054268, 1328054351, 1328054225, 1328054405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 52.11299729347229 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:32:22.017926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/31/image_11012025_04_31_02_376780_0003.jpg', '/home/pi/Desktop/images/11012025/04/32/image_11012025_04_32_02_880531_0000.jpg', '/home/pi/Desktop/images/11012025/04/32/image_11012025_04_32_02_880531_0001.jpg', '/home/pi/Desktop/images/11012025/04/32/image_11012025_04_32_02_880531_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/31/image_11012025_04_31_02_376780_0003.jpg
/home/pi/Desktop/images/11012025/04/32/image_11012025_04_32_02_880531_0000.jpg
/home/pi/Desktop/images/11012025/04/32/image_11012025_04_32_02_880531_0001.jpg
/home/pi/Desktop/images/11012025/04/32/image_11012025_04_32_02_880531_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328054524","1328054529","1328054520","1328054517"],"photo_ids_order":["1328054517","1328054520","1328054524","1328054529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2e3fa359f621e4329372b25b664dbd74.jpg","text":"TemporaryFile(/tmp/multipartBody3088724249524468296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566411866,"filename":"image_11012025_04_32_02_880531_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/60a3c3cf1e384d967cdf660b7251720f.jpg","text":"TemporaryFile(/tmp/multipartBody6224372495692544560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566411866,"filename":"image_11012025_04_32_02_880531_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8946aed366178a3091b8ac923aa4f3b7.jpg","text":"TemporaryFile(/tmp/multipartBody4241038848954602052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566411866,"filename":"image_11012025_04_32_02_880531_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/70c8ef1829177b103775840927220542.jpg","text":"TemporaryFile(/tmp/multipartBody486268423330372927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566411866,"filename":"image_11012025_04_31_02_376780_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328054524","file1":"1328054520","file0":"1328054517","file3":"1328054529"},"map_files_photo_id_array":[{"photo_id":"1328054524","filename":"file2"},{"photo_id":"1328054520","filename":"file1"},{"photo_id":"1328054517","filename":"file0"},{"photo_id":"1328054529","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328054524":["hashtag1","hashtag2"]},{"1328054529":["hashtag1","hashtag2"]},{"1328054520":["hashtag1","hashtag2"]},{"1328054517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328054524, 1328054529, 1328054520, 1328054517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.11726427078247 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:33:03.152295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/58/image_09012025_22_58_02_714838_0001.jpg', '/home/pi/Desktop/images/09012025/22/58/image_09012025_22_58_02_714838_0002.jpg', '/home/pi/Desktop/images/09012025/22/58/image_09012025_22_58_02_714838_0003.jpg', '/home/pi/Desktop/images/09012025/22/59/image_09012025_22_59_02_839644_0000.jpg', '/home/pi/Desktop/images/09012025/22/59/image_09012025_22_59_02_839644_0001.jpg', '/home/pi/Desktop/images/09012025/22/59/image_09012025_22_59_02_839644_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/58/image_09012025_22_58_02_714838_0001.jpg
/home/pi/Desktop/images/09012025/22/58/image_09012025_22_58_02_714838_0002.jpg
/home/pi/Desktop/images/09012025/22/58/image_09012025_22_58_02_714838_0003.jpg
/home/pi/Desktop/images/09012025/22/59/image_09012025_22_59_02_839644_0000.jpg
/home/pi/Desktop/images/09012025/22/59/image_09012025_22_59_02_839644_0001.jpg
/home/pi/Desktop/images/09012025/22/59/image_09012025_22_59_02_839644_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328054545","1328054541","1328054558","1328054543","1328054552","1328054548"],"photo_ids_order":["1328054541","1328054543","1328054545","1328054548","1328054552","1328054558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b8b0431368e731113419a25f47b4ccef.jpg","text":"TemporaryFile(/tmp/multipartBody5367562565962329258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566459329,"filename":"image_09012025_22_58_02_714838_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/078d6b67f27de5602cda8d18643361aa.jpg","text":"TemporaryFile(/tmp/multipartBody5821629555213178585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566459329,"filename":"image_09012025_22_58_02_714838_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8ccd80a86d116e872f6c6f4c498b7964.jpg","text":"TemporaryFile(/tmp/multipartBody8006903710825521720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566459329,"filename":"image_09012025_22_59_02_839644_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/42d781aeec7e14993e7a6aaa4db781ea.jpg","text":"TemporaryFile(/tmp/multipartBody845800928395958385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566459329,"filename":"image_09012025_22_58_02_714838_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f726ad4828b051dd34acd4167dec2e77.jpg","text":"TemporaryFile(/tmp/multipartBody1647080846982855233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566459329,"filename":"image_09012025_22_59_02_839644_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dacb5b5bf30e312af3dc49c5be198086.jpg","text":"TemporaryFile(/tmp/multipartBody7477146234528405567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566459329,"filename":"image_09012025_22_59_02_839644_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328054545","file1":"1328054543","file0":"1328054541","file4":"1328054552","file5":"1328054558","file3":"1328054548"},"map_files_photo_id_array":[{"photo_id":"1328054558","filename":"file5"},{"photo_id":"1328054545","filename":"file2"},{"photo_id":"1328054552","filename":"file4"},{"photo_id":"1328054543","filename":"file1"},{"photo_id":"1328054541","filename":"file0"},{"photo_id":"1328054548","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328054545":["hashtag1","hashtag2"]},{"1328054541":["hashtag1","hashtag2"]},{"1328054558":["hashtag1","hashtag2"]},{"1328054543":["hashtag1","hashtag2"]},{"1328054552":["hashtag1","hashtag2"]},{"1328054548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328054545, 1328054541, 1328054558, 1328054543, 1328054552, 1328054548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.8395631313324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:34:02.825422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/32/image_11012025_04_32_02_880531_0003.jpg', '/home/pi/Desktop/images/11012025/04/33/image_11012025_04_33_02_436080_0000.jpg', '/home/pi/Desktop/images/11012025/04/33/image_11012025_04_33_02_436080_0001.jpg', '/home/pi/Desktop/images/11012025/04/33/image_11012025_04_33_02_436080_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/32/image_11012025_04_32_02_880531_0003.jpg
/home/pi/Desktop/images/11012025/04/33/image_11012025_04_33_02_436080_0000.jpg
/home/pi/Desktop/images/11012025/04/33/image_11012025_04_33_02_436080_0001.jpg
/home/pi/Desktop/images/11012025/04/33/image_11012025_04_33_02_436080_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328054595","1328054591","1328054590","1328054593"],"photo_ids_order":["1328054590","1328054591","1328054593","1328054595"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ca79657643d4c97108b02ff79711c63f.jpg","text":"TemporaryFile(/tmp/multipartBody2230744782507896994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566512694,"filename":"image_11012025_04_33_02_436080_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/16564c9713b4fa8c716f0eb0a13fc38d.jpg","text":"TemporaryFile(/tmp/multipartBody345693212360083504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566512694,"filename":"image_11012025_04_33_02_436080_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ab2798362a3792b228e065275206244e.jpg","text":"TemporaryFile(/tmp/multipartBody9175622835353383248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566512694,"filename":"image_11012025_04_32_02_880531_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/29b0e66ab4d1caf4b1ece241259b8218.jpg","text":"TemporaryFile(/tmp/multipartBody160477298899935367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566512694,"filename":"image_11012025_04_33_02_436080_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328054593","file1":"1328054591","file0":"1328054590","file3":"1328054595"},"map_files_photo_id_array":[{"photo_id":"1328054593","filename":"file2"},{"photo_id":"1328054591","filename":"file1"},{"photo_id":"1328054590","filename":"file0"},{"photo_id":"1328054595","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328054595":["hashtag1","hashtag2"]},{"1328054591":["hashtag1","hashtag2"]},{"1328054590":["hashtag1","hashtag2"]},{"1328054593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328054595, 1328054591, 1328054590, 1328054593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.12649726867676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:35:02.431737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/33/image_11012025_04_33_02_436080_0003.jpg', '/home/pi/Desktop/images/11012025/04/34/image_11012025_04_34_02_996422_0000.jpg', '/home/pi/Desktop/images/11012025/04/34/image_11012025_04_34_02_996422_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/33/image_11012025_04_33_02_436080_0003.jpg
/home/pi/Desktop/images/11012025/04/34/image_11012025_04_34_02_996422_0000.jpg
/home/pi/Desktop/images/11012025/04/34/image_11012025_04_34_02_996422_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328054614","1328054610","1328054612"],"photo_ids_order":["1328054610","1328054612","1328054614"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2d03e95b101a938a0508b24875312335.jpg","text":"TemporaryFile(/tmp/multipartBody62092182157406429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566569956,"filename":"image_11012025_04_34_02_996422_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9f0834e58c42da64accf7ecdc36a7300.jpg","text":"TemporaryFile(/tmp/multipartBody1596246574797607623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566569956,"filename":"image_11012025_04_33_02_436080_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6d4f9f1741e8ea89f3feb9f4dd0f7b25.jpg","text":"TemporaryFile(/tmp/multipartBody4135211887012981823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566569956,"filename":"image_11012025_04_34_02_996422_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328054614","file1":"1328054612","file0":"1328054610"},"map_files_photo_id_array":[{"photo_id":"1328054614","filename":"file2"},{"photo_id":"1328054612","filename":"file1"},{"photo_id":"1328054610","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328054614":["hashtag1","hashtag2"]},{"1328054610":["hashtag1","hashtag2"]},{"1328054612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328054614, 1328054610, 1328054612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.17398428916931 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:36:02.793975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/34/image_11012025_04_34_02_996422_0002.jpg', '/home/pi/Desktop/images/11012025/04/35/image_11012025_04_35_02_671255_0000.jpg', '/home/pi/Desktop/images/11012025/04/35/image_11012025_04_35_02_671255_0001.jpg', '/home/pi/Desktop/images/11012025/04/35/image_11012025_04_35_02_671255_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/34/image_11012025_04_34_02_996422_0002.jpg
/home/pi/Desktop/images/11012025/04/35/image_11012025_04_35_02_671255_0000.jpg
/home/pi/Desktop/images/11012025/04/35/image_11012025_04_35_02_671255_0001.jpg
/home/pi/Desktop/images/11012025/04/35/image_11012025_04_35_02_671255_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.301471471786499 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:36:22.375219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/34/image_11012025_04_34_02_996422_0002.jpg', '/home/pi/Desktop/images/11012025/04/35/image_11012025_04_35_02_671255_0000.jpg', '/home/pi/Desktop/images/11012025/04/35/image_11012025_04_35_02_671255_0001.jpg', '/home/pi/Desktop/images/11012025/04/35/image_11012025_04_35_02_671255_0002.jpg', '/home/pi/Desktop/images/11012025/04/35/image_11012025_04_35_02_671255_0003.jpg', '/home/pi/Desktop/images/11012025/04/36/image_11012025_04_36_02_138514_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/34/image_11012025_04_34_02_996422_0002.jpg
/home/pi/Desktop/images/11012025/04/35/image_11012025_04_35_02_671255_0000.jpg
/home/pi/Desktop/images/11012025/04/35/image_11012025_04_35_02_671255_0001.jpg
/home/pi/Desktop/images/11012025/04/35/image_11012025_04_35_02_671255_0002.jpg
/home/pi/Desktop/images/11012025/04/35/image_11012025_04_35_02_671255_0003.jpg
/home/pi/Desktop/images/11012025/04/36/image_11012025_04_36_02_138514_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328054641","1328054638","1328054649","1328054634","1328054651","1328054647"],"photo_ids_order":["1328054634","1328054638","1328054641","1328054647","1328054649","1328054651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1740321cd4da301cdcb88f501918bf7d.jpg","text":"TemporaryFile(/tmp/multipartBody5538246476525347149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566656537,"filename":"image_11012025_04_35_02_671255_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/59fa4e3278f3b8a3d4d80b8d4915d39d.jpg","text":"TemporaryFile(/tmp/multipartBody7970528629868039252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566656537,"filename":"image_11012025_04_35_02_671255_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d3bc5bf87c8584ff7bb3e9125719c7c5.jpg","text":"TemporaryFile(/tmp/multipartBody6184504495199783098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566656537,"filename":"image_11012025_04_35_02_671255_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1c9f693d86bc147344322d4d0dbcf7be.jpg","text":"TemporaryFile(/tmp/multipartBody1803585234593065755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566656537,"filename":"image_11012025_04_34_02_996422_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3b7172a4d09616e246d82f4ccc57483b.jpg","text":"TemporaryFile(/tmp/multipartBody6166100972480129860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566656537,"filename":"image_11012025_04_36_02_138514_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/06a67507e78e8cdc8a56e7d6b076027f.jpg","text":"TemporaryFile(/tmp/multipartBody3322479411317383214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566656537,"filename":"image_11012025_04_35_02_671255_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328054641","file1":"1328054638","file0":"1328054634","file4":"1328054649","file5":"1328054651","file3":"1328054647"},"map_files_photo_id_array":[{"photo_id":"1328054651","filename":"file5"},{"photo_id":"1328054641","filename":"file2"},{"photo_id":"1328054649","filename":"file4"},{"photo_id":"1328054638","filename":"file1"},{"photo_id":"1328054634","filename":"file0"},{"photo_id":"1328054647","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328054641":["hashtag1","hashtag2"]},{"1328054638":["hashtag1","hashtag2"]},{"1328054649":["hashtag1","hashtag2"]},{"1328054634":["hashtag1","hashtag2"]},{"1328054651":["hashtag1","hashtag2"]},{"1328054647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328054641, 1328054638, 1328054649, 1328054634, 1328054651, 1328054647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.293317556381226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:37:21.845360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/36/image_11012025_04_36_02_138514_0001.jpg', '/home/pi/Desktop/images/11012025/04/36/image_11012025_04_36_02_138514_0002.jpg', '/home/pi/Desktop/images/11012025/04/36/image_11012025_04_36_02_138514_0003.jpg', '/home/pi/Desktop/images/11012025/04/37/image_11012025_04_37_02_748891_0001.jpg', '/home/pi/Desktop/images/11012025/04/37/image_11012025_04_37_02_748891_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/36/image_11012025_04_36_02_138514_0001.jpg
/home/pi/Desktop/images/11012025/04/36/image_11012025_04_36_02_138514_0002.jpg
/home/pi/Desktop/images/11012025/04/36/image_11012025_04_36_02_138514_0003.jpg
/home/pi/Desktop/images/11012025/04/37/image_11012025_04_37_02_748891_0001.jpg
/home/pi/Desktop/images/11012025/04/37/image_11012025_04_37_02_748891_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328054693","1328054687","1328054681","1328054690","1328054684"],"photo_ids_order":["1328054681","1328054684","1328054687","1328054690","1328054693"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/625f41ff004de35ff9bffa3dfbbd4eda.jpg","text":"TemporaryFile(/tmp/multipartBody8456512854521818439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566713846,"filename":"image_11012025_04_37_02_748891_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/30030cff94423b7879bbaf5db20f92a1.jpg","text":"TemporaryFile(/tmp/multipartBody3403629386371128257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566713846,"filename":"image_11012025_04_36_02_138514_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/08ee5a4e1f119d259428990a8dd745dc.jpg","text":"TemporaryFile(/tmp/multipartBody105748695221886995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566713846,"filename":"image_11012025_04_36_02_138514_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0216e56a0e05b809d939b8558ad73a94.jpg","text":"TemporaryFile(/tmp/multipartBody2485997754809788718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566713846,"filename":"image_11012025_04_37_02_748891_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/29ea0522be7855b490735271199338ab.jpg","text":"TemporaryFile(/tmp/multipartBody16630871150294675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566713846,"filename":"image_11012025_04_36_02_138514_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328054687","file1":"1328054684","file0":"1328054681","file4":"1328054693","file3":"1328054690"},"map_files_photo_id_array":[{"photo_id":"1328054687","filename":"file2"},{"photo_id":"1328054693","filename":"file4"},{"photo_id":"1328054684","filename":"file1"},{"photo_id":"1328054681","filename":"file0"},{"photo_id":"1328054690","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328054693":["hashtag1","hashtag2"]},{"1328054687":["hashtag1","hashtag2"]},{"1328054681":["hashtag1","hashtag2"]},{"1328054690":["hashtag1","hashtag2"]},{"1328054684":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328054693, 1328054687, 1328054681, 1328054690, 1328054684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.23525619506836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:38:22.382280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/37/image_11012025_04_37_02_748891_0003.jpg', '/home/pi/Desktop/images/11012025/04/38/image_11012025_04_38_02_248830_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/37/image_11012025_04_37_02_748891_0003.jpg
/home/pi/Desktop/images/11012025/04/38/image_11012025_04_38_02_248830_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328054713","1328054711"],"photo_ids_order":["1328054711","1328054713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ecd5d7a20a7377714703f39aab4ca71c.jpg","text":"TemporaryFile(/tmp/multipartBody4621677987819263567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566767540,"filename":"image_11012025_04_38_02_248830_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/277ad95ee6afef88fcb8b8fd84a8fada.jpg","text":"TemporaryFile(/tmp/multipartBody8596307335183261297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566767540,"filename":"image_11012025_04_37_02_748891_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328054713","file0":"1328054711"},"map_files_photo_id_array":[{"photo_id":"1328054713","filename":"file1"},{"photo_id":"1328054711","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328054713":["hashtag1","hashtag2"]},{"1328054711":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328054713, 1328054711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.22653365135193 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:39:02.592958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/22/59/image_09012025_22_59_02_839644_0003.jpg', '/home/pi/Desktop/images/09012025/23/00/image_09012025_23_00_03_028626_0000.jpg', '/home/pi/Desktop/images/09012025/23/00/image_09012025_23_00_03_028626_0001.jpg', '/home/pi/Desktop/images/09012025/23/00/image_09012025_23_00_03_028626_0002.jpg', '/home/pi/Desktop/images/09012025/23/00/image_09012025_23_00_03_028626_0003.jpg', '/home/pi/Desktop/images/09012025/23/01/image_09012025_23_01_02_217171_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/22/59/image_09012025_22_59_02_839644_0003.jpg
/home/pi/Desktop/images/09012025/23/00/image_09012025_23_00_03_028626_0000.jpg
/home/pi/Desktop/images/09012025/23/00/image_09012025_23_00_03_028626_0001.jpg
/home/pi/Desktop/images/09012025/23/00/image_09012025_23_00_03_028626_0002.jpg
/home/pi/Desktop/images/09012025/23/00/image_09012025_23_00_03_028626_0003.jpg
/home/pi/Desktop/images/09012025/23/01/image_09012025_23_01_02_217171_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328054848","1328054839","1328054841","1328054837","1328054851","1328054845"],"photo_ids_order":["1328054837","1328054839","1328054841","1328054845","1328054848","1328054851"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f8ff32652a04d4b2fc9b0d3c88782951.jpg","text":"TemporaryFile(/tmp/multipartBody8074224745019849343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566819109,"filename":"image_09012025_23_00_03_028626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fafb79804b29482d4f22ff92230ac699.jpg","text":"TemporaryFile(/tmp/multipartBody437185055486620811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566819109,"filename":"image_09012025_23_00_03_028626_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e7ea03b907263e68270a47a2f956d73c.jpg","text":"TemporaryFile(/tmp/multipartBody747359918053421422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566819109,"filename":"image_09012025_23_00_03_028626_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6b72863c678a7aed38a7f0cb170642ef.jpg","text":"TemporaryFile(/tmp/multipartBody3124912572107912662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566819109,"filename":"image_09012025_22_59_02_839644_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/57aa04eb5d4e5ee9aafb10287c53074a.jpg","text":"TemporaryFile(/tmp/multipartBody2310706743780642191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566819109,"filename":"image_09012025_23_01_02_217171_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4fdb0d89f7d9e741245c5e26c1eb5ac4.jpg","text":"TemporaryFile(/tmp/multipartBody2703607110199516827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566819109,"filename":"image_09012025_23_00_03_028626_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328054841","file1":"1328054839","file0":"1328054837","file4":"1328054848","file5":"1328054851","file3":"1328054845"},"map_files_photo_id_array":[{"photo_id":"1328054851","filename":"file5"},{"photo_id":"1328054841","filename":"file2"},{"photo_id":"1328054848","filename":"file4"},{"photo_id":"1328054839","filename":"file1"},{"photo_id":"1328054837","filename":"file0"},{"photo_id":"1328054845","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328054848":["hashtag1","hashtag2"]},{"1328054839":["hashtag1","hashtag2"]},{"1328054841":["hashtag1","hashtag2"]},{"1328054837":["hashtag1","hashtag2"]},{"1328054851":["hashtag1","hashtag2"]},{"1328054845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328054848, 1328054839, 1328054841, 1328054837, 1328054851, 1328054845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.58971405029297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:40:02.722912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/38/image_11012025_04_38_02_248830_0001.jpg', '/home/pi/Desktop/images/11012025/04/39/image_11012025_04_39_02_793002_0000.jpg', '/home/pi/Desktop/images/11012025/04/39/image_11012025_04_39_02_793002_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/38/image_11012025_04_38_02_248830_0001.jpg
/home/pi/Desktop/images/11012025/04/39/image_11012025_04_39_02_793002_0000.jpg
/home/pi/Desktop/images/11012025/04/39/image_11012025_04_39_02_793002_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.0395872592926025 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:40:22.335378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/38/image_11012025_04_38_02_248830_0001.jpg', '/home/pi/Desktop/images/11012025/04/39/image_11012025_04_39_02_793002_0000.jpg', '/home/pi/Desktop/images/11012025/04/39/image_11012025_04_39_02_793002_0001.jpg', '/home/pi/Desktop/images/11012025/04/39/image_11012025_04_39_02_793002_0002.jpg', '/home/pi/Desktop/images/11012025/04/40/image_11012025_04_40_02_280275_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/38/image_11012025_04_38_02_248830_0001.jpg
/home/pi/Desktop/images/11012025/04/39/image_11012025_04_39_02_793002_0000.jpg
/home/pi/Desktop/images/11012025/04/39/image_11012025_04_39_02_793002_0001.jpg
/home/pi/Desktop/images/11012025/04/39/image_11012025_04_39_02_793002_0002.jpg
/home/pi/Desktop/images/11012025/04/40/image_11012025_04_40_02_280275_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328054902","1328054904","1328054896","1328054899","1328054893"],"photo_ids_order":["1328054893","1328054896","1328054899","1328054902","1328054904"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/65b800a27bca750f7fe25bc76a3d603b.jpg","text":"TemporaryFile(/tmp/multipartBody8804508671902250454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566894269,"filename":"image_11012025_04_39_02_793002_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/52bf17bcf6e7291d5344547542bb64be.jpg","text":"TemporaryFile(/tmp/multipartBody4481400157020262816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566894269,"filename":"image_11012025_04_40_02_280275_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bbe9526e7d999b88b5b41a60d4e4a480.jpg","text":"TemporaryFile(/tmp/multipartBody1032606980805552427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566894269,"filename":"image_11012025_04_39_02_793002_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/22486835ab9632bd346399d61ea3309e.jpg","text":"TemporaryFile(/tmp/multipartBody4146883583113317684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566894269,"filename":"image_11012025_04_39_02_793002_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f3a6f70b8637befb81c270e0585f465e.jpg","text":"TemporaryFile(/tmp/multipartBody7531968918131799416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566894269,"filename":"image_11012025_04_38_02_248830_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328054899","file1":"1328054896","file0":"1328054893","file4":"1328054904","file3":"1328054902"},"map_files_photo_id_array":[{"photo_id":"1328054899","filename":"file2"},{"photo_id":"1328054904","filename":"file4"},{"photo_id":"1328054896","filename":"file1"},{"photo_id":"1328054893","filename":"file0"},{"photo_id":"1328054902","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328054902":["hashtag1","hashtag2"]},{"1328054904":["hashtag1","hashtag2"]},{"1328054896":["hashtag1","hashtag2"]},{"1328054899":["hashtag1","hashtag2"]},{"1328054893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328054902, 1328054904, 1328054896, 1328054899, 1328054893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.47151470184326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:41:21.892333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/40/image_11012025_04_40_02_280275_0003.jpg', '/home/pi/Desktop/images/11012025/04/41/image_11012025_04_41_02_771114_0000.jpg', '/home/pi/Desktop/images/11012025/04/41/image_11012025_04_41_02_771114_0001.jpg', '/home/pi/Desktop/images/11012025/04/41/image_11012025_04_41_02_771114_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/40/image_11012025_04_40_02_280275_0003.jpg
/home/pi/Desktop/images/11012025/04/41/image_11012025_04_41_02_771114_0000.jpg
/home/pi/Desktop/images/11012025/04/41/image_11012025_04_41_02_771114_0001.jpg
/home/pi/Desktop/images/11012025/04/41/image_11012025_04_41_02_771114_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328054923","1328054911","1328054916","1328054909"],"photo_ids_order":["1328054909","1328054911","1328054916","1328054923"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dc535ee2d49116e0e5dddfcbbb9ccb10.jpg","text":"TemporaryFile(/tmp/multipartBody5916422507999757614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566951576,"filename":"image_11012025_04_41_02_771114_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4cbb76432ebd28f85ca3c6e978c142c4.jpg","text":"TemporaryFile(/tmp/multipartBody7074096786358282676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566951576,"filename":"image_11012025_04_41_02_771114_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0c1dc03fac0c61caa917377e573d415a.jpg","text":"TemporaryFile(/tmp/multipartBody823647196936300776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566951576,"filename":"image_11012025_04_41_02_771114_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/75326bca1a943bed66a19a8e2ac0f7f6.jpg","text":"TemporaryFile(/tmp/multipartBody1115396814105035487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736566951576,"filename":"image_11012025_04_40_02_280275_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328054916","file1":"1328054911","file0":"1328054909","file3":"1328054923"},"map_files_photo_id_array":[{"photo_id":"1328054916","filename":"file2"},{"photo_id":"1328054911","filename":"file1"},{"photo_id":"1328054909","filename":"file0"},{"photo_id":"1328054923","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328054923":["hashtag1","hashtag2"]},{"1328054911":["hashtag1","hashtag2"]},{"1328054916":["hashtag1","hashtag2"]},{"1328054909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328054923, 1328054911, 1328054916, 1328054909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.014676332473755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:42:22.491952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/41/image_11012025_04_41_02_771114_0003.jpg', '/home/pi/Desktop/images/11012025/04/42/image_11012025_04_42_02_319068_0000.jpg', '/home/pi/Desktop/images/11012025/04/42/image_11012025_04_42_02_319068_0001.jpg', '/home/pi/Desktop/images/11012025/04/42/image_11012025_04_42_02_319068_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/41/image_11012025_04_41_02_771114_0003.jpg
/home/pi/Desktop/images/11012025/04/42/image_11012025_04_42_02_319068_0000.jpg
/home/pi/Desktop/images/11012025/04/42/image_11012025_04_42_02_319068_0001.jpg
/home/pi/Desktop/images/11012025/04/42/image_11012025_04_42_02_319068_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328054947","1328054958","1328054954","1328054950"],"photo_ids_order":["1328054947","1328054950","1328054954","1328054958"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/727f8350ce0ec822eff8827741c11a5a.jpg","text":"TemporaryFile(/tmp/multipartBody6167088356904521566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567012170,"filename":"image_11012025_04_41_02_771114_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8a0465ff46729cf5fc1dc5b3ff5650a5.jpg","text":"TemporaryFile(/tmp/multipartBody6883872387433855285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567012170,"filename":"image_11012025_04_42_02_319068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8a13f563f20d24263efb96c6be9e0045.jpg","text":"TemporaryFile(/tmp/multipartBody5498393170841959607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567012170,"filename":"image_11012025_04_42_02_319068_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a1643395c23bc994145a1fda45c2f957.jpg","text":"TemporaryFile(/tmp/multipartBody8198231884708313613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567012170,"filename":"image_11012025_04_42_02_319068_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328054954","file1":"1328054950","file0":"1328054947","file3":"1328054958"},"map_files_photo_id_array":[{"photo_id":"1328054954","filename":"file2"},{"photo_id":"1328054950","filename":"file1"},{"photo_id":"1328054947","filename":"file0"},{"photo_id":"1328054958","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328054947":["hashtag1","hashtag2"]},{"1328054958":["hashtag1","hashtag2"]},{"1328054954":["hashtag1","hashtag2"]},{"1328054950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328054947, 1328054958, 1328054954, 1328054950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.60540556907654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:43:22.008067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/42/image_11012025_04_42_02_319068_0003.jpg', '/home/pi/Desktop/images/11012025/04/43/image_11012025_04_43_02_923015_0001.jpg', '/home/pi/Desktop/images/11012025/04/43/image_11012025_04_43_02_923015_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/42/image_11012025_04_42_02_319068_0003.jpg
/home/pi/Desktop/images/11012025/04/43/image_11012025_04_43_02_923015_0001.jpg
/home/pi/Desktop/images/11012025/04/43/image_11012025_04_43_02_923015_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328055208","1328055105","1328055043"],"photo_ids_order":["1328055043","1328055105","1328055208"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9a42e4e48e38c13cb7423fd906c38af3.jpg","text":"TemporaryFile(/tmp/multipartBody4889757339716139153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567069425,"filename":"image_11012025_04_43_02_923015_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/15db916593f1841604341c8172786459.jpg","text":"TemporaryFile(/tmp/multipartBody4742192286789651738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567069425,"filename":"image_11012025_04_43_02_923015_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8005ad639ed6772ef4e9d92b9c26b0d3.jpg","text":"TemporaryFile(/tmp/multipartBody91061849086615315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567069425,"filename":"image_11012025_04_42_02_319068_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328055208","file1":"1328055105","file0":"1328055043"},"map_files_photo_id_array":[{"photo_id":"1328055208","filename":"file2"},{"photo_id":"1328055105","filename":"file1"},{"photo_id":"1328055043","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328055208":["hashtag1","hashtag2"]},{"1328055105":["hashtag1","hashtag2"]},{"1328055043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328055208, 1328055105, 1328055043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.968883514404297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:44:02.985865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/01/image_09012025_23_01_02_217171_0001.jpg', '/home/pi/Desktop/images/09012025/23/01/image_09012025_23_01_02_217171_0002.jpg', '/home/pi/Desktop/images/09012025/23/01/image_09012025_23_01_02_217171_0003.jpg', '/home/pi/Desktop/images/09012025/23/02/image_09012025_23_02_02_479253_0000.jpg', '/home/pi/Desktop/images/09012025/23/02/image_09012025_23_02_02_479253_0001.jpg', '/home/pi/Desktop/images/09012025/23/02/image_09012025_23_02_02_479253_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/01/image_09012025_23_01_02_217171_0001.jpg
/home/pi/Desktop/images/09012025/23/01/image_09012025_23_01_02_217171_0002.jpg
/home/pi/Desktop/images/09012025/23/01/image_09012025_23_01_02_217171_0003.jpg
/home/pi/Desktop/images/09012025/23/02/image_09012025_23_02_02_479253_0000.jpg
/home/pi/Desktop/images/09012025/23/02/image_09012025_23_02_02_479253_0001.jpg
/home/pi/Desktop/images/09012025/23/02/image_09012025_23_02_02_479253_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.994028806686401 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:44:22.519317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/43/image_11012025_04_43_02_923015_0003.jpg', '/home/pi/Desktop/images/11012025/04/44/image_11012025_04_44_02_415816_0000.jpg', '/home/pi/Desktop/images/11012025/04/44/image_11012025_04_44_02_415816_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/43/image_11012025_04_43_02_923015_0003.jpg
/home/pi/Desktop/images/11012025/04/44/image_11012025_04_44_02_415816_0000.jpg
/home/pi/Desktop/images/11012025/04/44/image_11012025_04_44_02_415816_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328055291","1328055288","1328055296"],"photo_ids_order":["1328055288","1328055291","1328055296"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d1e408fbff9ac5d342af5f0b65a7bbb8.jpg","text":"TemporaryFile(/tmp/multipartBody4022561833769077294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567129929,"filename":"image_11012025_04_44_02_415816_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e1ca2ac73de03a2db9d4913ac3af00ac.jpg","text":"TemporaryFile(/tmp/multipartBody7572358487377955672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567129929,"filename":"image_11012025_04_43_02_923015_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9819d4f6dbfc20311fd9e2b5bf8fa1ca.jpg","text":"TemporaryFile(/tmp/multipartBody5530315637184827432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567129929,"filename":"image_11012025_04_44_02_415816_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328055296","file1":"1328055291","file0":"1328055288"},"map_files_photo_id_array":[{"photo_id":"1328055296","filename":"file2"},{"photo_id":"1328055291","filename":"file1"},{"photo_id":"1328055288","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328055291":["hashtag1","hashtag2"]},{"1328055288":["hashtag1","hashtag2"]},{"1328055296":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328055291, 1328055288, 1328055296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.383684873580933 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:45:02.677003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/01/image_09012025_23_01_02_217171_0001.jpg', '/home/pi/Desktop/images/09012025/23/01/image_09012025_23_01_02_217171_0002.jpg', '/home/pi/Desktop/images/09012025/23/01/image_09012025_23_01_02_217171_0003.jpg', '/home/pi/Desktop/images/09012025/23/02/image_09012025_23_02_02_479253_0000.jpg', '/home/pi/Desktop/images/09012025/23/02/image_09012025_23_02_02_479253_0001.jpg', '/home/pi/Desktop/images/09012025/23/02/image_09012025_23_02_02_479253_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/01/image_09012025_23_01_02_217171_0001.jpg
/home/pi/Desktop/images/09012025/23/01/image_09012025_23_01_02_217171_0002.jpg
/home/pi/Desktop/images/09012025/23/01/image_09012025_23_01_02_217171_0003.jpg
/home/pi/Desktop/images/09012025/23/02/image_09012025_23_02_02_479253_0000.jpg
/home/pi/Desktop/images/09012025/23/02/image_09012025_23_02_02_479253_0001.jpg
/home/pi/Desktop/images/09012025/23/02/image_09012025_23_02_02_479253_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328055339","1328055330","1328055344","1328055323","1328055317","1328055319"],"photo_ids_order":["1328055317","1328055319","1328055323","1328055330","1328055339","1328055344"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f3f317dab3b5b9e0685e5b6564a9b078.jpg","text":"TemporaryFile(/tmp/multipartBody3629680722051241838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567179063,"filename":"image_09012025_23_02_02_479253_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/707659f46cd6adc7647627109e7ed983.jpg","text":"TemporaryFile(/tmp/multipartBody7704864904529946561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567179063,"filename":"image_09012025_23_02_02_479253_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/006cdca566c33f68a580f3ec0ead868b.jpg","text":"TemporaryFile(/tmp/multipartBody5304880785885847860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567179063,"filename":"image_09012025_23_02_02_479253_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4b2397b3ebaa517105b865168a297aca.jpg","text":"TemporaryFile(/tmp/multipartBody4684135652513672452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567179063,"filename":"image_09012025_23_01_02_217171_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ec24ef296b11cee5f7a893d8587fb729.jpg","text":"TemporaryFile(/tmp/multipartBody1341465537100759490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567179063,"filename":"image_09012025_23_01_02_217171_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e5e4129c47d6ccb69cb51437324d7318.jpg","text":"TemporaryFile(/tmp/multipartBody2968171834808644223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567179063,"filename":"image_09012025_23_01_02_217171_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328055323","file1":"1328055319","file0":"1328055317","file4":"1328055339","file5":"1328055344","file3":"1328055330"},"map_files_photo_id_array":[{"photo_id":"1328055344","filename":"file5"},{"photo_id":"1328055323","filename":"file2"},{"photo_id":"1328055339","filename":"file4"},{"photo_id":"1328055319","filename":"file1"},{"photo_id":"1328055317","filename":"file0"},{"photo_id":"1328055330","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328055339":["hashtag1","hashtag2"]},{"1328055330":["hashtag1","hashtag2"]},{"1328055344":["hashtag1","hashtag2"]},{"1328055323":["hashtag1","hashtag2"]},{"1328055317":["hashtag1","hashtag2"]},{"1328055319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328055339, 1328055330, 1328055344, 1328055323, 1328055317, 1328055319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.841944456100464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:46:21.755684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/44/image_11012025_04_44_02_415816_0002.jpg', '/home/pi/Desktop/images/11012025/04/45/image_11012025_04_45_02_935263_0000.jpg', '/home/pi/Desktop/images/11012025/04/45/image_11012025_04_45_02_935263_0001.jpg', '/home/pi/Desktop/images/11012025/04/45/image_11012025_04_45_02_935263_0002.jpg', '/home/pi/Desktop/images/11012025/04/45/image_11012025_04_45_02_935263_0003.jpg', '/home/pi/Desktop/images/11012025/04/46/image_11012025_04_46_02_490376_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/44/image_11012025_04_44_02_415816_0002.jpg
/home/pi/Desktop/images/11012025/04/45/image_11012025_04_45_02_935263_0000.jpg
/home/pi/Desktop/images/11012025/04/45/image_11012025_04_45_02_935263_0001.jpg
/home/pi/Desktop/images/11012025/04/45/image_11012025_04_45_02_935263_0002.jpg
/home/pi/Desktop/images/11012025/04/45/image_11012025_04_45_02_935263_0003.jpg
/home/pi/Desktop/images/11012025/04/46/image_11012025_04_46_02_490376_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328055381","1328055384","1328055397","1328055391","1328055394","1328055388"],"photo_ids_order":["1328055381","1328055384","1328055388","1328055391","1328055394","1328055397"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cf19aa2814b6d06da9b8f3848545533a.jpg","text":"TemporaryFile(/tmp/multipartBody4948531394738890694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567255920,"filename":"image_11012025_04_44_02_415816_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c2152e760737ebf8db84973b84577efc.jpg","text":"TemporaryFile(/tmp/multipartBody2264167534226614299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567255920,"filename":"image_11012025_04_45_02_935263_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/01874402499a16fdef50812c87eff942.jpg","text":"TemporaryFile(/tmp/multipartBody7516855443393617407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567255920,"filename":"image_11012025_04_46_02_490376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1fb027da50ad49ff0d93264f6a771adc.jpg","text":"TemporaryFile(/tmp/multipartBody3153911202544836997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567255920,"filename":"image_11012025_04_45_02_935263_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/57604dea460a0b75af3522a8a9328709.jpg","text":"TemporaryFile(/tmp/multipartBody7006117307775534874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567255920,"filename":"image_11012025_04_45_02_935263_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d2f1c605a29d0bf928ac0c055cc7ac14.jpg","text":"TemporaryFile(/tmp/multipartBody5964123895351941067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567255920,"filename":"image_11012025_04_45_02_935263_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328055388","file1":"1328055384","file0":"1328055381","file4":"1328055394","file5":"1328055397","file3":"1328055391"},"map_files_photo_id_array":[{"photo_id":"1328055397","filename":"file5"},{"photo_id":"1328055388","filename":"file2"},{"photo_id":"1328055394","filename":"file4"},{"photo_id":"1328055384","filename":"file1"},{"photo_id":"1328055381","filename":"file0"},{"photo_id":"1328055391","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328055381":["hashtag1","hashtag2"]},{"1328055384":["hashtag1","hashtag2"]},{"1328055397":["hashtag1","hashtag2"]},{"1328055391":["hashtag1","hashtag2"]},{"1328055394":["hashtag1","hashtag2"]},{"1328055388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328055381, 1328055384, 1328055397, 1328055391, 1328055394, 1328055388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.055901527404785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:47:22.300869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/46/image_11012025_04_46_02_490376_0001.jpg', '/home/pi/Desktop/images/11012025/04/46/image_11012025_04_46_02_490376_0002.jpg', '/home/pi/Desktop/images/11012025/04/46/image_11012025_04_46_02_490376_0003.jpg', '/home/pi/Desktop/images/11012025/04/47/image_11012025_04_47_02_156563_0001.jpg', '/home/pi/Desktop/images/11012025/04/47/image_11012025_04_47_02_156563_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/46/image_11012025_04_46_02_490376_0001.jpg
/home/pi/Desktop/images/11012025/04/46/image_11012025_04_46_02_490376_0002.jpg
/home/pi/Desktop/images/11012025/04/46/image_11012025_04_46_02_490376_0003.jpg
/home/pi/Desktop/images/11012025/04/47/image_11012025_04_47_02_156563_0001.jpg
/home/pi/Desktop/images/11012025/04/47/image_11012025_04_47_02_156563_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328055412","1328055406","1328055409","1328055415","1328055403"],"photo_ids_order":["1328055403","1328055406","1328055409","1328055412","1328055415"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5c03f11928838f2cd968a7a31a747256.jpg","text":"TemporaryFile(/tmp/multipartBody8665249025618213900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567314207,"filename":"image_11012025_04_47_02_156563_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5606894ebf4df754eccc6bf64dca2433.jpg","text":"TemporaryFile(/tmp/multipartBody9073685450323598118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567314207,"filename":"image_11012025_04_46_02_490376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1d449e3b058ac2abe76e23e4bf003ba9.jpg","text":"TemporaryFile(/tmp/multipartBody5796066669868970887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567314207,"filename":"image_11012025_04_46_02_490376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/67170125ef781c9af0759b8cdeb1db81.jpg","text":"TemporaryFile(/tmp/multipartBody7021631765212667337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567314207,"filename":"image_11012025_04_47_02_156563_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4406476372ec16aa34db4950e78114b9.jpg","text":"TemporaryFile(/tmp/multipartBody1875018553409490913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567314207,"filename":"image_11012025_04_46_02_490376_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328055409","file1":"1328055406","file0":"1328055403","file4":"1328055415","file3":"1328055412"},"map_files_photo_id_array":[{"photo_id":"1328055409","filename":"file2"},{"photo_id":"1328055415","filename":"file4"},{"photo_id":"1328055406","filename":"file1"},{"photo_id":"1328055403","filename":"file0"},{"photo_id":"1328055412","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328055412":["hashtag1","hashtag2"]},{"1328055406":["hashtag1","hashtag2"]},{"1328055409":["hashtag1","hashtag2"]},{"1328055415":["hashtag1","hashtag2"]},{"1328055403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328055412, 1328055406, 1328055409, 1328055415, 1328055403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.18489170074463 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:48:21.854714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/47/image_11012025_04_47_02_156563_0003.jpg', '/home/pi/Desktop/images/11012025/04/48/image_11012025_04_48_02_688456_0000.jpg', '/home/pi/Desktop/images/11012025/04/48/image_11012025_04_48_02_688456_0001.jpg', '/home/pi/Desktop/images/11012025/04/48/image_11012025_04_48_02_688456_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/47/image_11012025_04_47_02_156563_0003.jpg
/home/pi/Desktop/images/11012025/04/48/image_11012025_04_48_02_688456_0000.jpg
/home/pi/Desktop/images/11012025/04/48/image_11012025_04_48_02_688456_0001.jpg
/home/pi/Desktop/images/11012025/04/48/image_11012025_04_48_02_688456_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.250999689102173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:49:03.042057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/47/image_11012025_04_47_02_156563_0003.jpg', '/home/pi/Desktop/images/11012025/04/48/image_11012025_04_48_02_688456_0000.jpg', '/home/pi/Desktop/images/11012025/04/48/image_11012025_04_48_02_688456_0001.jpg', '/home/pi/Desktop/images/11012025/04/48/image_11012025_04_48_02_688456_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/47/image_11012025_04_47_02_156563_0003.jpg
/home/pi/Desktop/images/11012025/04/48/image_11012025_04_48_02_688456_0000.jpg
/home/pi/Desktop/images/11012025/04/48/image_11012025_04_48_02_688456_0001.jpg
/home/pi/Desktop/images/11012025/04/48/image_11012025_04_48_02_688456_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328055432","1328055434","1328055433","1328055436"],"photo_ids_order":["1328055432","1328055433","1328055434","1328055436"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/221e3f2951d2be6f229fb3635d6be57a.jpg","text":"TemporaryFile(/tmp/multipartBody6301328044175999271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567412718,"filename":"image_11012025_04_47_02_156563_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/16c6f5f5625c30b68607766b83dbb54f.jpg","text":"TemporaryFile(/tmp/multipartBody1729661109291503932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567412718,"filename":"image_11012025_04_48_02_688456_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c595770d524700b71f1fa7ebbc6984e4.jpg","text":"TemporaryFile(/tmp/multipartBody7902516154164992146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567412718,"filename":"image_11012025_04_48_02_688456_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/46fc58f8f0107107189f7e99b07ba83a.jpg","text":"TemporaryFile(/tmp/multipartBody8331463141258691546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567412718,"filename":"image_11012025_04_48_02_688456_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328055434","file1":"1328055433","file0":"1328055432","file3":"1328055436"},"map_files_photo_id_array":[{"photo_id":"1328055434","filename":"file2"},{"photo_id":"1328055433","filename":"file1"},{"photo_id":"1328055432","filename":"file0"},{"photo_id":"1328055436","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328055432":["hashtag1","hashtag2"]},{"1328055434":["hashtag1","hashtag2"]},{"1328055433":["hashtag1","hashtag2"]},{"1328055436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328055432, 1328055434, 1328055433, 1328055436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.257861614227295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:50:02.369952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/48/image_11012025_04_48_02_688456_0003.jpg', '/home/pi/Desktop/images/11012025/04/49/image_11012025_04_49_02_175201_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/48/image_11012025_04_48_02_688456_0003.jpg
/home/pi/Desktop/images/11012025/04/49/image_11012025_04_49_02_175201_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.80488657951355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:50:21.915808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/48/image_11012025_04_48_02_688456_0003.jpg', '/home/pi/Desktop/images/11012025/04/49/image_11012025_04_49_02_175201_0001.jpg', '/home/pi/Desktop/images/11012025/04/49/image_11012025_04_49_02_175201_0002.jpg', '/home/pi/Desktop/images/11012025/04/50/image_11012025_04_50_02_711214_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/48/image_11012025_04_48_02_688456_0003.jpg
/home/pi/Desktop/images/11012025/04/49/image_11012025_04_49_02_175201_0001.jpg
/home/pi/Desktop/images/11012025/04/49/image_11012025_04_49_02_175201_0002.jpg
/home/pi/Desktop/images/11012025/04/50/image_11012025_04_50_02_711214_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328055460","1328055454","1328055463","1328055457"],"photo_ids_order":["1328055454","1328055457","1328055460","1328055463"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/80cc0de3d59b5ee26531fee280b64300.jpg","text":"TemporaryFile(/tmp/multipartBody36229674485527886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567491601,"filename":"image_11012025_04_49_02_175201_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0fd246306b52afab45195793aa6d0447.jpg","text":"TemporaryFile(/tmp/multipartBody3031203076736066863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567491601,"filename":"image_11012025_04_48_02_688456_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3a33998e0209299b9d4dc35934b94c80.jpg","text":"TemporaryFile(/tmp/multipartBody5241277918783792313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567491601,"filename":"image_11012025_04_50_02_711214_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/718591b0a7d673223643be272d3c6676.jpg","text":"TemporaryFile(/tmp/multipartBody7851377262802843420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567491601,"filename":"image_11012025_04_49_02_175201_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328055460","file1":"1328055457","file0":"1328055454","file3":"1328055463"},"map_files_photo_id_array":[{"photo_id":"1328055460","filename":"file2"},{"photo_id":"1328055457","filename":"file1"},{"photo_id":"1328055454","filename":"file0"},{"photo_id":"1328055463","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328055460":["hashtag1","hashtag2"]},{"1328055454":["hashtag1","hashtag2"]},{"1328055463":["hashtag1","hashtag2"]},{"1328055457":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328055460, 1328055454, 1328055463, 1328055457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.04598307609558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:51:03.141513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/02/image_09012025_23_02_02_479253_0003.jpg', '/home/pi/Desktop/images/09012025/23/03/image_09012025_23_03_02_597818_0000.jpg', '/home/pi/Desktop/images/09012025/23/03/image_09012025_23_03_02_597818_0001.jpg', '/home/pi/Desktop/images/09012025/23/03/image_09012025_23_03_02_597818_0002.jpg', '/home/pi/Desktop/images/09012025/23/03/image_09012025_23_03_02_597818_0003.jpg', '/home/pi/Desktop/images/09012025/23/04/image_09012025_23_04_02_781460_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/02/image_09012025_23_02_02_479253_0003.jpg
/home/pi/Desktop/images/09012025/23/03/image_09012025_23_03_02_597818_0000.jpg
/home/pi/Desktop/images/09012025/23/03/image_09012025_23_03_02_597818_0001.jpg
/home/pi/Desktop/images/09012025/23/03/image_09012025_23_03_02_597818_0002.jpg
/home/pi/Desktop/images/09012025/23/03/image_09012025_23_03_02_597818_0003.jpg
/home/pi/Desktop/images/09012025/23/04/image_09012025_23_04_02_781460_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328055468","1328055479","1328055470","1328055545","1328055472","1328055475"],"photo_ids_order":["1328055468","1328055470","1328055472","1328055475","1328055479","1328055545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2715001f83a4292353e48b28aaefe287.jpg","text":"TemporaryFile(/tmp/multipartBody8700004690779672343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567539491,"filename":"image_09012025_23_02_02_479253_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/74c3ffecb45c9cf724a32372872a1afa.jpg","text":"TemporaryFile(/tmp/multipartBody6089365695711171174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567539491,"filename":"image_09012025_23_03_02_597818_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a4254ac6ddcf75a935ff8a345a724249.jpg","text":"TemporaryFile(/tmp/multipartBody6205342523014707642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567539491,"filename":"image_09012025_23_03_02_597818_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a8ce34acdf8e0cee39029695ae970e9b.jpg","text":"TemporaryFile(/tmp/multipartBody3087066293478974001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567539491,"filename":"image_09012025_23_04_02_781460_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c1c97f54513cdc266ca27807fab95ac4.jpg","text":"TemporaryFile(/tmp/multipartBody7938615780881165982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567539491,"filename":"image_09012025_23_03_02_597818_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f05dea299962331bf2f4d9bf9ead41c4.jpg","text":"TemporaryFile(/tmp/multipartBody7168341769857883559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567539491,"filename":"image_09012025_23_03_02_597818_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328055472","file1":"1328055470","file0":"1328055468","file4":"1328055479","file5":"1328055545","file3":"1328055475"},"map_files_photo_id_array":[{"photo_id":"1328055545","filename":"file5"},{"photo_id":"1328055472","filename":"file2"},{"photo_id":"1328055479","filename":"file4"},{"photo_id":"1328055470","filename":"file1"},{"photo_id":"1328055468","filename":"file0"},{"photo_id":"1328055475","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328055468":["hashtag1","hashtag2"]},{"1328055479":["hashtag1","hashtag2"]},{"1328055470":["hashtag1","hashtag2"]},{"1328055545":["hashtag1","hashtag2"]},{"1328055472":["hashtag1","hashtag2"]},{"1328055475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328055468, 1328055479, 1328055470, 1328055545, 1328055472, 1328055475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.135061502456665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:52:02.340415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/50/image_11012025_04_50_02_711214_0003.jpg', '/home/pi/Desktop/images/11012025/04/51/image_11012025_04_51_02_279783_0000.jpg', '/home/pi/Desktop/images/11012025/04/51/image_11012025_04_51_02_279783_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/50/image_11012025_04_50_02_711214_0003.jpg
/home/pi/Desktop/images/11012025/04/51/image_11012025_04_51_02_279783_0000.jpg
/home/pi/Desktop/images/11012025/04/51/image_11012025_04_51_02_279783_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328056559","1328056345","1328056560"],"photo_ids_order":["1328056345","1328056559","1328056560"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d92adfff53c134cebe99e1d69097730c.jpg","text":"TemporaryFile(/tmp/multipartBody2911690515528932746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567589809,"filename":"image_11012025_04_51_02_279783_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bc97b987d5103114cbb8dca22bb3f427.jpg","text":"TemporaryFile(/tmp/multipartBody719408636938022985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567589809,"filename":"image_11012025_04_50_02_711214_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/49a1bf4e11af1f70ebe6507c678491e2.jpg","text":"TemporaryFile(/tmp/multipartBody2224620008342030161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567589809,"filename":"image_11012025_04_51_02_279783_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328056560","file1":"1328056559","file0":"1328056345"},"map_files_photo_id_array":[{"photo_id":"1328056560","filename":"file2"},{"photo_id":"1328056559","filename":"file1"},{"photo_id":"1328056345","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328056559":["hashtag1","hashtag2"]},{"1328056345":["hashtag1","hashtag2"]},{"1328056560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328056559, 1328056345, 1328056560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.044816255569458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:53:02.985243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/51/image_11012025_04_51_02_279783_0003.jpg', '/home/pi/Desktop/images/11012025/04/52/image_11012025_04_52_02_757030_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/51/image_11012025_04_51_02_279783_0003.jpg
/home/pi/Desktop/images/11012025/04/52/image_11012025_04_52_02_757030_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.842947721481323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:53:22.518845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/51/image_11012025_04_51_02_279783_0003.jpg', '/home/pi/Desktop/images/11012025/04/52/image_11012025_04_52_02_757030_0001.jpg', '/home/pi/Desktop/images/11012025/04/52/image_11012025_04_52_02_757030_0002.jpg', '/home/pi/Desktop/images/11012025/04/53/image_11012025_04_53_02_374013_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/51/image_11012025_04_51_02_279783_0003.jpg
/home/pi/Desktop/images/11012025/04/52/image_11012025_04_52_02_757030_0001.jpg
/home/pi/Desktop/images/11012025/04/52/image_11012025_04_52_02_757030_0002.jpg
/home/pi/Desktop/images/11012025/04/53/image_11012025_04_53_02_374013_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328056800","1328057096","1328057023","1328056645"],"photo_ids_order":["1328056645","1328056800","1328057023","1328057096"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e010b8d8b506b5274dddf639cb90f8b5.jpg","text":"TemporaryFile(/tmp/multipartBody8896678880890097439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567672171,"filename":"image_11012025_04_52_02_757030_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ef52be1405fb154b773e795d364894a1.jpg","text":"TemporaryFile(/tmp/multipartBody1817169272226541963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567672171,"filename":"image_11012025_04_53_02_374013_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/75255d49e02ea328ec0d187bb4d8622b.jpg","text":"TemporaryFile(/tmp/multipartBody7865031588839115382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567672171,"filename":"image_11012025_04_52_02_757030_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/76591ef6a0bf38e5899594b62e40ce1c.jpg","text":"TemporaryFile(/tmp/multipartBody4055452253292231969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567672171,"filename":"image_11012025_04_51_02_279783_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328057023","file1":"1328056800","file0":"1328056645","file3":"1328057096"},"map_files_photo_id_array":[{"photo_id":"1328057023","filename":"file2"},{"photo_id":"1328056800","filename":"file1"},{"photo_id":"1328056645","filename":"file0"},{"photo_id":"1328057096","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328056800":["hashtag1","hashtag2"]},{"1328057096":["hashtag1","hashtag2"]},{"1328057023":["hashtag1","hashtag2"]},{"1328056645":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328056800, 1328057096, 1328057023, 1328056645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.42490577697754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:54:22.205442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/53/image_11012025_04_53_02_374013_0003.jpg', '/home/pi/Desktop/images/11012025/04/54/image_11012025_04_54_02_866825_0000.jpg', '/home/pi/Desktop/images/11012025/04/54/image_11012025_04_54_02_866825_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/53/image_11012025_04_53_02_374013_0003.jpg
/home/pi/Desktop/images/11012025/04/54/image_11012025_04_54_02_866825_0000.jpg
/home/pi/Desktop/images/11012025/04/54/image_11012025_04_54_02_866825_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328057269","1328057263","1328057266"],"photo_ids_order":["1328057263","1328057266","1328057269"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/82e5bee1dc842324981ddc6d543e261f.jpg","text":"TemporaryFile(/tmp/multipartBody7498725262543025012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567729638,"filename":"image_11012025_04_54_02_866825_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1454abd65fc5444321c522baa71da4b6.jpg","text":"TemporaryFile(/tmp/multipartBody9023401468420469872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567729638,"filename":"image_11012025_04_53_02_374013_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/64f9d549dd01efc7e1ed3b90e9dc15e0.jpg","text":"TemporaryFile(/tmp/multipartBody3912314159227292258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567729638,"filename":"image_11012025_04_54_02_866825_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328057269","file1":"1328057266","file0":"1328057263"},"map_files_photo_id_array":[{"photo_id":"1328057269","filename":"file2"},{"photo_id":"1328057266","filename":"file1"},{"photo_id":"1328057263","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328057269":["hashtag1","hashtag2"]},{"1328057263":["hashtag1","hashtag2"]},{"1328057266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328057269, 1328057263, 1328057266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.55710196495056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:55:03.444651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/04/image_09012025_23_04_02_781460_0001.jpg', '/home/pi/Desktop/images/09012025/23/04/image_09012025_23_04_02_781460_0002.jpg', '/home/pi/Desktop/images/09012025/23/04/image_09012025_23_04_02_781460_0003.jpg', '/home/pi/Desktop/images/09012025/23/05/image_09012025_23_05_03_010585_0000.jpg', '/home/pi/Desktop/images/09012025/23/05/image_09012025_23_05_03_010585_0001.jpg', '/home/pi/Desktop/images/09012025/23/05/image_09012025_23_05_03_010585_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/04/image_09012025_23_04_02_781460_0001.jpg
/home/pi/Desktop/images/09012025/23/04/image_09012025_23_04_02_781460_0002.jpg
/home/pi/Desktop/images/09012025/23/04/image_09012025_23_04_02_781460_0003.jpg
/home/pi/Desktop/images/09012025/23/05/image_09012025_23_05_03_010585_0000.jpg
/home/pi/Desktop/images/09012025/23/05/image_09012025_23_05_03_010585_0001.jpg
/home/pi/Desktop/images/09012025/23/05/image_09012025_23_05_03_010585_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328057312","1328057320","1328057314","1328057317","1328057322","1328057310"],"photo_ids_order":["1328057310","1328057312","1328057314","1328057317","1328057320","1328057322"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b5ed166ab7f372e1295bada3f10e6fe8.jpg","text":"TemporaryFile(/tmp/multipartBody3346504020665605531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567779771,"filename":"image_09012025_23_04_02_781460_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/76151773e2efb15e2cd9ce6c12cd9d27.jpg","text":"TemporaryFile(/tmp/multipartBody8408251560609289957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567779771,"filename":"image_09012025_23_05_03_010585_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/804922252e5bc9266e4de7ffe51e6afc.jpg","text":"TemporaryFile(/tmp/multipartBody3721563949492624099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567779771,"filename":"image_09012025_23_04_02_781460_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b308fa73a044f06d67518054cf7dc67f.jpg","text":"TemporaryFile(/tmp/multipartBody8816859278448068280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567779771,"filename":"image_09012025_23_05_03_010585_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eeb3950161055bd6150f7019159b59cb.jpg","text":"TemporaryFile(/tmp/multipartBody1546469768465432759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567779771,"filename":"image_09012025_23_05_03_010585_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0a21dc8307629942801b57c203e4f4bb.jpg","text":"TemporaryFile(/tmp/multipartBody766307018011062250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567779771,"filename":"image_09012025_23_04_02_781460_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328057314","file1":"1328057312","file0":"1328057310","file4":"1328057320","file5":"1328057322","file3":"1328057317"},"map_files_photo_id_array":[{"photo_id":"1328057322","filename":"file5"},{"photo_id":"1328057314","filename":"file2"},{"photo_id":"1328057320","filename":"file4"},{"photo_id":"1328057312","filename":"file1"},{"photo_id":"1328057310","filename":"file0"},{"photo_id":"1328057317","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328057312":["hashtag1","hashtag2"]},{"1328057320":["hashtag1","hashtag2"]},{"1328057314":["hashtag1","hashtag2"]},{"1328057317":["hashtag1","hashtag2"]},{"1328057322":["hashtag1","hashtag2"]},{"1328057310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328057312, 1328057320, 1328057314, 1328057317, 1328057322, 1328057310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.49902629852295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:56:02.657765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/54/image_11012025_04_54_02_866825_0002.jpg', '/home/pi/Desktop/images/11012025/04/55/image_11012025_04_55_02_560442_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/54/image_11012025_04_54_02_866825_0002.jpg
/home/pi/Desktop/images/11012025/04/55/image_11012025_04_55_02_560442_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.796459436416626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:56:22.171978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/54/image_11012025_04_54_02_866825_0002.jpg', '/home/pi/Desktop/images/11012025/04/55/image_11012025_04_55_02_560442_0000.jpg', '/home/pi/Desktop/images/11012025/04/55/image_11012025_04_55_02_560442_0001.jpg', '/home/pi/Desktop/images/11012025/04/56/image_11012025_04_56_03_094178_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/54/image_11012025_04_54_02_866825_0002.jpg
/home/pi/Desktop/images/11012025/04/55/image_11012025_04_55_02_560442_0000.jpg
/home/pi/Desktop/images/11012025/04/55/image_11012025_04_55_02_560442_0001.jpg
/home/pi/Desktop/images/11012025/04/56/image_11012025_04_56_03_094178_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328057716","1328057713","1328057724","1328057721"],"photo_ids_order":["1328057713","1328057716","1328057721","1328057724"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f295a475f356219a43fc8357ff75b567.jpg","text":"TemporaryFile(/tmp/multipartBody3918108475448723759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567851862,"filename":"image_11012025_04_55_02_560442_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/58f25f374b8d443d0de87fcc2811b5ba.jpg","text":"TemporaryFile(/tmp/multipartBody481171959257588703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567851862,"filename":"image_11012025_04_54_02_866825_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/af01162fbe149996efbc2d89a062b765.jpg","text":"TemporaryFile(/tmp/multipartBody210045504999869973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567851862,"filename":"image_11012025_04_56_03_094178_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c049c4b65279d7e5d93e40bfa8b16eaa.jpg","text":"TemporaryFile(/tmp/multipartBody7985404895128537704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567851862,"filename":"image_11012025_04_55_02_560442_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328057721","file1":"1328057716","file0":"1328057713","file3":"1328057724"},"map_files_photo_id_array":[{"photo_id":"1328057721","filename":"file2"},{"photo_id":"1328057716","filename":"file1"},{"photo_id":"1328057713","filename":"file0"},{"photo_id":"1328057724","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328057716":["hashtag1","hashtag2"]},{"1328057713":["hashtag1","hashtag2"]},{"1328057724":["hashtag1","hashtag2"]},{"1328057721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328057716, 1328057713, 1328057724, 1328057721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.55713200569153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 04:57:21.753262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/56/image_11012025_04_56_03_094178_0003.jpg', '/home/pi/Desktop/images/11012025/04/57/image_11012025_04_57_02_631312_0000.jpg', '/home/pi/Desktop/images/11012025/04/57/image_11012025_04_57_02_631312_0001.jpg', '/home/pi/Desktop/images/11012025/04/57/image_11012025_04_57_02_631312_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/56/image_11012025_04_56_03_094178_0003.jpg
/home/pi/Desktop/images/11012025/04/57/image_11012025_04_57_02_631312_0000.jpg
/home/pi/Desktop/images/11012025/04/57/image_11012025_04_57_02_631312_0001.jpg
/home/pi/Desktop/images/11012025/04/57/image_11012025_04_57_02_631312_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328057741","1328057744","1328057738","1328057734"],"photo_ids_order":["1328057734","1328057738","1328057741","1328057744"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c10b084ce15107e318a188d2a3624a02.jpg","text":"TemporaryFile(/tmp/multipartBody5966410397481841477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567911434,"filename":"image_11012025_04_57_02_631312_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6ff2f54f721d239f7ad81dec668f41cc.jpg","text":"TemporaryFile(/tmp/multipartBody7245559094924647638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567911434,"filename":"image_11012025_04_57_02_631312_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3a704a35c28f0248ce186bbc62b6618d.jpg","text":"TemporaryFile(/tmp/multipartBody459121136290573357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567911434,"filename":"image_11012025_04_57_02_631312_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0e68f00f368e58c9bf7d044c39a8b186.jpg","text":"TemporaryFile(/tmp/multipartBody6603203982114670696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736567911434,"filename":"image_11012025_04_56_03_094178_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328057741","file1":"1328057738","file0":"1328057734","file3":"1328057744"},"map_files_photo_id_array":[{"photo_id":"1328057741","filename":"file2"},{"photo_id":"1328057738","filename":"file1"},{"photo_id":"1328057734","filename":"file0"},{"photo_id":"1328057744","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328057741":["hashtag1","hashtag2"]},{"1328057744":["hashtag1","hashtag2"]},{"1328057738":["hashtag1","hashtag2"]},{"1328057734":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328057741, 1328057744, 1328057738, 1328057734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.76801037788391 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 04:59:03.201294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/05/image_09012025_23_05_03_010585_0003.jpg', '/home/pi/Desktop/images/09012025/23/06/image_09012025_23_06_02_226750_0000.jpg', '/home/pi/Desktop/images/09012025/23/06/image_09012025_23_06_02_226750_0001.jpg', '/home/pi/Desktop/images/09012025/23/06/image_09012025_23_06_02_226750_0002.jpg', '/home/pi/Desktop/images/09012025/23/06/image_09012025_23_06_02_226750_0003.jpg', '/home/pi/Desktop/images/09012025/23/07/image_09012025_23_07_02_409875_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/05/image_09012025_23_05_03_010585_0003.jpg
/home/pi/Desktop/images/09012025/23/06/image_09012025_23_06_02_226750_0000.jpg
/home/pi/Desktop/images/09012025/23/06/image_09012025_23_06_02_226750_0001.jpg
/home/pi/Desktop/images/09012025/23/06/image_09012025_23_06_02_226750_0002.jpg
/home/pi/Desktop/images/09012025/23/06/image_09012025_23_06_02_226750_0003.jpg
/home/pi/Desktop/images/09012025/23/07/image_09012025_23_07_02_409875_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328057802","1328057822","1328057816","1328057819","1328057799","1328057820"],"photo_ids_order":["1328057799","1328057802","1328057816","1328057819","1328057820","1328057822"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/39a656a51a79705e470ca80b97305d4e.jpg","text":"TemporaryFile(/tmp/multipartBody4326673159102758875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568019539,"filename":"image_09012025_23_06_02_226750_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2938cf59595effd802359dca5ee7cdc4.jpg","text":"TemporaryFile(/tmp/multipartBody2390489680657791534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568019539,"filename":"image_09012025_23_07_02_409875_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2edcf2f1644cde6133916e453dff5b18.jpg","text":"TemporaryFile(/tmp/multipartBody3133541481990916210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568019539,"filename":"image_09012025_23_06_02_226750_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/46f5da0c567ed7c40ef5fa0c935816cc.jpg","text":"TemporaryFile(/tmp/multipartBody1442837683808783176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568019539,"filename":"image_09012025_23_06_02_226750_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d72d9a0bf93094688ba4302c17d9509d.jpg","text":"TemporaryFile(/tmp/multipartBody479082189309843849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568019539,"filename":"image_09012025_23_05_03_010585_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ef8c13f525edc210a794a8fe6246e2c6.jpg","text":"TemporaryFile(/tmp/multipartBody736331808660237335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568019539,"filename":"image_09012025_23_06_02_226750_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328057816","file1":"1328057802","file0":"1328057799","file4":"1328057820","file5":"1328057822","file3":"1328057819"},"map_files_photo_id_array":[{"photo_id":"1328057822","filename":"file5"},{"photo_id":"1328057816","filename":"file2"},{"photo_id":"1328057820","filename":"file4"},{"photo_id":"1328057802","filename":"file1"},{"photo_id":"1328057799","filename":"file0"},{"photo_id":"1328057819","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328057802":["hashtag1","hashtag2"]},{"1328057822":["hashtag1","hashtag2"]},{"1328057816":["hashtag1","hashtag2"]},{"1328057819":["hashtag1","hashtag2"]},{"1328057799":["hashtag1","hashtag2"]},{"1328057820":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328057802, 1328057822, 1328057816, 1328057819, 1328057799, 1328057820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.061342000961304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:00:02.562795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/57/image_11012025_04_57_02_631312_0003.jpg', '/home/pi/Desktop/images/11012025/04/58/image_11012025_04_58_02_136791_0000.jpg', '/home/pi/Desktop/images/11012025/04/58/image_11012025_04_58_02_136791_0001.jpg', '/home/pi/Desktop/images/11012025/04/58/image_11012025_04_58_02_136791_0002.jpg', '/home/pi/Desktop/images/11012025/04/58/image_11012025_04_58_02_136791_0003.jpg', '/home/pi/Desktop/images/11012025/04/59/image_11012025_04_59_02_605597_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/57/image_11012025_04_57_02_631312_0003.jpg
/home/pi/Desktop/images/11012025/04/58/image_11012025_04_58_02_136791_0000.jpg
/home/pi/Desktop/images/11012025/04/58/image_11012025_04_58_02_136791_0001.jpg
/home/pi/Desktop/images/11012025/04/58/image_11012025_04_58_02_136791_0002.jpg
/home/pi/Desktop/images/11012025/04/58/image_11012025_04_58_02_136791_0003.jpg
/home/pi/Desktop/images/11012025/04/59/image_11012025_04_59_02_605597_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328057894","1328057900","1328057902","1328057892","1328057898","1328057904"],"photo_ids_order":["1328057892","1328057894","1328057898","1328057900","1328057902","1328057904"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/40519f32b89fe3844179af0d10dca943.jpg","text":"TemporaryFile(/tmp/multipartBody6382093920494069064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568076727,"filename":"image_11012025_04_58_02_136791_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7888c80127d465c0f3a00e7255d561f9.jpg","text":"TemporaryFile(/tmp/multipartBody8364546905779182049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568076727,"filename":"image_11012025_04_58_02_136791_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/97e68772cbbffd15a988bf7ac4f0f1b6.jpg","text":"TemporaryFile(/tmp/multipartBody3673247335916236175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568076727,"filename":"image_11012025_04_58_02_136791_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/55f4ccf6c9cb28992957fa4ca1367981.jpg","text":"TemporaryFile(/tmp/multipartBody5076207122428137133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568076727,"filename":"image_11012025_04_57_02_631312_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f09bf09d9a9c4d5a75abdd07c5290421.jpg","text":"TemporaryFile(/tmp/multipartBody6353691812257548024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568076727,"filename":"image_11012025_04_58_02_136791_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/21ac6d5ac77c1a5cf12f73ed059605a2.jpg","text":"TemporaryFile(/tmp/multipartBody7821245328168144835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568076727,"filename":"image_11012025_04_59_02_605597_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328057898","file1":"1328057894","file0":"1328057892","file4":"1328057902","file5":"1328057904","file3":"1328057900"},"map_files_photo_id_array":[{"photo_id":"1328057904","filename":"file5"},{"photo_id":"1328057898","filename":"file2"},{"photo_id":"1328057902","filename":"file4"},{"photo_id":"1328057894","filename":"file1"},{"photo_id":"1328057892","filename":"file0"},{"photo_id":"1328057900","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328057894":["hashtag1","hashtag2"]},{"1328057900":["hashtag1","hashtag2"]},{"1328057902":["hashtag1","hashtag2"]},{"1328057892":["hashtag1","hashtag2"]},{"1328057898":["hashtag1","hashtag2"]},{"1328057904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328057894, 1328057900, 1328057902, 1328057892, 1328057898, 1328057904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.94099450111389 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:01:02.970230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/04/59/image_11012025_04_59_02_605597_0001.jpg', '/home/pi/Desktop/images/11012025/04/59/image_11012025_04_59_02_605597_0002.jpg', '/home/pi/Desktop/images/11012025/04/59/image_11012025_04_59_02_605597_0003.jpg', '/home/pi/Desktop/images/11012025/05/00/image_11012025_05_00_02_870904_0000.jpg', '/home/pi/Desktop/images/11012025/05/00/image_11012025_05_00_02_870904_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/04/59/image_11012025_04_59_02_605597_0001.jpg
/home/pi/Desktop/images/11012025/04/59/image_11012025_04_59_02_605597_0002.jpg
/home/pi/Desktop/images/11012025/04/59/image_11012025_04_59_02_605597_0003.jpg
/home/pi/Desktop/images/11012025/05/00/image_11012025_05_00_02_870904_0000.jpg
/home/pi/Desktop/images/11012025/05/00/image_11012025_05_00_02_870904_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328058041","1328058118","1328058115","1328058081","1328058075"],"photo_ids_order":["1328058041","1328058075","1328058081","1328058115","1328058118"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/faf6a239f668645859dcaa0d651f288b.jpg","text":"TemporaryFile(/tmp/multipartBody7489155709354568914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568134929,"filename":"image_11012025_04_59_02_605597_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f3aef474a4b48a886b51f8760b817bfe.jpg","text":"TemporaryFile(/tmp/multipartBody4126532410712082960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568134929,"filename":"image_11012025_05_00_02_870904_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0423704139ee59a4b90723caac1818d5.jpg","text":"TemporaryFile(/tmp/multipartBody5761063642364499434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568134929,"filename":"image_11012025_05_00_02_870904_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5df67a0dc2dc8a56689c509cfcb1947c.jpg","text":"TemporaryFile(/tmp/multipartBody4418937917857266815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568134929,"filename":"image_11012025_04_59_02_605597_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7edc39da85077fcea717cd66cab35239.jpg","text":"TemporaryFile(/tmp/multipartBody129028358193188283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568134929,"filename":"image_11012025_04_59_02_605597_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328058081","file1":"1328058075","file0":"1328058041","file4":"1328058118","file3":"1328058115"},"map_files_photo_id_array":[{"photo_id":"1328058081","filename":"file2"},{"photo_id":"1328058118","filename":"file4"},{"photo_id":"1328058075","filename":"file1"},{"photo_id":"1328058041","filename":"file0"},{"photo_id":"1328058115","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328058041":["hashtag1","hashtag2"]},{"1328058118":["hashtag1","hashtag2"]},{"1328058115":["hashtag1","hashtag2"]},{"1328058081":["hashtag1","hashtag2"]},{"1328058075":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328058041, 1328058118, 1328058115, 1328058081, 1328058075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.2929892539978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:02:02.439236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/00/image_11012025_05_00_02_870904_0003.jpg', '/home/pi/Desktop/images/11012025/05/01/image_11012025_05_01_02_435552_0000.jpg', '/home/pi/Desktop/images/11012025/05/01/image_11012025_05_01_02_435552_0001.jpg', '/home/pi/Desktop/images/11012025/05/01/image_11012025_05_01_02_435552_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/00/image_11012025_05_00_02_870904_0003.jpg
/home/pi/Desktop/images/11012025/05/01/image_11012025_05_01_02_435552_0000.jpg
/home/pi/Desktop/images/11012025/05/01/image_11012025_05_01_02_435552_0001.jpg
/home/pi/Desktop/images/11012025/05/01/image_11012025_05_01_02_435552_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328058200","1328058196","1328058195","1328058198"],"photo_ids_order":["1328058195","1328058196","1328058198","1328058200"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ddb4321b45eefd1c1b20304898f7ec4e.jpg","text":"TemporaryFile(/tmp/multipartBody7202069531156731182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568192328,"filename":"image_11012025_05_01_02_435552_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6e3d1c5d69d5bfca066d681f8d399d13.jpg","text":"TemporaryFile(/tmp/multipartBody6023328737145684611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568192328,"filename":"image_11012025_05_01_02_435552_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e3e119e59b484fbd5eed9bba7da718c6.jpg","text":"TemporaryFile(/tmp/multipartBody4306212163323664909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568192328,"filename":"image_11012025_05_00_02_870904_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3074212445da99f7d0c5cf52b5793a40.jpg","text":"TemporaryFile(/tmp/multipartBody8629049610857575144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568192328,"filename":"image_11012025_05_01_02_435552_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328058198","file1":"1328058196","file0":"1328058195","file3":"1328058200"},"map_files_photo_id_array":[{"photo_id":"1328058198","filename":"file2"},{"photo_id":"1328058196","filename":"file1"},{"photo_id":"1328058195","filename":"file0"},{"photo_id":"1328058200","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328058200":["hashtag1","hashtag2"]},{"1328058196":["hashtag1","hashtag2"]},{"1328058195":["hashtag1","hashtag2"]},{"1328058198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328058200, 1328058196, 1328058195, 1328058198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.148484230041504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:03:03.383698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/01/image_11012025_05_01_02_435552_0003.jpg', '/home/pi/Desktop/images/11012025/05/02/image_11012025_05_02_02_857979_0001.jpg', '/home/pi/Desktop/images/11012025/05/02/image_11012025_05_02_02_857979_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/01/image_11012025_05_01_02_435552_0003.jpg
/home/pi/Desktop/images/11012025/05/02/image_11012025_05_02_02_857979_0001.jpg
/home/pi/Desktop/images/11012025/05/02/image_11012025_05_02_02_857979_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.159778594970703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:03:22.629741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/01/image_11012025_05_01_02_435552_0003.jpg', '/home/pi/Desktop/images/11012025/05/02/image_11012025_05_02_02_857979_0001.jpg', '/home/pi/Desktop/images/11012025/05/02/image_11012025_05_02_02_857979_0002.jpg', '/home/pi/Desktop/images/11012025/05/02/image_11012025_05_02_02_857979_0003.jpg', '/home/pi/Desktop/images/11012025/05/03/image_11012025_05_03_02_544959_0000.jpg', '/home/pi/Desktop/images/11012025/05/03/image_11012025_05_03_02_544959_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/01/image_11012025_05_01_02_435552_0003.jpg
/home/pi/Desktop/images/11012025/05/02/image_11012025_05_02_02_857979_0001.jpg
/home/pi/Desktop/images/11012025/05/02/image_11012025_05_02_02_857979_0002.jpg
/home/pi/Desktop/images/11012025/05/02/image_11012025_05_02_02_857979_0003.jpg
/home/pi/Desktop/images/11012025/05/03/image_11012025_05_03_02_544959_0000.jpg
/home/pi/Desktop/images/11012025/05/03/image_11012025_05_03_02_544959_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328060101","1328060090","1328060084","1328060103","1328060087","1328059919"],"photo_ids_order":["1328059919","1328060084","1328060087","1328060090","1328060101","1328060103"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b8b055381986e9b0bfbe69335200ca49.jpg","text":"TemporaryFile(/tmp/multipartBody2654073803388653844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568277087,"filename":"image_11012025_05_03_02_544959_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e5e19db950262061c67ab3aa52778e81.jpg","text":"TemporaryFile(/tmp/multipartBody2567143242644971342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568277087,"filename":"image_11012025_05_02_02_857979_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f674c9843802471dfac639349a2371fe.jpg","text":"TemporaryFile(/tmp/multipartBody4240198283956916825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568277087,"filename":"image_11012025_05_02_02_857979_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/13f54a5d51334e13729e1a04d57b68eb.jpg","text":"TemporaryFile(/tmp/multipartBody6127158786765388421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568277087,"filename":"image_11012025_05_03_02_544959_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/315b6427a389a448e4df205e187ea62f.jpg","text":"TemporaryFile(/tmp/multipartBody1366303112651181294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568277087,"filename":"image_11012025_05_02_02_857979_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/19f2f7f947f5712fcd2689313f515e6c.jpg","text":"TemporaryFile(/tmp/multipartBody2892724353753939162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568277087,"filename":"image_11012025_05_01_02_435552_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328060087","file1":"1328060084","file0":"1328059919","file4":"1328060101","file5":"1328060103","file3":"1328060090"},"map_files_photo_id_array":[{"photo_id":"1328060103","filename":"file5"},{"photo_id":"1328060087","filename":"file2"},{"photo_id":"1328060101","filename":"file4"},{"photo_id":"1328060084","filename":"file1"},{"photo_id":"1328059919","filename":"file0"},{"photo_id":"1328060090","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328060101":["hashtag1","hashtag2"]},{"1328060090":["hashtag1","hashtag2"]},{"1328060084":["hashtag1","hashtag2"]},{"1328060103":["hashtag1","hashtag2"]},{"1328060087":["hashtag1","hashtag2"]},{"1328059919":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328060101, 1328060090, 1328060084, 1328060103, 1328060087, 1328059919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.6517448425293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:04:22.337911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/03/image_11012025_05_03_02_544959_0002.jpg', '/home/pi/Desktop/images/11012025/05/03/image_11012025_05_03_02_544959_0003.jpg', '/home/pi/Desktop/images/11012025/05/04/image_11012025_05_04_03_076686_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/03/image_11012025_05_03_02_544959_0002.jpg
/home/pi/Desktop/images/11012025/05/03/image_11012025_05_03_02_544959_0003.jpg
/home/pi/Desktop/images/11012025/05/04/image_11012025_05_04_03_076686_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328060348","1328060356","1328060351"],"photo_ids_order":["1328060348","1328060351","1328060356"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3b78fe59a3c7cb09255bd0e70ff70717.jpg","text":"TemporaryFile(/tmp/multipartBody1194933587136700836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568329774,"filename":"image_11012025_05_03_02_544959_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/902ba5fa6f22bc391cd56fd36713e7b0.jpg","text":"TemporaryFile(/tmp/multipartBody6341129019818917315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568329774,"filename":"image_11012025_05_04_03_076686_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c11e91769f39e7b2fe6aedde008d415.jpg","text":"TemporaryFile(/tmp/multipartBody5211906983819710062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568329774,"filename":"image_11012025_05_03_02_544959_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328060356","file1":"1328060351","file0":"1328060348"},"map_files_photo_id_array":[{"photo_id":"1328060356","filename":"file2"},{"photo_id":"1328060351","filename":"file1"},{"photo_id":"1328060348","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328060348":["hashtag1","hashtag2"]},{"1328060356":["hashtag1","hashtag2"]},{"1328060351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328060348, 1328060356, 1328060351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.90624499320984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:05:02.357604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/07/image_09012025_23_07_02_409875_0001.jpg', '/home/pi/Desktop/images/09012025/23/07/image_09012025_23_07_02_409875_0002.jpg', '/home/pi/Desktop/images/09012025/23/07/image_09012025_23_07_02_409875_0003.jpg', '/home/pi/Desktop/images/09012025/23/08/image_09012025_23_08_02_598525_0000.jpg', '/home/pi/Desktop/images/09012025/23/08/image_09012025_23_08_02_598525_0001.jpg', '/home/pi/Desktop/images/09012025/23/08/image_09012025_23_08_02_598525_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/07/image_09012025_23_07_02_409875_0001.jpg
/home/pi/Desktop/images/09012025/23/07/image_09012025_23_07_02_409875_0002.jpg
/home/pi/Desktop/images/09012025/23/07/image_09012025_23_07_02_409875_0003.jpg
/home/pi/Desktop/images/09012025/23/08/image_09012025_23_08_02_598525_0000.jpg
/home/pi/Desktop/images/09012025/23/08/image_09012025_23_08_02_598525_0001.jpg
/home/pi/Desktop/images/09012025/23/08/image_09012025_23_08_02_598525_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328060837","1328060893","1328060785","1328060851","1328060869","1328060734"],"photo_ids_order":["1328060734","1328060785","1328060837","1328060851","1328060869","1328060893"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/028f82cf99dfc9751e6b34aa15fb5195.jpg","text":"TemporaryFile(/tmp/multipartBody6236722409347532052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568378805,"filename":"image_09012025_23_07_02_409875_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5c03b134a0e3b4c75506525990f9a076.jpg","text":"TemporaryFile(/tmp/multipartBody6756817966131105299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568378805,"filename":"image_09012025_23_08_02_598525_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1f44a45c379ccba80e66dc1083190ff1.jpg","text":"TemporaryFile(/tmp/multipartBody7288261569243256033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568378805,"filename":"image_09012025_23_07_02_409875_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/77dc41761174ec0bff55b40b45e97578.jpg","text":"TemporaryFile(/tmp/multipartBody4750224573848494733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568378805,"filename":"image_09012025_23_08_02_598525_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d31a24aa7ab62e23d50a0a6881d22380.jpg","text":"TemporaryFile(/tmp/multipartBody6546900731323882445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568378805,"filename":"image_09012025_23_08_02_598525_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/40112a47395bb50f691b113649f393c1.jpg","text":"TemporaryFile(/tmp/multipartBody9190539402082833693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568378805,"filename":"image_09012025_23_07_02_409875_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328060837","file1":"1328060785","file0":"1328060734","file4":"1328060869","file5":"1328060893","file3":"1328060851"},"map_files_photo_id_array":[{"photo_id":"1328060893","filename":"file5"},{"photo_id":"1328060837","filename":"file2"},{"photo_id":"1328060869","filename":"file4"},{"photo_id":"1328060785","filename":"file1"},{"photo_id":"1328060734","filename":"file0"},{"photo_id":"1328060851","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328060837":["hashtag1","hashtag2"]},{"1328060893":["hashtag1","hashtag2"]},{"1328060785":["hashtag1","hashtag2"]},{"1328060851":["hashtag1","hashtag2"]},{"1328060869":["hashtag1","hashtag2"]},{"1328060734":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328060837, 1328060893, 1328060785, 1328060851, 1328060869, 1328060734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.5587739944458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:06:03.060120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/04/image_11012025_05_04_03_076686_0003.jpg', '/home/pi/Desktop/images/11012025/05/05/image_11012025_05_05_02_720738_0001.jpg', '/home/pi/Desktop/images/11012025/05/05/image_11012025_05_05_02_720738_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/04/image_11012025_05_04_03_076686_0003.jpg
/home/pi/Desktop/images/11012025/05/05/image_11012025_05_05_02_720738_0001.jpg
/home/pi/Desktop/images/11012025/05/05/image_11012025_05_05_02_720738_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.01344895362854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:06:22.522083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/04/image_11012025_05_04_03_076686_0003.jpg', '/home/pi/Desktop/images/11012025/05/05/image_11012025_05_05_02_720738_0001.jpg', '/home/pi/Desktop/images/11012025/05/05/image_11012025_05_05_02_720738_0002.jpg', '/home/pi/Desktop/images/11012025/05/05/image_11012025_05_05_02_720738_0003.jpg', '/home/pi/Desktop/images/11012025/05/06/image_11012025_05_06_02_229488_0000.jpg', '/home/pi/Desktop/images/11012025/05/06/image_11012025_05_06_02_229488_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/04/image_11012025_05_04_03_076686_0003.jpg
/home/pi/Desktop/images/11012025/05/05/image_11012025_05_05_02_720738_0001.jpg
/home/pi/Desktop/images/11012025/05/05/image_11012025_05_05_02_720738_0002.jpg
/home/pi/Desktop/images/11012025/05/05/image_11012025_05_05_02_720738_0003.jpg
/home/pi/Desktop/images/11012025/05/06/image_11012025_05_06_02_229488_0000.jpg
/home/pi/Desktop/images/11012025/05/06/image_11012025_05_06_02_229488_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328060915","1328060918","1328060935","1328060920","1328060923","1328060933"],"photo_ids_order":["1328060915","1328060918","1328060920","1328060923","1328060933","1328060935"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c024c7b7cf8c3c241fa92a5506641c57.jpg","text":"TemporaryFile(/tmp/multipartBody9181928268091471828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568456910,"filename":"image_11012025_05_04_03_076686_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e7d8e245cbc12455d822f6f933e808c3.jpg","text":"TemporaryFile(/tmp/multipartBody6380158510347842484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568456910,"filename":"image_11012025_05_05_02_720738_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7fe2417b05f972a6eaef1ea530edf2e8.jpg","text":"TemporaryFile(/tmp/multipartBody666169800710693935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568456910,"filename":"image_11012025_05_06_02_229488_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/76b767bde91a5d6e570a7b771c9d7c1e.jpg","text":"TemporaryFile(/tmp/multipartBody6294077688477223368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568456910,"filename":"image_11012025_05_05_02_720738_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5e8362787edce61fb3930cf8b08e32e6.jpg","text":"TemporaryFile(/tmp/multipartBody1841118978478179933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568456910,"filename":"image_11012025_05_05_02_720738_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a8d92812316d12b560fb36f777eba841.jpg","text":"TemporaryFile(/tmp/multipartBody1739285248666878671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568456910,"filename":"image_11012025_05_06_02_229488_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328060920","file1":"1328060918","file0":"1328060915","file4":"1328060933","file5":"1328060935","file3":"1328060923"},"map_files_photo_id_array":[{"photo_id":"1328060935","filename":"file5"},{"photo_id":"1328060920","filename":"file2"},{"photo_id":"1328060933","filename":"file4"},{"photo_id":"1328060918","filename":"file1"},{"photo_id":"1328060915","filename":"file0"},{"photo_id":"1328060923","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328060915":["hashtag1","hashtag2"]},{"1328060918":["hashtag1","hashtag2"]},{"1328060935":["hashtag1","hashtag2"]},{"1328060920":["hashtag1","hashtag2"]},{"1328060923":["hashtag1","hashtag2"]},{"1328060933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328060915, 1328060918, 1328060935, 1328060920, 1328060923, 1328060933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.094146728515625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:07:22.035281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/06/image_11012025_05_06_02_229488_0003.jpg', '/home/pi/Desktop/images/11012025/05/07/image_11012025_05_07_02_906410_0000.jpg', '/home/pi/Desktop/images/11012025/05/07/image_11012025_05_07_02_906410_0001.jpg', '/home/pi/Desktop/images/11012025/05/07/image_11012025_05_07_02_906410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/06/image_11012025_05_06_02_229488_0003.jpg
/home/pi/Desktop/images/11012025/05/07/image_11012025_05_07_02_906410_0000.jpg
/home/pi/Desktop/images/11012025/05/07/image_11012025_05_07_02_906410_0001.jpg
/home/pi/Desktop/images/11012025/05/07/image_11012025_05_07_02_906410_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328060973","1328060967","1328060970","1328060964"],"photo_ids_order":["1328060964","1328060967","1328060970","1328060973"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/781eda73514800e259289adafb1cd3b0.jpg","text":"TemporaryFile(/tmp/multipartBody8458504829890169726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568512103,"filename":"image_11012025_05_07_02_906410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1833ff4a97c5beb367c46392232fcee8.jpg","text":"TemporaryFile(/tmp/multipartBody7059963146040822668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568512103,"filename":"image_11012025_05_07_02_906410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8d7018667b17dbbfc4dac7c041754b7c.jpg","text":"TemporaryFile(/tmp/multipartBody2967840761507344550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568512103,"filename":"image_11012025_05_07_02_906410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/47f4b189e4cfa58a2484fc563c93fc24.jpg","text":"TemporaryFile(/tmp/multipartBody6139233979859080390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568512103,"filename":"image_11012025_05_06_02_229488_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328060970","file1":"1328060967","file0":"1328060964","file3":"1328060973"},"map_files_photo_id_array":[{"photo_id":"1328060970","filename":"file2"},{"photo_id":"1328060967","filename":"file1"},{"photo_id":"1328060964","filename":"file0"},{"photo_id":"1328060973","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328060973":["hashtag1","hashtag2"]},{"1328060967":["hashtag1","hashtag2"]},{"1328060970":["hashtag1","hashtag2"]},{"1328060964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328060973, 1328060967, 1328060970, 1328060964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.6864755153656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:08:02.857841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/08/image_09012025_23_08_02_598525_0003.jpg', '/home/pi/Desktop/images/09012025/23/09/image_09012025_23_09_02_782989_0000.jpg', '/home/pi/Desktop/images/09012025/23/09/image_09012025_23_09_02_782989_0001.jpg', '/home/pi/Desktop/images/09012025/23/09/image_09012025_23_09_02_782989_0002.jpg', '/home/pi/Desktop/images/09012025/23/10/image_09012025_23_10_02_872471_0000.jpg', '/home/pi/Desktop/images/09012025/23/10/image_09012025_23_10_02_872471_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/08/image_09012025_23_08_02_598525_0003.jpg
/home/pi/Desktop/images/09012025/23/09/image_09012025_23_09_02_782989_0000.jpg
/home/pi/Desktop/images/09012025/23/09/image_09012025_23_09_02_782989_0001.jpg
/home/pi/Desktop/images/09012025/23/09/image_09012025_23_09_02_782989_0002.jpg
/home/pi/Desktop/images/09012025/23/10/image_09012025_23_10_02_872471_0000.jpg
/home/pi/Desktop/images/09012025/23/10/image_09012025_23_10_02_872471_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328060977","1328060991","1328060979","1328060984","1328060987","1328060981"],"photo_ids_order":["1328060977","1328060979","1328060981","1328060984","1328060987","1328060991"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e213cb8eca03dc607d8c1f4e6566c1c3.jpg","text":"TemporaryFile(/tmp/multipartBody1965172739216769180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568559299,"filename":"image_09012025_23_08_02_598525_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/acad03bf250fc7a9da88c38e481d10db.jpg","text":"TemporaryFile(/tmp/multipartBody7416718076508377753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568559299,"filename":"image_09012025_23_10_02_872471_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4ce784fd4c675e04957fe27643f3d678.jpg","text":"TemporaryFile(/tmp/multipartBody1320061940716274793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568559299,"filename":"image_09012025_23_09_02_782989_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ac48c41e69212da0a80a4bdc692ce2c6.jpg","text":"TemporaryFile(/tmp/multipartBody4672307039064288056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568559299,"filename":"image_09012025_23_09_02_782989_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9d93eaf52a122fb83f8d634ba22bf927.jpg","text":"TemporaryFile(/tmp/multipartBody8461220853471647452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568559299,"filename":"image_09012025_23_10_02_872471_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/13a414f76a99552ce5fdf914ad129c29.jpg","text":"TemporaryFile(/tmp/multipartBody7606870078206388255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568559299,"filename":"image_09012025_23_09_02_782989_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328060981","file1":"1328060979","file0":"1328060977","file4":"1328060987","file5":"1328060991","file3":"1328060984"},"map_files_photo_id_array":[{"photo_id":"1328060991","filename":"file5"},{"photo_id":"1328060981","filename":"file2"},{"photo_id":"1328060987","filename":"file4"},{"photo_id":"1328060979","filename":"file1"},{"photo_id":"1328060977","filename":"file0"},{"photo_id":"1328060984","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328060977":["hashtag1","hashtag2"]},{"1328060991":["hashtag1","hashtag2"]},{"1328060979":["hashtag1","hashtag2"]},{"1328060984":["hashtag1","hashtag2"]},{"1328060987":["hashtag1","hashtag2"]},{"1328060981":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328060977, 1328060991, 1328060979, 1328060984, 1328060987, 1328060981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.96525692939758 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:09:02.757834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/07/image_11012025_05_07_02_906410_0003.jpg', '/home/pi/Desktop/images/11012025/05/08/image_11012025_05_08_02_402188_0000.jpg', '/home/pi/Desktop/images/11012025/05/08/image_11012025_05_08_02_402188_0001.jpg', '/home/pi/Desktop/images/11012025/05/08/image_11012025_05_08_02_402188_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/07/image_11012025_05_07_02_906410_0003.jpg
/home/pi/Desktop/images/11012025/05/08/image_11012025_05_08_02_402188_0000.jpg
/home/pi/Desktop/images/11012025/05/08/image_11012025_05_08_02_402188_0001.jpg
/home/pi/Desktop/images/11012025/05/08/image_11012025_05_08_02_402188_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.873746871948242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:09:22.058027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/07/image_11012025_05_07_02_906410_0003.jpg', '/home/pi/Desktop/images/11012025/05/08/image_11012025_05_08_02_402188_0000.jpg', '/home/pi/Desktop/images/11012025/05/08/image_11012025_05_08_02_402188_0001.jpg', '/home/pi/Desktop/images/11012025/05/08/image_11012025_05_08_02_402188_0002.jpg', '/home/pi/Desktop/images/11012025/05/08/image_11012025_05_08_02_402188_0003.jpg', '/home/pi/Desktop/images/11012025/05/09/image_11012025_05_09_02_889069_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/07/image_11012025_05_07_02_906410_0003.jpg
/home/pi/Desktop/images/11012025/05/08/image_11012025_05_08_02_402188_0000.jpg
/home/pi/Desktop/images/11012025/05/08/image_11012025_05_08_02_402188_0001.jpg
/home/pi/Desktop/images/11012025/05/08/image_11012025_05_08_02_402188_0002.jpg
/home/pi/Desktop/images/11012025/05/08/image_11012025_05_08_02_402188_0003.jpg
/home/pi/Desktop/images/11012025/05/09/image_11012025_05_09_02_889069_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328061011","1328061018","1328061003","1328061006","1328061009","1328061020"],"photo_ids_order":["1328061003","1328061006","1328061009","1328061011","1328061018","1328061020"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/284e985110a98bdeac0c20799c4dbcac.jpg","text":"TemporaryFile(/tmp/multipartBody1332915624503369992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568637079,"filename":"image_11012025_05_08_02_402188_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/88b77196e5755c8a35d1c7d76a1a48dc.jpg","text":"TemporaryFile(/tmp/multipartBody371727232701510741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568637079,"filename":"image_11012025_05_08_02_402188_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/53379d337207137088f511a6edb4ef2d.jpg","text":"TemporaryFile(/tmp/multipartBody7867777895788734946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568637079,"filename":"image_11012025_05_07_02_906410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7ff02b570a41eabbd3a275c4a50912dc.jpg","text":"TemporaryFile(/tmp/multipartBody9108950953617916872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568637079,"filename":"image_11012025_05_08_02_402188_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/401f6d284123738b075fd9f73d1f837c.jpg","text":"TemporaryFile(/tmp/multipartBody5220769117849982271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568637079,"filename":"image_11012025_05_08_02_402188_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e5f2b1114b5bd19004de7748379eb0e9.jpg","text":"TemporaryFile(/tmp/multipartBody1444732444920333911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568637079,"filename":"image_11012025_05_09_02_889069_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328061009","file1":"1328061006","file0":"1328061003","file4":"1328061018","file5":"1328061020","file3":"1328061011"},"map_files_photo_id_array":[{"photo_id":"1328061020","filename":"file5"},{"photo_id":"1328061009","filename":"file2"},{"photo_id":"1328061018","filename":"file4"},{"photo_id":"1328061006","filename":"file1"},{"photo_id":"1328061003","filename":"file0"},{"photo_id":"1328061011","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328061011":["hashtag1","hashtag2"]},{"1328061018":["hashtag1","hashtag2"]},{"1328061003":["hashtag1","hashtag2"]},{"1328061006":["hashtag1","hashtag2"]},{"1328061009":["hashtag1","hashtag2"]},{"1328061020":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328061011, 1328061018, 1328061003, 1328061006, 1328061009, 1328061020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.40845251083374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:10:22.542332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/09/image_11012025_05_09_02_889069_0002.jpg', '/home/pi/Desktop/images/11012025/05/09/image_11012025_05_09_02_889069_0003.jpg', '/home/pi/Desktop/images/11012025/05/10/image_11012025_05_10_02_338033_0000.jpg', '/home/pi/Desktop/images/11012025/05/10/image_11012025_05_10_02_338033_0001.jpg', '/home/pi/Desktop/images/11012025/05/10/image_11012025_05_10_02_338033_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/09/image_11012025_05_09_02_889069_0002.jpg
/home/pi/Desktop/images/11012025/05/09/image_11012025_05_09_02_889069_0003.jpg
/home/pi/Desktop/images/11012025/05/10/image_11012025_05_10_02_338033_0000.jpg
/home/pi/Desktop/images/11012025/05/10/image_11012025_05_10_02_338033_0001.jpg
/home/pi/Desktop/images/11012025/05/10/image_11012025_05_10_02_338033_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328061073","1328061055","1328061064","1328061058","1328061068"],"photo_ids_order":["1328061055","1328061058","1328061064","1328061068","1328061073"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/59e21eeb35d5a07941cced9b402f6d68.jpg","text":"TemporaryFile(/tmp/multipartBody5398061114451419320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568695132,"filename":"image_11012025_05_10_02_338033_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/56e1bd7076065c4501f8bf0ab02d74a6.jpg","text":"TemporaryFile(/tmp/multipartBody2384663527016850898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568695132,"filename":"image_11012025_05_09_02_889069_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f527fd70705a10280e0497d45b58dced.jpg","text":"TemporaryFile(/tmp/multipartBody6736877201829719822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568695132,"filename":"image_11012025_05_10_02_338033_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6791731c077e64eabe588c099fdb8386.jpg","text":"TemporaryFile(/tmp/multipartBody3543489587525118983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568695132,"filename":"image_11012025_05_09_02_889069_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4f99aaf00b87c65111583f113a768181.jpg","text":"TemporaryFile(/tmp/multipartBody4490984670229317863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568695132,"filename":"image_11012025_05_10_02_338033_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328061064","file1":"1328061058","file0":"1328061055","file4":"1328061073","file3":"1328061068"},"map_files_photo_id_array":[{"photo_id":"1328061064","filename":"file2"},{"photo_id":"1328061073","filename":"file4"},{"photo_id":"1328061058","filename":"file1"},{"photo_id":"1328061055","filename":"file0"},{"photo_id":"1328061068","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328061073":["hashtag1","hashtag2"]},{"1328061055":["hashtag1","hashtag2"]},{"1328061064":["hashtag1","hashtag2"]},{"1328061058":["hashtag1","hashtag2"]},{"1328061068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328061073, 1328061055, 1328061064, 1328061058, 1328061068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.89697194099426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:11:22.094564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/10/image_11012025_05_10_02_338033_0003.jpg', '/home/pi/Desktop/images/11012025/05/11/image_11012025_05_11_02_925773_0000.jpg', '/home/pi/Desktop/images/11012025/05/11/image_11012025_05_11_02_925773_0001.jpg', '/home/pi/Desktop/images/11012025/05/11/image_11012025_05_11_02_925773_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/10/image_11012025_05_10_02_338033_0003.jpg
/home/pi/Desktop/images/11012025/05/11/image_11012025_05_11_02_925773_0000.jpg
/home/pi/Desktop/images/11012025/05/11/image_11012025_05_11_02_925773_0001.jpg
/home/pi/Desktop/images/11012025/05/11/image_11012025_05_11_02_925773_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328061088","1328061082","1328061085","1328061091"],"photo_ids_order":["1328061082","1328061085","1328061088","1328061091"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/92877b14100ae86ecb9b23f3ab7d3e86.jpg","text":"TemporaryFile(/tmp/multipartBody4790510456972046361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568752279,"filename":"image_11012025_05_11_02_925773_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/632a4870772984cc0ea74e6bcd97ed3a.jpg","text":"TemporaryFile(/tmp/multipartBody5683610180754327025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568752279,"filename":"image_11012025_05_10_02_338033_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eb688e6fc55c45517b0e97cd0c2f3255.jpg","text":"TemporaryFile(/tmp/multipartBody3645301430431819386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568752279,"filename":"image_11012025_05_11_02_925773_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/85e95a816722850238a303ec98c05bec.jpg","text":"TemporaryFile(/tmp/multipartBody2756928275363650611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568752279,"filename":"image_11012025_05_11_02_925773_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328061088","file1":"1328061085","file0":"1328061082","file3":"1328061091"},"map_files_photo_id_array":[{"photo_id":"1328061088","filename":"file2"},{"photo_id":"1328061085","filename":"file1"},{"photo_id":"1328061082","filename":"file0"},{"photo_id":"1328061091","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328061088":["hashtag1","hashtag2"]},{"1328061082":["hashtag1","hashtag2"]},{"1328061085":["hashtag1","hashtag2"]},{"1328061091":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328061088, 1328061082, 1328061085, 1328061091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.99088716506958 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-11 05:12:22.741001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/11/image_11012025_05_11_02_925773_0003.jpg', '/home/pi/Desktop/images/11012025/05/12/image_11012025_05_12_02_526565_0000.jpg', '/home/pi/Desktop/images/11012025/05/12/image_11012025_05_12_02_526565_0001.jpg', '/home/pi/Desktop/images/11012025/05/12/image_11012025_05_12_02_526565_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/11/image_11012025_05_11_02_925773_0003.jpg
/home/pi/Desktop/images/11012025/05/12/image_11012025_05_12_02_526565_0000.jpg
/home/pi/Desktop/images/11012025/05/12/image_11012025_05_12_02_526565_0001.jpg
/home/pi/Desktop/images/11012025/05/12/image_11012025_05_12_02_526565_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.860831499099731 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:13:02.757023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/11/image_11012025_05_11_02_925773_0003.jpg', '/home/pi/Desktop/images/11012025/05/12/image_11012025_05_12_02_526565_0000.jpg', '/home/pi/Desktop/images/11012025/05/12/image_11012025_05_12_02_526565_0001.jpg', '/home/pi/Desktop/images/11012025/05/12/image_11012025_05_12_02_526565_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/11/image_11012025_05_11_02_925773_0003.jpg
/home/pi/Desktop/images/11012025/05/12/image_11012025_05_12_02_526565_0000.jpg
/home/pi/Desktop/images/11012025/05/12/image_11012025_05_12_02_526565_0001.jpg
/home/pi/Desktop/images/11012025/05/12/image_11012025_05_12_02_526565_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328061529","1328061442","1328061523","1328061531"],"photo_ids_order":["1328061442","1328061523","1328061529","1328061531"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9d278ffec5da5fe396d2106222a1f504.jpg","text":"TemporaryFile(/tmp/multipartBody5081546718675859044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568853070,"filename":"image_11012025_05_12_02_526565_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7f3caf8eb8060aaa1b634554f4d1ef95.jpg","text":"TemporaryFile(/tmp/multipartBody3937050077827789957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568853070,"filename":"image_11012025_05_11_02_925773_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/509c22934fc7c1403b8e86f4ad194846.jpg","text":"TemporaryFile(/tmp/multipartBody953092214811290265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568853070,"filename":"image_11012025_05_12_02_526565_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d3779347bc547bb4c8aa05d52ba356e5.jpg","text":"TemporaryFile(/tmp/multipartBody1085408656980489011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568853070,"filename":"image_11012025_05_12_02_526565_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328061529","file1":"1328061523","file0":"1328061442","file3":"1328061531"},"map_files_photo_id_array":[{"photo_id":"1328061529","filename":"file2"},{"photo_id":"1328061523","filename":"file1"},{"photo_id":"1328061442","filename":"file0"},{"photo_id":"1328061531","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328061529":["hashtag1","hashtag2"]},{"1328061442":["hashtag1","hashtag2"]},{"1328061523":["hashtag1","hashtag2"]},{"1328061531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328061529, 1328061442, 1328061523, 1328061531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.23347306251526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:14:02.296851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/12/image_11012025_05_12_02_526565_0003.jpg', '/home/pi/Desktop/images/11012025/05/13/image_11012025_05_13_03_043375_0000.jpg', '/home/pi/Desktop/images/11012025/05/13/image_11012025_05_13_03_043375_0001.jpg', '/home/pi/Desktop/images/11012025/05/13/image_11012025_05_13_03_043375_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/12/image_11012025_05_12_02_526565_0003.jpg
/home/pi/Desktop/images/11012025/05/13/image_11012025_05_13_03_043375_0000.jpg
/home/pi/Desktop/images/11012025/05/13/image_11012025_05_13_03_043375_0001.jpg
/home/pi/Desktop/images/11012025/05/13/image_11012025_05_13_03_043375_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.033625841140747 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:14:21.937635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/12/image_11012025_05_12_02_526565_0003.jpg', '/home/pi/Desktop/images/11012025/05/13/image_11012025_05_13_03_043375_0000.jpg', '/home/pi/Desktop/images/11012025/05/13/image_11012025_05_13_03_043375_0001.jpg', '/home/pi/Desktop/images/11012025/05/13/image_11012025_05_13_03_043375_0002.jpg', '/home/pi/Desktop/images/11012025/05/13/image_11012025_05_13_03_043375_0003.jpg', '/home/pi/Desktop/images/11012025/05/14/image_11012025_05_14_02_529239_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/12/image_11012025_05_12_02_526565_0003.jpg
/home/pi/Desktop/images/11012025/05/13/image_11012025_05_13_03_043375_0000.jpg
/home/pi/Desktop/images/11012025/05/13/image_11012025_05_13_03_043375_0001.jpg
/home/pi/Desktop/images/11012025/05/13/image_11012025_05_13_03_043375_0002.jpg
/home/pi/Desktop/images/11012025/05/13/image_11012025_05_13_03_043375_0003.jpg
/home/pi/Desktop/images/11012025/05/14/image_11012025_05_14_02_529239_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328063060","1328062742","1328062724","1328062727","1328062966","1328062729"],"photo_ids_order":["1328062724","1328062727","1328062729","1328062742","1328062966","1328063060"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ce4be711cefaf20c36efcc9c3732286f.jpg","text":"TemporaryFile(/tmp/multipartBody4276051776260495576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568937076,"filename":"image_11012025_05_14_02_529239_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/801e4c79169587d8f9399d5c51c723c1.jpg","text":"TemporaryFile(/tmp/multipartBody8605644346032786550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568937076,"filename":"image_11012025_05_13_03_043375_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/682ec3961d130b86086604bb9702b965.jpg","text":"TemporaryFile(/tmp/multipartBody8466396476956488113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568937076,"filename":"image_11012025_05_12_02_526565_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ee3aa6954a99626f1290ebdfdda4ad3f.jpg","text":"TemporaryFile(/tmp/multipartBody8486706876650977700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568937076,"filename":"image_11012025_05_13_03_043375_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/71284f14d861ff5121ee01619dc81dff.jpg","text":"TemporaryFile(/tmp/multipartBody4435426186972882939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568937076,"filename":"image_11012025_05_13_03_043375_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/364d5a5f6abdb2ffb42c00a026837d27.jpg","text":"TemporaryFile(/tmp/multipartBody3715130997347938569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568937076,"filename":"image_11012025_05_13_03_043375_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328062729","file1":"1328062727","file0":"1328062724","file4":"1328062966","file5":"1328063060","file3":"1328062742"},"map_files_photo_id_array":[{"photo_id":"1328063060","filename":"file5"},{"photo_id":"1328062729","filename":"file2"},{"photo_id":"1328062966","filename":"file4"},{"photo_id":"1328062727","filename":"file1"},{"photo_id":"1328062724","filename":"file0"},{"photo_id":"1328062742","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328063060":["hashtag1","hashtag2"]},{"1328062742":["hashtag1","hashtag2"]},{"1328062724":["hashtag1","hashtag2"]},{"1328062727":["hashtag1","hashtag2"]},{"1328062966":["hashtag1","hashtag2"]},{"1328062729":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328063060, 1328062742, 1328062724, 1328062727, 1328062966, 1328062729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.92787146568298 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:15:22.392646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/14/image_11012025_05_14_02_529239_0001.jpg', '/home/pi/Desktop/images/11012025/05/14/image_11012025_05_14_02_529239_0002.jpg', '/home/pi/Desktop/images/11012025/05/14/image_11012025_05_14_02_529239_0003.jpg', '/home/pi/Desktop/images/11012025/05/15/image_11012025_05_15_02_278443_0000.jpg', '/home/pi/Desktop/images/11012025/05/15/image_11012025_05_15_02_278443_0001.jpg', '/home/pi/Desktop/images/11012025/05/15/image_11012025_05_15_02_278443_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/14/image_11012025_05_14_02_529239_0001.jpg
/home/pi/Desktop/images/11012025/05/14/image_11012025_05_14_02_529239_0002.jpg
/home/pi/Desktop/images/11012025/05/14/image_11012025_05_14_02_529239_0003.jpg
/home/pi/Desktop/images/11012025/05/15/image_11012025_05_15_02_278443_0000.jpg
/home/pi/Desktop/images/11012025/05/15/image_11012025_05_15_02_278443_0001.jpg
/home/pi/Desktop/images/11012025/05/15/image_11012025_05_15_02_278443_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328063317","1328063310","1328063307","1328063342","1328063315","1328063158"],"photo_ids_order":["1328063158","1328063307","1328063310","1328063315","1328063317","1328063342"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9d770aa92298f8650f5939d215b134cc.jpg","text":"TemporaryFile(/tmp/multipartBody3076284324692506464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568997330,"filename":"image_11012025_05_15_02_278443_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5670c582047243919f7cdb328138c7c7.jpg","text":"TemporaryFile(/tmp/multipartBody7880383568372376267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568997330,"filename":"image_11012025_05_14_02_529239_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/16cd9ad8c1f7a54cd353c96f4fce2e61.jpg","text":"TemporaryFile(/tmp/multipartBody4445580863389275872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568997330,"filename":"image_11012025_05_14_02_529239_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c8ea8339d75c7c21019cc42f10762d0c.jpg","text":"TemporaryFile(/tmp/multipartBody755778284960588518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568997330,"filename":"image_11012025_05_15_02_278443_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3876a21b7d567de9257fd932c7d2d3d2.jpg","text":"TemporaryFile(/tmp/multipartBody3599901578690189505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568997330,"filename":"image_11012025_05_15_02_278443_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ec3bfc68937e7d54ceb7baede0565f54.jpg","text":"TemporaryFile(/tmp/multipartBody8316269530887828291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736568997330,"filename":"image_11012025_05_14_02_529239_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328063310","file1":"1328063307","file0":"1328063158","file4":"1328063317","file5":"1328063342","file3":"1328063315"},"map_files_photo_id_array":[{"photo_id":"1328063342","filename":"file5"},{"photo_id":"1328063310","filename":"file2"},{"photo_id":"1328063317","filename":"file4"},{"photo_id":"1328063307","filename":"file1"},{"photo_id":"1328063158","filename":"file0"},{"photo_id":"1328063315","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328063317":["hashtag1","hashtag2"]},{"1328063310":["hashtag1","hashtag2"]},{"1328063307":["hashtag1","hashtag2"]},{"1328063342":["hashtag1","hashtag2"]},{"1328063315":["hashtag1","hashtag2"]},{"1328063158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328063317, 1328063310, 1328063307, 1328063342, 1328063315, 1328063158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.87171912193298 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:16:21.968678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/15/image_11012025_05_15_02_278443_0003.jpg', '/home/pi/Desktop/images/11012025/05/16/image_11012025_05_16_02_826295_0000.jpg', '/home/pi/Desktop/images/11012025/05/16/image_11012025_05_16_02_826295_0001.jpg', '/home/pi/Desktop/images/11012025/05/16/image_11012025_05_16_02_826295_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/15/image_11012025_05_15_02_278443_0003.jpg
/home/pi/Desktop/images/11012025/05/16/image_11012025_05_16_02_826295_0000.jpg
/home/pi/Desktop/images/11012025/05/16/image_11012025_05_16_02_826295_0001.jpg
/home/pi/Desktop/images/11012025/05/16/image_11012025_05_16_02_826295_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328063598","1328063576","1328063450","1328063708"],"photo_ids_order":["1328063450","1328063576","1328063598","1328063708"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/178ea1769c154fbe7477b99b820b4a0e.jpg","text":"TemporaryFile(/tmp/multipartBody6243138690584662478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569052106,"filename":"image_11012025_05_16_02_826295_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c90d443401311395d21a63c1bbb032be.jpg","text":"TemporaryFile(/tmp/multipartBody5983231461361859992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569052106,"filename":"image_11012025_05_16_02_826295_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6aa9420f03d514c99b9346935825a45b.jpg","text":"TemporaryFile(/tmp/multipartBody7088906404814911818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569052106,"filename":"image_11012025_05_15_02_278443_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fcb5dbd3e815d7c0ee31f61901afd236.jpg","text":"TemporaryFile(/tmp/multipartBody6354381299063070803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569052106,"filename":"image_11012025_05_16_02_826295_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328063598","file1":"1328063576","file0":"1328063450","file3":"1328063708"},"map_files_photo_id_array":[{"photo_id":"1328063598","filename":"file2"},{"photo_id":"1328063576","filename":"file1"},{"photo_id":"1328063450","filename":"file0"},{"photo_id":"1328063708","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328063598":["hashtag1","hashtag2"]},{"1328063576":["hashtag1","hashtag2"]},{"1328063450":["hashtag1","hashtag2"]},{"1328063708":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328063598, 1328063576, 1328063450, 1328063708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.08239960670471 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:17:22.481546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/16/image_11012025_05_16_02_826295_0003.jpg', '/home/pi/Desktop/images/11012025/05/17/image_11012025_05_17_02_332801_0000.jpg', '/home/pi/Desktop/images/11012025/05/17/image_11012025_05_17_02_332801_0001.jpg', '/home/pi/Desktop/images/11012025/05/17/image_11012025_05_17_02_332801_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/16/image_11012025_05_16_02_826295_0003.jpg
/home/pi/Desktop/images/11012025/05/17/image_11012025_05_17_02_332801_0000.jpg
/home/pi/Desktop/images/11012025/05/17/image_11012025_05_17_02_332801_0001.jpg
/home/pi/Desktop/images/11012025/05/17/image_11012025_05_17_02_332801_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328063769","1328063772","1328063774","1328063776"],"photo_ids_order":["1328063769","1328063772","1328063774","1328063776"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5a4bdcba271e17f440e69327910c8237.jpg","text":"TemporaryFile(/tmp/multipartBody4358224088972343920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569112871,"filename":"image_11012025_05_16_02_826295_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8f858f2a5037a8e3ddf6a7c83c53dd18.jpg","text":"TemporaryFile(/tmp/multipartBody6989193635737900218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569112871,"filename":"image_11012025_05_17_02_332801_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d02e56ce681f17dc0f959d37b7e81ee9.jpg","text":"TemporaryFile(/tmp/multipartBody3492436356658765983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569112871,"filename":"image_11012025_05_17_02_332801_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/77e143f927cde71862f3d220fd31d3ff.jpg","text":"TemporaryFile(/tmp/multipartBody2579953948854899505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569112871,"filename":"image_11012025_05_17_02_332801_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328063774","file1":"1328063772","file0":"1328063769","file3":"1328063776"},"map_files_photo_id_array":[{"photo_id":"1328063774","filename":"file2"},{"photo_id":"1328063772","filename":"file1"},{"photo_id":"1328063769","filename":"file0"},{"photo_id":"1328063776","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328063769":["hashtag1","hashtag2"]},{"1328063772":["hashtag1","hashtag2"]},{"1328063774":["hashtag1","hashtag2"]},{"1328063776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328063769, 1328063772, 1328063774, 1328063776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.93596363067627 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:18:02.524399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/10/image_09012025_23_10_02_872471_0002.jpg', '/home/pi/Desktop/images/09012025/23/10/image_09012025_23_10_02_872471_0003.jpg', '/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_0000.jpg', '/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_0001.jpg', '/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_0002.jpg', '/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/10/image_09012025_23_10_02_872471_0002.jpg
/home/pi/Desktop/images/09012025/23/10/image_09012025_23_10_02_872471_0003.jpg
/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_0000.jpg
/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_0001.jpg
/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_0002.jpg
/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_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.758402347564697 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:18:21.983974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/17/image_11012025_05_17_02_332801_0003.jpg', '/home/pi/Desktop/images/11012025/05/18/image_11012025_05_18_02_877207_0000.jpg', '/home/pi/Desktop/images/11012025/05/18/image_11012025_05_18_02_877207_0001.jpg', '/home/pi/Desktop/images/11012025/05/18/image_11012025_05_18_02_877207_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/17/image_11012025_05_17_02_332801_0003.jpg
/home/pi/Desktop/images/11012025/05/18/image_11012025_05_18_02_877207_0000.jpg
/home/pi/Desktop/images/11012025/05/18/image_11012025_05_18_02_877207_0001.jpg
/home/pi/Desktop/images/11012025/05/18/image_11012025_05_18_02_877207_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328063790","1328063794","1328063797","1328063785"],"photo_ids_order":["1328063785","1328063790","1328063794","1328063797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9bd565fd73f8174a8689e71b382c98f9.jpg","text":"TemporaryFile(/tmp/multipartBody5383741173278162858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569172238,"filename":"image_11012025_05_18_02_877207_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/12dd27bbbac775426a69c84d8f6241ae.jpg","text":"TemporaryFile(/tmp/multipartBody5535018531016828837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569172238,"filename":"image_11012025_05_18_02_877207_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aa63eff950c789b596db28722006abd0.jpg","text":"TemporaryFile(/tmp/multipartBody1163095519272906080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569172238,"filename":"image_11012025_05_18_02_877207_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c3974b0ec48a92b9afc22e8233875ae1.jpg","text":"TemporaryFile(/tmp/multipartBody4990307027357013699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569172238,"filename":"image_11012025_05_17_02_332801_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328063794","file1":"1328063790","file0":"1328063785","file3":"1328063797"},"map_files_photo_id_array":[{"photo_id":"1328063794","filename":"file2"},{"photo_id":"1328063790","filename":"file1"},{"photo_id":"1328063785","filename":"file0"},{"photo_id":"1328063797","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328063790":["hashtag1","hashtag2"]},{"1328063794":["hashtag1","hashtag2"]},{"1328063797":["hashtag1","hashtag2"]},{"1328063785":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328063790, 1328063794, 1328063797, 1328063785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.46922421455383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:19:03.044970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/10/image_09012025_23_10_02_872471_0002.jpg', '/home/pi/Desktop/images/09012025/23/10/image_09012025_23_10_02_872471_0003.jpg', '/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_0000.jpg', '/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_0001.jpg', '/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_0002.jpg', '/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/10/image_09012025_23_10_02_872471_0002.jpg
/home/pi/Desktop/images/09012025/23/10/image_09012025_23_10_02_872471_0003.jpg
/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_0000.jpg
/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_0001.jpg
/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_0002.jpg
/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_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.749598503112793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:19:22.401212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/18/image_11012025_05_18_02_877207_0003.jpg', '/home/pi/Desktop/images/11012025/05/19/image_11012025_05_19_02_356071_0000.jpg', '/home/pi/Desktop/images/11012025/05/19/image_11012025_05_19_02_356071_0001.jpg', '/home/pi/Desktop/images/11012025/05/19/image_11012025_05_19_02_356071_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/18/image_11012025_05_18_02_877207_0003.jpg
/home/pi/Desktop/images/11012025/05/19/image_11012025_05_19_02_356071_0000.jpg
/home/pi/Desktop/images/11012025/05/19/image_11012025_05_19_02_356071_0001.jpg
/home/pi/Desktop/images/11012025/05/19/image_11012025_05_19_02_356071_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328063853","1328063856","1328063849","1328063845"],"photo_ids_order":["1328063845","1328063849","1328063853","1328063856"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b8b891ee852ca436b353c188782ef2f0.jpg","text":"TemporaryFile(/tmp/multipartBody7298488555045490302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569232415,"filename":"image_11012025_05_19_02_356071_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/be335020f9426bd074761f4adef17a41.jpg","text":"TemporaryFile(/tmp/multipartBody3234381942500576736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569232415,"filename":"image_11012025_05_19_02_356071_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3a33b8e3585918b62d49346c9fa94c40.jpg","text":"TemporaryFile(/tmp/multipartBody4132913988557644810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569232415,"filename":"image_11012025_05_19_02_356071_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3faf940e816b5122b1cbf82f664953bc.jpg","text":"TemporaryFile(/tmp/multipartBody4672777605343257767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569232415,"filename":"image_11012025_05_18_02_877207_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328063853","file1":"1328063849","file0":"1328063845","file3":"1328063856"},"map_files_photo_id_array":[{"photo_id":"1328063853","filename":"file2"},{"photo_id":"1328063849","filename":"file1"},{"photo_id":"1328063845","filename":"file0"},{"photo_id":"1328063856","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328063853":["hashtag1","hashtag2"]},{"1328063856":["hashtag1","hashtag2"]},{"1328063849":["hashtag1","hashtag2"]},{"1328063845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328063853, 1328063856, 1328063849, 1328063845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.9025342464447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:20:02.570950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/10/image_09012025_23_10_02_872471_0002.jpg', '/home/pi/Desktop/images/09012025/23/10/image_09012025_23_10_02_872471_0003.jpg', '/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_0000.jpg', '/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_0001.jpg', '/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_0002.jpg', '/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/10/image_09012025_23_10_02_872471_0002.jpg
/home/pi/Desktop/images/09012025/23/10/image_09012025_23_10_02_872471_0003.jpg
/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_0000.jpg
/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_0001.jpg
/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_0002.jpg
/home/pi/Desktop/images/09012025/23/11/image_09012025_23_11_03_052833_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328063862","1328063870","1328063864","1328063873","1328063866","1328063860"],"photo_ids_order":["1328063860","1328063862","1328063864","1328063866","1328063870","1328063873"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/854d9ae8a5d6cc862d62031e6d164ffe.jpg","text":"TemporaryFile(/tmp/multipartBody6916758381141726826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569278582,"filename":"image_09012025_23_10_02_872471_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ea66cc04a28e2de515e124094646fca9.jpg","text":"TemporaryFile(/tmp/multipartBody5338522633240937157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569278582,"filename":"image_09012025_23_11_03_052833_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6b8763706cafe14efed25efb6fffbdc6.jpg","text":"TemporaryFile(/tmp/multipartBody560226469740596299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569278582,"filename":"image_09012025_23_11_03_052833_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/639167677a877b33e652dd0d79609fc9.jpg","text":"TemporaryFile(/tmp/multipartBody19151525313726212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569278582,"filename":"image_09012025_23_11_03_052833_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/44e5205d42a55c0f46c477c119a91b70.jpg","text":"TemporaryFile(/tmp/multipartBody2553471934238686167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569278582,"filename":"image_09012025_23_11_03_052833_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e433d739ebde8b10416e7c21ca8c21f5.jpg","text":"TemporaryFile(/tmp/multipartBody7476043661871938678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569278582,"filename":"image_09012025_23_10_02_872471_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328063864","file1":"1328063862","file0":"1328063860","file4":"1328063870","file5":"1328063873","file3":"1328063866"},"map_files_photo_id_array":[{"photo_id":"1328063873","filename":"file5"},{"photo_id":"1328063864","filename":"file2"},{"photo_id":"1328063870","filename":"file4"},{"photo_id":"1328063862","filename":"file1"},{"photo_id":"1328063860","filename":"file0"},{"photo_id":"1328063866","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328063862":["hashtag1","hashtag2"]},{"1328063870":["hashtag1","hashtag2"]},{"1328063864":["hashtag1","hashtag2"]},{"1328063873":["hashtag1","hashtag2"]},{"1328063866":["hashtag1","hashtag2"]},{"1328063860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328063862, 1328063870, 1328063864, 1328063873, 1328063866, 1328063860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.13310694694519 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:21:03.017169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/19/image_11012025_05_19_02_356071_0003.jpg', '/home/pi/Desktop/images/11012025/05/20/image_11012025_05_20_02_779790_0000.jpg', '/home/pi/Desktop/images/11012025/05/20/image_11012025_05_20_02_779790_0001.jpg', '/home/pi/Desktop/images/11012025/05/20/image_11012025_05_20_02_779790_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/19/image_11012025_05_19_02_356071_0003.jpg
/home/pi/Desktop/images/11012025/05/20/image_11012025_05_20_02_779790_0000.jpg
/home/pi/Desktop/images/11012025/05/20/image_11012025_05_20_02_779790_0001.jpg
/home/pi/Desktop/images/11012025/05/20/image_11012025_05_20_02_779790_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.784259796142578 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:21:22.478000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/19/image_11012025_05_19_02_356071_0003.jpg', '/home/pi/Desktop/images/11012025/05/20/image_11012025_05_20_02_779790_0000.jpg', '/home/pi/Desktop/images/11012025/05/20/image_11012025_05_20_02_779790_0001.jpg', '/home/pi/Desktop/images/11012025/05/20/image_11012025_05_20_02_779790_0002.jpg', '/home/pi/Desktop/images/11012025/05/20/image_11012025_05_20_02_779790_0003.jpg', '/home/pi/Desktop/images/11012025/05/21/image_11012025_05_21_02_353602_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/19/image_11012025_05_19_02_356071_0003.jpg
/home/pi/Desktop/images/11012025/05/20/image_11012025_05_20_02_779790_0000.jpg
/home/pi/Desktop/images/11012025/05/20/image_11012025_05_20_02_779790_0001.jpg
/home/pi/Desktop/images/11012025/05/20/image_11012025_05_20_02_779790_0002.jpg
/home/pi/Desktop/images/11012025/05/20/image_11012025_05_20_02_779790_0003.jpg
/home/pi/Desktop/images/11012025/05/21/image_11012025_05_21_02_353602_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328063889","1328063894","1328063896","1328063898","1328063892","1328063886"],"photo_ids_order":["1328063886","1328063889","1328063892","1328063894","1328063896","1328063898"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/479581f731b9db579898a61a8038e296.jpg","text":"TemporaryFile(/tmp/multipartBody159220888239309716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569357386,"filename":"image_11012025_05_20_02_779790_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6e9964ab6e715116679c3b5220d50a35.jpg","text":"TemporaryFile(/tmp/multipartBody558258028693175574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569357386,"filename":"image_11012025_05_20_02_779790_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/625067a6d98efba53e3718f3955517da.jpg","text":"TemporaryFile(/tmp/multipartBody953054294395981599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569357386,"filename":"image_11012025_05_20_02_779790_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/550ebb9c3778dba529dd3c2f00ef33c3.jpg","text":"TemporaryFile(/tmp/multipartBody7200682749704800033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569357386,"filename":"image_11012025_05_21_02_353602_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6de117c85d316ae8099dd73dba53cb02.jpg","text":"TemporaryFile(/tmp/multipartBody3743671360158735852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569357386,"filename":"image_11012025_05_20_02_779790_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1a40d478689fb92b51ae88cefc0ec17b.jpg","text":"TemporaryFile(/tmp/multipartBody1459306901000584044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569357386,"filename":"image_11012025_05_19_02_356071_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328063892","file1":"1328063889","file0":"1328063886","file4":"1328063896","file5":"1328063898","file3":"1328063894"},"map_files_photo_id_array":[{"photo_id":"1328063898","filename":"file5"},{"photo_id":"1328063892","filename":"file2"},{"photo_id":"1328063896","filename":"file4"},{"photo_id":"1328063889","filename":"file1"},{"photo_id":"1328063886","filename":"file0"},{"photo_id":"1328063894","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328063889":["hashtag1","hashtag2"]},{"1328063894":["hashtag1","hashtag2"]},{"1328063896":["hashtag1","hashtag2"]},{"1328063898":["hashtag1","hashtag2"]},{"1328063892":["hashtag1","hashtag2"]},{"1328063886":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328063889, 1328063894, 1328063896, 1328063898, 1328063892, 1328063886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.86201763153076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:22:22.175032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/21/image_11012025_05_21_02_353602_0001.jpg', '/home/pi/Desktop/images/11012025/05/21/image_11012025_05_21_02_353602_0002.jpg', '/home/pi/Desktop/images/11012025/05/21/image_11012025_05_21_02_353602_0003.jpg', '/home/pi/Desktop/images/11012025/05/22/image_11012025_05_22_02_895599_0000.jpg', '/home/pi/Desktop/images/11012025/05/22/image_11012025_05_22_02_895599_0001.jpg', '/home/pi/Desktop/images/11012025/05/22/image_11012025_05_22_02_895599_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/21/image_11012025_05_21_02_353602_0001.jpg
/home/pi/Desktop/images/11012025/05/21/image_11012025_05_21_02_353602_0002.jpg
/home/pi/Desktop/images/11012025/05/21/image_11012025_05_21_02_353602_0003.jpg
/home/pi/Desktop/images/11012025/05/22/image_11012025_05_22_02_895599_0000.jpg
/home/pi/Desktop/images/11012025/05/22/image_11012025_05_22_02_895599_0001.jpg
/home/pi/Desktop/images/11012025/05/22/image_11012025_05_22_02_895599_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328063958","1328063916","1328063990","1328063963","1328063954","1328063923"],"photo_ids_order":["1328063916","1328063923","1328063954","1328063958","1328063963","1328063990"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ee86995966ecd1397b2a465520b7c550.jpg","text":"TemporaryFile(/tmp/multipartBody1759366171961992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569416885,"filename":"image_11012025_05_22_02_895599_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1d9d98b54035d6398bd843aca88a321b.jpg","text":"TemporaryFile(/tmp/multipartBody549779125447393459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569416885,"filename":"image_11012025_05_21_02_353602_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e615d582d08f6391da21e44023d3adee.jpg","text":"TemporaryFile(/tmp/multipartBody7965733304522314491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569416885,"filename":"image_11012025_05_22_02_895599_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6622d4cb74c831539ebd029de800e1de.jpg","text":"TemporaryFile(/tmp/multipartBody2919879455410356765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569416885,"filename":"image_11012025_05_22_02_895599_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dca25a7b9ff9246a58b6cf3d2d0d00bf.jpg","text":"TemporaryFile(/tmp/multipartBody5187832089668568827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569416885,"filename":"image_11012025_05_21_02_353602_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8abe815a0086248d00c4570bc67e9a40.jpg","text":"TemporaryFile(/tmp/multipartBody1348295473739742695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569416885,"filename":"image_11012025_05_21_02_353602_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328063954","file1":"1328063923","file0":"1328063916","file4":"1328063963","file5":"1328063990","file3":"1328063958"},"map_files_photo_id_array":[{"photo_id":"1328063990","filename":"file5"},{"photo_id":"1328063954","filename":"file2"},{"photo_id":"1328063963","filename":"file4"},{"photo_id":"1328063923","filename":"file1"},{"photo_id":"1328063916","filename":"file0"},{"photo_id":"1328063958","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328063958":["hashtag1","hashtag2"]},{"1328063916":["hashtag1","hashtag2"]},{"1328063990":["hashtag1","hashtag2"]},{"1328063963":["hashtag1","hashtag2"]},{"1328063954":["hashtag1","hashtag2"]},{"1328063923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328063958, 1328063916, 1328063990, 1328063963, 1328063954, 1328063923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.8993866443634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:23:22.678528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/22/image_11012025_05_22_02_895599_0003.jpg', '/home/pi/Desktop/images/11012025/05/23/image_11012025_05_23_02_540377_0000.jpg', '/home/pi/Desktop/images/11012025/05/23/image_11012025_05_23_02_540377_0001.jpg', '/home/pi/Desktop/images/11012025/05/23/image_11012025_05_23_02_540377_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/22/image_11012025_05_22_02_895599_0003.jpg
/home/pi/Desktop/images/11012025/05/23/image_11012025_05_23_02_540377_0000.jpg
/home/pi/Desktop/images/11012025/05/23/image_11012025_05_23_02_540377_0001.jpg
/home/pi/Desktop/images/11012025/05/23/image_11012025_05_23_02_540377_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328064044","1328064041","1328064038","1328064034"],"photo_ids_order":["1328064034","1328064038","1328064041","1328064044"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/09875151c28e7a512dd365a642ccc5d9.jpg","text":"TemporaryFile(/tmp/multipartBody5628945691109117244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569472949,"filename":"image_11012025_05_23_02_540377_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1058bd5450b75db96eb96896d442f6ac.jpg","text":"TemporaryFile(/tmp/multipartBody5215310244798061573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569472949,"filename":"image_11012025_05_23_02_540377_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f684d2bcbc5f27203ad285a932ffdcb9.jpg","text":"TemporaryFile(/tmp/multipartBody799240587483830477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569472949,"filename":"image_11012025_05_23_02_540377_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6b3f889593f1f17ed5312fc34d2810e5.jpg","text":"TemporaryFile(/tmp/multipartBody1463755900288586805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569472949,"filename":"image_11012025_05_22_02_895599_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328064041","file1":"1328064038","file0":"1328064034","file3":"1328064044"},"map_files_photo_id_array":[{"photo_id":"1328064041","filename":"file2"},{"photo_id":"1328064038","filename":"file1"},{"photo_id":"1328064034","filename":"file0"},{"photo_id":"1328064044","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328064044":["hashtag1","hashtag2"]},{"1328064041":["hashtag1","hashtag2"]},{"1328064038":["hashtag1","hashtag2"]},{"1328064034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328064044, 1328064041, 1328064038, 1328064034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.24475455284119 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:24:02.551423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/12/image_09012025_23_12_02_293777_0000.jpg', '/home/pi/Desktop/images/09012025/23/12/image_09012025_23_12_02_293777_0001.jpg', '/home/pi/Desktop/images/09012025/23/12/image_09012025_23_12_02_293777_0002.jpg', '/home/pi/Desktop/images/09012025/23/12/image_09012025_23_12_02_293777_0003.jpg', '/home/pi/Desktop/images/09012025/23/13/image_09012025_23_13_02_509944_0000.jpg', '/home/pi/Desktop/images/09012025/23/13/image_09012025_23_13_02_509944_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/12/image_09012025_23_12_02_293777_0000.jpg
/home/pi/Desktop/images/09012025/23/12/image_09012025_23_12_02_293777_0001.jpg
/home/pi/Desktop/images/09012025/23/12/image_09012025_23_12_02_293777_0002.jpg
/home/pi/Desktop/images/09012025/23/12/image_09012025_23_12_02_293777_0003.jpg
/home/pi/Desktop/images/09012025/23/13/image_09012025_23_13_02_509944_0000.jpg
/home/pi/Desktop/images/09012025/23/13/image_09012025_23_13_02_509944_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328064065","1328064050","1328064061","1328064058","1328064052","1328064054"],"photo_ids_order":["1328064050","1328064052","1328064054","1328064058","1328064061","1328064065"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0b8cdf6581dde0d9b0712dcec7143e59.jpg","text":"TemporaryFile(/tmp/multipartBody7088917140316226981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569518825,"filename":"image_09012025_23_13_02_509944_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/48bef785a54dffccac21b26cca545a72.jpg","text":"TemporaryFile(/tmp/multipartBody3680216870872394533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569518825,"filename":"image_09012025_23_12_02_293777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3061722c6f90dab190115885a2bc7cef.jpg","text":"TemporaryFile(/tmp/multipartBody311011691412386515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569518825,"filename":"image_09012025_23_13_02_509944_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4f5d153fd2a71a1a574eca75ed1c784f.jpg","text":"TemporaryFile(/tmp/multipartBody376723951197666859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569518825,"filename":"image_09012025_23_12_02_293777_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/82d630db4f95621a989e283896d9a45f.jpg","text":"TemporaryFile(/tmp/multipartBody8298776523452406752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569518825,"filename":"image_09012025_23_12_02_293777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/443fd7a47bdeedce3dc4897d7a370122.jpg","text":"TemporaryFile(/tmp/multipartBody3234577825624278371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569518825,"filename":"image_09012025_23_12_02_293777_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328064054","file1":"1328064052","file0":"1328064050","file4":"1328064061","file5":"1328064065","file3":"1328064058"},"map_files_photo_id_array":[{"photo_id":"1328064065","filename":"file5"},{"photo_id":"1328064054","filename":"file2"},{"photo_id":"1328064061","filename":"file4"},{"photo_id":"1328064052","filename":"file1"},{"photo_id":"1328064050","filename":"file0"},{"photo_id":"1328064058","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328064065":["hashtag1","hashtag2"]},{"1328064050":["hashtag1","hashtag2"]},{"1328064061":["hashtag1","hashtag2"]},{"1328064058":["hashtag1","hashtag2"]},{"1328064052":["hashtag1","hashtag2"]},{"1328064054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328064065, 1328064050, 1328064061, 1328064058, 1328064052, 1328064054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.29983043670654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:25:03.326437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/23/image_11012025_05_23_02_540377_0003.jpg', '/home/pi/Desktop/images/11012025/05/24/image_11012025_05_24_03_043845_0000.jpg', '/home/pi/Desktop/images/11012025/05/24/image_11012025_05_24_03_043845_0001.jpg', '/home/pi/Desktop/images/11012025/05/24/image_11012025_05_24_03_043845_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/23/image_11012025_05_23_02_540377_0003.jpg
/home/pi/Desktop/images/11012025/05/24/image_11012025_05_24_03_043845_0000.jpg
/home/pi/Desktop/images/11012025/05/24/image_11012025_05_24_03_043845_0001.jpg
/home/pi/Desktop/images/11012025/05/24/image_11012025_05_24_03_043845_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328064105","1328064080","1328064101","1328064103"],"photo_ids_order":["1328064080","1328064101","1328064103","1328064105"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/13658c55312172ee3ed979f5367451c9.jpg","text":"TemporaryFile(/tmp/multipartBody8485819317965108919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569573623,"filename":"image_11012025_05_24_03_043845_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2b49a22849d08ac6a5a3ab935f5180d8.jpg","text":"TemporaryFile(/tmp/multipartBody2602670471591610898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569573623,"filename":"image_11012025_05_23_02_540377_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c69e804122aad81334178c10d2e67d2e.jpg","text":"TemporaryFile(/tmp/multipartBody8136538639511164068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569573623,"filename":"image_11012025_05_24_03_043845_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8fd658fab17cd80c06f9840bba7dd1b2.jpg","text":"TemporaryFile(/tmp/multipartBody5182304669373499759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569573623,"filename":"image_11012025_05_24_03_043845_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328064103","file1":"1328064101","file0":"1328064080","file3":"1328064105"},"map_files_photo_id_array":[{"photo_id":"1328064103","filename":"file2"},{"photo_id":"1328064101","filename":"file1"},{"photo_id":"1328064080","filename":"file0"},{"photo_id":"1328064105","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328064105":["hashtag1","hashtag2"]},{"1328064080":["hashtag1","hashtag2"]},{"1328064101":["hashtag1","hashtag2"]},{"1328064103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328064105, 1328064080, 1328064101, 1328064103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.267091035842896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:26:02.751886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/24/image_11012025_05_24_03_043845_0003.jpg', '/home/pi/Desktop/images/11012025/05/25/image_11012025_05_25_02_534846_0000.jpg', '/home/pi/Desktop/images/11012025/05/25/image_11012025_05_25_02_534846_0001.jpg', '/home/pi/Desktop/images/11012025/05/25/image_11012025_05_25_02_534846_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/24/image_11012025_05_24_03_043845_0003.jpg
/home/pi/Desktop/images/11012025/05/25/image_11012025_05_25_02_534846_0000.jpg
/home/pi/Desktop/images/11012025/05/25/image_11012025_05_25_02_534846_0001.jpg
/home/pi/Desktop/images/11012025/05/25/image_11012025_05_25_02_534846_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328064254","1328064253","1328064256","1328064258"],"photo_ids_order":["1328064253","1328064254","1328064256","1328064258"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f85831e31e9d856d856a7d38c7dbd850.jpg","text":"TemporaryFile(/tmp/multipartBody8098030211514908475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569633080,"filename":"image_11012025_05_25_02_534846_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d69ecb0680a6b0bce40c366626cc7d4b.jpg","text":"TemporaryFile(/tmp/multipartBody6484309098169515364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569633080,"filename":"image_11012025_05_24_03_043845_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f0fae42fa75d5e47d89e781e22e2f25f.jpg","text":"TemporaryFile(/tmp/multipartBody9164737424968554852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569633080,"filename":"image_11012025_05_25_02_534846_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4c9b0f6b5bdea28c82919b7a725c11ba.jpg","text":"TemporaryFile(/tmp/multipartBody6133329734208121140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569633080,"filename":"image_11012025_05_25_02_534846_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328064256","file1":"1328064254","file0":"1328064253","file3":"1328064258"},"map_files_photo_id_array":[{"photo_id":"1328064256","filename":"file2"},{"photo_id":"1328064254","filename":"file1"},{"photo_id":"1328064253","filename":"file0"},{"photo_id":"1328064258","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328064254":["hashtag1","hashtag2"]},{"1328064253":["hashtag1","hashtag2"]},{"1328064256":["hashtag1","hashtag2"]},{"1328064258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328064254, 1328064253, 1328064256, 1328064258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.6736102104187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:27:02.483943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/25/image_11012025_05_25_02_534846_0003.jpg', '/home/pi/Desktop/images/11012025/05/26/image_11012025_05_26_03_058736_0000.jpg', '/home/pi/Desktop/images/11012025/05/26/image_11012025_05_26_03_058736_0001.jpg', '/home/pi/Desktop/images/11012025/05/26/image_11012025_05_26_03_058736_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/25/image_11012025_05_25_02_534846_0003.jpg
/home/pi/Desktop/images/11012025/05/26/image_11012025_05_26_03_058736_0000.jpg
/home/pi/Desktop/images/11012025/05/26/image_11012025_05_26_03_058736_0001.jpg
/home/pi/Desktop/images/11012025/05/26/image_11012025_05_26_03_058736_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328064275","1328064272","1328064277","1328064273"],"photo_ids_order":["1328064272","1328064273","1328064275","1328064277"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c0ee455ded76e3299980c94074012645.jpg","text":"TemporaryFile(/tmp/multipartBody4849212218724408037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569692786,"filename":"image_11012025_05_26_03_058736_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/afb04191691555de4671c08fcbe5c88f.jpg","text":"TemporaryFile(/tmp/multipartBody7138129881289998830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569692786,"filename":"image_11012025_05_25_02_534846_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/706efd8d51e190aa05d9d8c8eba85c0d.jpg","text":"TemporaryFile(/tmp/multipartBody8693839405158919288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569692786,"filename":"image_11012025_05_26_03_058736_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5386c2950cdded0d296f61d1bd4deb3d.jpg","text":"TemporaryFile(/tmp/multipartBody7825064717029718241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569692786,"filename":"image_11012025_05_26_03_058736_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328064275","file1":"1328064273","file0":"1328064272","file3":"1328064277"},"map_files_photo_id_array":[{"photo_id":"1328064275","filename":"file2"},{"photo_id":"1328064273","filename":"file1"},{"photo_id":"1328064272","filename":"file0"},{"photo_id":"1328064277","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328064275":["hashtag1","hashtag2"]},{"1328064272":["hashtag1","hashtag2"]},{"1328064277":["hashtag1","hashtag2"]},{"1328064273":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328064275, 1328064272, 1328064277, 1328064273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.985910415649414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:28:03.004505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/26/image_11012025_05_26_03_058736_0003.jpg', '/home/pi/Desktop/images/11012025/05/27/image_11012025_05_27_02_722342_0000.jpg', '/home/pi/Desktop/images/11012025/05/27/image_11012025_05_27_02_722342_0001.jpg', '/home/pi/Desktop/images/11012025/05/27/image_11012025_05_27_02_722342_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/26/image_11012025_05_26_03_058736_0003.jpg
/home/pi/Desktop/images/11012025/05/27/image_11012025_05_27_02_722342_0000.jpg
/home/pi/Desktop/images/11012025/05/27/image_11012025_05_27_02_722342_0001.jpg
/home/pi/Desktop/images/11012025/05/27/image_11012025_05_27_02_722342_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328064341","1328064338","1328064340","1328064337"],"photo_ids_order":["1328064337","1328064338","1328064340","1328064341"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/de812ee7575c8dea3639baf9e3e69b2a.jpg","text":"TemporaryFile(/tmp/multipartBody8931214601392622926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569753116,"filename":"image_11012025_05_27_02_722342_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e8881751ffb0064c97edd476aa1dbadd.jpg","text":"TemporaryFile(/tmp/multipartBody3867374780785914736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569753116,"filename":"image_11012025_05_27_02_722342_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d60912e6a45332521f5f06b960d6b705.jpg","text":"TemporaryFile(/tmp/multipartBody3247549754890361501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569753116,"filename":"image_11012025_05_27_02_722342_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9c48952de8bef6f8df88411cbe0ee610.jpg","text":"TemporaryFile(/tmp/multipartBody5086300702806978494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569753116,"filename":"image_11012025_05_26_03_058736_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328064340","file1":"1328064338","file0":"1328064337","file3":"1328064341"},"map_files_photo_id_array":[{"photo_id":"1328064340","filename":"file2"},{"photo_id":"1328064338","filename":"file1"},{"photo_id":"1328064337","filename":"file0"},{"photo_id":"1328064341","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328064341":["hashtag1","hashtag2"]},{"1328064338":["hashtag1","hashtag2"]},{"1328064340":["hashtag1","hashtag2"]},{"1328064337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328064341, 1328064338, 1328064340, 1328064337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.88547134399414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:29:02.553658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/27/image_11012025_05_27_02_722342_0003.jpg', '/home/pi/Desktop/images/11012025/05/28/image_11012025_05_28_02_309002_0000.jpg', '/home/pi/Desktop/images/11012025/05/28/image_11012025_05_28_02_309002_0001.jpg', '/home/pi/Desktop/images/11012025/05/28/image_11012025_05_28_02_309002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/27/image_11012025_05_27_02_722342_0003.jpg
/home/pi/Desktop/images/11012025/05/28/image_11012025_05_28_02_309002_0000.jpg
/home/pi/Desktop/images/11012025/05/28/image_11012025_05_28_02_309002_0001.jpg
/home/pi/Desktop/images/11012025/05/28/image_11012025_05_28_02_309002_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328064365","1328064361","1328064358","1328064363"],"photo_ids_order":["1328064358","1328064361","1328064363","1328064365"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f9fdaa39a4f1bfb2f7b805eeffc47a1c.jpg","text":"TemporaryFile(/tmp/multipartBody2669353250089055409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569812783,"filename":"image_11012025_05_28_02_309002_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3b6a0f98f5f80ca0433a22fdf525563c.jpg","text":"TemporaryFile(/tmp/multipartBody360726741900473365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569812783,"filename":"image_11012025_05_28_02_309002_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2251b4e198dfe1ce442b2c74f2d7dbe9.jpg","text":"TemporaryFile(/tmp/multipartBody2183472568086387686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569812783,"filename":"image_11012025_05_27_02_722342_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/920bcbeaacdca4f6cbaa96e89ed29954.jpg","text":"TemporaryFile(/tmp/multipartBody4076329725495192335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569812783,"filename":"image_11012025_05_28_02_309002_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328064363","file1":"1328064361","file0":"1328064358","file3":"1328064365"},"map_files_photo_id_array":[{"photo_id":"1328064363","filename":"file2"},{"photo_id":"1328064361","filename":"file1"},{"photo_id":"1328064358","filename":"file0"},{"photo_id":"1328064365","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328064365":["hashtag1","hashtag2"]},{"1328064361":["hashtag1","hashtag2"]},{"1328064358":["hashtag1","hashtag2"]},{"1328064363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328064365, 1328064361, 1328064358, 1328064363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.854387521743774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:30:03.007882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/28/image_11012025_05_28_02_309002_0003.jpg', '/home/pi/Desktop/images/11012025/05/29/image_11012025_05_29_02_853984_0000.jpg', '/home/pi/Desktop/images/11012025/05/29/image_11012025_05_29_02_853984_0001.jpg', '/home/pi/Desktop/images/11012025/05/29/image_11012025_05_29_02_853984_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/28/image_11012025_05_28_02_309002_0003.jpg
/home/pi/Desktop/images/11012025/05/29/image_11012025_05_29_02_853984_0000.jpg
/home/pi/Desktop/images/11012025/05/29/image_11012025_05_29_02_853984_0001.jpg
/home/pi/Desktop/images/11012025/05/29/image_11012025_05_29_02_853984_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328064510","1328064514","1328064508","1328064517"],"photo_ids_order":["1328064508","1328064510","1328064514","1328064517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fddecea5843e0143b64331ee3e5d4fc0.jpg","text":"TemporaryFile(/tmp/multipartBody2676726061383681976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569873091,"filename":"image_11012025_05_29_02_853984_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1b30ad8036c5119f21e937f3db75061e.jpg","text":"TemporaryFile(/tmp/multipartBody2866372525583094057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569873091,"filename":"image_11012025_05_29_02_853984_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/88799be6d5f648dcc7c4a37315617ac8.jpg","text":"TemporaryFile(/tmp/multipartBody9212736078989373157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569873091,"filename":"image_11012025_05_28_02_309002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d060450d73025657fc0f6c004e8e7d66.jpg","text":"TemporaryFile(/tmp/multipartBody6212796433167252146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569873091,"filename":"image_11012025_05_29_02_853984_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328064514","file1":"1328064510","file0":"1328064508","file3":"1328064517"},"map_files_photo_id_array":[{"photo_id":"1328064514","filename":"file2"},{"photo_id":"1328064510","filename":"file1"},{"photo_id":"1328064508","filename":"file0"},{"photo_id":"1328064517","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328064510":["hashtag1","hashtag2"]},{"1328064514":["hashtag1","hashtag2"]},{"1328064508":["hashtag1","hashtag2"]},{"1328064517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328064510, 1328064514, 1328064508, 1328064517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.549625396728516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:31:02.786227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/29/image_11012025_05_29_02_853984_0003.jpg', '/home/pi/Desktop/images/11012025/05/30/image_11012025_05_30_02_376644_0000.jpg', '/home/pi/Desktop/images/11012025/05/30/image_11012025_05_30_02_376644_0001.jpg', '/home/pi/Desktop/images/11012025/05/30/image_11012025_05_30_02_376644_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/29/image_11012025_05_29_02_853984_0003.jpg
/home/pi/Desktop/images/11012025/05/30/image_11012025_05_30_02_376644_0000.jpg
/home/pi/Desktop/images/11012025/05/30/image_11012025_05_30_02_376644_0001.jpg
/home/pi/Desktop/images/11012025/05/30/image_11012025_05_30_02_376644_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328064534","1328064566","1328064573","1328064570"],"photo_ids_order":["1328064534","1328064566","1328064570","1328064573"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/567af8e1b2c99cf65e9e5e0e9866e2f6.jpg","text":"TemporaryFile(/tmp/multipartBody8281194081004128757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569932968,"filename":"image_11012025_05_29_02_853984_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2b96eec8f4fe6262b93591f5bcea60a8.jpg","text":"TemporaryFile(/tmp/multipartBody1055426538081491311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569932968,"filename":"image_11012025_05_30_02_376644_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3981de5ddb8abb7c7890aa48cae59b1a.jpg","text":"TemporaryFile(/tmp/multipartBody8404677095799586396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569932968,"filename":"image_11012025_05_30_02_376644_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5a7d4403d6f61d24cfa717e10144e4fe.jpg","text":"TemporaryFile(/tmp/multipartBody8019954335951402844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569932968,"filename":"image_11012025_05_30_02_376644_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328064570","file1":"1328064566","file0":"1328064534","file3":"1328064573"},"map_files_photo_id_array":[{"photo_id":"1328064570","filename":"file2"},{"photo_id":"1328064566","filename":"file1"},{"photo_id":"1328064534","filename":"file0"},{"photo_id":"1328064573","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328064534":["hashtag1","hashtag2"]},{"1328064566":["hashtag1","hashtag2"]},{"1328064573":["hashtag1","hashtag2"]},{"1328064570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328064534, 1328064566, 1328064573, 1328064570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.77649736404419 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:32:02.951714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/30/image_11012025_05_30_02_376644_0003.jpg', '/home/pi/Desktop/images/11012025/05/31/image_11012025_05_31_02_947306_0000.jpg', '/home/pi/Desktop/images/11012025/05/31/image_11012025_05_31_02_947306_0001.jpg', '/home/pi/Desktop/images/11012025/05/31/image_11012025_05_31_02_947306_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/30/image_11012025_05_30_02_376644_0003.jpg
/home/pi/Desktop/images/11012025/05/31/image_11012025_05_31_02_947306_0000.jpg
/home/pi/Desktop/images/11012025/05/31/image_11012025_05_31_02_947306_0001.jpg
/home/pi/Desktop/images/11012025/05/31/image_11012025_05_31_02_947306_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328064584","1328064587","1328064589","1328064585"],"photo_ids_order":["1328064584","1328064585","1328064587","1328064589"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3966dc89568d78f66835b9bc76b9adf5.jpg","text":"TemporaryFile(/tmp/multipartBody4705013398674916448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569993184,"filename":"image_11012025_05_30_02_376644_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/65a6fdbcbd216ac73f0ff97261e72e37.jpg","text":"TemporaryFile(/tmp/multipartBody8982004615543543907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569993184,"filename":"image_11012025_05_31_02_947306_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/20a0f0dfb86972bf8e2af1a98e4bb0fd.jpg","text":"TemporaryFile(/tmp/multipartBody8812318290178418725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569993184,"filename":"image_11012025_05_31_02_947306_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/faee31028c1286a5c56f154d5ba39669.jpg","text":"TemporaryFile(/tmp/multipartBody386761569448779814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736569993184,"filename":"image_11012025_05_31_02_947306_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328064587","file1":"1328064585","file0":"1328064584","file3":"1328064589"},"map_files_photo_id_array":[{"photo_id":"1328064587","filename":"file2"},{"photo_id":"1328064585","filename":"file1"},{"photo_id":"1328064584","filename":"file0"},{"photo_id":"1328064589","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328064584":["hashtag1","hashtag2"]},{"1328064587":["hashtag1","hashtag2"]},{"1328064589":["hashtag1","hashtag2"]},{"1328064585":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328064584, 1328064587, 1328064589, 1328064585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.53910541534424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:33:02.574771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/31/image_11012025_05_31_02_947306_0003.jpg', '/home/pi/Desktop/images/11012025/05/32/image_11012025_05_32_02_463770_0000.jpg', '/home/pi/Desktop/images/11012025/05/32/image_11012025_05_32_02_463770_0001.jpg', '/home/pi/Desktop/images/11012025/05/32/image_11012025_05_32_02_463770_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/31/image_11012025_05_31_02_947306_0003.jpg
/home/pi/Desktop/images/11012025/05/32/image_11012025_05_32_02_463770_0000.jpg
/home/pi/Desktop/images/11012025/05/32/image_11012025_05_32_02_463770_0001.jpg
/home/pi/Desktop/images/11012025/05/32/image_11012025_05_32_02_463770_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.856279611587524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:33:22.043923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/31/image_11012025_05_31_02_947306_0003.jpg', '/home/pi/Desktop/images/11012025/05/32/image_11012025_05_32_02_463770_0000.jpg', '/home/pi/Desktop/images/11012025/05/32/image_11012025_05_32_02_463770_0001.jpg', '/home/pi/Desktop/images/11012025/05/32/image_11012025_05_32_02_463770_0002.jpg', '/home/pi/Desktop/images/11012025/05/32/image_11012025_05_32_02_463770_0003.jpg', '/home/pi/Desktop/images/11012025/05/33/image_11012025_05_33_02_978811_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/31/image_11012025_05_31_02_947306_0003.jpg
/home/pi/Desktop/images/11012025/05/32/image_11012025_05_32_02_463770_0000.jpg
/home/pi/Desktop/images/11012025/05/32/image_11012025_05_32_02_463770_0001.jpg
/home/pi/Desktop/images/11012025/05/32/image_11012025_05_32_02_463770_0002.jpg
/home/pi/Desktop/images/11012025/05/32/image_11012025_05_32_02_463770_0003.jpg
/home/pi/Desktop/images/11012025/05/33/image_11012025_05_33_02_978811_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328064957","1328065142","1328064869","1328065321","1328065045","1328065230"],"photo_ids_order":["1328064869","1328064957","1328065045","1328065142","1328065230","1328065321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a6d7a4199f57eefc8ddc9c7a243e1256.jpg","text":"TemporaryFile(/tmp/multipartBody3234298222377283830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570076876,"filename":"image_11012025_05_32_02_463770_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/73fbd1cd0851aae1d2a2c04ffc2a2d90.jpg","text":"TemporaryFile(/tmp/multipartBody4468918987824418982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570076876,"filename":"image_11012025_05_32_02_463770_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3cc61bd7dc325e8a1d7df3433d7d8ec3.jpg","text":"TemporaryFile(/tmp/multipartBody2956309973465940869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570076876,"filename":"image_11012025_05_31_02_947306_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/76d872007c0ae87acd0d45dfca333ad3.jpg","text":"TemporaryFile(/tmp/multipartBody3341511540861450162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570076876,"filename":"image_11012025_05_33_02_978811_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ebc98cc2fc6a1ab5d134c3e243cad06e.jpg","text":"TemporaryFile(/tmp/multipartBody4083052098516198281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570076876,"filename":"image_11012025_05_32_02_463770_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/de20c3dc2e25004d4a3f11ccde9923de.jpg","text":"TemporaryFile(/tmp/multipartBody8262813037471161334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570076876,"filename":"image_11012025_05_32_02_463770_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328065045","file1":"1328064957","file0":"1328064869","file4":"1328065230","file5":"1328065321","file3":"1328065142"},"map_files_photo_id_array":[{"photo_id":"1328065321","filename":"file5"},{"photo_id":"1328065045","filename":"file2"},{"photo_id":"1328065230","filename":"file4"},{"photo_id":"1328064957","filename":"file1"},{"photo_id":"1328064869","filename":"file0"},{"photo_id":"1328065142","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328064957":["hashtag1","hashtag2"]},{"1328065142":["hashtag1","hashtag2"]},{"1328064869":["hashtag1","hashtag2"]},{"1328065321":["hashtag1","hashtag2"]},{"1328065045":["hashtag1","hashtag2"]},{"1328065230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328064957, 1328065142, 1328064869, 1328065321, 1328065045, 1328065230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.164496421813965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:34:21.801681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/33/image_11012025_05_33_02_978811_0001.jpg', '/home/pi/Desktop/images/11012025/05/33/image_11012025_05_33_02_978811_0002.jpg', '/home/pi/Desktop/images/11012025/05/33/image_11012025_05_33_02_978811_0003.jpg', '/home/pi/Desktop/images/11012025/05/34/image_11012025_05_34_02_537941_0000.jpg', '/home/pi/Desktop/images/11012025/05/34/image_11012025_05_34_02_537941_0001.jpg', '/home/pi/Desktop/images/11012025/05/34/image_11012025_05_34_02_537941_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/33/image_11012025_05_33_02_978811_0001.jpg
/home/pi/Desktop/images/11012025/05/33/image_11012025_05_33_02_978811_0002.jpg
/home/pi/Desktop/images/11012025/05/33/image_11012025_05_33_02_978811_0003.jpg
/home/pi/Desktop/images/11012025/05/34/image_11012025_05_34_02_537941_0000.jpg
/home/pi/Desktop/images/11012025/05/34/image_11012025_05_34_02_537941_0001.jpg
/home/pi/Desktop/images/11012025/05/34/image_11012025_05_34_02_537941_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328065862","1328065859","1328065870","1328065873","1328065867","1328065875"],"photo_ids_order":["1328065859","1328065862","1328065867","1328065870","1328065873","1328065875"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/656214eb125db471a457df541ed244ac.jpg","text":"TemporaryFile(/tmp/multipartBody3264616408422487845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570136417,"filename":"image_11012025_05_33_02_978811_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bdd9447fa8fbefaaa7b95769539a135c.jpg","text":"TemporaryFile(/tmp/multipartBody474144096852412019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570136417,"filename":"image_11012025_05_33_02_978811_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3188479e9c1fdb933e1dca7d45377b0f.jpg","text":"TemporaryFile(/tmp/multipartBody8563205216535417408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570136417,"filename":"image_11012025_05_34_02_537941_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e8f5d7ceb171b13fc8f342977e96b7e1.jpg","text":"TemporaryFile(/tmp/multipartBody4053717427060149466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570136417,"filename":"image_11012025_05_34_02_537941_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2cc3e3c1efc29ae7e626e9f1f0becb02.jpg","text":"TemporaryFile(/tmp/multipartBody1720898808875960752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570136417,"filename":"image_11012025_05_33_02_978811_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9558121699593eef7f2b3e53a2027cfa.jpg","text":"TemporaryFile(/tmp/multipartBody1383125317073057540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570136417,"filename":"image_11012025_05_34_02_537941_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328065867","file1":"1328065862","file0":"1328065859","file4":"1328065873","file5":"1328065875","file3":"1328065870"},"map_files_photo_id_array":[{"photo_id":"1328065875","filename":"file5"},{"photo_id":"1328065867","filename":"file2"},{"photo_id":"1328065873","filename":"file4"},{"photo_id":"1328065862","filename":"file1"},{"photo_id":"1328065859","filename":"file0"},{"photo_id":"1328065870","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328065862":["hashtag1","hashtag2"]},{"1328065859":["hashtag1","hashtag2"]},{"1328065870":["hashtag1","hashtag2"]},{"1328065873":["hashtag1","hashtag2"]},{"1328065867":["hashtag1","hashtag2"]},{"1328065875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328065862, 1328065859, 1328065870, 1328065873, 1328065867, 1328065875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.73639988899231 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:35:22.713564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/34/image_11012025_05_34_02_537941_0003.jpg', '/home/pi/Desktop/images/11012025/05/35/image_11012025_05_35_02_149078_0000.jpg', '/home/pi/Desktop/images/11012025/05/35/image_11012025_05_35_02_149078_0001.jpg', '/home/pi/Desktop/images/11012025/05/35/image_11012025_05_35_02_149078_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/34/image_11012025_05_34_02_537941_0003.jpg
/home/pi/Desktop/images/11012025/05/35/image_11012025_05_35_02_149078_0000.jpg
/home/pi/Desktop/images/11012025/05/35/image_11012025_05_35_02_149078_0001.jpg
/home/pi/Desktop/images/11012025/05/35/image_11012025_05_35_02_149078_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328065880","1328065883","1328065888","1328065886"],"photo_ids_order":["1328065880","1328065883","1328065886","1328065888"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a50b3ae040db47b7e857984f14ff46a3.jpg","text":"TemporaryFile(/tmp/multipartBody9050196316461244116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570192536,"filename":"image_11012025_05_34_02_537941_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5897b9eb7c19dfec408151db964b3078.jpg","text":"TemporaryFile(/tmp/multipartBody2300692894464890400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570192536,"filename":"image_11012025_05_35_02_149078_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9e6d1413e6db198c537e1b82dafd381c.jpg","text":"TemporaryFile(/tmp/multipartBody9154040261017185859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570192536,"filename":"image_11012025_05_35_02_149078_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b1eaf58b635f7c330d62c31fff3051d2.jpg","text":"TemporaryFile(/tmp/multipartBody5558683478745898067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570192536,"filename":"image_11012025_05_35_02_149078_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328065886","file1":"1328065883","file0":"1328065880","file3":"1328065888"},"map_files_photo_id_array":[{"photo_id":"1328065886","filename":"file2"},{"photo_id":"1328065883","filename":"file1"},{"photo_id":"1328065880","filename":"file0"},{"photo_id":"1328065888","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328065880":["hashtag1","hashtag2"]},{"1328065883":["hashtag1","hashtag2"]},{"1328065888":["hashtag1","hashtag2"]},{"1328065886":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328065880, 1328065883, 1328065888, 1328065886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.45704245567322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:36:22.263626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/35/image_11012025_05_35_02_149078_0003.jpg', '/home/pi/Desktop/images/11012025/05/36/image_11012025_05_36_03_091976_0000.jpg', '/home/pi/Desktop/images/11012025/05/36/image_11012025_05_36_03_091976_0001.jpg', '/home/pi/Desktop/images/11012025/05/36/image_11012025_05_36_03_091976_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/35/image_11012025_05_35_02_149078_0003.jpg
/home/pi/Desktop/images/11012025/05/36/image_11012025_05_36_03_091976_0000.jpg
/home/pi/Desktop/images/11012025/05/36/image_11012025_05_36_03_091976_0001.jpg
/home/pi/Desktop/images/11012025/05/36/image_11012025_05_36_03_091976_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.599615573883057 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:37:02.422007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/35/image_11012025_05_35_02_149078_0003.jpg', '/home/pi/Desktop/images/11012025/05/36/image_11012025_05_36_03_091976_0000.jpg', '/home/pi/Desktop/images/11012025/05/36/image_11012025_05_36_03_091976_0001.jpg', '/home/pi/Desktop/images/11012025/05/36/image_11012025_05_36_03_091976_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/35/image_11012025_05_35_02_149078_0003.jpg
/home/pi/Desktop/images/11012025/05/36/image_11012025_05_36_03_091976_0000.jpg
/home/pi/Desktop/images/11012025/05/36/image_11012025_05_36_03_091976_0001.jpg
/home/pi/Desktop/images/11012025/05/36/image_11012025_05_36_03_091976_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328066651","1328066662","1328066650","1328066739"],"photo_ids_order":["1328066650","1328066651","1328066662","1328066739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d0ac321c348446c4d50180f86914e1b1.jpg","text":"TemporaryFile(/tmp/multipartBody7902972719137585446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570292501,"filename":"image_11012025_05_36_03_091976_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9769d48c65959373f3f4ff90a7bb0451.jpg","text":"TemporaryFile(/tmp/multipartBody2668829888226260236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570292501,"filename":"image_11012025_05_36_03_091976_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/337ce368d25a75ec6d915cf249733fdc.jpg","text":"TemporaryFile(/tmp/multipartBody5864481284720862490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570292501,"filename":"image_11012025_05_35_02_149078_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5dcc69891d6ca46db56d379890f6dde0.jpg","text":"TemporaryFile(/tmp/multipartBody8085312980808867568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570292501,"filename":"image_11012025_05_36_03_091976_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328066662","file1":"1328066651","file0":"1328066650","file3":"1328066739"},"map_files_photo_id_array":[{"photo_id":"1328066662","filename":"file2"},{"photo_id":"1328066651","filename":"file1"},{"photo_id":"1328066650","filename":"file0"},{"photo_id":"1328066739","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328066651":["hashtag1","hashtag2"]},{"1328066662":["hashtag1","hashtag2"]},{"1328066650":["hashtag1","hashtag2"]},{"1328066739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328066651, 1328066662, 1328066650, 1328066739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.6242139339447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:38:02.977610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/36/image_11012025_05_36_03_091976_0003.jpg', '/home/pi/Desktop/images/11012025/05/37/image_11012025_05_37_02_655132_0000.jpg', '/home/pi/Desktop/images/11012025/05/37/image_11012025_05_37_02_655132_0001.jpg', '/home/pi/Desktop/images/11012025/05/37/image_11012025_05_37_02_655132_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/36/image_11012025_05_36_03_091976_0003.jpg
/home/pi/Desktop/images/11012025/05/37/image_11012025_05_37_02_655132_0000.jpg
/home/pi/Desktop/images/11012025/05/37/image_11012025_05_37_02_655132_0001.jpg
/home/pi/Desktop/images/11012025/05/37/image_11012025_05_37_02_655132_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.619767189025879 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:38:22.415146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/36/image_11012025_05_36_03_091976_0003.jpg', '/home/pi/Desktop/images/11012025/05/37/image_11012025_05_37_02_655132_0000.jpg', '/home/pi/Desktop/images/11012025/05/37/image_11012025_05_37_02_655132_0001.jpg', '/home/pi/Desktop/images/11012025/05/37/image_11012025_05_37_02_655132_0002.jpg', '/home/pi/Desktop/images/11012025/05/37/image_11012025_05_37_02_655132_0003.jpg', '/home/pi/Desktop/images/11012025/05/38/image_11012025_05_38_02_154585_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/36/image_11012025_05_36_03_091976_0003.jpg
/home/pi/Desktop/images/11012025/05/37/image_11012025_05_37_02_655132_0000.jpg
/home/pi/Desktop/images/11012025/05/37/image_11012025_05_37_02_655132_0001.jpg
/home/pi/Desktop/images/11012025/05/37/image_11012025_05_37_02_655132_0002.jpg
/home/pi/Desktop/images/11012025/05/37/image_11012025_05_37_02_655132_0003.jpg
/home/pi/Desktop/images/11012025/05/38/image_11012025_05_38_02_154585_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328066782","1328066784","1328066777","1328066786","1328066780","1328066774"],"photo_ids_order":["1328066774","1328066777","1328066780","1328066782","1328066784","1328066786"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e0fcd6cbfd4176eefc3cebe921a8c6c9.jpg","text":"TemporaryFile(/tmp/multipartBody4259679251786735853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570377130,"filename":"image_11012025_05_37_02_655132_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/73622ee3e26cb54521ff0bf6c1740a64.jpg","text":"TemporaryFile(/tmp/multipartBody8198004716285472448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570377130,"filename":"image_11012025_05_37_02_655132_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/661cd20a9fb078a655c053f2b891c2ad.jpg","text":"TemporaryFile(/tmp/multipartBody4152073784704016186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570377130,"filename":"image_11012025_05_37_02_655132_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/675059b434fd6272e0e729a60e25bf49.jpg","text":"TemporaryFile(/tmp/multipartBody3448188853226099635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570377130,"filename":"image_11012025_05_38_02_154585_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7d28f5ad05ec4b1c5b3f5522913d8016.jpg","text":"TemporaryFile(/tmp/multipartBody8682150377382875856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570377130,"filename":"image_11012025_05_37_02_655132_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/22ca44e80e3fea0063f79889105b378a.jpg","text":"TemporaryFile(/tmp/multipartBody1192944719700618490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570377130,"filename":"image_11012025_05_36_03_091976_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328066780","file1":"1328066777","file0":"1328066774","file4":"1328066784","file5":"1328066786","file3":"1328066782"},"map_files_photo_id_array":[{"photo_id":"1328066786","filename":"file5"},{"photo_id":"1328066780","filename":"file2"},{"photo_id":"1328066784","filename":"file4"},{"photo_id":"1328066777","filename":"file1"},{"photo_id":"1328066774","filename":"file0"},{"photo_id":"1328066782","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328066782":["hashtag1","hashtag2"]},{"1328066784":["hashtag1","hashtag2"]},{"1328066777":["hashtag1","hashtag2"]},{"1328066786":["hashtag1","hashtag2"]},{"1328066780":["hashtag1","hashtag2"]},{"1328066774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328066782, 1328066784, 1328066777, 1328066786, 1328066780, 1328066774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.66298842430115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:39:21.940882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/38/image_11012025_05_38_02_154585_0001.jpg', '/home/pi/Desktop/images/11012025/05/38/image_11012025_05_38_02_154585_0002.jpg', '/home/pi/Desktop/images/11012025/05/38/image_11012025_05_38_02_154585_0003.jpg', '/home/pi/Desktop/images/11012025/05/39/image_11012025_05_39_02_788654_0000.jpg', '/home/pi/Desktop/images/11012025/05/39/image_11012025_05_39_02_788654_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/38/image_11012025_05_38_02_154585_0001.jpg
/home/pi/Desktop/images/11012025/05/38/image_11012025_05_38_02_154585_0002.jpg
/home/pi/Desktop/images/11012025/05/38/image_11012025_05_38_02_154585_0003.jpg
/home/pi/Desktop/images/11012025/05/39/image_11012025_05_39_02_788654_0000.jpg
/home/pi/Desktop/images/11012025/05/39/image_11012025_05_39_02_788654_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328066804","1328066791","1328066800","1328066795","1328066798"],"photo_ids_order":["1328066791","1328066795","1328066798","1328066800","1328066804"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/49998e8e53748d328243b819e263a90d.jpg","text":"TemporaryFile(/tmp/multipartBody6818162726113800697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570434264,"filename":"image_11012025_05_39_02_788654_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b7f4dd9c25b0966517431d035e26d509.jpg","text":"TemporaryFile(/tmp/multipartBody4713850485607440792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570434264,"filename":"image_11012025_05_38_02_154585_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e839fa329daf7de62ccddcabef3b5b11.jpg","text":"TemporaryFile(/tmp/multipartBody8967200925550627481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570434264,"filename":"image_11012025_05_39_02_788654_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/248628092d1c935165be81c98ce85994.jpg","text":"TemporaryFile(/tmp/multipartBody125833479043847717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570434264,"filename":"image_11012025_05_38_02_154585_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d64ded4303ddfc11935df5c6b361caef.jpg","text":"TemporaryFile(/tmp/multipartBody399880863630386050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570434264,"filename":"image_11012025_05_38_02_154585_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328066798","file1":"1328066795","file0":"1328066791","file4":"1328066804","file3":"1328066800"},"map_files_photo_id_array":[{"photo_id":"1328066798","filename":"file2"},{"photo_id":"1328066804","filename":"file4"},{"photo_id":"1328066795","filename":"file1"},{"photo_id":"1328066791","filename":"file0"},{"photo_id":"1328066800","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328066804":["hashtag1","hashtag2"]},{"1328066791":["hashtag1","hashtag2"]},{"1328066800":["hashtag1","hashtag2"]},{"1328066795":["hashtag1","hashtag2"]},{"1328066798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328066804, 1328066791, 1328066800, 1328066795, 1328066798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.31511211395264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:40:22.434822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/39/image_11012025_05_39_02_788654_0002.jpg', '/home/pi/Desktop/images/11012025/05/40/image_11012025_05_40_02_278841_0000.jpg', '/home/pi/Desktop/images/11012025/05/40/image_11012025_05_40_02_278841_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/39/image_11012025_05_39_02_788654_0002.jpg
/home/pi/Desktop/images/11012025/05/40/image_11012025_05_40_02_278841_0000.jpg
/home/pi/Desktop/images/11012025/05/40/image_11012025_05_40_02_278841_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328066893","1328066898","1328066934"],"photo_ids_order":["1328066893","1328066898","1328066934"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c5aac08cac71d7cc41a7967574f95742.jpg","text":"TemporaryFile(/tmp/multipartBody5920862381033137421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570490192,"filename":"image_11012025_05_39_02_788654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cf3952576ea2d12900f9dd4781e8d19e.jpg","text":"TemporaryFile(/tmp/multipartBody5935730158741012796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570490192,"filename":"image_11012025_05_40_02_278841_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f8223c1a097711503c84532386c94917.jpg","text":"TemporaryFile(/tmp/multipartBody3110384966094484107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570490192,"filename":"image_11012025_05_40_02_278841_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328066934","file1":"1328066898","file0":"1328066893"},"map_files_photo_id_array":[{"photo_id":"1328066934","filename":"file2"},{"photo_id":"1328066898","filename":"file1"},{"photo_id":"1328066893","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328066893":["hashtag1","hashtag2"]},{"1328066898":["hashtag1","hashtag2"]},{"1328066934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328066893, 1328066898, 1328066934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.46186065673828 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:41:02.534430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/13/image_09012025_23_13_02_509944_0002.jpg', '/home/pi/Desktop/images/09012025/23/13/image_09012025_23_13_02_509944_0003.jpg', '/home/pi/Desktop/images/09012025/23/14/image_09012025_23_14_02_678319_0000.jpg', '/home/pi/Desktop/images/09012025/23/14/image_09012025_23_14_02_678319_0001.jpg', '/home/pi/Desktop/images/09012025/23/14/image_09012025_23_14_02_678319_0002.jpg', '/home/pi/Desktop/images/09012025/23/14/image_09012025_23_14_02_678319_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/13/image_09012025_23_13_02_509944_0002.jpg
/home/pi/Desktop/images/09012025/23/13/image_09012025_23_13_02_509944_0003.jpg
/home/pi/Desktop/images/09012025/23/14/image_09012025_23_14_02_678319_0000.jpg
/home/pi/Desktop/images/09012025/23/14/image_09012025_23_14_02_678319_0001.jpg
/home/pi/Desktop/images/09012025/23/14/image_09012025_23_14_02_678319_0002.jpg
/home/pi/Desktop/images/09012025/23/14/image_09012025_23_14_02_678319_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328066974","1328066982","1328066985","1328066979","1328066976","1328066972"],"photo_ids_order":["1328066972","1328066974","1328066976","1328066979","1328066982","1328066985"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3d3920e8759b39aabf155c1cb74c3046.jpg","text":"TemporaryFile(/tmp/multipartBody2222185996261718622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570538704,"filename":"image_09012025_23_13_02_509944_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/10f2d4d6d6123ef5c55dfddec8984299.jpg","text":"TemporaryFile(/tmp/multipartBody3026459365203565201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570538704,"filename":"image_09012025_23_14_02_678319_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cee74d1b15c0b0f8779656a78f6db625.jpg","text":"TemporaryFile(/tmp/multipartBody6034911947404727226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570538704,"filename":"image_09012025_23_14_02_678319_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6bc6a627ae97715a2aba188b25b476df.jpg","text":"TemporaryFile(/tmp/multipartBody1052741171639411359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570538704,"filename":"image_09012025_23_14_02_678319_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4fd6c493d8a79602a232b92c53594b29.jpg","text":"TemporaryFile(/tmp/multipartBody2333663555864071099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570538704,"filename":"image_09012025_23_14_02_678319_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/85ea2f1e0934bdf786d556defecc4581.jpg","text":"TemporaryFile(/tmp/multipartBody3696781253390553754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570538704,"filename":"image_09012025_23_13_02_509944_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328066976","file1":"1328066974","file0":"1328066972","file4":"1328066982","file5":"1328066985","file3":"1328066979"},"map_files_photo_id_array":[{"photo_id":"1328066985","filename":"file5"},{"photo_id":"1328066976","filename":"file2"},{"photo_id":"1328066982","filename":"file4"},{"photo_id":"1328066974","filename":"file1"},{"photo_id":"1328066972","filename":"file0"},{"photo_id":"1328066979","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328066974":["hashtag1","hashtag2"]},{"1328066982":["hashtag1","hashtag2"]},{"1328066985":["hashtag1","hashtag2"]},{"1328066979":["hashtag1","hashtag2"]},{"1328066976":["hashtag1","hashtag2"]},{"1328066972":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328066974, 1328066982, 1328066985, 1328066979, 1328066976, 1328066972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.3874237537384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:42:02.890304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/40/image_11012025_05_40_02_278841_0002.jpg', '/home/pi/Desktop/images/11012025/05/41/image_11012025_05_41_02_759547_0000.jpg', '/home/pi/Desktop/images/11012025/05/41/image_11012025_05_41_02_759547_0001.jpg', '/home/pi/Desktop/images/11012025/05/41/image_11012025_05_41_02_759547_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/40/image_11012025_05_40_02_278841_0002.jpg
/home/pi/Desktop/images/11012025/05/41/image_11012025_05_41_02_759547_0000.jpg
/home/pi/Desktop/images/11012025/05/41/image_11012025_05_41_02_759547_0001.jpg
/home/pi/Desktop/images/11012025/05/41/image_11012025_05_41_02_759547_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328066991","1328066994","1328066996","1328066990"],"photo_ids_order":["1328066990","1328066991","1328066994","1328066996"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a04e849941484cdbb94306dfabd62b4f.jpg","text":"TemporaryFile(/tmp/multipartBody2796151319211366132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570593019,"filename":"image_11012025_05_41_02_759547_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9e419751fedd0c413874ed66047451c5.jpg","text":"TemporaryFile(/tmp/multipartBody7816380628254825089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570593019,"filename":"image_11012025_05_41_02_759547_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c8261b876264fb66a9eabc5fc33ba629.jpg","text":"TemporaryFile(/tmp/multipartBody5406371479990389132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570593019,"filename":"image_11012025_05_41_02_759547_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/11fd4e33544a7725316fcc7f1da6fc46.jpg","text":"TemporaryFile(/tmp/multipartBody857797986721187882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570593019,"filename":"image_11012025_05_40_02_278841_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328066994","file1":"1328066991","file0":"1328066990","file3":"1328066996"},"map_files_photo_id_array":[{"photo_id":"1328066994","filename":"file2"},{"photo_id":"1328066991","filename":"file1"},{"photo_id":"1328066990","filename":"file0"},{"photo_id":"1328066996","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328066991":["hashtag1","hashtag2"]},{"1328066994":["hashtag1","hashtag2"]},{"1328066996":["hashtag1","hashtag2"]},{"1328066990":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328066991, 1328066994, 1328066996, 1328066990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.475537061691284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:43:02.560603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/41/image_11012025_05_41_02_759547_0003.jpg', '/home/pi/Desktop/images/11012025/05/42/image_11012025_05_42_02_326218_0000.jpg', '/home/pi/Desktop/images/11012025/05/42/image_11012025_05_42_02_326218_0001.jpg', '/home/pi/Desktop/images/11012025/05/42/image_11012025_05_42_02_326218_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/41/image_11012025_05_41_02_759547_0003.jpg
/home/pi/Desktop/images/11012025/05/42/image_11012025_05_42_02_326218_0000.jpg
/home/pi/Desktop/images/11012025/05/42/image_11012025_05_42_02_326218_0001.jpg
/home/pi/Desktop/images/11012025/05/42/image_11012025_05_42_02_326218_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328067040","1328067037","1328067042","1328067038"],"photo_ids_order":["1328067037","1328067038","1328067040","1328067042"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6396e8b6cf0f6e7da871c3f31aeaa66e.jpg","text":"TemporaryFile(/tmp/multipartBody3751761683164673527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570652782,"filename":"image_11012025_05_42_02_326218_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6ee17e146e6db6fd780e2d21b8e2d88c.jpg","text":"TemporaryFile(/tmp/multipartBody8396685039351624533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570652782,"filename":"image_11012025_05_41_02_759547_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/35019a5b46e0b68a89c0b9f07bcea422.jpg","text":"TemporaryFile(/tmp/multipartBody6039848035017019715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570652782,"filename":"image_11012025_05_42_02_326218_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e1856a418a026ca27eaa714664e9d1c5.jpg","text":"TemporaryFile(/tmp/multipartBody3075166885394180884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570652782,"filename":"image_11012025_05_42_02_326218_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328067040","file1":"1328067038","file0":"1328067037","file3":"1328067042"},"map_files_photo_id_array":[{"photo_id":"1328067040","filename":"file2"},{"photo_id":"1328067038","filename":"file1"},{"photo_id":"1328067037","filename":"file0"},{"photo_id":"1328067042","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328067040":["hashtag1","hashtag2"]},{"1328067037":["hashtag1","hashtag2"]},{"1328067042":["hashtag1","hashtag2"]},{"1328067038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328067040, 1328067037, 1328067042, 1328067038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.82062768936157 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:44:02.903266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/42/image_11012025_05_42_02_326218_0003.jpg', '/home/pi/Desktop/images/11012025/05/43/image_11012025_05_43_02_837010_0000.jpg', '/home/pi/Desktop/images/11012025/05/43/image_11012025_05_43_02_837010_0001.jpg', '/home/pi/Desktop/images/11012025/05/43/image_11012025_05_43_02_837010_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/42/image_11012025_05_42_02_326218_0003.jpg
/home/pi/Desktop/images/11012025/05/43/image_11012025_05_43_02_837010_0000.jpg
/home/pi/Desktop/images/11012025/05/43/image_11012025_05_43_02_837010_0001.jpg
/home/pi/Desktop/images/11012025/05/43/image_11012025_05_43_02_837010_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328067060","1328067063","1328067056","1328067053"],"photo_ids_order":["1328067053","1328067056","1328067060","1328067063"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7271367ef36938576be7b4222fca7a04.jpg","text":"TemporaryFile(/tmp/multipartBody2157577900665488844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570713060,"filename":"image_11012025_05_43_02_837010_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/34658d97bcc0e08450ec4dfc0258131c.jpg","text":"TemporaryFile(/tmp/multipartBody7938587509741355358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570713060,"filename":"image_11012025_05_43_02_837010_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ffa92e664998f8660f8bf1190d9df991.jpg","text":"TemporaryFile(/tmp/multipartBody1289007879044662709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570713060,"filename":"image_11012025_05_43_02_837010_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6fedd5f9300129c5fb3bda1768451641.jpg","text":"TemporaryFile(/tmp/multipartBody524216790568199249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570713060,"filename":"image_11012025_05_42_02_326218_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328067060","file1":"1328067056","file0":"1328067053","file3":"1328067063"},"map_files_photo_id_array":[{"photo_id":"1328067060","filename":"file2"},{"photo_id":"1328067056","filename":"file1"},{"photo_id":"1328067053","filename":"file0"},{"photo_id":"1328067063","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328067060":["hashtag1","hashtag2"]},{"1328067063":["hashtag1","hashtag2"]},{"1328067056":["hashtag1","hashtag2"]},{"1328067053":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328067060, 1328067063, 1328067056, 1328067053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.629904985427856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:45:02.553772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/43/image_11012025_05_43_02_837010_0003.jpg', '/home/pi/Desktop/images/11012025/05/44/image_11012025_05_44_02_398216_0000.jpg', '/home/pi/Desktop/images/11012025/05/44/image_11012025_05_44_02_398216_0001.jpg', '/home/pi/Desktop/images/11012025/05/44/image_11012025_05_44_02_398216_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/43/image_11012025_05_43_02_837010_0003.jpg
/home/pi/Desktop/images/11012025/05/44/image_11012025_05_44_02_398216_0000.jpg
/home/pi/Desktop/images/11012025/05/44/image_11012025_05_44_02_398216_0001.jpg
/home/pi/Desktop/images/11012025/05/44/image_11012025_05_44_02_398216_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328067088","1328067082","1328067084","1328067091"],"photo_ids_order":["1328067082","1328067084","1328067088","1328067091"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/82023e6bb8ca6ceb59a4efac57091ac2.jpg","text":"TemporaryFile(/tmp/multipartBody8062008948953473801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570772697,"filename":"image_11012025_05_44_02_398216_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/786766978082ce09e9f57f6d6bb4d748.jpg","text":"TemporaryFile(/tmp/multipartBody8544122614226658626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570772697,"filename":"image_11012025_05_43_02_837010_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3cac731df55f1a85653d21fbfd7f162d.jpg","text":"TemporaryFile(/tmp/multipartBody7947265426699196667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570772697,"filename":"image_11012025_05_44_02_398216_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9974c7e9c14f155e9233e800e7e3eb9e.jpg","text":"TemporaryFile(/tmp/multipartBody2355008580185883156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570772697,"filename":"image_11012025_05_44_02_398216_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328067088","file1":"1328067084","file0":"1328067082","file3":"1328067091"},"map_files_photo_id_array":[{"photo_id":"1328067088","filename":"file2"},{"photo_id":"1328067084","filename":"file1"},{"photo_id":"1328067082","filename":"file0"},{"photo_id":"1328067091","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328067088":["hashtag1","hashtag2"]},{"1328067082":["hashtag1","hashtag2"]},{"1328067084":["hashtag1","hashtag2"]},{"1328067091":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328067088, 1328067082, 1328067084, 1328067091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.238526821136475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:46:03.078646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/44/image_11012025_05_44_02_398216_0003.jpg', '/home/pi/Desktop/images/11012025/05/45/image_11012025_05_45_02_914043_0000.jpg', '/home/pi/Desktop/images/11012025/05/45/image_11012025_05_45_02_914043_0001.jpg', '/home/pi/Desktop/images/11012025/05/45/image_11012025_05_45_02_914043_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/44/image_11012025_05_44_02_398216_0003.jpg
/home/pi/Desktop/images/11012025/05/45/image_11012025_05_45_02_914043_0000.jpg
/home/pi/Desktop/images/11012025/05/45/image_11012025_05_45_02_914043_0001.jpg
/home/pi/Desktop/images/11012025/05/45/image_11012025_05_45_02_914043_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.835235357284546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:46:22.725834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/44/image_11012025_05_44_02_398216_0003.jpg', '/home/pi/Desktop/images/11012025/05/45/image_11012025_05_45_02_914043_0000.jpg', '/home/pi/Desktop/images/11012025/05/45/image_11012025_05_45_02_914043_0001.jpg', '/home/pi/Desktop/images/11012025/05/45/image_11012025_05_45_02_914043_0002.jpg', '/home/pi/Desktop/images/11012025/05/45/image_11012025_05_45_02_914043_0003.jpg', '/home/pi/Desktop/images/11012025/05/46/image_11012025_05_46_02_435886_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/44/image_11012025_05_44_02_398216_0003.jpg
/home/pi/Desktop/images/11012025/05/45/image_11012025_05_45_02_914043_0000.jpg
/home/pi/Desktop/images/11012025/05/45/image_11012025_05_45_02_914043_0001.jpg
/home/pi/Desktop/images/11012025/05/45/image_11012025_05_45_02_914043_0002.jpg
/home/pi/Desktop/images/11012025/05/45/image_11012025_05_45_02_914043_0003.jpg
/home/pi/Desktop/images/11012025/05/46/image_11012025_05_46_02_435886_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328067529","1328067522","1328067531","1328067525","1328067519","1328067527"],"photo_ids_order":["1328067519","1328067522","1328067525","1328067527","1328067529","1328067531"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/682dc0ef9e6d15d6371275baf391ce5c.jpg","text":"TemporaryFile(/tmp/multipartBody1589689949327298727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570857714,"filename":"image_11012025_05_45_02_914043_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1116218ac9f894477ea12bb2dcfe5d86.jpg","text":"TemporaryFile(/tmp/multipartBody2794376126551542794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570857714,"filename":"image_11012025_05_45_02_914043_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1b4889a8ec018c6be7ac79db71436976.jpg","text":"TemporaryFile(/tmp/multipartBody5782783749986624596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570857714,"filename":"image_11012025_05_46_02_435886_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8f5b7eba7844f02dc1d73a4b615ac40d.jpg","text":"TemporaryFile(/tmp/multipartBody3175432040606581021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570857714,"filename":"image_11012025_05_45_02_914043_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cc958e47c474cc02efd1d8d6a01f5ee8.jpg","text":"TemporaryFile(/tmp/multipartBody3575825429954478779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570857714,"filename":"image_11012025_05_44_02_398216_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b55cf46a3a78614562b1c07336ee2014.jpg","text":"TemporaryFile(/tmp/multipartBody8003639874691649161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570857714,"filename":"image_11012025_05_45_02_914043_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328067525","file1":"1328067522","file0":"1328067519","file4":"1328067529","file5":"1328067531","file3":"1328067527"},"map_files_photo_id_array":[{"photo_id":"1328067531","filename":"file5"},{"photo_id":"1328067525","filename":"file2"},{"photo_id":"1328067529","filename":"file4"},{"photo_id":"1328067522","filename":"file1"},{"photo_id":"1328067519","filename":"file0"},{"photo_id":"1328067527","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328067529":["hashtag1","hashtag2"]},{"1328067522":["hashtag1","hashtag2"]},{"1328067531":["hashtag1","hashtag2"]},{"1328067525":["hashtag1","hashtag2"]},{"1328067519":["hashtag1","hashtag2"]},{"1328067527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328067529, 1328067522, 1328067531, 1328067525, 1328067519, 1328067527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.32404398918152 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:47:22.201310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/46/image_11012025_05_46_02_435886_0001.jpg', '/home/pi/Desktop/images/11012025/05/46/image_11012025_05_46_02_435886_0002.jpg', '/home/pi/Desktop/images/11012025/05/46/image_11012025_05_46_02_435886_0003.jpg', '/home/pi/Desktop/images/11012025/05/47/image_11012025_05_47_03_122463_0000.jpg', '/home/pi/Desktop/images/11012025/05/47/image_11012025_05_47_03_122463_0001.jpg', '/home/pi/Desktop/images/11012025/05/47/image_11012025_05_47_03_122463_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/46/image_11012025_05_46_02_435886_0001.jpg
/home/pi/Desktop/images/11012025/05/46/image_11012025_05_46_02_435886_0002.jpg
/home/pi/Desktop/images/11012025/05/46/image_11012025_05_46_02_435886_0003.jpg
/home/pi/Desktop/images/11012025/05/47/image_11012025_05_47_03_122463_0000.jpg
/home/pi/Desktop/images/11012025/05/47/image_11012025_05_47_03_122463_0001.jpg
/home/pi/Desktop/images/11012025/05/47/image_11012025_05_47_03_122463_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328067547","1328067549","1328067540","1328067543","1328067537","1328067545"],"photo_ids_order":["1328067537","1328067540","1328067543","1328067545","1328067547","1328067549"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4f18700a200f752baeadaa8b8d531100.jpg","text":"TemporaryFile(/tmp/multipartBody1445712507697385667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570917391,"filename":"image_11012025_05_47_03_122463_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/672c535cc89ae2ae13936003b46e0cef.jpg","text":"TemporaryFile(/tmp/multipartBody3556484429115064392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570917391,"filename":"image_11012025_05_47_03_122463_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1ede43cee71dcd06c5fa5034ada098f1.jpg","text":"TemporaryFile(/tmp/multipartBody209319460932796350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570917391,"filename":"image_11012025_05_46_02_435886_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6450a72506e05e922e9e0d21a09734ae.jpg","text":"TemporaryFile(/tmp/multipartBody7567161818422559943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570917391,"filename":"image_11012025_05_46_02_435886_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f468900d3a40418e6462b7be02550b4a.jpg","text":"TemporaryFile(/tmp/multipartBody4700919688842997231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570917391,"filename":"image_11012025_05_46_02_435886_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ff51a61421e0a4ddd5c08ffe33244eea.jpg","text":"TemporaryFile(/tmp/multipartBody3727163199344225430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570917391,"filename":"image_11012025_05_47_03_122463_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328067543","file1":"1328067540","file0":"1328067537","file4":"1328067547","file5":"1328067549","file3":"1328067545"},"map_files_photo_id_array":[{"photo_id":"1328067549","filename":"file5"},{"photo_id":"1328067543","filename":"file2"},{"photo_id":"1328067547","filename":"file4"},{"photo_id":"1328067540","filename":"file1"},{"photo_id":"1328067537","filename":"file0"},{"photo_id":"1328067545","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328067547":["hashtag1","hashtag2"]},{"1328067549":["hashtag1","hashtag2"]},{"1328067540":["hashtag1","hashtag2"]},{"1328067543":["hashtag1","hashtag2"]},{"1328067537":["hashtag1","hashtag2"]},{"1328067545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328067547, 1328067549, 1328067540, 1328067543, 1328067537, 1328067545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.938398599624634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:48:21.851911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/47/image_11012025_05_47_03_122463_0003.jpg', '/home/pi/Desktop/images/11012025/05/48/image_11012025_05_48_02_658013_0000.jpg', '/home/pi/Desktop/images/11012025/05/48/image_11012025_05_48_02_658013_0001.jpg', '/home/pi/Desktop/images/11012025/05/48/image_11012025_05_48_02_658013_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/47/image_11012025_05_47_03_122463_0003.jpg
/home/pi/Desktop/images/11012025/05/48/image_11012025_05_48_02_658013_0000.jpg
/home/pi/Desktop/images/11012025/05/48/image_11012025_05_48_02_658013_0001.jpg
/home/pi/Desktop/images/11012025/05/48/image_11012025_05_48_02_658013_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328067556","1328067553","1328067561","1328067564"],"photo_ids_order":["1328067553","1328067556","1328067561","1328067564"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/df18483d06bde7236c742f17fd555c06.jpg","text":"TemporaryFile(/tmp/multipartBody5775243393541987603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570972168,"filename":"image_11012025_05_48_02_658013_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b25caa51a8bc1e4f8d749efbfbf559bb.jpg","text":"TemporaryFile(/tmp/multipartBody5889377770070810228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570972168,"filename":"image_11012025_05_47_03_122463_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b6d33e5bee6e7d79dec744355180d777.jpg","text":"TemporaryFile(/tmp/multipartBody1480409404775973208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570972168,"filename":"image_11012025_05_48_02_658013_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a9502e02047fcb7275c4eefdbaead49f.jpg","text":"TemporaryFile(/tmp/multipartBody2311816773763094518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736570972168,"filename":"image_11012025_05_48_02_658013_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328067561","file1":"1328067556","file0":"1328067553","file3":"1328067564"},"map_files_photo_id_array":[{"photo_id":"1328067561","filename":"file2"},{"photo_id":"1328067556","filename":"file1"},{"photo_id":"1328067553","filename":"file0"},{"photo_id":"1328067564","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328067556":["hashtag1","hashtag2"]},{"1328067553":["hashtag1","hashtag2"]},{"1328067561":["hashtag1","hashtag2"]},{"1328067564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328067556, 1328067553, 1328067561, 1328067564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.52292227745056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:49:22.352295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/48/image_11012025_05_48_02_658013_0003.jpg', '/home/pi/Desktop/images/11012025/05/49/image_11012025_05_49_02_187189_0001.jpg', '/home/pi/Desktop/images/11012025/05/49/image_11012025_05_49_02_187189_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/48/image_11012025_05_48_02_658013_0003.jpg
/home/pi/Desktop/images/11012025/05/49/image_11012025_05_49_02_187189_0001.jpg
/home/pi/Desktop/images/11012025/05/49/image_11012025_05_49_02_187189_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328067619","1328067613","1328067616"],"photo_ids_order":["1328067613","1328067616","1328067619"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c7e0bf9c033833c8c3245ae1725619e.jpg","text":"TemporaryFile(/tmp/multipartBody3977249513350443363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571030096,"filename":"image_11012025_05_49_02_187189_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cfd9ea3bee59a2031cfb6c83b71d135c.jpg","text":"TemporaryFile(/tmp/multipartBody9136727890593315206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571030096,"filename":"image_11012025_05_48_02_658013_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/46c8467a5f8940d529acaf981f432e0b.jpg","text":"TemporaryFile(/tmp/multipartBody5607986477033428795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571030096,"filename":"image_11012025_05_49_02_187189_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328067619","file1":"1328067616","file0":"1328067613"},"map_files_photo_id_array":[{"photo_id":"1328067619","filename":"file2"},{"photo_id":"1328067616","filename":"file1"},{"photo_id":"1328067613","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328067619":["hashtag1","hashtag2"]},{"1328067613":["hashtag1","hashtag2"]},{"1328067616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328067619, 1328067613, 1328067616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.631827116012573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:50:02.231332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/15/image_09012025_23_15_02_858771_0000.jpg', '/home/pi/Desktop/images/09012025/23/15/image_09012025_23_15_02_858771_0001.jpg', '/home/pi/Desktop/images/09012025/23/15/image_09012025_23_15_02_858771_0002.jpg', '/home/pi/Desktop/images/09012025/23/15/image_09012025_23_15_02_858771_0003.jpg', '/home/pi/Desktop/images/09012025/23/16/image_09012025_23_16_03_028479_0000.jpg', '/home/pi/Desktop/images/09012025/23/16/image_09012025_23_16_03_028479_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/15/image_09012025_23_15_02_858771_0000.jpg
/home/pi/Desktop/images/09012025/23/15/image_09012025_23_15_02_858771_0001.jpg
/home/pi/Desktop/images/09012025/23/15/image_09012025_23_15_02_858771_0002.jpg
/home/pi/Desktop/images/09012025/23/15/image_09012025_23_15_02_858771_0003.jpg
/home/pi/Desktop/images/09012025/23/16/image_09012025_23_16_03_028479_0000.jpg
/home/pi/Desktop/images/09012025/23/16/image_09012025_23_16_03_028479_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328068234","1328068228","1328068303","1328068230","1328068308","1328068232"],"photo_ids_order":["1328068228","1328068230","1328068232","1328068234","1328068303","1328068308"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/78b8711ebd4d1d5d5b45a9e99175b42a.jpg","text":"TemporaryFile(/tmp/multipartBody1465229831933673290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571078322,"filename":"image_09012025_23_15_02_858771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bad81f5e7ac541ddd6c33578ff838117.jpg","text":"TemporaryFile(/tmp/multipartBody7054175738624286770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571078322,"filename":"image_09012025_23_15_02_858771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ef627eb67fa7da435cbd4be324e3e80f.jpg","text":"TemporaryFile(/tmp/multipartBody6830087391954507306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571078322,"filename":"image_09012025_23_16_03_028479_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9c63c25d27be651ae1c1f63da883d6ed.jpg","text":"TemporaryFile(/tmp/multipartBody8695617462519646963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571078322,"filename":"image_09012025_23_15_02_858771_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/12c45849d8615a85501dd51bac837665.jpg","text":"TemporaryFile(/tmp/multipartBody2387775068330414747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571078322,"filename":"image_09012025_23_16_03_028479_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/064c1e2cafb3c4da96d851f2a2f3798a.jpg","text":"TemporaryFile(/tmp/multipartBody5363923336349723247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571078322,"filename":"image_09012025_23_15_02_858771_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328068232","file1":"1328068230","file0":"1328068228","file4":"1328068303","file5":"1328068308","file3":"1328068234"},"map_files_photo_id_array":[{"photo_id":"1328068308","filename":"file5"},{"photo_id":"1328068232","filename":"file2"},{"photo_id":"1328068303","filename":"file4"},{"photo_id":"1328068230","filename":"file1"},{"photo_id":"1328068228","filename":"file0"},{"photo_id":"1328068234","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328068234":["hashtag1","hashtag2"]},{"1328068228":["hashtag1","hashtag2"]},{"1328068303":["hashtag1","hashtag2"]},{"1328068230":["hashtag1","hashtag2"]},{"1328068308":["hashtag1","hashtag2"]},{"1328068232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328068234, 1328068228, 1328068303, 1328068230, 1328068308, 1328068232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.2754385471344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:51:02.964692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/49/image_11012025_05_49_02_187189_0003.jpg', '/home/pi/Desktop/images/11012025/05/50/image_11012025_05_50_02_724637_0000.jpg', '/home/pi/Desktop/images/11012025/05/50/image_11012025_05_50_02_724637_0001.jpg', '/home/pi/Desktop/images/11012025/05/50/image_11012025_05_50_02_724637_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/49/image_11012025_05_49_02_187189_0003.jpg
/home/pi/Desktop/images/11012025/05/50/image_11012025_05_50_02_724637_0000.jpg
/home/pi/Desktop/images/11012025/05/50/image_11012025_05_50_02_724637_0001.jpg
/home/pi/Desktop/images/11012025/05/50/image_11012025_05_50_02_724637_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328068545","1328068539","1328068540","1328068543"],"photo_ids_order":["1328068539","1328068540","1328068543","1328068545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e997e2287a2b18343103e6312b99a9fe.jpg","text":"TemporaryFile(/tmp/multipartBody2153711482725821230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571133166,"filename":"image_11012025_05_50_02_724637_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5b400b6b169669d1e1eefafafafca9c6.jpg","text":"TemporaryFile(/tmp/multipartBody4226573040197713830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571133166,"filename":"image_11012025_05_49_02_187189_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/80819fc349491811802d6ce5b4646e70.jpg","text":"TemporaryFile(/tmp/multipartBody1792615689018710767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571133166,"filename":"image_11012025_05_50_02_724637_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f18b3e5832d4a1ceec0765e3d606fa57.jpg","text":"TemporaryFile(/tmp/multipartBody8126575819710580115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571133166,"filename":"image_11012025_05_50_02_724637_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328068543","file1":"1328068540","file0":"1328068539","file3":"1328068545"},"map_files_photo_id_array":[{"photo_id":"1328068543","filename":"file2"},{"photo_id":"1328068540","filename":"file1"},{"photo_id":"1328068539","filename":"file0"},{"photo_id":"1328068545","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328068545":["hashtag1","hashtag2"]},{"1328068539":["hashtag1","hashtag2"]},{"1328068540":["hashtag1","hashtag2"]},{"1328068543":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328068545, 1328068539, 1328068540, 1328068543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.318700551986694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:52:02.469424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/50/image_11012025_05_50_02_724637_0003.jpg', '/home/pi/Desktop/images/11012025/05/51/image_11012025_05_51_02_228707_0000.jpg', '/home/pi/Desktop/images/11012025/05/51/image_11012025_05_51_02_228707_0001.jpg', '/home/pi/Desktop/images/11012025/05/51/image_11012025_05_51_02_228707_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/50/image_11012025_05_50_02_724637_0003.jpg
/home/pi/Desktop/images/11012025/05/51/image_11012025_05_51_02_228707_0000.jpg
/home/pi/Desktop/images/11012025/05/51/image_11012025_05_51_02_228707_0001.jpg
/home/pi/Desktop/images/11012025/05/51/image_11012025_05_51_02_228707_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328068848","1328068704","1328068703","1328068747"],"photo_ids_order":["1328068703","1328068704","1328068747","1328068848"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f41478d0ac834a593a5f4ad7151b5c27.jpg","text":"TemporaryFile(/tmp/multipartBody6350048798975071564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571192611,"filename":"image_11012025_05_51_02_228707_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/51f9ecb4efd0d484b63b506e362e95c1.jpg","text":"TemporaryFile(/tmp/multipartBody4808445368645951101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571192611,"filename":"image_11012025_05_51_02_228707_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3804bf7fe30450226447906f3297bf18.jpg","text":"TemporaryFile(/tmp/multipartBody7009417107268732373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571192611,"filename":"image_11012025_05_50_02_724637_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d8e878ec2b705380fee9cb3089f83064.jpg","text":"TemporaryFile(/tmp/multipartBody3669526250638090938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571192611,"filename":"image_11012025_05_51_02_228707_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328068747","file1":"1328068704","file0":"1328068703","file3":"1328068848"},"map_files_photo_id_array":[{"photo_id":"1328068747","filename":"file2"},{"photo_id":"1328068704","filename":"file1"},{"photo_id":"1328068703","filename":"file0"},{"photo_id":"1328068848","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328068848":["hashtag1","hashtag2"]},{"1328068704":["hashtag1","hashtag2"]},{"1328068703":["hashtag1","hashtag2"]},{"1328068747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328068848, 1328068704, 1328068703, 1328068747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.682687520980835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:53:03.238847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/51/image_11012025_05_51_02_228707_0003.jpg', '/home/pi/Desktop/images/11012025/05/52/image_11012025_05_52_02_774131_0001.jpg', '/home/pi/Desktop/images/11012025/05/52/image_11012025_05_52_02_774131_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/51/image_11012025_05_51_02_228707_0003.jpg
/home/pi/Desktop/images/11012025/05/52/image_11012025_05_52_02_774131_0001.jpg
/home/pi/Desktop/images/11012025/05/52/image_11012025_05_52_02_774131_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328068909","1328068906","1328068907"],"photo_ids_order":["1328068906","1328068907","1328068909"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dfeb9bc685f268ae454e6287e73cdaaf.jpg","text":"TemporaryFile(/tmp/multipartBody7209387012630196782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571250939,"filename":"image_11012025_05_52_02_774131_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/92cc3ff0e9bcb7e23317119ac315f2da.jpg","text":"TemporaryFile(/tmp/multipartBody1789390704314890932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571250939,"filename":"image_11012025_05_51_02_228707_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/08b31714011d3dd06919cd352e02b994.jpg","text":"TemporaryFile(/tmp/multipartBody197756104091107973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571250939,"filename":"image_11012025_05_52_02_774131_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328068909","file1":"1328068907","file0":"1328068906"},"map_files_photo_id_array":[{"photo_id":"1328068909","filename":"file2"},{"photo_id":"1328068907","filename":"file1"},{"photo_id":"1328068906","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328068909":["hashtag1","hashtag2"]},{"1328068906":["hashtag1","hashtag2"]},{"1328068907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328068909, 1328068906, 1328068907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 37.092625856399536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:54:02.592106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/52/image_11012025_05_52_02_774131_0003.jpg', '/home/pi/Desktop/images/11012025/05/53/image_11012025_05_53_02_381184_0000.jpg', '/home/pi/Desktop/images/11012025/05/53/image_11012025_05_53_02_381184_0001.jpg', '/home/pi/Desktop/images/11012025/05/53/image_11012025_05_53_02_381184_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/52/image_11012025_05_52_02_774131_0003.jpg
/home/pi/Desktop/images/11012025/05/53/image_11012025_05_53_02_381184_0000.jpg
/home/pi/Desktop/images/11012025/05/53/image_11012025_05_53_02_381184_0001.jpg
/home/pi/Desktop/images/11012025/05/53/image_11012025_05_53_02_381184_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328068921","1328068944","1328068929","1328068922"],"photo_ids_order":["1328068921","1328068922","1328068929","1328068944"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9390b49f7c25e6fe557c2d5798a6b9a2.jpg","text":"TemporaryFile(/tmp/multipartBody1162282672238701357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571312780,"filename":"image_11012025_05_52_02_774131_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2d7cf9ae453c4ff84e2e98fc95781b8c.jpg","text":"TemporaryFile(/tmp/multipartBody8117550642205380364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571312780,"filename":"image_11012025_05_53_02_381184_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cb67c327dfa42c843dc33e23c823a0f9.jpg","text":"TemporaryFile(/tmp/multipartBody7424510306630832029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571312780,"filename":"image_11012025_05_53_02_381184_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/16d3c2a59c6871befa08de10abb04fd9.jpg","text":"TemporaryFile(/tmp/multipartBody7218711144445052193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571312780,"filename":"image_11012025_05_53_02_381184_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328068929","file1":"1328068922","file0":"1328068921","file3":"1328068944"},"map_files_photo_id_array":[{"photo_id":"1328068929","filename":"file2"},{"photo_id":"1328068922","filename":"file1"},{"photo_id":"1328068921","filename":"file0"},{"photo_id":"1328068944","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328068921":["hashtag1","hashtag2"]},{"1328068944":["hashtag1","hashtag2"]},{"1328068929":["hashtag1","hashtag2"]},{"1328068922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328068921, 1328068944, 1328068929, 1328068922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.19382667541504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 05:55:03.207471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/53/image_11012025_05_53_02_381184_0003.jpg', '/home/pi/Desktop/images/11012025/05/54/image_11012025_05_54_02_904982_0000.jpg', '/home/pi/Desktop/images/11012025/05/54/image_11012025_05_54_02_904982_0001.jpg', '/home/pi/Desktop/images/11012025/05/54/image_11012025_05_54_02_904982_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/53/image_11012025_05_53_02_381184_0003.jpg
/home/pi/Desktop/images/11012025/05/54/image_11012025_05_54_02_904982_0000.jpg
/home/pi/Desktop/images/11012025/05/54/image_11012025_05_54_02_904982_0001.jpg
/home/pi/Desktop/images/11012025/05/54/image_11012025_05_54_02_904982_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.901866674423218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:55:22.690901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/53/image_11012025_05_53_02_381184_0003.jpg', '/home/pi/Desktop/images/11012025/05/54/image_11012025_05_54_02_904982_0000.jpg', '/home/pi/Desktop/images/11012025/05/54/image_11012025_05_54_02_904982_0001.jpg', '/home/pi/Desktop/images/11012025/05/54/image_11012025_05_54_02_904982_0002.jpg', '/home/pi/Desktop/images/11012025/05/54/image_11012025_05_54_02_904982_0003.jpg', '/home/pi/Desktop/images/11012025/05/55/image_11012025_05_55_02_553340_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/53/image_11012025_05_53_02_381184_0003.jpg
/home/pi/Desktop/images/11012025/05/54/image_11012025_05_54_02_904982_0000.jpg
/home/pi/Desktop/images/11012025/05/54/image_11012025_05_54_02_904982_0001.jpg
/home/pi/Desktop/images/11012025/05/54/image_11012025_05_54_02_904982_0002.jpg
/home/pi/Desktop/images/11012025/05/54/image_11012025_05_54_02_904982_0003.jpg
/home/pi/Desktop/images/11012025/05/55/image_11012025_05_55_02_553340_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328068962","1328068979","1328068976","1328068969","1328068972","1328068966"],"photo_ids_order":["1328068962","1328068966","1328068969","1328068972","1328068976","1328068979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e383c04bd587c46a13f64ee7df9679a4.jpg","text":"TemporaryFile(/tmp/multipartBody2237230270249712846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571397700,"filename":"image_11012025_05_53_02_381184_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/97597428c93a4ba103815a43a8f873d2.jpg","text":"TemporaryFile(/tmp/multipartBody6696301893534074407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571397700,"filename":"image_11012025_05_55_02_553340_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/703a1ee1e6b5ce9f536ba04578667605.jpg","text":"TemporaryFile(/tmp/multipartBody2348511409034465266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571397700,"filename":"image_11012025_05_54_02_904982_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/addba086a12fa53b3dae3bcca206ea27.jpg","text":"TemporaryFile(/tmp/multipartBody5725579612874602261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571397700,"filename":"image_11012025_05_54_02_904982_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/09bfede827b74b64bb72212fbd3a938a.jpg","text":"TemporaryFile(/tmp/multipartBody3366404740478283990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571397700,"filename":"image_11012025_05_54_02_904982_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6d2ce3c36a92b1922022e761e00f8b73.jpg","text":"TemporaryFile(/tmp/multipartBody4799349917510986458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571397700,"filename":"image_11012025_05_54_02_904982_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328068969","file1":"1328068966","file0":"1328068962","file4":"1328068976","file5":"1328068979","file3":"1328068972"},"map_files_photo_id_array":[{"photo_id":"1328068979","filename":"file5"},{"photo_id":"1328068969","filename":"file2"},{"photo_id":"1328068976","filename":"file4"},{"photo_id":"1328068966","filename":"file1"},{"photo_id":"1328068962","filename":"file0"},{"photo_id":"1328068972","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328068962":["hashtag1","hashtag2"]},{"1328068979":["hashtag1","hashtag2"]},{"1328068976":["hashtag1","hashtag2"]},{"1328068969":["hashtag1","hashtag2"]},{"1328068972":["hashtag1","hashtag2"]},{"1328068966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328068962, 1328068979, 1328068976, 1328068969, 1328068972, 1328068966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.036341428756714 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:56:22.312379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/55/image_11012025_05_55_02_553340_0001.jpg', '/home/pi/Desktop/images/11012025/05/55/image_11012025_05_55_02_553340_0002.jpg', '/home/pi/Desktop/images/11012025/05/55/image_11012025_05_55_02_553340_0003.jpg', '/home/pi/Desktop/images/11012025/05/56/image_11012025_05_56_03_047786_0000.jpg', '/home/pi/Desktop/images/11012025/05/56/image_11012025_05_56_03_047786_0001.jpg', '/home/pi/Desktop/images/11012025/05/56/image_11012025_05_56_03_047786_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/55/image_11012025_05_55_02_553340_0001.jpg
/home/pi/Desktop/images/11012025/05/55/image_11012025_05_55_02_553340_0002.jpg
/home/pi/Desktop/images/11012025/05/55/image_11012025_05_55_02_553340_0003.jpg
/home/pi/Desktop/images/11012025/05/56/image_11012025_05_56_03_047786_0000.jpg
/home/pi/Desktop/images/11012025/05/56/image_11012025_05_56_03_047786_0001.jpg
/home/pi/Desktop/images/11012025/05/56/image_11012025_05_56_03_047786_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328068998","1328068992","1328068995","1328068985","1328069000","1328068988"],"photo_ids_order":["1328068985","1328068988","1328068992","1328068995","1328068998","1328069000"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/979059dc3c7ffef26dcbb666339afb13.jpg","text":"TemporaryFile(/tmp/multipartBody2795678877799873178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571457086,"filename":"image_11012025_05_56_03_047786_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c2fc5901bf28628feb321dc9c3b1afb5.jpg","text":"TemporaryFile(/tmp/multipartBody3366258065282339465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571457086,"filename":"image_11012025_05_55_02_553340_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/96af49541d16b71a1667b4fc4ab667d8.jpg","text":"TemporaryFile(/tmp/multipartBody7370378893991227279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571457086,"filename":"image_11012025_05_56_03_047786_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/735945422bb60c58433847cff7be1101.jpg","text":"TemporaryFile(/tmp/multipartBody8113024968987434285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571457086,"filename":"image_11012025_05_55_02_553340_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ae429ba8bb2dcd3cfe88d1bf047940aa.jpg","text":"TemporaryFile(/tmp/multipartBody2486349298127244340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571457086,"filename":"image_11012025_05_56_03_047786_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ddec22f693fb1dedf4ae0fd18c1b6305.jpg","text":"TemporaryFile(/tmp/multipartBody5961604746884948666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571457086,"filename":"image_11012025_05_55_02_553340_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328068992","file1":"1328068988","file0":"1328068985","file4":"1328068998","file5":"1328069000","file3":"1328068995"},"map_files_photo_id_array":[{"photo_id":"1328069000","filename":"file5"},{"photo_id":"1328068992","filename":"file2"},{"photo_id":"1328068998","filename":"file4"},{"photo_id":"1328068988","filename":"file1"},{"photo_id":"1328068985","filename":"file0"},{"photo_id":"1328068995","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328068998":["hashtag1","hashtag2"]},{"1328068992":["hashtag1","hashtag2"]},{"1328068995":["hashtag1","hashtag2"]},{"1328068985":["hashtag1","hashtag2"]},{"1328069000":["hashtag1","hashtag2"]},{"1328068988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328068998, 1328068992, 1328068995, 1328068985, 1328069000, 1328068988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.34386086463928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 05:57:21.815554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/56/image_11012025_05_56_03_047786_0003.jpg', '/home/pi/Desktop/images/11012025/05/57/image_11012025_05_57_02_658245_0000.jpg', '/home/pi/Desktop/images/11012025/05/57/image_11012025_05_57_02_658245_0001.jpg', '/home/pi/Desktop/images/11012025/05/57/image_11012025_05_57_02_658245_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/56/image_11012025_05_56_03_047786_0003.jpg
/home/pi/Desktop/images/11012025/05/57/image_11012025_05_57_02_658245_0000.jpg
/home/pi/Desktop/images/11012025/05/57/image_11012025_05_57_02_658245_0001.jpg
/home/pi/Desktop/images/11012025/05/57/image_11012025_05_57_02_658245_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-11 05:59:03.054194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/56/image_11012025_05_56_03_047786_0003.jpg', '/home/pi/Desktop/images/11012025/05/57/image_11012025_05_57_02_658245_0000.jpg', '/home/pi/Desktop/images/11012025/05/57/image_11012025_05_57_02_658245_0001.jpg', '/home/pi/Desktop/images/11012025/05/57/image_11012025_05_57_02_658245_0002.jpg', '/home/pi/Desktop/images/11012025/05/57/image_11012025_05_57_02_658245_0003.jpg', '/home/pi/Desktop/images/11012025/05/58/image_11012025_05_58_02_187777_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/56/image_11012025_05_56_03_047786_0003.jpg
/home/pi/Desktop/images/11012025/05/57/image_11012025_05_57_02_658245_0000.jpg
/home/pi/Desktop/images/11012025/05/57/image_11012025_05_57_02_658245_0001.jpg
/home/pi/Desktop/images/11012025/05/57/image_11012025_05_57_02_658245_0002.jpg
/home/pi/Desktop/images/11012025/05/57/image_11012025_05_57_02_658245_0003.jpg
/home/pi/Desktop/images/11012025/05/58/image_11012025_05_58_02_187777_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328069490","1328069439","1328069486","1328069249","1328069493","1328069496"],"photo_ids_order":["1328069249","1328069439","1328069486","1328069490","1328069493","1328069496"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/24fc0e608a81ba46276d2b5d1fa2cdc6.jpg","text":"TemporaryFile(/tmp/multipartBody1340863495293102084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571618084,"filename":"image_11012025_05_57_02_658245_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fd6cc02afda1cb7758ad8c0da1a12574.jpg","text":"TemporaryFile(/tmp/multipartBody6874187093710232511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571618084,"filename":"image_11012025_05_57_02_658245_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4ffd33dd3057297cf0755da81850e581.jpg","text":"TemporaryFile(/tmp/multipartBody2221238520860427142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571618084,"filename":"image_11012025_05_57_02_658245_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/db3f9b2e0d4eecbd6193ff7af64b6264.jpg","text":"TemporaryFile(/tmp/multipartBody7265900035473184099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571618084,"filename":"image_11012025_05_56_03_047786_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ee9f38e6b0d76c326d2cfcf95f2276e4.jpg","text":"TemporaryFile(/tmp/multipartBody2587992779095599355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571618084,"filename":"image_11012025_05_57_02_658245_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/98ccf97ebe472a36dc35bb73bc679468.jpg","text":"TemporaryFile(/tmp/multipartBody3677456262408115211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571618084,"filename":"image_11012025_05_58_02_187777_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328069486","file1":"1328069439","file0":"1328069249","file4":"1328069493","file5":"1328069496","file3":"1328069490"},"map_files_photo_id_array":[{"photo_id":"1328069496","filename":"file5"},{"photo_id":"1328069486","filename":"file2"},{"photo_id":"1328069493","filename":"file4"},{"photo_id":"1328069439","filename":"file1"},{"photo_id":"1328069249","filename":"file0"},{"photo_id":"1328069490","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328069490":["hashtag1","hashtag2"]},{"1328069439":["hashtag1","hashtag2"]},{"1328069486":["hashtag1","hashtag2"]},{"1328069249":["hashtag1","hashtag2"]},{"1328069493":["hashtag1","hashtag2"]},{"1328069496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328069490, 1328069439, 1328069486, 1328069249, 1328069493, 1328069496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.69409203529358 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:00:02.564682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/58/image_11012025_05_58_02_187777_0001.jpg', '/home/pi/Desktop/images/11012025/05/58/image_11012025_05_58_02_187777_0002.jpg', '/home/pi/Desktop/images/11012025/05/58/image_11012025_05_58_02_187777_0003.jpg', '/home/pi/Desktop/images/11012025/05/59/image_11012025_05_59_02_693080_0000.jpg', '/home/pi/Desktop/images/11012025/05/59/image_11012025_05_59_02_693080_0001.jpg', '/home/pi/Desktop/images/11012025/05/59/image_11012025_05_59_02_693080_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/58/image_11012025_05_58_02_187777_0001.jpg
/home/pi/Desktop/images/11012025/05/58/image_11012025_05_58_02_187777_0002.jpg
/home/pi/Desktop/images/11012025/05/58/image_11012025_05_58_02_187777_0003.jpg
/home/pi/Desktop/images/11012025/05/59/image_11012025_05_59_02_693080_0000.jpg
/home/pi/Desktop/images/11012025/05/59/image_11012025_05_59_02_693080_0001.jpg
/home/pi/Desktop/images/11012025/05/59/image_11012025_05_59_02_693080_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328069588","1328069732","1328069744","1328069790","1328069787","1328069766"],"photo_ids_order":["1328069588","1328069732","1328069744","1328069766","1328069787","1328069790"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0140c981131815123a080db3e6185c91.jpg","text":"TemporaryFile(/tmp/multipartBody3970601303284450596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571677838,"filename":"image_11012025_05_58_02_187777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f34d84342c51ae40e9ca4f17ea934be3.jpg","text":"TemporaryFile(/tmp/multipartBody7216425435273357216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571677838,"filename":"image_11012025_05_58_02_187777_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0c76cf5c4e671ac5343f4267d0b36703.jpg","text":"TemporaryFile(/tmp/multipartBody9129434726853793530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571677838,"filename":"image_11012025_05_58_02_187777_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bcb36e6c508141f777e3e58e2b389000.jpg","text":"TemporaryFile(/tmp/multipartBody4011507136295217465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571677838,"filename":"image_11012025_05_59_02_693080_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a88e54d62f4bdfb03021e941f8826df5.jpg","text":"TemporaryFile(/tmp/multipartBody8512498363846860132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571677838,"filename":"image_11012025_05_59_02_693080_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c552d44f94c4c12d086a786c60ac4024.jpg","text":"TemporaryFile(/tmp/multipartBody5802430576503828478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571677838,"filename":"image_11012025_05_59_02_693080_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328069744","file1":"1328069732","file0":"1328069588","file4":"1328069787","file5":"1328069790","file3":"1328069766"},"map_files_photo_id_array":[{"photo_id":"1328069790","filename":"file5"},{"photo_id":"1328069744","filename":"file2"},{"photo_id":"1328069787","filename":"file4"},{"photo_id":"1328069732","filename":"file1"},{"photo_id":"1328069588","filename":"file0"},{"photo_id":"1328069766","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328069588":["hashtag1","hashtag2"]},{"1328069732":["hashtag1","hashtag2"]},{"1328069744":["hashtag1","hashtag2"]},{"1328069790":["hashtag1","hashtag2"]},{"1328069787":["hashtag1","hashtag2"]},{"1328069766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328069588, 1328069732, 1328069744, 1328069790, 1328069787, 1328069766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.28809833526611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:01:03.165705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/59/image_11012025_05_59_02_693080_0003.jpg', '/home/pi/Desktop/images/11012025/06/00/image_11012025_06_00_02_998683_0000.jpg', '/home/pi/Desktop/images/11012025/06/00/image_11012025_06_00_02_998683_0001.jpg', '/home/pi/Desktop/images/11012025/06/00/image_11012025_06_00_02_998683_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/59/image_11012025_05_59_02_693080_0003.jpg
/home/pi/Desktop/images/11012025/06/00/image_11012025_06_00_02_998683_0000.jpg
/home/pi/Desktop/images/11012025/06/00/image_11012025_06_00_02_998683_0001.jpg
/home/pi/Desktop/images/11012025/06/00/image_11012025_06_00_02_998683_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.949915885925293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:01:22.588329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/05/59/image_11012025_05_59_02_693080_0003.jpg', '/home/pi/Desktop/images/11012025/06/00/image_11012025_06_00_02_998683_0000.jpg', '/home/pi/Desktop/images/11012025/06/00/image_11012025_06_00_02_998683_0001.jpg', '/home/pi/Desktop/images/11012025/06/00/image_11012025_06_00_02_998683_0002.jpg', '/home/pi/Desktop/images/11012025/06/00/image_11012025_06_00_02_998683_0003.jpg', '/home/pi/Desktop/images/11012025/06/01/image_11012025_06_01_02_477762_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/05/59/image_11012025_05_59_02_693080_0003.jpg
/home/pi/Desktop/images/11012025/06/00/image_11012025_06_00_02_998683_0000.jpg
/home/pi/Desktop/images/11012025/06/00/image_11012025_06_00_02_998683_0001.jpg
/home/pi/Desktop/images/11012025/06/00/image_11012025_06_00_02_998683_0002.jpg
/home/pi/Desktop/images/11012025/06/00/image_11012025_06_00_02_998683_0003.jpg
/home/pi/Desktop/images/11012025/06/01/image_11012025_06_01_02_477762_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328069847","1328069840","1328069834","1328069843","1328069837","1328069845"],"photo_ids_order":["1328069834","1328069837","1328069840","1328069843","1328069845","1328069847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c2bda46fe41ff9d4a21b1e50fe8a0892.jpg","text":"TemporaryFile(/tmp/multipartBody1024888037985201070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571757649,"filename":"image_11012025_06_01_02_477762_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/627e56930e3662d45d95b45ec6101741.jpg","text":"TemporaryFile(/tmp/multipartBody3871207156906794604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571757649,"filename":"image_11012025_06_00_02_998683_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3862264dd5e998e05bbce51c99e868e4.jpg","text":"TemporaryFile(/tmp/multipartBody7636744712205013351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571757649,"filename":"image_11012025_05_59_02_693080_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a192a5c2701cc3d1223c50112e0ca2ca.jpg","text":"TemporaryFile(/tmp/multipartBody2362976157407691331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571757649,"filename":"image_11012025_06_00_02_998683_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8482b8faac65150226614647d4a81341.jpg","text":"TemporaryFile(/tmp/multipartBody512316863641899648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571757649,"filename":"image_11012025_06_00_02_998683_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/48c24d2ce3784f551550f29209708b13.jpg","text":"TemporaryFile(/tmp/multipartBody6754643939219096712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571757649,"filename":"image_11012025_06_00_02_998683_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328069840","file1":"1328069837","file0":"1328069834","file4":"1328069845","file5":"1328069847","file3":"1328069843"},"map_files_photo_id_array":[{"photo_id":"1328069847","filename":"file5"},{"photo_id":"1328069840","filename":"file2"},{"photo_id":"1328069845","filename":"file4"},{"photo_id":"1328069837","filename":"file1"},{"photo_id":"1328069834","filename":"file0"},{"photo_id":"1328069843","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328069847":["hashtag1","hashtag2"]},{"1328069840":["hashtag1","hashtag2"]},{"1328069834":["hashtag1","hashtag2"]},{"1328069843":["hashtag1","hashtag2"]},{"1328069837":["hashtag1","hashtag2"]},{"1328069845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328069847, 1328069840, 1328069834, 1328069843, 1328069837, 1328069845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.289783000946045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:02:22.271370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/01/image_11012025_06_01_02_477762_0001.jpg', '/home/pi/Desktop/images/11012025/06/01/image_11012025_06_01_02_477762_0002.jpg', '/home/pi/Desktop/images/11012025/06/01/image_11012025_06_01_02_477762_0003.jpg', '/home/pi/Desktop/images/11012025/06/02/image_11012025_06_02_02_958330_0000.jpg', '/home/pi/Desktop/images/11012025/06/02/image_11012025_06_02_02_958330_0001.jpg', '/home/pi/Desktop/images/11012025/06/02/image_11012025_06_02_02_958330_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/01/image_11012025_06_01_02_477762_0001.jpg
/home/pi/Desktop/images/11012025/06/01/image_11012025_06_01_02_477762_0002.jpg
/home/pi/Desktop/images/11012025/06/01/image_11012025_06_01_02_477762_0003.jpg
/home/pi/Desktop/images/11012025/06/02/image_11012025_06_02_02_958330_0000.jpg
/home/pi/Desktop/images/11012025/06/02/image_11012025_06_02_02_958330_0001.jpg
/home/pi/Desktop/images/11012025/06/02/image_11012025_06_02_02_958330_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328069853","1328069856","1328069859","1328069861","1328069863","1328069865"],"photo_ids_order":["1328069853","1328069856","1328069859","1328069861","1328069863","1328069865"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/10a425d329fa59eb91e74b85d7734e85.jpg","text":"TemporaryFile(/tmp/multipartBody3265280390599485163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571817380,"filename":"image_11012025_06_01_02_477762_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6c55913b4c27bda04fbf81530575443f.jpg","text":"TemporaryFile(/tmp/multipartBody1466746281309932202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571817380,"filename":"image_11012025_06_01_02_477762_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9161e935a6ed295277abe13af0f47538.jpg","text":"TemporaryFile(/tmp/multipartBody3494838511748896324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571817380,"filename":"image_11012025_06_01_02_477762_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e13788314d3f97d2a888af5caa281752.jpg","text":"TemporaryFile(/tmp/multipartBody3671354391320576446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571817380,"filename":"image_11012025_06_02_02_958330_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4d5d96fecc5e44481714145306ad819e.jpg","text":"TemporaryFile(/tmp/multipartBody3686351892185318943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571817380,"filename":"image_11012025_06_02_02_958330_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/39ea4394b7e7d057ecc7dea9a396522c.jpg","text":"TemporaryFile(/tmp/multipartBody5811856391221944353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571817380,"filename":"image_11012025_06_02_02_958330_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328069859","file1":"1328069856","file0":"1328069853","file4":"1328069863","file5":"1328069865","file3":"1328069861"},"map_files_photo_id_array":[{"photo_id":"1328069865","filename":"file5"},{"photo_id":"1328069859","filename":"file2"},{"photo_id":"1328069863","filename":"file4"},{"photo_id":"1328069856","filename":"file1"},{"photo_id":"1328069853","filename":"file0"},{"photo_id":"1328069861","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328069853":["hashtag1","hashtag2"]},{"1328069856":["hashtag1","hashtag2"]},{"1328069859":["hashtag1","hashtag2"]},{"1328069861":["hashtag1","hashtag2"]},{"1328069863":["hashtag1","hashtag2"]},{"1328069865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328069853, 1328069856, 1328069859, 1328069861, 1328069863, 1328069865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.30140280723572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:03:22.687547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/02/image_11012025_06_02_02_958330_0003.jpg', '/home/pi/Desktop/images/11012025/06/03/image_11012025_06_03_02_583445_0000.jpg', '/home/pi/Desktop/images/11012025/06/03/image_11012025_06_03_02_583445_0001.jpg', '/home/pi/Desktop/images/11012025/06/03/image_11012025_06_03_02_583445_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/02/image_11012025_06_02_02_958330_0003.jpg
/home/pi/Desktop/images/11012025/06/03/image_11012025_06_03_02_583445_0000.jpg
/home/pi/Desktop/images/11012025/06/03/image_11012025_06_03_02_583445_0001.jpg
/home/pi/Desktop/images/11012025/06/03/image_11012025_06_03_02_583445_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328069880","1328069876","1328069872","1328069869"],"photo_ids_order":["1328069869","1328069872","1328069876","1328069880"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/997f70702b8c2aa5454e4804a689941d.jpg","text":"TemporaryFile(/tmp/multipartBody221652335467627408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571872921,"filename":"image_11012025_06_03_02_583445_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3b504b5845070ca05198ca1edba0adfc.jpg","text":"TemporaryFile(/tmp/multipartBody5331609880617007875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571872921,"filename":"image_11012025_06_03_02_583445_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/75a12aabf75d7a165642ab99f9f8730d.jpg","text":"TemporaryFile(/tmp/multipartBody6674090227178498834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571872921,"filename":"image_11012025_06_03_02_583445_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eb9b79df745c49791f1521ba3d611087.jpg","text":"TemporaryFile(/tmp/multipartBody3054796280548906340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571872921,"filename":"image_11012025_06_02_02_958330_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328069876","file1":"1328069872","file0":"1328069869","file3":"1328069880"},"map_files_photo_id_array":[{"photo_id":"1328069876","filename":"file2"},{"photo_id":"1328069872","filename":"file1"},{"photo_id":"1328069869","filename":"file0"},{"photo_id":"1328069880","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328069880":["hashtag1","hashtag2"]},{"1328069876":["hashtag1","hashtag2"]},{"1328069872":["hashtag1","hashtag2"]},{"1328069869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328069880, 1328069876, 1328069872, 1328069869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73425769805908 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:04:02.534088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/16/image_09012025_23_16_03_028479_0002.jpg', '/home/pi/Desktop/images/09012025/23/16/image_09012025_23_16_03_028479_0003.jpg', '/home/pi/Desktop/images/09012025/23/17/image_09012025_23_17_02_298848_0000.jpg', '/home/pi/Desktop/images/09012025/23/17/image_09012025_23_17_02_298848_0001.jpg', '/home/pi/Desktop/images/09012025/23/17/image_09012025_23_17_02_298848_0002.jpg', '/home/pi/Desktop/images/09012025/23/17/image_09012025_23_17_02_298848_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/16/image_09012025_23_16_03_028479_0002.jpg
/home/pi/Desktop/images/09012025/23/16/image_09012025_23_16_03_028479_0003.jpg
/home/pi/Desktop/images/09012025/23/17/image_09012025_23_17_02_298848_0000.jpg
/home/pi/Desktop/images/09012025/23/17/image_09012025_23_17_02_298848_0001.jpg
/home/pi/Desktop/images/09012025/23/17/image_09012025_23_17_02_298848_0002.jpg
/home/pi/Desktop/images/09012025/23/17/image_09012025_23_17_02_298848_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":["1328069895","1328069889","1328069891","1328069899","1328069887","1328069902"],"photo_ids_order":["1328069887","1328069889","1328069891","1328069895","1328069899","1328069902"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e0e7386417dc234b7b45a744da0797ef.jpg","text":"TemporaryFile(/tmp/multipartBody8540026814341923908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571918572,"filename":"image_09012025_23_17_02_298848_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/76ff4da4ab09a10b5b76154815fda09b.jpg","text":"TemporaryFile(/tmp/multipartBody3430167417234918370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571918572,"filename":"image_09012025_23_16_03_028479_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/43149919ea574df507463bb08ea26c4d.jpg","text":"TemporaryFile(/tmp/multipartBody1698595452912624729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571918572,"filename":"image_09012025_23_17_02_298848_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3eff3e2bd804d0d824bf17e9327dcaec.jpg","text":"TemporaryFile(/tmp/multipartBody6149244883003797330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571918572,"filename":"image_09012025_23_17_02_298848_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/786ecd0884addf4cb46b48f7d4d3e4aa.jpg","text":"TemporaryFile(/tmp/multipartBody8625379883430483409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571918572,"filename":"image_09012025_23_16_03_028479_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e2c06cf94970478a0f558363baa9ff48.jpg","text":"TemporaryFile(/tmp/multipartBody7419862190819412826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571918572,"filename":"image_09012025_23_17_02_298848_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328069891","file1":"1328069889","file0":"1328069887","file4":"1328069899","file5":"1328069902","file3":"1328069895"},"map_files_photo_id_array":[{"photo_id":"1328069902","filename":"file5"},{"photo_id":"1328069891","filename":"file2"},{"photo_id":"1328069899","filename":"file4"},{"photo_id":"1328069889","filename":"file1"},{"photo_id":"1328069887","filename":"file0"},{"photo_id":"1328069895","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328069895":["hashtag1","hashtag2"]},{"1328069889":["hashtag1","hashtag2"]},{"1328069891":["hashtag1","hashtag2"]},{"1328069899":["hashtag1","hashtag2"]},{"1328069887":["hashtag1","hashtag2"]},{"1328069902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328069895, 1328069889, 1328069891, 1328069899, 1328069887, 1328069902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.38727784156799 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:05:21.758175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/03/image_11012025_06_03_02_583445_0003.jpg', '/home/pi/Desktop/images/11012025/06/04/image_11012025_06_04_03_083260_0000.jpg', '/home/pi/Desktop/images/11012025/06/04/image_11012025_06_04_03_083260_0001.jpg', '/home/pi/Desktop/images/11012025/06/04/image_11012025_06_04_03_083260_0002.jpg', '/home/pi/Desktop/images/11012025/06/04/image_11012025_06_04_03_083260_0003.jpg', '/home/pi/Desktop/images/11012025/06/05/image_11012025_06_05_02_644644_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/03/image_11012025_06_03_02_583445_0003.jpg
/home/pi/Desktop/images/11012025/06/04/image_11012025_06_04_03_083260_0000.jpg
/home/pi/Desktop/images/11012025/06/04/image_11012025_06_04_03_083260_0001.jpg
/home/pi/Desktop/images/11012025/06/04/image_11012025_06_04_03_083260_0002.jpg
/home/pi/Desktop/images/11012025/06/04/image_11012025_06_04_03_083260_0003.jpg
/home/pi/Desktop/images/11012025/06/05/image_11012025_06_05_02_644644_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328070335","1328070524","1328069917","1328069929","1328069914","1328070136"],"photo_ids_order":["1328069914","1328069917","1328069929","1328070136","1328070335","1328070524"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/11a7f3a176e6503ad7237ac2c91dcb89.jpg","text":"TemporaryFile(/tmp/multipartBody5294764105503730727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571996813,"filename":"image_11012025_06_04_03_083260_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/00254cd0af0a4e4b10bf228a32783e5f.jpg","text":"TemporaryFile(/tmp/multipartBody1511627554834176073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571996813,"filename":"image_11012025_06_05_02_644644_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0e85bfdcde513e9d7a36ad428436126b.jpg","text":"TemporaryFile(/tmp/multipartBody807203386865389123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571996813,"filename":"image_11012025_06_04_03_083260_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/27ec46fd707210492ac9cabc3081c1de.jpg","text":"TemporaryFile(/tmp/multipartBody119655988845466770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571996813,"filename":"image_11012025_06_04_03_083260_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9c86e41d5a621dc7f4a7ca5f2983e560.jpg","text":"TemporaryFile(/tmp/multipartBody520480345788056362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571996813,"filename":"image_11012025_06_03_02_583445_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b6e564e7e4b2081b0669f65131861328.jpg","text":"TemporaryFile(/tmp/multipartBody7582186011000027879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736571996813,"filename":"image_11012025_06_04_03_083260_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328069929","file1":"1328069917","file0":"1328069914","file4":"1328070335","file5":"1328070524","file3":"1328070136"},"map_files_photo_id_array":[{"photo_id":"1328070524","filename":"file5"},{"photo_id":"1328069929","filename":"file2"},{"photo_id":"1328070335","filename":"file4"},{"photo_id":"1328069917","filename":"file1"},{"photo_id":"1328069914","filename":"file0"},{"photo_id":"1328070136","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328070335":["hashtag1","hashtag2"]},{"1328070524":["hashtag1","hashtag2"]},{"1328069917":["hashtag1","hashtag2"]},{"1328069929":["hashtag1","hashtag2"]},{"1328069914":["hashtag1","hashtag2"]},{"1328070136":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328070335, 1328070524, 1328069917, 1328069929, 1328069914, 1328070136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.45669770240784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:06:22.368879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/05/image_11012025_06_05_02_644644_0001.jpg', '/home/pi/Desktop/images/11012025/06/05/image_11012025_06_05_02_644644_0002.jpg', '/home/pi/Desktop/images/11012025/06/05/image_11012025_06_05_02_644644_0003.jpg', '/home/pi/Desktop/images/11012025/06/06/image_11012025_06_06_02_165811_0000.jpg', '/home/pi/Desktop/images/11012025/06/06/image_11012025_06_06_02_165811_0001.jpg', '/home/pi/Desktop/images/11012025/06/06/image_11012025_06_06_02_165811_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/05/image_11012025_06_05_02_644644_0001.jpg
/home/pi/Desktop/images/11012025/06/05/image_11012025_06_05_02_644644_0002.jpg
/home/pi/Desktop/images/11012025/06/05/image_11012025_06_05_02_644644_0003.jpg
/home/pi/Desktop/images/11012025/06/06/image_11012025_06_06_02_165811_0000.jpg
/home/pi/Desktop/images/11012025/06/06/image_11012025_06_06_02_165811_0001.jpg
/home/pi/Desktop/images/11012025/06/06/image_11012025_06_06_02_165811_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328071091","1328071094","1328071103","1328071106","1328071084","1328071087"],"photo_ids_order":["1328071084","1328071087","1328071091","1328071094","1328071103","1328071106"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/86367880ff615fdfcf245606ba766e86.jpg","text":"TemporaryFile(/tmp/multipartBody1125308926120898763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572057445,"filename":"image_11012025_06_05_02_644644_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fddacd51b3ac91ee12bc8ebe00838e8e.jpg","text":"TemporaryFile(/tmp/multipartBody2720710114024213148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572057445,"filename":"image_11012025_06_06_02_165811_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/90697178fe5df41774ee27a66963d302.jpg","text":"TemporaryFile(/tmp/multipartBody5679142481689576195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572057445,"filename":"image_11012025_06_06_02_165811_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/57473abbc21163593df5705322bd197c.jpg","text":"TemporaryFile(/tmp/multipartBody730443701946673787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572057445,"filename":"image_11012025_06_06_02_165811_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8910d7851a0aab5339e663ccee48d558.jpg","text":"TemporaryFile(/tmp/multipartBody7686550332550612038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572057445,"filename":"image_11012025_06_05_02_644644_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c1effc0f324ecf2a377f32a22a85781a.jpg","text":"TemporaryFile(/tmp/multipartBody6272784861866591124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572057445,"filename":"image_11012025_06_05_02_644644_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328071091","file1":"1328071087","file0":"1328071084","file4":"1328071103","file5":"1328071106","file3":"1328071094"},"map_files_photo_id_array":[{"photo_id":"1328071106","filename":"file5"},{"photo_id":"1328071091","filename":"file2"},{"photo_id":"1328071103","filename":"file4"},{"photo_id":"1328071087","filename":"file1"},{"photo_id":"1328071084","filename":"file0"},{"photo_id":"1328071094","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328071091":["hashtag1","hashtag2"]},{"1328071094":["hashtag1","hashtag2"]},{"1328071103":["hashtag1","hashtag2"]},{"1328071106":["hashtag1","hashtag2"]},{"1328071084":["hashtag1","hashtag2"]},{"1328071087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328071091, 1328071094, 1328071103, 1328071106, 1328071084, 1328071087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.65555500984192 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:07:21.809957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/06/image_11012025_06_06_02_165811_0003.jpg', '/home/pi/Desktop/images/11012025/06/07/image_11012025_06_07_02_660921_0000.jpg', '/home/pi/Desktop/images/11012025/06/07/image_11012025_06_07_02_660921_0001.jpg', '/home/pi/Desktop/images/11012025/06/07/image_11012025_06_07_02_660921_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/06/image_11012025_06_06_02_165811_0003.jpg
/home/pi/Desktop/images/11012025/06/07/image_11012025_06_07_02_660921_0000.jpg
/home/pi/Desktop/images/11012025/06/07/image_11012025_06_07_02_660921_0001.jpg
/home/pi/Desktop/images/11012025/06/07/image_11012025_06_07_02_660921_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328071511","1328071427","1328071436","1328071471"],"photo_ids_order":["1328071427","1328071436","1328071471","1328071511"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9526cfe7f053125ec91b6388d7a55f8b.jpg","text":"TemporaryFile(/tmp/multipartBody1559148435156739532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572112256,"filename":"image_11012025_06_07_02_660921_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3890d8c4936527c1f9f4745e5d931322.jpg","text":"TemporaryFile(/tmp/multipartBody6874514903576982496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572112256,"filename":"image_11012025_06_06_02_165811_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/90732ec179085e30aa2f77c265c5149f.jpg","text":"TemporaryFile(/tmp/multipartBody2635639000026332102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572112256,"filename":"image_11012025_06_07_02_660921_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cb08661345cc8e83f2482e2d585179a1.jpg","text":"TemporaryFile(/tmp/multipartBody6969986101735153164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572112256,"filename":"image_11012025_06_07_02_660921_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328071471","file1":"1328071436","file0":"1328071427","file3":"1328071511"},"map_files_photo_id_array":[{"photo_id":"1328071471","filename":"file2"},{"photo_id":"1328071436","filename":"file1"},{"photo_id":"1328071427","filename":"file0"},{"photo_id":"1328071511","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328071511":["hashtag1","hashtag2"]},{"1328071427":["hashtag1","hashtag2"]},{"1328071436":["hashtag1","hashtag2"]},{"1328071471":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328071511, 1328071427, 1328071436, 1328071471)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 40.086235761642456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:08:22.284556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/07/image_11012025_06_07_02_660921_0003.jpg', '/home/pi/Desktop/images/11012025/06/08/image_11012025_06_08_02_167179_0000.jpg', '/home/pi/Desktop/images/11012025/06/08/image_11012025_06_08_02_167179_0001.jpg', '/home/pi/Desktop/images/11012025/06/08/image_11012025_06_08_02_167179_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/07/image_11012025_06_07_02_660921_0003.jpg
/home/pi/Desktop/images/11012025/06/08/image_11012025_06_08_02_167179_0000.jpg
/home/pi/Desktop/images/11012025/06/08/image_11012025_06_08_02_167179_0001.jpg
/home/pi/Desktop/images/11012025/06/08/image_11012025_06_08_02_167179_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.91179895401001 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:09:02.642367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/07/image_11012025_06_07_02_660921_0003.jpg', '/home/pi/Desktop/images/11012025/06/08/image_11012025_06_08_02_167179_0000.jpg', '/home/pi/Desktop/images/11012025/06/08/image_11012025_06_08_02_167179_0001.jpg', '/home/pi/Desktop/images/11012025/06/08/image_11012025_06_08_02_167179_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/07/image_11012025_06_07_02_660921_0003.jpg
/home/pi/Desktop/images/11012025/06/08/image_11012025_06_08_02_167179_0000.jpg
/home/pi/Desktop/images/11012025/06/08/image_11012025_06_08_02_167179_0001.jpg
/home/pi/Desktop/images/11012025/06/08/image_11012025_06_08_02_167179_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328071566","1328071568","1328071570","1328071564"],"photo_ids_order":["1328071564","1328071566","1328071568","1328071570"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2eef9e71ba94b91bcb3b3826d179f9ee.jpg","text":"TemporaryFile(/tmp/multipartBody2592124970439791525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572212978,"filename":"image_11012025_06_08_02_167179_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/858167f26e7cb109f928ed0c026b7c39.jpg","text":"TemporaryFile(/tmp/multipartBody6117072830678292127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572212978,"filename":"image_11012025_06_08_02_167179_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e531b0b9e26ba6599de50de0b297e99c.jpg","text":"TemporaryFile(/tmp/multipartBody110276625395805592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572212978,"filename":"image_11012025_06_08_02_167179_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/76fb5e8ead522f62c1ead17c6dc5b5d1.jpg","text":"TemporaryFile(/tmp/multipartBody497361189604027887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572212978,"filename":"image_11012025_06_07_02_660921_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328071568","file1":"1328071566","file0":"1328071564","file3":"1328071570"},"map_files_photo_id_array":[{"photo_id":"1328071568","filename":"file2"},{"photo_id":"1328071566","filename":"file1"},{"photo_id":"1328071564","filename":"file0"},{"photo_id":"1328071570","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328071566":["hashtag1","hashtag2"]},{"1328071568":["hashtag1","hashtag2"]},{"1328071570":["hashtag1","hashtag2"]},{"1328071564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328071566, 1328071568, 1328071570, 1328071564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.41864323616028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:10:02.930189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/08/image_11012025_06_08_02_167179_0003.jpg', '/home/pi/Desktop/images/11012025/06/09/image_11012025_06_09_02_687022_0000.jpg', '/home/pi/Desktop/images/11012025/06/09/image_11012025_06_09_02_687022_0001.jpg', '/home/pi/Desktop/images/11012025/06/09/image_11012025_06_09_02_687022_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/08/image_11012025_06_08_02_167179_0003.jpg
/home/pi/Desktop/images/11012025/06/09/image_11012025_06_09_02_687022_0000.jpg
/home/pi/Desktop/images/11012025/06/09/image_11012025_06_09_02_687022_0001.jpg
/home/pi/Desktop/images/11012025/06/09/image_11012025_06_09_02_687022_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.87084698677063 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:10:22.553598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/08/image_11012025_06_08_02_167179_0003.jpg', '/home/pi/Desktop/images/11012025/06/09/image_11012025_06_09_02_687022_0000.jpg', '/home/pi/Desktop/images/11012025/06/09/image_11012025_06_09_02_687022_0001.jpg', '/home/pi/Desktop/images/11012025/06/09/image_11012025_06_09_02_687022_0002.jpg', '/home/pi/Desktop/images/11012025/06/09/image_11012025_06_09_02_687022_0003.jpg', '/home/pi/Desktop/images/11012025/06/10/image_11012025_06_10_02_252971_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/08/image_11012025_06_08_02_167179_0003.jpg
/home/pi/Desktop/images/11012025/06/09/image_11012025_06_09_02_687022_0000.jpg
/home/pi/Desktop/images/11012025/06/09/image_11012025_06_09_02_687022_0001.jpg
/home/pi/Desktop/images/11012025/06/09/image_11012025_06_09_02_687022_0002.jpg
/home/pi/Desktop/images/11012025/06/09/image_11012025_06_09_02_687022_0003.jpg
/home/pi/Desktop/images/11012025/06/10/image_11012025_06_10_02_252971_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328071641","1328071643","1328071633","1328071636","1328071639","1328071630"],"photo_ids_order":["1328071630","1328071633","1328071636","1328071639","1328071641","1328071643"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/752d7d2c7b3cd7373f1b45c7f10cd3b9.jpg","text":"TemporaryFile(/tmp/multipartBody7935649497083715158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572297598,"filename":"image_11012025_06_09_02_687022_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/11b9e060f7ab96d5ebbc6046755156bd.jpg","text":"TemporaryFile(/tmp/multipartBody961466071005462616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572297598,"filename":"image_11012025_06_10_02_252971_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d1ceb96b648e116c8879750e5a16a3e7.jpg","text":"TemporaryFile(/tmp/multipartBody8387931027280478593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572297598,"filename":"image_11012025_06_09_02_687022_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8683582d50243b62ae278ad8858e88b1.jpg","text":"TemporaryFile(/tmp/multipartBody89383784874880835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572297598,"filename":"image_11012025_06_09_02_687022_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c1de69401d48c521f3197e89a3873e14.jpg","text":"TemporaryFile(/tmp/multipartBody1863870755066361245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572297598,"filename":"image_11012025_06_09_02_687022_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/16ebe262658d19fad393fb2d88805826.jpg","text":"TemporaryFile(/tmp/multipartBody4785355695214560033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572297598,"filename":"image_11012025_06_08_02_167179_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328071636","file1":"1328071633","file0":"1328071630","file4":"1328071641","file5":"1328071643","file3":"1328071639"},"map_files_photo_id_array":[{"photo_id":"1328071643","filename":"file5"},{"photo_id":"1328071636","filename":"file2"},{"photo_id":"1328071641","filename":"file4"},{"photo_id":"1328071633","filename":"file1"},{"photo_id":"1328071630","filename":"file0"},{"photo_id":"1328071639","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328071641":["hashtag1","hashtag2"]},{"1328071643":["hashtag1","hashtag2"]},{"1328071633":["hashtag1","hashtag2"]},{"1328071636":["hashtag1","hashtag2"]},{"1328071639":["hashtag1","hashtag2"]},{"1328071630":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328071641, 1328071643, 1328071633, 1328071636, 1328071639, 1328071630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.63934087753296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:11:22.062259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/10/image_11012025_06_10_02_252971_0001.jpg', '/home/pi/Desktop/images/11012025/06/10/image_11012025_06_10_02_252971_0002.jpg', '/home/pi/Desktop/images/11012025/06/10/image_11012025_06_10_02_252971_0003.jpg', '/home/pi/Desktop/images/11012025/06/11/image_11012025_06_11_02_937354_0000.jpg', '/home/pi/Desktop/images/11012025/06/11/image_11012025_06_11_02_937354_0001.jpg', '/home/pi/Desktop/images/11012025/06/11/image_11012025_06_11_02_937354_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/10/image_11012025_06_10_02_252971_0001.jpg
/home/pi/Desktop/images/11012025/06/10/image_11012025_06_10_02_252971_0002.jpg
/home/pi/Desktop/images/11012025/06/10/image_11012025_06_10_02_252971_0003.jpg
/home/pi/Desktop/images/11012025/06/11/image_11012025_06_11_02_937354_0000.jpg
/home/pi/Desktop/images/11012025/06/11/image_11012025_06_11_02_937354_0001.jpg
/home/pi/Desktop/images/11012025/06/11/image_11012025_06_11_02_937354_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328071659","1328071661","1328071652","1328071649","1328071654","1328071657"],"photo_ids_order":["1328071649","1328071652","1328071654","1328071657","1328071659","1328071661"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3ee5a76f9672e0d07452da266240aefa.jpg","text":"TemporaryFile(/tmp/multipartBody2468435593399049445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572357014,"filename":"image_11012025_06_11_02_937354_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7111f42eae10fb790836e0a160c84be2.jpg","text":"TemporaryFile(/tmp/multipartBody7091719229736190014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572357014,"filename":"image_11012025_06_11_02_937354_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5cd6f62c2dad5c8dc08951791211b300.jpg","text":"TemporaryFile(/tmp/multipartBody653764083004292555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572357014,"filename":"image_11012025_06_10_02_252971_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/52867e227a9a77b0c77bb9b535d430e1.jpg","text":"TemporaryFile(/tmp/multipartBody5630146325555312872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572357014,"filename":"image_11012025_06_10_02_252971_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8ca6b8897ccd1fe0c250a30c94366db7.jpg","text":"TemporaryFile(/tmp/multipartBody3549566012607933318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572357014,"filename":"image_11012025_06_10_02_252971_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6e4099c94e59ec3a3ea771c0c63fbc5f.jpg","text":"TemporaryFile(/tmp/multipartBody2301053440361368040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572357014,"filename":"image_11012025_06_11_02_937354_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328071654","file1":"1328071652","file0":"1328071649","file4":"1328071659","file5":"1328071661","file3":"1328071657"},"map_files_photo_id_array":[{"photo_id":"1328071661","filename":"file5"},{"photo_id":"1328071654","filename":"file2"},{"photo_id":"1328071659","filename":"file4"},{"photo_id":"1328071652","filename":"file1"},{"photo_id":"1328071649","filename":"file0"},{"photo_id":"1328071657","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328071659":["hashtag1","hashtag2"]},{"1328071661":["hashtag1","hashtag2"]},{"1328071652":["hashtag1","hashtag2"]},{"1328071649":["hashtag1","hashtag2"]},{"1328071654":["hashtag1","hashtag2"]},{"1328071657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328071659, 1328071661, 1328071652, 1328071649, 1328071654, 1328071657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.0081946849823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:12:22.590442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/11/image_11012025_06_11_02_937354_0003.jpg', '/home/pi/Desktop/images/11012025/06/12/image_11012025_06_12_02_436277_0000.jpg', '/home/pi/Desktop/images/11012025/06/12/image_11012025_06_12_02_436277_0001.jpg', '/home/pi/Desktop/images/11012025/06/12/image_11012025_06_12_02_436277_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/11/image_11012025_06_11_02_937354_0003.jpg
/home/pi/Desktop/images/11012025/06/12/image_11012025_06_12_02_436277_0000.jpg
/home/pi/Desktop/images/11012025/06/12/image_11012025_06_12_02_436277_0001.jpg
/home/pi/Desktop/images/11012025/06/12/image_11012025_06_12_02_436277_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328071764","1328071665","1328071675","1328071810"],"photo_ids_order":["1328071665","1328071675","1328071764","1328071810"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/76cc12fc5bf94d879bf245576d305195.jpg","text":"TemporaryFile(/tmp/multipartBody1485333644713476171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572412883,"filename":"image_11012025_06_12_02_436277_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d70df4d6c6cfcef71770cb4225ffcb6e.jpg","text":"TemporaryFile(/tmp/multipartBody3997447458509323826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572412883,"filename":"image_11012025_06_11_02_937354_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/96dc99775ed7a27c744b87b515de3f62.jpg","text":"TemporaryFile(/tmp/multipartBody2043724963869651960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572412883,"filename":"image_11012025_06_12_02_436277_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6b60231f93aa4f516a9ea5269645847a.jpg","text":"TemporaryFile(/tmp/multipartBody7138785844693754992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572412883,"filename":"image_11012025_06_12_02_436277_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328071764","file1":"1328071675","file0":"1328071665","file3":"1328071810"},"map_files_photo_id_array":[{"photo_id":"1328071764","filename":"file2"},{"photo_id":"1328071675","filename":"file1"},{"photo_id":"1328071665","filename":"file0"},{"photo_id":"1328071810","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328071764":["hashtag1","hashtag2"]},{"1328071665":["hashtag1","hashtag2"]},{"1328071675":["hashtag1","hashtag2"]},{"1328071810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328071764, 1328071665, 1328071675, 1328071810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.95006513595581 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:13:22.113046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/12/image_11012025_06_12_02_436277_0003.jpg', '/home/pi/Desktop/images/11012025/06/13/image_11012025_06_13_02_939533_0000.jpg', '/home/pi/Desktop/images/11012025/06/13/image_11012025_06_13_02_939533_0001.jpg', '/home/pi/Desktop/images/11012025/06/13/image_11012025_06_13_02_939533_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/12/image_11012025_06_12_02_436277_0003.jpg
/home/pi/Desktop/images/11012025/06/13/image_11012025_06_13_02_939533_0000.jpg
/home/pi/Desktop/images/11012025/06/13/image_11012025_06_13_02_939533_0001.jpg
/home/pi/Desktop/images/11012025/06/13/image_11012025_06_13_02_939533_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328071863","1328071856","1328071859","1328071823"],"photo_ids_order":["1328071823","1328071856","1328071859","1328071863"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/da485e4d55a32d666c9944ed5ab4f92a.jpg","text":"TemporaryFile(/tmp/multipartBody97743045742683004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572472465,"filename":"image_11012025_06_13_02_939533_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/900d5d04609e575b3919a2c31842075f.jpg","text":"TemporaryFile(/tmp/multipartBody1108808202304939951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572472465,"filename":"image_11012025_06_13_02_939533_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4d8528e282fb7b9978c83af42a7d4dcd.jpg","text":"TemporaryFile(/tmp/multipartBody8130907744444823950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572472465,"filename":"image_11012025_06_13_02_939533_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1b586ac0ba25fc4c21983fb6900588f1.jpg","text":"TemporaryFile(/tmp/multipartBody8855569705772401089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572472465,"filename":"image_11012025_06_12_02_436277_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328071859","file1":"1328071856","file0":"1328071823","file3":"1328071863"},"map_files_photo_id_array":[{"photo_id":"1328071859","filename":"file2"},{"photo_id":"1328071856","filename":"file1"},{"photo_id":"1328071823","filename":"file0"},{"photo_id":"1328071863","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328071863":["hashtag1","hashtag2"]},{"1328071856":["hashtag1","hashtag2"]},{"1328071859":["hashtag1","hashtag2"]},{"1328071823":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328071863, 1328071856, 1328071859, 1328071823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.59587001800537 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:14:02.952497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/18/image_09012025_23_18_02_427517_0000.jpg', '/home/pi/Desktop/images/09012025/23/18/image_09012025_23_18_02_427517_0003.jpg', '/home/pi/Desktop/images/09012025/23/19/image_09012025_23_19_02_664642_0000.jpg', '/home/pi/Desktop/images/09012025/23/19/image_09012025_23_19_02_664642_0001.jpg', '/home/pi/Desktop/images/09012025/23/19/image_09012025_23_19_02_664642_0002.jpg', '/home/pi/Desktop/images/09012025/23/19/image_09012025_23_19_02_664642_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/18/image_09012025_23_18_02_427517_0000.jpg
/home/pi/Desktop/images/09012025/23/18/image_09012025_23_18_02_427517_0003.jpg
/home/pi/Desktop/images/09012025/23/19/image_09012025_23_19_02_664642_0000.jpg
/home/pi/Desktop/images/09012025/23/19/image_09012025_23_19_02_664642_0001.jpg
/home/pi/Desktop/images/09012025/23/19/image_09012025_23_19_02_664642_0002.jpg
/home/pi/Desktop/images/09012025/23/19/image_09012025_23_19_02_664642_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328071898","1328071902","1328071892","1328071909","1328071906","1328071896"],"photo_ids_order":["1328071892","1328071896","1328071898","1328071902","1328071906","1328071909"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cf5233564aa07635005be7c3d6463065.jpg","text":"TemporaryFile(/tmp/multipartBody438345050331912052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572519192,"filename":"image_09012025_23_19_02_664642_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c38baa52b085a4be5d90056a37028be.jpg","text":"TemporaryFile(/tmp/multipartBody6121358237575639360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572519192,"filename":"image_09012025_23_19_02_664642_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ea6792b4fab583986caf17b5b054c72d.jpg","text":"TemporaryFile(/tmp/multipartBody5300423839941906961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572519192,"filename":"image_09012025_23_18_02_427517_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/04752032c060c55d8f9b73e82636add5.jpg","text":"TemporaryFile(/tmp/multipartBody4544124259491446615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572519192,"filename":"image_09012025_23_19_02_664642_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/97a96162a3c7c7f81a80bf1175e49ce7.jpg","text":"TemporaryFile(/tmp/multipartBody6180963498166786656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572519192,"filename":"image_09012025_23_19_02_664642_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b2c46e8b0091b4ce594f3c7ab284907d.jpg","text":"TemporaryFile(/tmp/multipartBody9096293057173076685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572519192,"filename":"image_09012025_23_18_02_427517_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328071898","file1":"1328071896","file0":"1328071892","file4":"1328071906","file5":"1328071909","file3":"1328071902"},"map_files_photo_id_array":[{"photo_id":"1328071909","filename":"file5"},{"photo_id":"1328071898","filename":"file2"},{"photo_id":"1328071906","filename":"file4"},{"photo_id":"1328071896","filename":"file1"},{"photo_id":"1328071892","filename":"file0"},{"photo_id":"1328071902","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328071898":["hashtag1","hashtag2"]},{"1328071902":["hashtag1","hashtag2"]},{"1328071892":["hashtag1","hashtag2"]},{"1328071909":["hashtag1","hashtag2"]},{"1328071906":["hashtag1","hashtag2"]},{"1328071896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328071898, 1328071902, 1328071892, 1328071909, 1328071906, 1328071896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.81827092170715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:15:02.695677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/13/image_11012025_06_13_02_939533_0003.jpg', '/home/pi/Desktop/images/11012025/06/14/image_11012025_06_14_02_540378_0000.jpg', '/home/pi/Desktop/images/11012025/06/14/image_11012025_06_14_02_540378_0001.jpg', '/home/pi/Desktop/images/11012025/06/14/image_11012025_06_14_02_540378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/13/image_11012025_06_13_02_939533_0003.jpg
/home/pi/Desktop/images/11012025/06/14/image_11012025_06_14_02_540378_0000.jpg
/home/pi/Desktop/images/11012025/06/14/image_11012025_06_14_02_540378_0001.jpg
/home/pi/Desktop/images/11012025/06/14/image_11012025_06_14_02_540378_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328071929","1328071927","1328071921","1328071924"],"photo_ids_order":["1328071921","1328071924","1328071927","1328071929"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7e2ee1fef31f70a7bdde814a4b10bd9e.jpg","text":"TemporaryFile(/tmp/multipartBody1855034730052775740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572573069,"filename":"image_11012025_06_14_02_540378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ea35b3c0be4fab1a0c04256f1424e67e.jpg","text":"TemporaryFile(/tmp/multipartBody3246204532920337525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572573069,"filename":"image_11012025_06_14_02_540378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e239881a5c40be77e6b760fcf936929d.jpg","text":"TemporaryFile(/tmp/multipartBody4544125762801672722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572573069,"filename":"image_11012025_06_13_02_939533_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f1a7fce5c2ede06187f9130dec7f6d1e.jpg","text":"TemporaryFile(/tmp/multipartBody8505012913037820270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572573069,"filename":"image_11012025_06_14_02_540378_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328071927","file1":"1328071924","file0":"1328071921","file3":"1328071929"},"map_files_photo_id_array":[{"photo_id":"1328071927","filename":"file2"},{"photo_id":"1328071924","filename":"file1"},{"photo_id":"1328071921","filename":"file0"},{"photo_id":"1328071929","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328071929":["hashtag1","hashtag2"]},{"1328071927":["hashtag1","hashtag2"]},{"1328071921":["hashtag1","hashtag2"]},{"1328071924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328071929, 1328071927, 1328071921, 1328071924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.04649114608765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:16:02.213008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/14/image_11012025_06_14_02_540378_0003.jpg', '/home/pi/Desktop/images/11012025/06/15/image_11012025_06_15_03_048517_0000.jpg', '/home/pi/Desktop/images/11012025/06/15/image_11012025_06_15_03_048517_0001.jpg', '/home/pi/Desktop/images/11012025/06/15/image_11012025_06_15_03_048517_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/14/image_11012025_06_14_02_540378_0003.jpg
/home/pi/Desktop/images/11012025/06/15/image_11012025_06_15_03_048517_0000.jpg
/home/pi/Desktop/images/11012025/06/15/image_11012025_06_15_03_048517_0001.jpg
/home/pi/Desktop/images/11012025/06/15/image_11012025_06_15_03_048517_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328072066","1328072044","1328072068","1328072070"],"photo_ids_order":["1328072044","1328072066","1328072068","1328072070"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/145089d581fa0dfb5fa60d0d286e2d9e.jpg","text":"TemporaryFile(/tmp/multipartBody7354381155107321990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572632599,"filename":"image_11012025_06_15_03_048517_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1d295f6a89d724f055e3ee2bd2c56463.jpg","text":"TemporaryFile(/tmp/multipartBody1171265246481706735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572632599,"filename":"image_11012025_06_14_02_540378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f44e49a4866c7cc49febaf642059031a.jpg","text":"TemporaryFile(/tmp/multipartBody1879036728199424641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572632599,"filename":"image_11012025_06_15_03_048517_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/840a49665e47dcb37dddd6c567b89c62.jpg","text":"TemporaryFile(/tmp/multipartBody8301896771796006821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572632599,"filename":"image_11012025_06_15_03_048517_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328072068","file1":"1328072066","file0":"1328072044","file3":"1328072070"},"map_files_photo_id_array":[{"photo_id":"1328072068","filename":"file2"},{"photo_id":"1328072066","filename":"file1"},{"photo_id":"1328072044","filename":"file0"},{"photo_id":"1328072070","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328072066":["hashtag1","hashtag2"]},{"1328072044":["hashtag1","hashtag2"]},{"1328072068":["hashtag1","hashtag2"]},{"1328072070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328072066, 1328072044, 1328072068, 1328072070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.12341570854187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:17:03.043258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/15/image_11012025_06_15_03_048517_0003.jpg', '/home/pi/Desktop/images/11012025/06/16/image_11012025_06_16_02_645178_0000.jpg', '/home/pi/Desktop/images/11012025/06/16/image_11012025_06_16_02_645178_0001.jpg', '/home/pi/Desktop/images/11012025/06/16/image_11012025_06_16_02_645178_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/15/image_11012025_06_15_03_048517_0003.jpg
/home/pi/Desktop/images/11012025/06/16/image_11012025_06_16_02_645178_0000.jpg
/home/pi/Desktop/images/11012025/06/16/image_11012025_06_16_02_645178_0001.jpg
/home/pi/Desktop/images/11012025/06/16/image_11012025_06_16_02_645178_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.036797285079956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:17:22.379772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/15/image_11012025_06_15_03_048517_0003.jpg', '/home/pi/Desktop/images/11012025/06/16/image_11012025_06_16_02_645178_0000.jpg', '/home/pi/Desktop/images/11012025/06/16/image_11012025_06_16_02_645178_0001.jpg', '/home/pi/Desktop/images/11012025/06/16/image_11012025_06_16_02_645178_0002.jpg', '/home/pi/Desktop/images/11012025/06/16/image_11012025_06_16_02_645178_0003.jpg', '/home/pi/Desktop/images/11012025/06/17/image_11012025_06_17_02_293445_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/15/image_11012025_06_15_03_048517_0003.jpg
/home/pi/Desktop/images/11012025/06/16/image_11012025_06_16_02_645178_0000.jpg
/home/pi/Desktop/images/11012025/06/16/image_11012025_06_16_02_645178_0001.jpg
/home/pi/Desktop/images/11012025/06/16/image_11012025_06_16_02_645178_0002.jpg
/home/pi/Desktop/images/11012025/06/16/image_11012025_06_16_02_645178_0003.jpg
/home/pi/Desktop/images/11012025/06/17/image_11012025_06_17_02_293445_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328072103","1328072105","1328072095","1328072098","1328072107","1328072101"],"photo_ids_order":["1328072095","1328072098","1328072101","1328072103","1328072105","1328072107"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/22184a2335da2ecd25f21caa97c1854d.jpg","text":"TemporaryFile(/tmp/multipartBody578694850885143843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572717533,"filename":"image_11012025_06_16_02_645178_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/77699ad44d3d684d8a672cba48a2aca9.jpg","text":"TemporaryFile(/tmp/multipartBody7202556355101836635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572717533,"filename":"image_11012025_06_16_02_645178_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cd67f2de7a273d590a26385696ae2435.jpg","text":"TemporaryFile(/tmp/multipartBody8477482261688806620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572717533,"filename":"image_11012025_06_15_03_048517_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1bb534092ab857e975aae657fb33ca29.jpg","text":"TemporaryFile(/tmp/multipartBody3771478229219284737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572717533,"filename":"image_11012025_06_16_02_645178_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9c165155982c63b3de1e79d706cc8d4e.jpg","text":"TemporaryFile(/tmp/multipartBody3474812058099819197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572717533,"filename":"image_11012025_06_17_02_293445_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f58d1e5e16ed790ea8c9b3dfa63471e8.jpg","text":"TemporaryFile(/tmp/multipartBody119236235745025564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572717533,"filename":"image_11012025_06_16_02_645178_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328072101","file1":"1328072098","file0":"1328072095","file4":"1328072105","file5":"1328072107","file3":"1328072103"},"map_files_photo_id_array":[{"photo_id":"1328072107","filename":"file5"},{"photo_id":"1328072101","filename":"file2"},{"photo_id":"1328072105","filename":"file4"},{"photo_id":"1328072098","filename":"file1"},{"photo_id":"1328072095","filename":"file0"},{"photo_id":"1328072103","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328072103":["hashtag1","hashtag2"]},{"1328072105":["hashtag1","hashtag2"]},{"1328072095":["hashtag1","hashtag2"]},{"1328072098":["hashtag1","hashtag2"]},{"1328072107":["hashtag1","hashtag2"]},{"1328072101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328072103, 1328072105, 1328072095, 1328072098, 1328072107, 1328072101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.079060554504395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:18:22.171982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/17/image_11012025_06_17_02_293445_0001.jpg', '/home/pi/Desktop/images/11012025/06/17/image_11012025_06_17_02_293445_0002.jpg', '/home/pi/Desktop/images/11012025/06/17/image_11012025_06_17_02_293445_0003.jpg', '/home/pi/Desktop/images/11012025/06/18/image_11012025_06_18_02_887439_0000.jpg', '/home/pi/Desktop/images/11012025/06/18/image_11012025_06_18_02_887439_0001.jpg', '/home/pi/Desktop/images/11012025/06/18/image_11012025_06_18_02_887439_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/17/image_11012025_06_17_02_293445_0001.jpg
/home/pi/Desktop/images/11012025/06/17/image_11012025_06_17_02_293445_0002.jpg
/home/pi/Desktop/images/11012025/06/17/image_11012025_06_17_02_293445_0003.jpg
/home/pi/Desktop/images/11012025/06/18/image_11012025_06_18_02_887439_0000.jpg
/home/pi/Desktop/images/11012025/06/18/image_11012025_06_18_02_887439_0001.jpg
/home/pi/Desktop/images/11012025/06/18/image_11012025_06_18_02_887439_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328072798","1328072957","1328072822","1328072790","1328072793","1328072961"],"photo_ids_order":["1328072790","1328072793","1328072798","1328072822","1328072957","1328072961"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/009e7317bfd45ae48b7d5ba08d2374a5.jpg","text":"TemporaryFile(/tmp/multipartBody9223241396362462492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572777325,"filename":"image_11012025_06_17_02_293445_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/471e4ccad9687cb5c2fdf7019d04f951.jpg","text":"TemporaryFile(/tmp/multipartBody5625038949026235731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572777325,"filename":"image_11012025_06_18_02_887439_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/88cb1628a53b1fa15a775e4c8390a019.jpg","text":"TemporaryFile(/tmp/multipartBody1594348801980839691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572777325,"filename":"image_11012025_06_18_02_887439_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9e00711f0abb6c0c9883756c80cbe0d2.jpg","text":"TemporaryFile(/tmp/multipartBody1291353948261444083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572777325,"filename":"image_11012025_06_17_02_293445_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ad838344adfedce60f4364752a1f6e37.jpg","text":"TemporaryFile(/tmp/multipartBody3653618741354958457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572777325,"filename":"image_11012025_06_17_02_293445_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/869ff85dbeef5c86d5a264f850f2d630.jpg","text":"TemporaryFile(/tmp/multipartBody5997820877818300961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572777325,"filename":"image_11012025_06_18_02_887439_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328072798","file1":"1328072793","file0":"1328072790","file4":"1328072957","file5":"1328072961","file3":"1328072822"},"map_files_photo_id_array":[{"photo_id":"1328072961","filename":"file5"},{"photo_id":"1328072798","filename":"file2"},{"photo_id":"1328072957","filename":"file4"},{"photo_id":"1328072793","filename":"file1"},{"photo_id":"1328072790","filename":"file0"},{"photo_id":"1328072822","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328072798":["hashtag1","hashtag2"]},{"1328072957":["hashtag1","hashtag2"]},{"1328072822":["hashtag1","hashtag2"]},{"1328072790":["hashtag1","hashtag2"]},{"1328072793":["hashtag1","hashtag2"]},{"1328072961":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328072798, 1328072957, 1328072822, 1328072790, 1328072793, 1328072961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.11574649810791 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:19:22.651131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/18/image_11012025_06_18_02_887439_0003.jpg', '/home/pi/Desktop/images/11012025/06/19/image_11012025_06_19_02_563006_0000.jpg', '/home/pi/Desktop/images/11012025/06/19/image_11012025_06_19_02_563006_0001.jpg', '/home/pi/Desktop/images/11012025/06/19/image_11012025_06_19_02_563006_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/18/image_11012025_06_18_02_887439_0003.jpg
/home/pi/Desktop/images/11012025/06/19/image_11012025_06_19_02_563006_0000.jpg
/home/pi/Desktop/images/11012025/06/19/image_11012025_06_19_02_563006_0001.jpg
/home/pi/Desktop/images/11012025/06/19/image_11012025_06_19_02_563006_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328073014","1328073017","1328073021","1328073024"],"photo_ids_order":["1328073014","1328073017","1328073021","1328073024"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/94e0272ff9d532762168436377ecc442.jpg","text":"TemporaryFile(/tmp/multipartBody2910309549108469163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572832866,"filename":"image_11012025_06_18_02_887439_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c403a80f832960012db9d05dd1bcd887.jpg","text":"TemporaryFile(/tmp/multipartBody806302733526160268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572832866,"filename":"image_11012025_06_19_02_563006_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9363995376d00a20ee2fe7c2dd8ce105.jpg","text":"TemporaryFile(/tmp/multipartBody4679351546842412024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572832866,"filename":"image_11012025_06_19_02_563006_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/acf8f205eaefe1d31c2bf03802186edb.jpg","text":"TemporaryFile(/tmp/multipartBody1062706562821470117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572832866,"filename":"image_11012025_06_19_02_563006_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328073021","file1":"1328073017","file0":"1328073014","file3":"1328073024"},"map_files_photo_id_array":[{"photo_id":"1328073021","filename":"file2"},{"photo_id":"1328073017","filename":"file1"},{"photo_id":"1328073014","filename":"file0"},{"photo_id":"1328073024","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328073014":["hashtag1","hashtag2"]},{"1328073017":["hashtag1","hashtag2"]},{"1328073021":["hashtag1","hashtag2"]},{"1328073024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328073014, 1328073017, 1328073021, 1328073024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.5391583442688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:20:22.340853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/19/image_11012025_06_19_02_563006_0003.jpg', '/home/pi/Desktop/images/11012025/06/20/image_11012025_06_20_03_146136_0000.jpg', '/home/pi/Desktop/images/11012025/06/20/image_11012025_06_20_03_146136_0001.jpg', '/home/pi/Desktop/images/11012025/06/20/image_11012025_06_20_03_146136_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/19/image_11012025_06_19_02_563006_0003.jpg
/home/pi/Desktop/images/11012025/06/20/image_11012025_06_20_03_146136_0000.jpg
/home/pi/Desktop/images/11012025/06/20/image_11012025_06_20_03_146136_0001.jpg
/home/pi/Desktop/images/11012025/06/20/image_11012025_06_20_03_146136_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328073059","1328073052","1328073055","1328073049"],"photo_ids_order":["1328073049","1328073052","1328073055","1328073059"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/86d02b7d08f25548b5b3d2821d364547.jpg","text":"TemporaryFile(/tmp/multipartBody8458089425328206501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572892681,"filename":"image_11012025_06_20_03_146136_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/62eff755ebc8e98f6ad62469c3bb6216.jpg","text":"TemporaryFile(/tmp/multipartBody4118539370502528664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572892681,"filename":"image_11012025_06_20_03_146136_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/104aec8947c608e618a7b0037e7fede5.jpg","text":"TemporaryFile(/tmp/multipartBody2021568642808364929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572892681,"filename":"image_11012025_06_20_03_146136_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bbc0c7dfd0296e572f5de82554bb14e1.jpg","text":"TemporaryFile(/tmp/multipartBody161292429371258806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572892681,"filename":"image_11012025_06_19_02_563006_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328073055","file1":"1328073052","file0":"1328073049","file3":"1328073059"},"map_files_photo_id_array":[{"photo_id":"1328073055","filename":"file2"},{"photo_id":"1328073052","filename":"file1"},{"photo_id":"1328073049","filename":"file0"},{"photo_id":"1328073059","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328073059":["hashtag1","hashtag2"]},{"1328073052":["hashtag1","hashtag2"]},{"1328073055":["hashtag1","hashtag2"]},{"1328073049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328073059, 1328073052, 1328073055, 1328073049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.58031988143921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:21:21.855969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/20/image_11012025_06_20_03_146136_0003.jpg', '/home/pi/Desktop/images/11012025/06/21/image_11012025_06_21_02_646985_0000.jpg', '/home/pi/Desktop/images/11012025/06/21/image_11012025_06_21_02_646985_0001.jpg', '/home/pi/Desktop/images/11012025/06/21/image_11012025_06_21_02_646985_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/20/image_11012025_06_20_03_146136_0003.jpg
/home/pi/Desktop/images/11012025/06/21/image_11012025_06_21_02_646985_0000.jpg
/home/pi/Desktop/images/11012025/06/21/image_11012025_06_21_02_646985_0001.jpg
/home/pi/Desktop/images/11012025/06/21/image_11012025_06_21_02_646985_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328073072","1328073066","1328073075","1328073069"],"photo_ids_order":["1328073066","1328073069","1328073072","1328073075"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/133f04f854078d5fe950cf64a0df9f10.jpg","text":"TemporaryFile(/tmp/multipartBody1826300758833461085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572952144,"filename":"image_11012025_06_21_02_646985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4727d64f979038a19351fdf85dcbf464.jpg","text":"TemporaryFile(/tmp/multipartBody1777804422119784376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572952144,"filename":"image_11012025_06_20_03_146136_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1b4051cfb9b519d5835423bc4696c6b8.jpg","text":"TemporaryFile(/tmp/multipartBody707626434389351067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572952144,"filename":"image_11012025_06_21_02_646985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/22b9ccddcad9fc6bc9a589912ee13714.jpg","text":"TemporaryFile(/tmp/multipartBody4382840028757686997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736572952144,"filename":"image_11012025_06_21_02_646985_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328073072","file1":"1328073069","file0":"1328073066","file3":"1328073075"},"map_files_photo_id_array":[{"photo_id":"1328073072","filename":"file2"},{"photo_id":"1328073069","filename":"file1"},{"photo_id":"1328073066","filename":"file0"},{"photo_id":"1328073075","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328073072":["hashtag1","hashtag2"]},{"1328073066":["hashtag1","hashtag2"]},{"1328073075":["hashtag1","hashtag2"]},{"1328073069":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328073072, 1328073066, 1328073075, 1328073069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.34257674217224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:22:02.827879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/20/image_09012025_23_20_02_803473_0000.jpg', '/home/pi/Desktop/images/09012025/23/20/image_09012025_23_20_02_803473_0001.jpg', '/home/pi/Desktop/images/09012025/23/20/image_09012025_23_20_02_803473_0002.jpg', '/home/pi/Desktop/images/09012025/23/20/image_09012025_23_20_02_803473_0003.jpg', '/home/pi/Desktop/images/09012025/23/21/image_09012025_23_21_03_064857_0000.jpg', '/home/pi/Desktop/images/09012025/23/21/image_09012025_23_21_03_064857_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/20/image_09012025_23_20_02_803473_0000.jpg
/home/pi/Desktop/images/09012025/23/20/image_09012025_23_20_02_803473_0001.jpg
/home/pi/Desktop/images/09012025/23/20/image_09012025_23_20_02_803473_0002.jpg
/home/pi/Desktop/images/09012025/23/20/image_09012025_23_20_02_803473_0003.jpg
/home/pi/Desktop/images/09012025/23/21/image_09012025_23_21_03_064857_0000.jpg
/home/pi/Desktop/images/09012025/23/21/image_09012025_23_21_03_064857_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: 15.735954284667969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:22:22.425501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/21/image_11012025_06_21_02_646985_0003.jpg', '/home/pi/Desktop/images/11012025/06/22/image_11012025_06_22_02_299063_0000.jpg', '/home/pi/Desktop/images/11012025/06/22/image_11012025_06_22_02_299063_0001.jpg', '/home/pi/Desktop/images/11012025/06/22/image_11012025_06_22_02_299063_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/21/image_11012025_06_21_02_646985_0003.jpg
/home/pi/Desktop/images/11012025/06/22/image_11012025_06_22_02_299063_0000.jpg
/home/pi/Desktop/images/11012025/06/22/image_11012025_06_22_02_299063_0001.jpg
/home/pi/Desktop/images/11012025/06/22/image_11012025_06_22_02_299063_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328073317","1328073314","1328073304","1328073309"],"photo_ids_order":["1328073304","1328073309","1328073314","1328073317"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6e8c8ff73cd1499083a95ee8d9ed7f5e.jpg","text":"TemporaryFile(/tmp/multipartBody3136437902794288208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573012587,"filename":"image_11012025_06_22_02_299063_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ce6c4726684f78080425344cf5fe30fb.jpg","text":"TemporaryFile(/tmp/multipartBody6689937084273731610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573012587,"filename":"image_11012025_06_22_02_299063_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/036782be1a84efdf6eb7840d2e788239.jpg","text":"TemporaryFile(/tmp/multipartBody8449422411797483311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573012587,"filename":"image_11012025_06_21_02_646985_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bfe1ceb64fa3c7f6830db28e15e4fe31.jpg","text":"TemporaryFile(/tmp/multipartBody6651399446476499120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573012587,"filename":"image_11012025_06_22_02_299063_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328073314","file1":"1328073309","file0":"1328073304","file3":"1328073317"},"map_files_photo_id_array":[{"photo_id":"1328073314","filename":"file2"},{"photo_id":"1328073309","filename":"file1"},{"photo_id":"1328073304","filename":"file0"},{"photo_id":"1328073317","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328073317":["hashtag1","hashtag2"]},{"1328073314":["hashtag1","hashtag2"]},{"1328073304":["hashtag1","hashtag2"]},{"1328073309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328073317, 1328073314, 1328073304, 1328073309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.452786445617676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:23:02.543465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/20/image_09012025_23_20_02_803473_0000.jpg', '/home/pi/Desktop/images/09012025/23/20/image_09012025_23_20_02_803473_0001.jpg', '/home/pi/Desktop/images/09012025/23/20/image_09012025_23_20_02_803473_0002.jpg', '/home/pi/Desktop/images/09012025/23/20/image_09012025_23_20_02_803473_0003.jpg', '/home/pi/Desktop/images/09012025/23/21/image_09012025_23_21_03_064857_0000.jpg', '/home/pi/Desktop/images/09012025/23/21/image_09012025_23_21_03_064857_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/20/image_09012025_23_20_02_803473_0000.jpg
/home/pi/Desktop/images/09012025/23/20/image_09012025_23_20_02_803473_0001.jpg
/home/pi/Desktop/images/09012025/23/20/image_09012025_23_20_02_803473_0002.jpg
/home/pi/Desktop/images/09012025/23/20/image_09012025_23_20_02_803473_0003.jpg
/home/pi/Desktop/images/09012025/23/21/image_09012025_23_21_03_064857_0000.jpg
/home/pi/Desktop/images/09012025/23/21/image_09012025_23_21_03_064857_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":["1328073329","1328073331","1328073334","1328073325","1328073339","1328073327"],"photo_ids_order":["1328073325","1328073327","1328073329","1328073331","1328073334","1328073339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e6487e33748d0f8dcbb2c886422b2778.jpg","text":"TemporaryFile(/tmp/multipartBody7090796747872036557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573058640,"filename":"image_09012025_23_20_02_803473_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7db07354c5cae3b640d67698cc1765d2.jpg","text":"TemporaryFile(/tmp/multipartBody6845889680285469402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573058640,"filename":"image_09012025_23_20_02_803473_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9fc8767780a5de8da6831924dd1d03cc.jpg","text":"TemporaryFile(/tmp/multipartBody8673012751638493753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573058640,"filename":"image_09012025_23_21_03_064857_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/85b5651afbff48a11dda30a961e31836.jpg","text":"TemporaryFile(/tmp/multipartBody4300573985287690312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573058640,"filename":"image_09012025_23_20_02_803473_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/251845bfc4e1cf384138596d8609ff3e.jpg","text":"TemporaryFile(/tmp/multipartBody8291421491728189564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573058640,"filename":"image_09012025_23_21_03_064857_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b9238df1bdc1253a598fa608357ff036.jpg","text":"TemporaryFile(/tmp/multipartBody550008126670423398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573058640,"filename":"image_09012025_23_20_02_803473_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328073329","file1":"1328073327","file0":"1328073325","file4":"1328073334","file5":"1328073339","file3":"1328073331"},"map_files_photo_id_array":[{"photo_id":"1328073339","filename":"file5"},{"photo_id":"1328073329","filename":"file2"},{"photo_id":"1328073334","filename":"file4"},{"photo_id":"1328073327","filename":"file1"},{"photo_id":"1328073325","filename":"file0"},{"photo_id":"1328073331","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328073329":["hashtag1","hashtag2"]},{"1328073331":["hashtag1","hashtag2"]},{"1328073334":["hashtag1","hashtag2"]},{"1328073325":["hashtag1","hashtag2"]},{"1328073339":["hashtag1","hashtag2"]},{"1328073327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328073329, 1328073331, 1328073334, 1328073325, 1328073339, 1328073327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.98079562187195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:24:22.523383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/22/image_11012025_06_22_02_299063_0003.jpg', '/home/pi/Desktop/images/11012025/06/23/image_11012025_06_23_02_848742_0000.jpg', '/home/pi/Desktop/images/11012025/06/23/image_11012025_06_23_02_848742_0001.jpg', '/home/pi/Desktop/images/11012025/06/23/image_11012025_06_23_02_848742_0002.jpg', '/home/pi/Desktop/images/11012025/06/23/image_11012025_06_23_02_848742_0003.jpg', '/home/pi/Desktop/images/11012025/06/24/image_11012025_06_24_02_296734_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/22/image_11012025_06_22_02_299063_0003.jpg
/home/pi/Desktop/images/11012025/06/23/image_11012025_06_23_02_848742_0000.jpg
/home/pi/Desktop/images/11012025/06/23/image_11012025_06_23_02_848742_0001.jpg
/home/pi/Desktop/images/11012025/06/23/image_11012025_06_23_02_848742_0002.jpg
/home/pi/Desktop/images/11012025/06/23/image_11012025_06_23_02_848742_0003.jpg
/home/pi/Desktop/images/11012025/06/24/image_11012025_06_24_02_296734_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328073370","1328073373","1328073367","1328073387","1328073360","1328073363"],"photo_ids_order":["1328073360","1328073363","1328073367","1328073370","1328073373","1328073387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/39bbef566d0d5faa8c85fcd50803cdb8.jpg","text":"TemporaryFile(/tmp/multipartBody3690086627098168663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573137490,"filename":"image_11012025_06_23_02_848742_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2b8e10c4fc6b23795ebd66d695b6b916.jpg","text":"TemporaryFile(/tmp/multipartBody8154425650939286514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573137490,"filename":"image_11012025_06_23_02_848742_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/adcbb4978cb20580bdbea1da89184498.jpg","text":"TemporaryFile(/tmp/multipartBody5793929138967262138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573137490,"filename":"image_11012025_06_23_02_848742_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/898184a601cb33098da5f39c8f77fa49.jpg","text":"TemporaryFile(/tmp/multipartBody2571418605279313180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573137490,"filename":"image_11012025_06_24_02_296734_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/85ae1b227a2398feba819f27f87f864c.jpg","text":"TemporaryFile(/tmp/multipartBody847756056150284888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573137490,"filename":"image_11012025_06_22_02_299063_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/656e2380ff98c34c07459aa8784dee18.jpg","text":"TemporaryFile(/tmp/multipartBody1783489131491722046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573137490,"filename":"image_11012025_06_23_02_848742_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328073367","file1":"1328073363","file0":"1328073360","file4":"1328073373","file5":"1328073387","file3":"1328073370"},"map_files_photo_id_array":[{"photo_id":"1328073387","filename":"file5"},{"photo_id":"1328073367","filename":"file2"},{"photo_id":"1328073373","filename":"file4"},{"photo_id":"1328073363","filename":"file1"},{"photo_id":"1328073360","filename":"file0"},{"photo_id":"1328073370","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328073370":["hashtag1","hashtag2"]},{"1328073373":["hashtag1","hashtag2"]},{"1328073367":["hashtag1","hashtag2"]},{"1328073387":["hashtag1","hashtag2"]},{"1328073360":["hashtag1","hashtag2"]},{"1328073363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328073370, 1328073373, 1328073367, 1328073387, 1328073360, 1328073363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.08389353752136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:25:22.051369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/24/image_11012025_06_24_02_296734_0001.jpg', '/home/pi/Desktop/images/11012025/06/24/image_11012025_06_24_02_296734_0002.jpg', '/home/pi/Desktop/images/11012025/06/24/image_11012025_06_24_02_296734_0003.jpg', '/home/pi/Desktop/images/11012025/06/25/image_11012025_06_25_02_925412_0000.jpg', '/home/pi/Desktop/images/11012025/06/25/image_11012025_06_25_02_925412_0001.jpg', '/home/pi/Desktop/images/11012025/06/25/image_11012025_06_25_02_925412_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/24/image_11012025_06_24_02_296734_0001.jpg
/home/pi/Desktop/images/11012025/06/24/image_11012025_06_24_02_296734_0002.jpg
/home/pi/Desktop/images/11012025/06/24/image_11012025_06_24_02_296734_0003.jpg
/home/pi/Desktop/images/11012025/06/25/image_11012025_06_25_02_925412_0000.jpg
/home/pi/Desktop/images/11012025/06/25/image_11012025_06_25_02_925412_0001.jpg
/home/pi/Desktop/images/11012025/06/25/image_11012025_06_25_02_925412_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328073394","1328073397","1328073400","1328073406","1328073417","1328073411"],"photo_ids_order":["1328073394","1328073397","1328073400","1328073406","1328073411","1328073417"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eb761f1ee7f15438b003ce1865aaf6a0.jpg","text":"TemporaryFile(/tmp/multipartBody6775809292019136521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573196994,"filename":"image_11012025_06_24_02_296734_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/13a9468139e8ef3733bfa5ae55aca163.jpg","text":"TemporaryFile(/tmp/multipartBody7728915889122085843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573196994,"filename":"image_11012025_06_24_02_296734_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3235707aee1cf8af311e1b6e9e29d939.jpg","text":"TemporaryFile(/tmp/multipartBody3468016248855842137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573196994,"filename":"image_11012025_06_24_02_296734_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8a7c83edfcde1ee0ac45749da2156c43.jpg","text":"TemporaryFile(/tmp/multipartBody4991616227295560989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573196994,"filename":"image_11012025_06_25_02_925412_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/264c612533235b165b7fbd160567b324.jpg","text":"TemporaryFile(/tmp/multipartBody6796780561128997616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573196994,"filename":"image_11012025_06_25_02_925412_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3ab1c7691ec80a3d8e97cb85e90f99b1.jpg","text":"TemporaryFile(/tmp/multipartBody1246015455725236324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573196994,"filename":"image_11012025_06_25_02_925412_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328073400","file1":"1328073397","file0":"1328073394","file4":"1328073411","file5":"1328073417","file3":"1328073406"},"map_files_photo_id_array":[{"photo_id":"1328073417","filename":"file5"},{"photo_id":"1328073400","filename":"file2"},{"photo_id":"1328073411","filename":"file4"},{"photo_id":"1328073397","filename":"file1"},{"photo_id":"1328073394","filename":"file0"},{"photo_id":"1328073406","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328073394":["hashtag1","hashtag2"]},{"1328073397":["hashtag1","hashtag2"]},{"1328073400":["hashtag1","hashtag2"]},{"1328073406":["hashtag1","hashtag2"]},{"1328073417":["hashtag1","hashtag2"]},{"1328073411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328073394, 1328073397, 1328073400, 1328073406, 1328073417, 1328073411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.07195711135864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:26:22.521272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/25/image_11012025_06_25_02_925412_0003.jpg', '/home/pi/Desktop/images/11012025/06/26/image_11012025_06_26_02_399931_0000.jpg', '/home/pi/Desktop/images/11012025/06/26/image_11012025_06_26_02_399931_0001.jpg', '/home/pi/Desktop/images/11012025/06/26/image_11012025_06_26_02_399931_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/25/image_11012025_06_25_02_925412_0003.jpg
/home/pi/Desktop/images/11012025/06/26/image_11012025_06_26_02_399931_0000.jpg
/home/pi/Desktop/images/11012025/06/26/image_11012025_06_26_02_399931_0001.jpg
/home/pi/Desktop/images/11012025/06/26/image_11012025_06_26_02_399931_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328073522","1328073516","1328073525","1328073519"],"photo_ids_order":["1328073516","1328073519","1328073522","1328073525"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d654fb4a9804f1d2029f96517a3443ca.jpg","text":"TemporaryFile(/tmp/multipartBody8619379641849192727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573252808,"filename":"image_11012025_06_26_02_399931_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e2bfe5dfd5d2e28450e9f831c9fb54b1.jpg","text":"TemporaryFile(/tmp/multipartBody4380448166394519318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573252808,"filename":"image_11012025_06_25_02_925412_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e7b694ad5d536d2c7c62600d414e9e58.jpg","text":"TemporaryFile(/tmp/multipartBody2021313233640252038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573252808,"filename":"image_11012025_06_26_02_399931_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b5ac51aad808b90cc99c0c5612c68bb8.jpg","text":"TemporaryFile(/tmp/multipartBody8388617064603804582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573252808,"filename":"image_11012025_06_26_02_399931_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328073522","file1":"1328073519","file0":"1328073516","file3":"1328073525"},"map_files_photo_id_array":[{"photo_id":"1328073522","filename":"file2"},{"photo_id":"1328073519","filename":"file1"},{"photo_id":"1328073516","filename":"file0"},{"photo_id":"1328073525","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328073522":["hashtag1","hashtag2"]},{"1328073516":["hashtag1","hashtag2"]},{"1328073525":["hashtag1","hashtag2"]},{"1328073519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328073522, 1328073516, 1328073525, 1328073519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.54042029380798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:27:22.023841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/26/image_11012025_06_26_02_399931_0003.jpg', '/home/pi/Desktop/images/11012025/06/27/image_11012025_06_27_02_890998_0000.jpg', '/home/pi/Desktop/images/11012025/06/27/image_11012025_06_27_02_890998_0001.jpg', '/home/pi/Desktop/images/11012025/06/27/image_11012025_06_27_02_890998_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/26/image_11012025_06_26_02_399931_0003.jpg
/home/pi/Desktop/images/11012025/06/27/image_11012025_06_27_02_890998_0000.jpg
/home/pi/Desktop/images/11012025/06/27/image_11012025_06_27_02_890998_0001.jpg
/home/pi/Desktop/images/11012025/06/27/image_11012025_06_27_02_890998_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328073540","1328073534","1328073537","1328073531"],"photo_ids_order":["1328073531","1328073534","1328073537","1328073540"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/05055b7ca780b1a911d70420392f21e6.jpg","text":"TemporaryFile(/tmp/multipartBody7036012750150715393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573312140,"filename":"image_11012025_06_27_02_890998_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1729febfea031add63e786950889fce1.jpg","text":"TemporaryFile(/tmp/multipartBody1597265592654919472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573312140,"filename":"image_11012025_06_27_02_890998_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c4f674e6457b75c8aad44ef3fc75bc53.jpg","text":"TemporaryFile(/tmp/multipartBody6876607645112106644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573312140,"filename":"image_11012025_06_27_02_890998_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ae66c7576f9820db8ecf9f4c601bf84e.jpg","text":"TemporaryFile(/tmp/multipartBody8534151827299778009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573312140,"filename":"image_11012025_06_26_02_399931_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328073537","file1":"1328073534","file0":"1328073531","file3":"1328073540"},"map_files_photo_id_array":[{"photo_id":"1328073537","filename":"file2"},{"photo_id":"1328073534","filename":"file1"},{"photo_id":"1328073531","filename":"file0"},{"photo_id":"1328073540","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328073540":["hashtag1","hashtag2"]},{"1328073534":["hashtag1","hashtag2"]},{"1328073537":["hashtag1","hashtag2"]},{"1328073531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328073540, 1328073534, 1328073537, 1328073531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.31003212928772 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:28:02.907145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/21/image_09012025_23_21_03_064857_0002.jpg', '/home/pi/Desktop/images/09012025/23/21/image_09012025_23_21_03_064857_0003.jpg', '/home/pi/Desktop/images/09012025/23/22/image_09012025_23_22_03_111131_0000.jpg', '/home/pi/Desktop/images/09012025/23/22/image_09012025_23_22_03_111131_0001.jpg', '/home/pi/Desktop/images/09012025/23/22/image_09012025_23_22_03_111131_0002.jpg', '/home/pi/Desktop/images/09012025/23/22/image_09012025_23_22_03_111131_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/21/image_09012025_23_21_03_064857_0002.jpg
/home/pi/Desktop/images/09012025/23/21/image_09012025_23_21_03_064857_0003.jpg
/home/pi/Desktop/images/09012025/23/22/image_09012025_23_22_03_111131_0000.jpg
/home/pi/Desktop/images/09012025/23/22/image_09012025_23_22_03_111131_0001.jpg
/home/pi/Desktop/images/09012025/23/22/image_09012025_23_22_03_111131_0002.jpg
/home/pi/Desktop/images/09012025/23/22/image_09012025_23_22_03_111131_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328073641","1328073550","1328073544","1328073547","1328073714","1328073717"],"photo_ids_order":["1328073544","1328073547","1328073550","1328073641","1328073714","1328073717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d2112465e9454dbcaca0736091f26460.jpg","text":"TemporaryFile(/tmp/multipartBody4068882594152924694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573359103,"filename":"image_09012025_23_22_03_111131_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7f72835a7a65e5448232511f49558bca.jpg","text":"TemporaryFile(/tmp/multipartBody8188086613042189497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573359103,"filename":"image_09012025_23_22_03_111131_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ce1c3f7e207c382146acd13f1ec19659.jpg","text":"TemporaryFile(/tmp/multipartBody613904566951790558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573359103,"filename":"image_09012025_23_21_03_064857_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c27d17ab3ae545f6087798fc4e5e4e52.jpg","text":"TemporaryFile(/tmp/multipartBody3662715455116134897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573359103,"filename":"image_09012025_23_21_03_064857_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ab0da0c1bd40f6fbfde713f024a6a52e.jpg","text":"TemporaryFile(/tmp/multipartBody8900259090469900593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573359103,"filename":"image_09012025_23_22_03_111131_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5712e8fe3531a8fe5465d7f61b74b88c.jpg","text":"TemporaryFile(/tmp/multipartBody3804624202236956078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573359103,"filename":"image_09012025_23_22_03_111131_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328073550","file1":"1328073547","file0":"1328073544","file4":"1328073714","file5":"1328073717","file3":"1328073641"},"map_files_photo_id_array":[{"photo_id":"1328073717","filename":"file5"},{"photo_id":"1328073550","filename":"file2"},{"photo_id":"1328073714","filename":"file4"},{"photo_id":"1328073547","filename":"file1"},{"photo_id":"1328073544","filename":"file0"},{"photo_id":"1328073641","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328073641":["hashtag1","hashtag2"]},{"1328073550":["hashtag1","hashtag2"]},{"1328073544":["hashtag1","hashtag2"]},{"1328073547":["hashtag1","hashtag2"]},{"1328073714":["hashtag1","hashtag2"]},{"1328073717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328073641, 1328073550, 1328073544, 1328073547, 1328073714, 1328073717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.720797061920166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:29:02.735722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/27/image_11012025_06_27_02_890998_0003.jpg', '/home/pi/Desktop/images/11012025/06/28/image_11012025_06_28_02_386720_0000.jpg', '/home/pi/Desktop/images/11012025/06/28/image_11012025_06_28_02_386720_0001.jpg', '/home/pi/Desktop/images/11012025/06/28/image_11012025_06_28_02_386720_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/27/image_11012025_06_27_02_890998_0003.jpg
/home/pi/Desktop/images/11012025/06/28/image_11012025_06_28_02_386720_0000.jpg
/home/pi/Desktop/images/11012025/06/28/image_11012025_06_28_02_386720_0001.jpg
/home/pi/Desktop/images/11012025/06/28/image_11012025_06_28_02_386720_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328073799","1328073724","1328073826","1328073726"],"photo_ids_order":["1328073724","1328073726","1328073799","1328073826"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ee47c7ae3b96eea16ca77beac998a92a.jpg","text":"TemporaryFile(/tmp/multipartBody2402493654600697716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573413015,"filename":"image_11012025_06_28_02_386720_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d597b638e432b86dd56ecb17b96ead01.jpg","text":"TemporaryFile(/tmp/multipartBody8704668584552877647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573413015,"filename":"image_11012025_06_27_02_890998_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/76dfd9a81dcd74705b61206bd0cf4087.jpg","text":"TemporaryFile(/tmp/multipartBody4414081830483233119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573413015,"filename":"image_11012025_06_28_02_386720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/685135669ae742058c77ea64a57a6ad4.jpg","text":"TemporaryFile(/tmp/multipartBody3367153398059559871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573413015,"filename":"image_11012025_06_28_02_386720_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328073799","file1":"1328073726","file0":"1328073724","file3":"1328073826"},"map_files_photo_id_array":[{"photo_id":"1328073799","filename":"file2"},{"photo_id":"1328073726","filename":"file1"},{"photo_id":"1328073724","filename":"file0"},{"photo_id":"1328073826","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328073799":["hashtag1","hashtag2"]},{"1328073724":["hashtag1","hashtag2"]},{"1328073826":["hashtag1","hashtag2"]},{"1328073726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328073799, 1328073724, 1328073826, 1328073726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.53306984901428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:30:03.144229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/28/image_11012025_06_28_02_386720_0003.jpg', '/home/pi/Desktop/images/11012025/06/29/image_11012025_06_29_02_931640_0000.jpg', '/home/pi/Desktop/images/11012025/06/29/image_11012025_06_29_02_931640_0001.jpg', '/home/pi/Desktop/images/11012025/06/29/image_11012025_06_29_02_931640_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/28/image_11012025_06_28_02_386720_0003.jpg
/home/pi/Desktop/images/11012025/06/29/image_11012025_06_29_02_931640_0000.jpg
/home/pi/Desktop/images/11012025/06/29/image_11012025_06_29_02_931640_0001.jpg
/home/pi/Desktop/images/11012025/06/29/image_11012025_06_29_02_931640_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328073965","1328073973","1328073975","1328073942"],"photo_ids_order":["1328073942","1328073965","1328073973","1328073975"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/44f3b48726e6498dad901f60c6c11a12.jpg","text":"TemporaryFile(/tmp/multipartBody3423291892652506633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573473372,"filename":"image_11012025_06_29_02_931640_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/acd45ba32acda382c5541a23d604b672.jpg","text":"TemporaryFile(/tmp/multipartBody1942779156959046589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573473372,"filename":"image_11012025_06_29_02_931640_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c8f7fdbf574624f9d5502b8ccfe1ede5.jpg","text":"TemporaryFile(/tmp/multipartBody4723965326942892176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573473372,"filename":"image_11012025_06_29_02_931640_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3021051cfbe5efeb32fa685bf25da5b6.jpg","text":"TemporaryFile(/tmp/multipartBody7042878285984335392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573473372,"filename":"image_11012025_06_28_02_386720_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328073973","file1":"1328073965","file0":"1328073942","file3":"1328073975"},"map_files_photo_id_array":[{"photo_id":"1328073973","filename":"file2"},{"photo_id":"1328073965","filename":"file1"},{"photo_id":"1328073942","filename":"file0"},{"photo_id":"1328073975","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328073965":["hashtag1","hashtag2"]},{"1328073973":["hashtag1","hashtag2"]},{"1328073975":["hashtag1","hashtag2"]},{"1328073942":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328073965, 1328073973, 1328073975, 1328073942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.10793423652649 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:31:02.859984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/29/image_11012025_06_29_02_931640_0003.jpg', '/home/pi/Desktop/images/11012025/06/30/image_11012025_06_30_02_438511_0000.jpg', '/home/pi/Desktop/images/11012025/06/30/image_11012025_06_30_02_438511_0001.jpg', '/home/pi/Desktop/images/11012025/06/30/image_11012025_06_30_02_438511_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/29/image_11012025_06_29_02_931640_0003.jpg
/home/pi/Desktop/images/11012025/06/30/image_11012025_06_30_02_438511_0000.jpg
/home/pi/Desktop/images/11012025/06/30/image_11012025_06_30_02_438511_0001.jpg
/home/pi/Desktop/images/11012025/06/30/image_11012025_06_30_02_438511_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328074130","1328074168","1328074134","1328074151"],"photo_ids_order":["1328074130","1328074134","1328074151","1328074168"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9136375880e9f504b47a16f5d2dab895.jpg","text":"TemporaryFile(/tmp/multipartBody9188123490175009445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573532965,"filename":"image_11012025_06_29_02_931640_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9ca1fd61c5071920c98a467d2e977346.jpg","text":"TemporaryFile(/tmp/multipartBody1631964289643229451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573532965,"filename":"image_11012025_06_30_02_438511_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c697d41bb1140bfb6d83ad0ce50adfde.jpg","text":"TemporaryFile(/tmp/multipartBody2675659486960936796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573532965,"filename":"image_11012025_06_30_02_438511_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0ca90403bc159a92852560918cd495dc.jpg","text":"TemporaryFile(/tmp/multipartBody4546989819577360391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573532965,"filename":"image_11012025_06_30_02_438511_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328074151","file1":"1328074134","file0":"1328074130","file3":"1328074168"},"map_files_photo_id_array":[{"photo_id":"1328074151","filename":"file2"},{"photo_id":"1328074134","filename":"file1"},{"photo_id":"1328074130","filename":"file0"},{"photo_id":"1328074168","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328074130":["hashtag1","hashtag2"]},{"1328074168":["hashtag1","hashtag2"]},{"1328074134":["hashtag1","hashtag2"]},{"1328074151":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328074130, 1328074168, 1328074134, 1328074151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.682653188705444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:32:02.361957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/30/image_11012025_06_30_02_438511_0003.jpg', '/home/pi/Desktop/images/11012025/06/31/image_11012025_06_31_03_052075_0000.jpg', '/home/pi/Desktop/images/11012025/06/31/image_11012025_06_31_03_052075_0001.jpg', '/home/pi/Desktop/images/11012025/06/31/image_11012025_06_31_03_052075_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/30/image_11012025_06_30_02_438511_0003.jpg
/home/pi/Desktop/images/11012025/06/31/image_11012025_06_31_03_052075_0000.jpg
/home/pi/Desktop/images/11012025/06/31/image_11012025_06_31_03_052075_0001.jpg
/home/pi/Desktop/images/11012025/06/31/image_11012025_06_31_03_052075_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.867480516433716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:32:21.890187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/30/image_11012025_06_30_02_438511_0003.jpg', '/home/pi/Desktop/images/11012025/06/31/image_11012025_06_31_03_052075_0000.jpg', '/home/pi/Desktop/images/11012025/06/31/image_11012025_06_31_03_052075_0001.jpg', '/home/pi/Desktop/images/11012025/06/31/image_11012025_06_31_03_052075_0002.jpg', '/home/pi/Desktop/images/11012025/06/31/image_11012025_06_31_03_052075_0003.jpg', '/home/pi/Desktop/images/11012025/06/32/image_11012025_06_32_02_552777_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/30/image_11012025_06_30_02_438511_0003.jpg
/home/pi/Desktop/images/11012025/06/31/image_11012025_06_31_03_052075_0000.jpg
/home/pi/Desktop/images/11012025/06/31/image_11012025_06_31_03_052075_0001.jpg
/home/pi/Desktop/images/11012025/06/31/image_11012025_06_31_03_052075_0002.jpg
/home/pi/Desktop/images/11012025/06/31/image_11012025_06_31_03_052075_0003.jpg
/home/pi/Desktop/images/11012025/06/32/image_11012025_06_32_02_552777_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328074343","1328074337","1328074339","1328074330","1328074333","1328074340"],"photo_ids_order":["1328074330","1328074333","1328074337","1328074339","1328074340","1328074343"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/45b1dcb5755287e4f8c269829f28f6b8.jpg","text":"TemporaryFile(/tmp/multipartBody5029356131809514253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573616930,"filename":"image_11012025_06_32_02_552777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ddcc03539f2150609dad03240bd8654b.jpg","text":"TemporaryFile(/tmp/multipartBody9180338175384549825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573616930,"filename":"image_11012025_06_31_03_052075_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3f0be5b3c1aee222e636b623124f79bd.jpg","text":"TemporaryFile(/tmp/multipartBody3622853107581158586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573616930,"filename":"image_11012025_06_31_03_052075_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cb4fff039039208d40d16ec9e0ab1d7e.jpg","text":"TemporaryFile(/tmp/multipartBody3386239827475084708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573616930,"filename":"image_11012025_06_30_02_438511_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/554e3d02f2a8b730cb28e21dd10cee5a.jpg","text":"TemporaryFile(/tmp/multipartBody2422457677855761659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573616930,"filename":"image_11012025_06_31_03_052075_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0be609b8fdb46b40516596f8404e7bef.jpg","text":"TemporaryFile(/tmp/multipartBody5248650204619144705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573616930,"filename":"image_11012025_06_31_03_052075_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328074337","file1":"1328074333","file0":"1328074330","file4":"1328074340","file5":"1328074343","file3":"1328074339"},"map_files_photo_id_array":[{"photo_id":"1328074343","filename":"file5"},{"photo_id":"1328074337","filename":"file2"},{"photo_id":"1328074340","filename":"file4"},{"photo_id":"1328074333","filename":"file1"},{"photo_id":"1328074330","filename":"file0"},{"photo_id":"1328074339","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328074343":["hashtag1","hashtag2"]},{"1328074337":["hashtag1","hashtag2"]},{"1328074339":["hashtag1","hashtag2"]},{"1328074330":["hashtag1","hashtag2"]},{"1328074333":["hashtag1","hashtag2"]},{"1328074340":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328074343, 1328074337, 1328074339, 1328074330, 1328074333, 1328074340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.228224754333496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:33:22.495759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/32/image_11012025_06_32_02_552777_0001.jpg', '/home/pi/Desktop/images/11012025/06/32/image_11012025_06_32_02_552777_0002.jpg', '/home/pi/Desktop/images/11012025/06/32/image_11012025_06_32_02_552777_0003.jpg', '/home/pi/Desktop/images/11012025/06/33/image_11012025_06_33_02_301957_0000.jpg', '/home/pi/Desktop/images/11012025/06/33/image_11012025_06_33_02_301957_0001.jpg', '/home/pi/Desktop/images/11012025/06/33/image_11012025_06_33_02_301957_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/32/image_11012025_06_32_02_552777_0001.jpg
/home/pi/Desktop/images/11012025/06/32/image_11012025_06_32_02_552777_0002.jpg
/home/pi/Desktop/images/11012025/06/32/image_11012025_06_32_02_552777_0003.jpg
/home/pi/Desktop/images/11012025/06/33/image_11012025_06_33_02_301957_0000.jpg
/home/pi/Desktop/images/11012025/06/33/image_11012025_06_33_02_301957_0001.jpg
/home/pi/Desktop/images/11012025/06/33/image_11012025_06_33_02_301957_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328074357","1328074348","1328074359","1328074352","1328074361","1328074355"],"photo_ids_order":["1328074348","1328074352","1328074355","1328074357","1328074359","1328074361"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ff10affa4bd9c212d352f550fb132862.jpg","text":"TemporaryFile(/tmp/multipartBody1225913752535955889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573677488,"filename":"image_11012025_06_33_02_301957_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f848112dd3d7f11bfe95dc445e5f99e2.jpg","text":"TemporaryFile(/tmp/multipartBody1466668135256670567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573677488,"filename":"image_11012025_06_32_02_552777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/96c32a82bdfbab2a29de2a81671bf925.jpg","text":"TemporaryFile(/tmp/multipartBody5642251337867446511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573677488,"filename":"image_11012025_06_33_02_301957_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c460fdc2d4d47e98321eb6425fa9749f.jpg","text":"TemporaryFile(/tmp/multipartBody2985367652144824114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573677488,"filename":"image_11012025_06_32_02_552777_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0ca2d9491d484e9a7b6e44512f19e6ab.jpg","text":"TemporaryFile(/tmp/multipartBody1512805282599861126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573677488,"filename":"image_11012025_06_33_02_301957_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3fd9e5dc81528356ea72dd919d8c16ff.jpg","text":"TemporaryFile(/tmp/multipartBody7719092837249503806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573677488,"filename":"image_11012025_06_32_02_552777_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328074355","file1":"1328074352","file0":"1328074348","file4":"1328074359","file5":"1328074361","file3":"1328074357"},"map_files_photo_id_array":[{"photo_id":"1328074361","filename":"file5"},{"photo_id":"1328074355","filename":"file2"},{"photo_id":"1328074359","filename":"file4"},{"photo_id":"1328074352","filename":"file1"},{"photo_id":"1328074348","filename":"file0"},{"photo_id":"1328074357","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328074357":["hashtag1","hashtag2"]},{"1328074348":["hashtag1","hashtag2"]},{"1328074359":["hashtag1","hashtag2"]},{"1328074352":["hashtag1","hashtag2"]},{"1328074361":["hashtag1","hashtag2"]},{"1328074355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328074357, 1328074348, 1328074359, 1328074352, 1328074361, 1328074355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.49609422683716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:34:21.950159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/33/image_11012025_06_33_02_301957_0003.jpg', '/home/pi/Desktop/images/11012025/06/34/image_11012025_06_34_02_832597_0000.jpg', '/home/pi/Desktop/images/11012025/06/34/image_11012025_06_34_02_832597_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/33/image_11012025_06_33_02_301957_0003.jpg
/home/pi/Desktop/images/11012025/06/34/image_11012025_06_34_02_832597_0000.jpg
/home/pi/Desktop/images/11012025/06/34/image_11012025_06_34_02_832597_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328074393","1328074396","1328074370"],"photo_ids_order":["1328074370","1328074393","1328074396"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f83cf2e680683f8a22575fe3c6c0871e.jpg","text":"TemporaryFile(/tmp/multipartBody427069833612699297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573729796,"filename":"image_11012025_06_34_02_832597_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d4a80f45fd5c69c54838bb024e0afe43.jpg","text":"TemporaryFile(/tmp/multipartBody2421733819798136274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573729796,"filename":"image_11012025_06_34_02_832597_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d8cfdd1a5c486118af21eddc84e5466b.jpg","text":"TemporaryFile(/tmp/multipartBody8299164802518811527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573729796,"filename":"image_11012025_06_33_02_301957_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328074396","file1":"1328074393","file0":"1328074370"},"map_files_photo_id_array":[{"photo_id":"1328074396","filename":"file2"},{"photo_id":"1328074393","filename":"file1"},{"photo_id":"1328074370","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328074393":["hashtag1","hashtag2"]},{"1328074396":["hashtag1","hashtag2"]},{"1328074370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328074393, 1328074396, 1328074370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.394264221191406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:35:03.117981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/23/image_09012025_23_23_02_226494_0000.jpg', '/home/pi/Desktop/images/09012025/23/23/image_09012025_23_23_02_226494_0001.jpg', '/home/pi/Desktop/images/09012025/23/23/image_09012025_23_23_02_226494_0002.jpg', '/home/pi/Desktop/images/09012025/23/23/image_09012025_23_23_02_226494_0003.jpg', '/home/pi/Desktop/images/09012025/23/24/image_09012025_23_24_02_424204_0000.jpg', '/home/pi/Desktop/images/09012025/23/24/image_09012025_23_24_02_424204_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/23/image_09012025_23_23_02_226494_0000.jpg
/home/pi/Desktop/images/09012025/23/23/image_09012025_23_23_02_226494_0001.jpg
/home/pi/Desktop/images/09012025/23/23/image_09012025_23_23_02_226494_0002.jpg
/home/pi/Desktop/images/09012025/23/23/image_09012025_23_23_02_226494_0003.jpg
/home/pi/Desktop/images/09012025/23/24/image_09012025_23_24_02_424204_0000.jpg
/home/pi/Desktop/images/09012025/23/24/image_09012025_23_24_02_424204_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":["1328074415","1328074408","1328074422","1328074419","1328074410","1328074412"],"photo_ids_order":["1328074408","1328074410","1328074412","1328074415","1328074419","1328074422"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/71a9227dd10614f59590370ea49b42bc.jpg","text":"TemporaryFile(/tmp/multipartBody120924428976372424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573779081,"filename":"image_09012025_23_23_02_226494_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6f4d22a633c693e840da87cbd533ebf6.jpg","text":"TemporaryFile(/tmp/multipartBody6685278844263148898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573779081,"filename":"image_09012025_23_23_02_226494_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8f5c1cf90dce318662b618f95508378b.jpg","text":"TemporaryFile(/tmp/multipartBody885406183659939726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573779081,"filename":"image_09012025_23_24_02_424204_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dbd18123273121e7766351d4843b482a.jpg","text":"TemporaryFile(/tmp/multipartBody6664884179549296877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573779081,"filename":"image_09012025_23_24_02_424204_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f5b1b07b625d3fe3d03f53e5b0694af0.jpg","text":"TemporaryFile(/tmp/multipartBody4160476974611470250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573779081,"filename":"image_09012025_23_23_02_226494_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/386362ee268a19515f77b51fbc7b20ed.jpg","text":"TemporaryFile(/tmp/multipartBody6696375021372506229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573779081,"filename":"image_09012025_23_23_02_226494_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328074412","file1":"1328074410","file0":"1328074408","file4":"1328074419","file5":"1328074422","file3":"1328074415"},"map_files_photo_id_array":[{"photo_id":"1328074422","filename":"file5"},{"photo_id":"1328074412","filename":"file2"},{"photo_id":"1328074419","filename":"file4"},{"photo_id":"1328074410","filename":"file1"},{"photo_id":"1328074408","filename":"file0"},{"photo_id":"1328074415","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328074415":["hashtag1","hashtag2"]},{"1328074408":["hashtag1","hashtag2"]},{"1328074422":["hashtag1","hashtag2"]},{"1328074419":["hashtag1","hashtag2"]},{"1328074410":["hashtag1","hashtag2"]},{"1328074412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328074415, 1328074408, 1328074422, 1328074419, 1328074410, 1328074412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.18897771835327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:36:22.162364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/34/image_11012025_06_34_02_832597_0002.jpg', '/home/pi/Desktop/images/11012025/06/35/image_11012025_06_35_02_335249_0000.jpg', '/home/pi/Desktop/images/11012025/06/35/image_11012025_06_35_02_335249_0001.jpg', '/home/pi/Desktop/images/11012025/06/35/image_11012025_06_35_02_335249_0002.jpg', '/home/pi/Desktop/images/11012025/06/35/image_11012025_06_35_02_335249_0003.jpg', '/home/pi/Desktop/images/11012025/06/36/image_11012025_06_36_02_851238_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/34/image_11012025_06_34_02_832597_0002.jpg
/home/pi/Desktop/images/11012025/06/35/image_11012025_06_35_02_335249_0000.jpg
/home/pi/Desktop/images/11012025/06/35/image_11012025_06_35_02_335249_0001.jpg
/home/pi/Desktop/images/11012025/06/35/image_11012025_06_35_02_335249_0002.jpg
/home/pi/Desktop/images/11012025/06/35/image_11012025_06_35_02_335249_0003.jpg
/home/pi/Desktop/images/11012025/06/36/image_11012025_06_36_02_851238_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328074438","1328074434","1328074608","1328074605","1328074430","1328074526"],"photo_ids_order":["1328074430","1328074434","1328074438","1328074526","1328074605","1328074608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c61b871d300a4e4a9ae654e729ad2493.jpg","text":"TemporaryFile(/tmp/multipartBody2749396172197973836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573857059,"filename":"image_11012025_06_35_02_335249_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9ebba5e02e2f32623b481006ce78975d.jpg","text":"TemporaryFile(/tmp/multipartBody4823683656232665621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573857059,"filename":"image_11012025_06_35_02_335249_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/01cdffa50ff6ee4899e0a50027b7ff81.jpg","text":"TemporaryFile(/tmp/multipartBody8603909889279789505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573857059,"filename":"image_11012025_06_36_02_851238_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dad8e95f857383d07d29b9f56d585a22.jpg","text":"TemporaryFile(/tmp/multipartBody8985569369853188277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573857059,"filename":"image_11012025_06_35_02_335249_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d4afb83cf24f29c1d374d1051d50fb62.jpg","text":"TemporaryFile(/tmp/multipartBody3176434995938618545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573857059,"filename":"image_11012025_06_34_02_832597_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ba05bce47e58e015326d2f18e751676a.jpg","text":"TemporaryFile(/tmp/multipartBody3562005065077881741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573857059,"filename":"image_11012025_06_35_02_335249_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328074438","file1":"1328074434","file0":"1328074430","file4":"1328074605","file5":"1328074608","file3":"1328074526"},"map_files_photo_id_array":[{"photo_id":"1328074608","filename":"file5"},{"photo_id":"1328074438","filename":"file2"},{"photo_id":"1328074605","filename":"file4"},{"photo_id":"1328074434","filename":"file1"},{"photo_id":"1328074430","filename":"file0"},{"photo_id":"1328074526","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328074438":["hashtag1","hashtag2"]},{"1328074434":["hashtag1","hashtag2"]},{"1328074608":["hashtag1","hashtag2"]},{"1328074605":["hashtag1","hashtag2"]},{"1328074430":["hashtag1","hashtag2"]},{"1328074526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328074438, 1328074434, 1328074608, 1328074605, 1328074430, 1328074526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.02404737472534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:37:22.673104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/36/image_11012025_06_36_02_851238_0001.jpg', '/home/pi/Desktop/images/11012025/06/36/image_11012025_06_36_02_851238_0002.jpg', '/home/pi/Desktop/images/11012025/06/36/image_11012025_06_36_02_851238_0003.jpg', '/home/pi/Desktop/images/11012025/06/37/image_11012025_06_37_02_569447_0000.jpg', '/home/pi/Desktop/images/11012025/06/37/image_11012025_06_37_02_569447_0001.jpg', '/home/pi/Desktop/images/11012025/06/37/image_11012025_06_37_02_569447_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/36/image_11012025_06_36_02_851238_0001.jpg
/home/pi/Desktop/images/11012025/06/36/image_11012025_06_36_02_851238_0002.jpg
/home/pi/Desktop/images/11012025/06/36/image_11012025_06_36_02_851238_0003.jpg
/home/pi/Desktop/images/11012025/06/37/image_11012025_06_37_02_569447_0000.jpg
/home/pi/Desktop/images/11012025/06/37/image_11012025_06_37_02_569447_0001.jpg
/home/pi/Desktop/images/11012025/06/37/image_11012025_06_37_02_569447_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328074765","1328074761","1328074758","1328074767","1328074769","1328074763"],"photo_ids_order":["1328074758","1328074761","1328074763","1328074765","1328074767","1328074769"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5c51ed1a0c9647d3884e995f8da7b367.jpg","text":"TemporaryFile(/tmp/multipartBody1441970499101423822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573917772,"filename":"image_11012025_06_37_02_569447_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3b8771d8597f1d4734abab6f6dd4e960.jpg","text":"TemporaryFile(/tmp/multipartBody5291228894872908467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573917772,"filename":"image_11012025_06_36_02_851238_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cfe7606f375ff7c4a67406123a6e8e77.jpg","text":"TemporaryFile(/tmp/multipartBody670831147100955839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573917772,"filename":"image_11012025_06_36_02_851238_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0a98d8729ac2772929b752f2f5482ff3.jpg","text":"TemporaryFile(/tmp/multipartBody1091618092579235758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573917772,"filename":"image_11012025_06_37_02_569447_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2bba628f8de6e6b148afabe16327dc07.jpg","text":"TemporaryFile(/tmp/multipartBody5630245001816836381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573917772,"filename":"image_11012025_06_37_02_569447_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5c7cd38af18c6478bc80e772b9d2ecde.jpg","text":"TemporaryFile(/tmp/multipartBody5320865690001402690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736573917772,"filename":"image_11012025_06_36_02_851238_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328074763","file1":"1328074761","file0":"1328074758","file4":"1328074767","file5":"1328074769","file3":"1328074765"},"map_files_photo_id_array":[{"photo_id":"1328074769","filename":"file5"},{"photo_id":"1328074763","filename":"file2"},{"photo_id":"1328074767","filename":"file4"},{"photo_id":"1328074761","filename":"file1"},{"photo_id":"1328074758","filename":"file0"},{"photo_id":"1328074765","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328074765":["hashtag1","hashtag2"]},{"1328074761":["hashtag1","hashtag2"]},{"1328074758":["hashtag1","hashtag2"]},{"1328074767":["hashtag1","hashtag2"]},{"1328074769":["hashtag1","hashtag2"]},{"1328074763":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328074765, 1328074761, 1328074758, 1328074767, 1328074769, 1328074763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.19037628173828 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:38:22.224389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/37/image_11012025_06_37_02_569447_0003.jpg', '/home/pi/Desktop/images/11012025/06/38/image_11012025_06_38_03_120246_0000.jpg', '/home/pi/Desktop/images/11012025/06/38/image_11012025_06_38_03_120246_0001.jpg', '/home/pi/Desktop/images/11012025/06/38/image_11012025_06_38_03_120246_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/37/image_11012025_06_37_02_569447_0003.jpg
/home/pi/Desktop/images/11012025/06/38/image_11012025_06_38_03_120246_0000.jpg
/home/pi/Desktop/images/11012025/06/38/image_11012025_06_38_03_120246_0001.jpg
/home/pi/Desktop/images/11012025/06/38/image_11012025_06_38_03_120246_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.774449110031128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:39:02.448527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/37/image_11012025_06_37_02_569447_0003.jpg', '/home/pi/Desktop/images/11012025/06/38/image_11012025_06_38_03_120246_0000.jpg', '/home/pi/Desktop/images/11012025/06/38/image_11012025_06_38_03_120246_0001.jpg', '/home/pi/Desktop/images/11012025/06/38/image_11012025_06_38_03_120246_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/37/image_11012025_06_37_02_569447_0003.jpg
/home/pi/Desktop/images/11012025/06/38/image_11012025_06_38_03_120246_0000.jpg
/home/pi/Desktop/images/11012025/06/38/image_11012025_06_38_03_120246_0001.jpg
/home/pi/Desktop/images/11012025/06/38/image_11012025_06_38_03_120246_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328074789","1328074785","1328074784","1328074787"],"photo_ids_order":["1328074784","1328074785","1328074787","1328074789"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e9b1039733a6ea415406487ecacf3fd9.jpg","text":"TemporaryFile(/tmp/multipartBody3799737311522059822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574012643,"filename":"image_11012025_06_38_03_120246_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/45b8b6cc02adca397afae1b38dab755d.jpg","text":"TemporaryFile(/tmp/multipartBody7090477829048297877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574012643,"filename":"image_11012025_06_38_03_120246_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8cce6095576bda01cdb3a1c005382312.jpg","text":"TemporaryFile(/tmp/multipartBody3753384229895194959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574012643,"filename":"image_11012025_06_37_02_569447_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3bb4177e88616d74470d4c48aa7c0140.jpg","text":"TemporaryFile(/tmp/multipartBody8892725553276636502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574012643,"filename":"image_11012025_06_38_03_120246_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328074787","file1":"1328074785","file0":"1328074784","file3":"1328074789"},"map_files_photo_id_array":[{"photo_id":"1328074787","filename":"file2"},{"photo_id":"1328074785","filename":"file1"},{"photo_id":"1328074784","filename":"file0"},{"photo_id":"1328074789","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328074789":["hashtag1","hashtag2"]},{"1328074785":["hashtag1","hashtag2"]},{"1328074784":["hashtag1","hashtag2"]},{"1328074787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328074789, 1328074785, 1328074784, 1328074787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.70192742347717 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:40:03.093313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/38/image_11012025_06_38_03_120246_0003.jpg', '/home/pi/Desktop/images/11012025/06/39/image_11012025_06_39_02_656216_0000.jpg', '/home/pi/Desktop/images/11012025/06/39/image_11012025_06_39_02_656216_0001.jpg', '/home/pi/Desktop/images/11012025/06/39/image_11012025_06_39_02_656216_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/38/image_11012025_06_38_03_120246_0003.jpg
/home/pi/Desktop/images/11012025/06/39/image_11012025_06_39_02_656216_0000.jpg
/home/pi/Desktop/images/11012025/06/39/image_11012025_06_39_02_656216_0001.jpg
/home/pi/Desktop/images/11012025/06/39/image_11012025_06_39_02_656216_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.808077335357666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:40:22.648759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/38/image_11012025_06_38_03_120246_0003.jpg', '/home/pi/Desktop/images/11012025/06/39/image_11012025_06_39_02_656216_0000.jpg', '/home/pi/Desktop/images/11012025/06/39/image_11012025_06_39_02_656216_0001.jpg', '/home/pi/Desktop/images/11012025/06/39/image_11012025_06_39_02_656216_0002.jpg', '/home/pi/Desktop/images/11012025/06/39/image_11012025_06_39_02_656216_0003.jpg', '/home/pi/Desktop/images/11012025/06/40/image_11012025_06_40_02_180854_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/38/image_11012025_06_38_03_120246_0003.jpg
/home/pi/Desktop/images/11012025/06/39/image_11012025_06_39_02_656216_0000.jpg
/home/pi/Desktop/images/11012025/06/39/image_11012025_06_39_02_656216_0001.jpg
/home/pi/Desktop/images/11012025/06/39/image_11012025_06_39_02_656216_0002.jpg
/home/pi/Desktop/images/11012025/06/39/image_11012025_06_39_02_656216_0003.jpg
/home/pi/Desktop/images/11012025/06/40/image_11012025_06_40_02_180854_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328074864","1328074968","1328074845","1328074970","1328074949","1328074922"],"photo_ids_order":["1328074845","1328074864","1328074922","1328074949","1328074968","1328074970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9498689bd716e4639e4293a31cef2875.jpg","text":"TemporaryFile(/tmp/multipartBody3904170614925832767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574097570,"filename":"image_11012025_06_39_02_656216_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a8de77fb7f339bf6fd327a21dfc43151.jpg","text":"TemporaryFile(/tmp/multipartBody5117233979023572257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574097570,"filename":"image_11012025_06_39_02_656216_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/815304268fb864db82a0c0e93042c745.jpg","text":"TemporaryFile(/tmp/multipartBody2936566594577563370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574097570,"filename":"image_11012025_06_38_03_120246_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/148e5f5c3bdf41bc242c5ed6041cfba8.jpg","text":"TemporaryFile(/tmp/multipartBody5642298131768017393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574097570,"filename":"image_11012025_06_40_02_180854_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aaaeb6a8b45e7a37255e6e7ca98d297f.jpg","text":"TemporaryFile(/tmp/multipartBody3420979210101008156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574097570,"filename":"image_11012025_06_39_02_656216_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f48701276d8c0dad5cc153fbddfd5d42.jpg","text":"TemporaryFile(/tmp/multipartBody2021966487056180018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574097570,"filename":"image_11012025_06_39_02_656216_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328074922","file1":"1328074864","file0":"1328074845","file4":"1328074968","file5":"1328074970","file3":"1328074949"},"map_files_photo_id_array":[{"photo_id":"1328074970","filename":"file5"},{"photo_id":"1328074922","filename":"file2"},{"photo_id":"1328074968","filename":"file4"},{"photo_id":"1328074864","filename":"file1"},{"photo_id":"1328074845","filename":"file0"},{"photo_id":"1328074949","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328074864":["hashtag1","hashtag2"]},{"1328074968":["hashtag1","hashtag2"]},{"1328074845":["hashtag1","hashtag2"]},{"1328074970":["hashtag1","hashtag2"]},{"1328074949":["hashtag1","hashtag2"]},{"1328074922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328074864, 1328074968, 1328074845, 1328074970, 1328074949, 1328074922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.134535789489746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:41:22.169423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/40/image_11012025_06_40_02_180854_0001.jpg', '/home/pi/Desktop/images/11012025/06/40/image_11012025_06_40_02_180854_0002.jpg', '/home/pi/Desktop/images/11012025/06/40/image_11012025_06_40_02_180854_0003.jpg', '/home/pi/Desktop/images/11012025/06/41/image_11012025_06_41_03_035151_0000.jpg', '/home/pi/Desktop/images/11012025/06/41/image_11012025_06_41_03_035151_0001.jpg', '/home/pi/Desktop/images/11012025/06/41/image_11012025_06_41_03_035151_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/40/image_11012025_06_40_02_180854_0001.jpg
/home/pi/Desktop/images/11012025/06/40/image_11012025_06_40_02_180854_0002.jpg
/home/pi/Desktop/images/11012025/06/40/image_11012025_06_40_02_180854_0003.jpg
/home/pi/Desktop/images/11012025/06/41/image_11012025_06_41_03_035151_0000.jpg
/home/pi/Desktop/images/11012025/06/41/image_11012025_06_41_03_035151_0001.jpg
/home/pi/Desktop/images/11012025/06/41/image_11012025_06_41_03_035151_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328074984","1328074986","1328074982","1328074976","1328074979","1328074988"],"photo_ids_order":["1328074976","1328074979","1328074982","1328074984","1328074986","1328074988"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9325e5fdd0920b55ab5b5f8ac9a509bd.jpg","text":"TemporaryFile(/tmp/multipartBody3669902414737032355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574157051,"filename":"image_11012025_06_41_03_035151_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c8fbcbdfb16a85ac4ba07017e93f7b39.jpg","text":"TemporaryFile(/tmp/multipartBody3103382788744124344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574157051,"filename":"image_11012025_06_41_03_035151_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/02fb35759f17e4ccbd5e2317798c365f.jpg","text":"TemporaryFile(/tmp/multipartBody3210054880835594882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574157051,"filename":"image_11012025_06_40_02_180854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f626dbf6d0ed9be014db958c79a00768.jpg","text":"TemporaryFile(/tmp/multipartBody852734154939262339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574157051,"filename":"image_11012025_06_40_02_180854_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8143f716dab60889f8e735a33699cebd.jpg","text":"TemporaryFile(/tmp/multipartBody1598482672677886176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574157051,"filename":"image_11012025_06_40_02_180854_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/71addc5386ff55736c560a5ff4f39fc9.jpg","text":"TemporaryFile(/tmp/multipartBody5104640223349417580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574157051,"filename":"image_11012025_06_41_03_035151_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328074982","file1":"1328074979","file0":"1328074976","file4":"1328074986","file5":"1328074988","file3":"1328074984"},"map_files_photo_id_array":[{"photo_id":"1328074988","filename":"file5"},{"photo_id":"1328074982","filename":"file2"},{"photo_id":"1328074986","filename":"file4"},{"photo_id":"1328074979","filename":"file1"},{"photo_id":"1328074976","filename":"file0"},{"photo_id":"1328074984","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328074984":["hashtag1","hashtag2"]},{"1328074986":["hashtag1","hashtag2"]},{"1328074982":["hashtag1","hashtag2"]},{"1328074976":["hashtag1","hashtag2"]},{"1328074979":["hashtag1","hashtag2"]},{"1328074988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328074984, 1328074986, 1328074982, 1328074976, 1328074979, 1328074988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.08890390396118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:42:22.626253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/41/image_11012025_06_41_03_035151_0003.jpg', '/home/pi/Desktop/images/11012025/06/42/image_11012025_06_42_02_516908_0000.jpg', '/home/pi/Desktop/images/11012025/06/42/image_11012025_06_42_02_516908_0001.jpg', '/home/pi/Desktop/images/11012025/06/42/image_11012025_06_42_02_516908_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/41/image_11012025_06_41_03_035151_0003.jpg
/home/pi/Desktop/images/11012025/06/42/image_11012025_06_42_02_516908_0000.jpg
/home/pi/Desktop/images/11012025/06/42/image_11012025_06_42_02_516908_0001.jpg
/home/pi/Desktop/images/11012025/06/42/image_11012025_06_42_02_516908_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328074998","1328074992","1328075001","1328074994"],"photo_ids_order":["1328074992","1328074994","1328074998","1328075001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/60a6e95bb17de4c7967f8229bbc36196.jpg","text":"TemporaryFile(/tmp/multipartBody2797024928189648887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574212761,"filename":"image_11012025_06_42_02_516908_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ad87a41a3e3c3c2e8093cac9af51c42c.jpg","text":"TemporaryFile(/tmp/multipartBody74068827045824098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574212761,"filename":"image_11012025_06_41_03_035151_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e45db85a67b7073aae71d27f708f4301.jpg","text":"TemporaryFile(/tmp/multipartBody2243082096501685791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574212761,"filename":"image_11012025_06_42_02_516908_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8fa5d1756c4a3964c2831eb38a7fe8d0.jpg","text":"TemporaryFile(/tmp/multipartBody5297485967000094266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574212761,"filename":"image_11012025_06_42_02_516908_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328074998","file1":"1328074994","file0":"1328074992","file3":"1328075001"},"map_files_photo_id_array":[{"photo_id":"1328074998","filename":"file2"},{"photo_id":"1328074994","filename":"file1"},{"photo_id":"1328074992","filename":"file0"},{"photo_id":"1328075001","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328074998":["hashtag1","hashtag2"]},{"1328074992":["hashtag1","hashtag2"]},{"1328075001":["hashtag1","hashtag2"]},{"1328074994":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328074998, 1328074992, 1328075001, 1328074994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.82083177566528 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:43:02.658366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/24/image_09012025_23_24_02_424204_0002.jpg', '/home/pi/Desktop/images/09012025/23/24/image_09012025_23_24_02_424204_0003.jpg', '/home/pi/Desktop/images/09012025/23/25/image_09012025_23_25_02_622415_0000.jpg', '/home/pi/Desktop/images/09012025/23/25/image_09012025_23_25_02_622415_0001.jpg', '/home/pi/Desktop/images/09012025/23/25/image_09012025_23_25_02_622415_0002.jpg', '/home/pi/Desktop/images/09012025/23/25/image_09012025_23_25_02_622415_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/24/image_09012025_23_24_02_424204_0002.jpg
/home/pi/Desktop/images/09012025/23/24/image_09012025_23_24_02_424204_0003.jpg
/home/pi/Desktop/images/09012025/23/25/image_09012025_23_25_02_622415_0000.jpg
/home/pi/Desktop/images/09012025/23/25/image_09012025_23_25_02_622415_0001.jpg
/home/pi/Desktop/images/09012025/23/25/image_09012025_23_25_02_622415_0002.jpg
/home/pi/Desktop/images/09012025/23/25/image_09012025_23_25_02_622415_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328075056","1328075052","1328075049","1328075043","1328075046","1328075042"],"photo_ids_order":["1328075042","1328075043","1328075046","1328075049","1328075052","1328075056"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4ebf3c501fdb421e40b5e00df89de75b.jpg","text":"TemporaryFile(/tmp/multipartBody3982551007185125041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574258760,"filename":"image_09012025_23_25_02_622415_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f3b270b957d1d4ebbf8c29ef975772c2.jpg","text":"TemporaryFile(/tmp/multipartBody5679182449814785523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574258760,"filename":"image_09012025_23_25_02_622415_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1a5e244cdfd9bd830458a54d666fc5cd.jpg","text":"TemporaryFile(/tmp/multipartBody8283190375399841596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574258760,"filename":"image_09012025_23_25_02_622415_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0ec1cbdebd6ebf335e9ac7d4e4b4d194.jpg","text":"TemporaryFile(/tmp/multipartBody9085821588680350005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574258760,"filename":"image_09012025_23_24_02_424204_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3db14e2b971f66a2515291e35e350a3b.jpg","text":"TemporaryFile(/tmp/multipartBody3383477491744571990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574258760,"filename":"image_09012025_23_25_02_622415_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d5bc75f5ca89ab181eb58df696d94691.jpg","text":"TemporaryFile(/tmp/multipartBody5305048703554893250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574258760,"filename":"image_09012025_23_24_02_424204_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328075046","file1":"1328075043","file0":"1328075042","file4":"1328075052","file5":"1328075056","file3":"1328075049"},"map_files_photo_id_array":[{"photo_id":"1328075056","filename":"file5"},{"photo_id":"1328075046","filename":"file2"},{"photo_id":"1328075052","filename":"file4"},{"photo_id":"1328075043","filename":"file1"},{"photo_id":"1328075042","filename":"file0"},{"photo_id":"1328075049","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328075056":["hashtag1","hashtag2"]},{"1328075052":["hashtag1","hashtag2"]},{"1328075049":["hashtag1","hashtag2"]},{"1328075043":["hashtag1","hashtag2"]},{"1328075046":["hashtag1","hashtag2"]},{"1328075042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328075056, 1328075052, 1328075049, 1328075043, 1328075046, 1328075042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.1838219165802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:44:02.479263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/42/image_11012025_06_42_02_516908_0003.jpg', '/home/pi/Desktop/images/11012025/06/43/image_11012025_06_43_03_014225_0000.jpg', '/home/pi/Desktop/images/11012025/06/43/image_11012025_06_43_03_014225_0001.jpg', '/home/pi/Desktop/images/11012025/06/43/image_11012025_06_43_03_014225_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/42/image_11012025_06_42_02_516908_0003.jpg
/home/pi/Desktop/images/11012025/06/43/image_11012025_06_43_03_014225_0000.jpg
/home/pi/Desktop/images/11012025/06/43/image_11012025_06_43_03_014225_0001.jpg
/home/pi/Desktop/images/11012025/06/43/image_11012025_06_43_03_014225_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.613789558410645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:44:21.964107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/42/image_11012025_06_42_02_516908_0003.jpg', '/home/pi/Desktop/images/11012025/06/43/image_11012025_06_43_03_014225_0000.jpg', '/home/pi/Desktop/images/11012025/06/43/image_11012025_06_43_03_014225_0001.jpg', '/home/pi/Desktop/images/11012025/06/43/image_11012025_06_43_03_014225_0002.jpg', '/home/pi/Desktop/images/11012025/06/43/image_11012025_06_43_03_014225_0003.jpg', '/home/pi/Desktop/images/11012025/06/44/image_11012025_06_44_02_655641_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/42/image_11012025_06_42_02_516908_0003.jpg
/home/pi/Desktop/images/11012025/06/43/image_11012025_06_43_03_014225_0000.jpg
/home/pi/Desktop/images/11012025/06/43/image_11012025_06_43_03_014225_0001.jpg
/home/pi/Desktop/images/11012025/06/43/image_11012025_06_43_03_014225_0002.jpg
/home/pi/Desktop/images/11012025/06/43/image_11012025_06_43_03_014225_0003.jpg
/home/pi/Desktop/images/11012025/06/44/image_11012025_06_44_02_655641_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328075131","1328075209","1328075085","1328075088","1328075181","1328075082"],"photo_ids_order":["1328075082","1328075085","1328075088","1328075131","1328075181","1328075209"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/33130f74444d7938b5aef55eef8f42d2.jpg","text":"TemporaryFile(/tmp/multipartBody1500403808554011866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574336768,"filename":"image_11012025_06_43_03_014225_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7abdca583717ffaa657dbe55283dfa08.jpg","text":"TemporaryFile(/tmp/multipartBody5968908160607770972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574336768,"filename":"image_11012025_06_44_02_655641_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a24a0fdae2793eba6858fbe25e44de4e.jpg","text":"TemporaryFile(/tmp/multipartBody6380820335403228656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574336768,"filename":"image_11012025_06_43_03_014225_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/07095d70b92069c0cded22b113701809.jpg","text":"TemporaryFile(/tmp/multipartBody1985118696640755931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574336768,"filename":"image_11012025_06_43_03_014225_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0931e31c2806579846a4ffa1e97e4810.jpg","text":"TemporaryFile(/tmp/multipartBody226156965198705806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574336768,"filename":"image_11012025_06_43_03_014225_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4df1af55741fa1baadfde71af84c939f.jpg","text":"TemporaryFile(/tmp/multipartBody3298923460509052003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574336768,"filename":"image_11012025_06_42_02_516908_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328075088","file1":"1328075085","file0":"1328075082","file4":"1328075181","file5":"1328075209","file3":"1328075131"},"map_files_photo_id_array":[{"photo_id":"1328075209","filename":"file5"},{"photo_id":"1328075088","filename":"file2"},{"photo_id":"1328075181","filename":"file4"},{"photo_id":"1328075085","filename":"file1"},{"photo_id":"1328075082","filename":"file0"},{"photo_id":"1328075131","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328075131":["hashtag1","hashtag2"]},{"1328075209":["hashtag1","hashtag2"]},{"1328075085":["hashtag1","hashtag2"]},{"1328075088":["hashtag1","hashtag2"]},{"1328075181":["hashtag1","hashtag2"]},{"1328075082":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328075131, 1328075209, 1328075085, 1328075088, 1328075181, 1328075082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.13571810722351 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:45:22.517690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/44/image_11012025_06_44_02_655641_0001.jpg', '/home/pi/Desktop/images/11012025/06/44/image_11012025_06_44_02_655641_0002.jpg', '/home/pi/Desktop/images/11012025/06/44/image_11012025_06_44_02_655641_0003.jpg', '/home/pi/Desktop/images/11012025/06/45/image_11012025_06_45_02_361774_0000.jpg', '/home/pi/Desktop/images/11012025/06/45/image_11012025_06_45_02_361774_0001.jpg', '/home/pi/Desktop/images/11012025/06/45/image_11012025_06_45_02_361774_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/44/image_11012025_06_44_02_655641_0001.jpg
/home/pi/Desktop/images/11012025/06/44/image_11012025_06_44_02_655641_0002.jpg
/home/pi/Desktop/images/11012025/06/44/image_11012025_06_44_02_655641_0003.jpg
/home/pi/Desktop/images/11012025/06/45/image_11012025_06_45_02_361774_0000.jpg
/home/pi/Desktop/images/11012025/06/45/image_11012025_06_45_02_361774_0001.jpg
/home/pi/Desktop/images/11012025/06/45/image_11012025_06_45_02_361774_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328075260","1328075263","1328075232","1328075229","1328075223","1328075219"],"photo_ids_order":["1328075219","1328075223","1328075229","1328075232","1328075260","1328075263"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/12fa0ead4c9bc6a5446e917ba1880282.jpg","text":"TemporaryFile(/tmp/multipartBody3445276453319608211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574397255,"filename":"image_11012025_06_45_02_361774_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1b74841fcea4c92be14551ce973a52c5.jpg","text":"TemporaryFile(/tmp/multipartBody3902170016701764485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574397255,"filename":"image_11012025_06_45_02_361774_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9d98bb002d66fb4dc4bd690eaf76cd19.jpg","text":"TemporaryFile(/tmp/multipartBody4981237975266253666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574397255,"filename":"image_11012025_06_45_02_361774_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aee2fbef933bc01e4af4c3e7cc126f09.jpg","text":"TemporaryFile(/tmp/multipartBody4802363770395402854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574397255,"filename":"image_11012025_06_44_02_655641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f9ccc2cd1fe96076be9ea4702f17ff96.jpg","text":"TemporaryFile(/tmp/multipartBody492258027772974724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574397255,"filename":"image_11012025_06_44_02_655641_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a664b20714d14a63b3cb9c63c4effa64.jpg","text":"TemporaryFile(/tmp/multipartBody6304202386332142324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574397255,"filename":"image_11012025_06_44_02_655641_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328075229","file1":"1328075223","file0":"1328075219","file4":"1328075260","file5":"1328075263","file3":"1328075232"},"map_files_photo_id_array":[{"photo_id":"1328075263","filename":"file5"},{"photo_id":"1328075229","filename":"file2"},{"photo_id":"1328075260","filename":"file4"},{"photo_id":"1328075223","filename":"file1"},{"photo_id":"1328075219","filename":"file0"},{"photo_id":"1328075232","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328075260":["hashtag1","hashtag2"]},{"1328075263":["hashtag1","hashtag2"]},{"1328075232":["hashtag1","hashtag2"]},{"1328075229":["hashtag1","hashtag2"]},{"1328075223":["hashtag1","hashtag2"]},{"1328075219":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328075260, 1328075263, 1328075232, 1328075229, 1328075223, 1328075219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.81708288192749 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:46:21.968754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/45/image_11012025_06_45_02_361774_0003.jpg', '/home/pi/Desktop/images/11012025/06/46/image_11012025_06_46_02_848504_0000.jpg', '/home/pi/Desktop/images/11012025/06/46/image_11012025_06_46_02_848504_0001.jpg', '/home/pi/Desktop/images/11012025/06/46/image_11012025_06_46_02_848504_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/45/image_11012025_06_45_02_361774_0003.jpg
/home/pi/Desktop/images/11012025/06/46/image_11012025_06_46_02_848504_0000.jpg
/home/pi/Desktop/images/11012025/06/46/image_11012025_06_46_02_848504_0001.jpg
/home/pi/Desktop/images/11012025/06/46/image_11012025_06_46_02_848504_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328075694","1328075946","1328075775","1328075862"],"photo_ids_order":["1328075694","1328075775","1328075862","1328075946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/603d8ef9d68b0307562ee05bd7f537bb.jpg","text":"TemporaryFile(/tmp/multipartBody551140965510659109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574451893,"filename":"image_11012025_06_45_02_361774_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3b4cf2921bd2d4a1a3dc2a25ea117985.jpg","text":"TemporaryFile(/tmp/multipartBody5562293744058101716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574451893,"filename":"image_11012025_06_46_02_848504_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0b823435a69a48fcdfd49b945a1fc348.jpg","text":"TemporaryFile(/tmp/multipartBody4927241229444390259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574451893,"filename":"image_11012025_06_46_02_848504_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1d4b066520bf3454aa9a755dcbf65ddd.jpg","text":"TemporaryFile(/tmp/multipartBody697351227773150891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574451893,"filename":"image_11012025_06_46_02_848504_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328075862","file1":"1328075775","file0":"1328075694","file3":"1328075946"},"map_files_photo_id_array":[{"photo_id":"1328075862","filename":"file2"},{"photo_id":"1328075775","filename":"file1"},{"photo_id":"1328075694","filename":"file0"},{"photo_id":"1328075946","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328075694":["hashtag1","hashtag2"]},{"1328075946":["hashtag1","hashtag2"]},{"1328075775":["hashtag1","hashtag2"]},{"1328075862":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328075694, 1328075946, 1328075775, 1328075862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.57635951042175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:47:03.080419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/26/image_09012025_23_26_02_793813_0000.jpg', '/home/pi/Desktop/images/09012025/23/26/image_09012025_23_26_02_793813_0001.jpg', '/home/pi/Desktop/images/09012025/23/26/image_09012025_23_26_02_793813_0002.jpg', '/home/pi/Desktop/images/09012025/23/26/image_09012025_23_26_02_793813_0003.jpg', '/home/pi/Desktop/images/09012025/23/27/image_09012025_23_27_03_091975_0000.jpg', '/home/pi/Desktop/images/09012025/23/27/image_09012025_23_27_03_091975_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/26/image_09012025_23_26_02_793813_0000.jpg
/home/pi/Desktop/images/09012025/23/26/image_09012025_23_26_02_793813_0001.jpg
/home/pi/Desktop/images/09012025/23/26/image_09012025_23_26_02_793813_0002.jpg
/home/pi/Desktop/images/09012025/23/26/image_09012025_23_26_02_793813_0003.jpg
/home/pi/Desktop/images/09012025/23/27/image_09012025_23_27_03_091975_0000.jpg
/home/pi/Desktop/images/09012025/23/27/image_09012025_23_27_03_091975_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328076066","1328076225","1328076069","1328076140","1328076062","1328076064"],"photo_ids_order":["1328076062","1328076064","1328076066","1328076069","1328076140","1328076225"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/321d1234b0e9f5c0b05c4bec65d9fef7.jpg","text":"TemporaryFile(/tmp/multipartBody1647209769758093336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574499115,"filename":"image_09012025_23_26_02_793813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f099fa997eb1a690a45cfcdd1a771166.jpg","text":"TemporaryFile(/tmp/multipartBody1305870358999812002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574499115,"filename":"image_09012025_23_27_03_091975_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/94ebc0f45d81271fbfe006dfeedc77ea.jpg","text":"TemporaryFile(/tmp/multipartBody2228080648543657582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574499115,"filename":"image_09012025_23_26_02_793813_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c4fe30eebdd6aaa6a88d34fe71b7bcb0.jpg","text":"TemporaryFile(/tmp/multipartBody1558196911364142666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574499115,"filename":"image_09012025_23_27_03_091975_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/15aa280f067913a46c6eca2aaa1dbf46.jpg","text":"TemporaryFile(/tmp/multipartBody6366979791298339477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574499115,"filename":"image_09012025_23_26_02_793813_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b60d8f8199fbdcbc99fc54eb17d0640d.jpg","text":"TemporaryFile(/tmp/multipartBody5595883967724918644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574499115,"filename":"image_09012025_23_26_02_793813_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328076066","file1":"1328076064","file0":"1328076062","file4":"1328076140","file5":"1328076225","file3":"1328076069"},"map_files_photo_id_array":[{"photo_id":"1328076225","filename":"file5"},{"photo_id":"1328076066","filename":"file2"},{"photo_id":"1328076140","filename":"file4"},{"photo_id":"1328076064","filename":"file1"},{"photo_id":"1328076062","filename":"file0"},{"photo_id":"1328076069","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328076066":["hashtag1","hashtag2"]},{"1328076225":["hashtag1","hashtag2"]},{"1328076069":["hashtag1","hashtag2"]},{"1328076140":["hashtag1","hashtag2"]},{"1328076062":["hashtag1","hashtag2"]},{"1328076064":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328076066, 1328076225, 1328076069, 1328076140, 1328076062, 1328076064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.727766036987305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:48:02.629029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/46/image_11012025_06_46_02_848504_0003.jpg', '/home/pi/Desktop/images/11012025/06/47/image_11012025_06_47_02_311550_0000.jpg', '/home/pi/Desktop/images/11012025/06/47/image_11012025_06_47_02_311550_0001.jpg', '/home/pi/Desktop/images/11012025/06/47/image_11012025_06_47_02_311550_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/46/image_11012025_06_46_02_848504_0003.jpg
/home/pi/Desktop/images/11012025/06/47/image_11012025_06_47_02_311550_0000.jpg
/home/pi/Desktop/images/11012025/06/47/image_11012025_06_47_02_311550_0001.jpg
/home/pi/Desktop/images/11012025/06/47/image_11012025_06_47_02_311550_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328076282","1328076279","1328076284","1328076280"],"photo_ids_order":["1328076279","1328076280","1328076282","1328076284"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f72f27fc39ce272bab0c801fcc04e1c2.jpg","text":"TemporaryFile(/tmp/multipartBody3714949178059102632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574552766,"filename":"image_11012025_06_47_02_311550_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fab08b2133615d53b68443b9c5fa3bbd.jpg","text":"TemporaryFile(/tmp/multipartBody2156123288707743544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574552766,"filename":"image_11012025_06_46_02_848504_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/33c23f5416197a0a12af82c98022418d.jpg","text":"TemporaryFile(/tmp/multipartBody5964704791251964096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574552766,"filename":"image_11012025_06_47_02_311550_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7187cbd2344bfc998d67a63df0321e45.jpg","text":"TemporaryFile(/tmp/multipartBody5487372127213506041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574552766,"filename":"image_11012025_06_47_02_311550_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328076282","file1":"1328076280","file0":"1328076279","file3":"1328076284"},"map_files_photo_id_array":[{"photo_id":"1328076282","filename":"file2"},{"photo_id":"1328076280","filename":"file1"},{"photo_id":"1328076279","filename":"file0"},{"photo_id":"1328076284","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328076282":["hashtag1","hashtag2"]},{"1328076279":["hashtag1","hashtag2"]},{"1328076284":["hashtag1","hashtag2"]},{"1328076280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328076282, 1328076279, 1328076284, 1328076280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.21115803718567 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:49:03.206308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/47/image_11012025_06_47_02_311550_0003.jpg', '/home/pi/Desktop/images/11012025/06/48/image_11012025_06_48_02_882182_0000.jpg', '/home/pi/Desktop/images/11012025/06/48/image_11012025_06_48_02_882182_0001.jpg', '/home/pi/Desktop/images/11012025/06/48/image_11012025_06_48_02_882182_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/47/image_11012025_06_47_02_311550_0003.jpg
/home/pi/Desktop/images/11012025/06/48/image_11012025_06_48_02_882182_0000.jpg
/home/pi/Desktop/images/11012025/06/48/image_11012025_06_48_02_882182_0001.jpg
/home/pi/Desktop/images/11012025/06/48/image_11012025_06_48_02_882182_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.861746311187744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:49:22.548650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/47/image_11012025_06_47_02_311550_0003.jpg', '/home/pi/Desktop/images/11012025/06/48/image_11012025_06_48_02_882182_0000.jpg', '/home/pi/Desktop/images/11012025/06/48/image_11012025_06_48_02_882182_0001.jpg', '/home/pi/Desktop/images/11012025/06/48/image_11012025_06_48_02_882182_0002.jpg', '/home/pi/Desktop/images/11012025/06/48/image_11012025_06_48_02_882182_0003.jpg', '/home/pi/Desktop/images/11012025/06/49/image_11012025_06_49_02_467299_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/47/image_11012025_06_47_02_311550_0003.jpg
/home/pi/Desktop/images/11012025/06/48/image_11012025_06_48_02_882182_0000.jpg
/home/pi/Desktop/images/11012025/06/48/image_11012025_06_48_02_882182_0001.jpg
/home/pi/Desktop/images/11012025/06/48/image_11012025_06_48_02_882182_0002.jpg
/home/pi/Desktop/images/11012025/06/48/image_11012025_06_48_02_882182_0003.jpg
/home/pi/Desktop/images/11012025/06/49/image_11012025_06_49_02_467299_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328076678","1328076675","1328076828","1328076735","1328076980","1328076922"],"photo_ids_order":["1328076675","1328076678","1328076735","1328076828","1328076922","1328076980"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3a8757daa002eb8539f9e93a2b71368e.jpg","text":"TemporaryFile(/tmp/multipartBody7634899953482304900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574637453,"filename":"image_11012025_06_48_02_882182_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ecb68e20362cb18ffcfd0fbf2a55ccc4.jpg","text":"TemporaryFile(/tmp/multipartBody774951152190406481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574637453,"filename":"image_11012025_06_47_02_311550_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d9cef004fcc6f921f299e9b41406dbe3.jpg","text":"TemporaryFile(/tmp/multipartBody7855045195146101840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574637453,"filename":"image_11012025_06_48_02_882182_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7823e6ee402da252d35fe63be556a21b.jpg","text":"TemporaryFile(/tmp/multipartBody4152926725188751935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574637453,"filename":"image_11012025_06_48_02_882182_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e9ab61e4c683bb1c408d8bb40a88704e.jpg","text":"TemporaryFile(/tmp/multipartBody7442038650607643321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574637453,"filename":"image_11012025_06_49_02_467299_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f1611f0c67900b5d28679f6d76504e73.jpg","text":"TemporaryFile(/tmp/multipartBody1836768798161208666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574637453,"filename":"image_11012025_06_48_02_882182_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328076735","file1":"1328076678","file0":"1328076675","file4":"1328076922","file5":"1328076980","file3":"1328076828"},"map_files_photo_id_array":[{"photo_id":"1328076980","filename":"file5"},{"photo_id":"1328076735","filename":"file2"},{"photo_id":"1328076922","filename":"file4"},{"photo_id":"1328076678","filename":"file1"},{"photo_id":"1328076675","filename":"file0"},{"photo_id":"1328076828","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328076678":["hashtag1","hashtag2"]},{"1328076675":["hashtag1","hashtag2"]},{"1328076828":["hashtag1","hashtag2"]},{"1328076735":["hashtag1","hashtag2"]},{"1328076980":["hashtag1","hashtag2"]},{"1328076922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328076678, 1328076675, 1328076828, 1328076735, 1328076980, 1328076922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.29087257385254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:50:22.159957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/49/image_11012025_06_49_02_467299_0001.jpg', '/home/pi/Desktop/images/11012025/06/49/image_11012025_06_49_02_467299_0002.jpg', '/home/pi/Desktop/images/11012025/06/49/image_11012025_06_49_02_467299_0003.jpg', '/home/pi/Desktop/images/11012025/06/50/image_11012025_06_50_02_977911_0000.jpg', '/home/pi/Desktop/images/11012025/06/50/image_11012025_06_50_02_977911_0001.jpg', '/home/pi/Desktop/images/11012025/06/50/image_11012025_06_50_02_977911_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/49/image_11012025_06_49_02_467299_0001.jpg
/home/pi/Desktop/images/11012025/06/49/image_11012025_06_49_02_467299_0002.jpg
/home/pi/Desktop/images/11012025/06/49/image_11012025_06_49_02_467299_0003.jpg
/home/pi/Desktop/images/11012025/06/50/image_11012025_06_50_02_977911_0000.jpg
/home/pi/Desktop/images/11012025/06/50/image_11012025_06_50_02_977911_0001.jpg
/home/pi/Desktop/images/11012025/06/50/image_11012025_06_50_02_977911_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328077122","1328077011","1328076984","1328077096","1328076988","1328077117"],"photo_ids_order":["1328076984","1328076988","1328077011","1328077096","1328077117","1328077122"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/018d90483cc1ab16120e4dc2797d06dd.jpg","text":"TemporaryFile(/tmp/multipartBody97059763605158894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574697004,"filename":"image_11012025_06_50_02_977911_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/955d6769eaf7537fd84055690d8c9306.jpg","text":"TemporaryFile(/tmp/multipartBody977074371644035328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574697004,"filename":"image_11012025_06_49_02_467299_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8ada1c15000fbdf91aa275514e933f63.jpg","text":"TemporaryFile(/tmp/multipartBody2385352415440164002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574697004,"filename":"image_11012025_06_49_02_467299_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2934dfc770b9c0f93b04ba104fc4eace.jpg","text":"TemporaryFile(/tmp/multipartBody2005883536654071061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574697004,"filename":"image_11012025_06_50_02_977911_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b60850353290f34b2e5579e16d794053.jpg","text":"TemporaryFile(/tmp/multipartBody1302217844558872325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574697004,"filename":"image_11012025_06_49_02_467299_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d5db694b5415739735c9f8edfca6d78e.jpg","text":"TemporaryFile(/tmp/multipartBody2931345033970212443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574697004,"filename":"image_11012025_06_50_02_977911_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328077011","file1":"1328076988","file0":"1328076984","file4":"1328077117","file5":"1328077122","file3":"1328077096"},"map_files_photo_id_array":[{"photo_id":"1328077122","filename":"file5"},{"photo_id":"1328077011","filename":"file2"},{"photo_id":"1328077117","filename":"file4"},{"photo_id":"1328076988","filename":"file1"},{"photo_id":"1328076984","filename":"file0"},{"photo_id":"1328077096","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328077122":["hashtag1","hashtag2"]},{"1328077011":["hashtag1","hashtag2"]},{"1328076984":["hashtag1","hashtag2"]},{"1328077096":["hashtag1","hashtag2"]},{"1328076988":["hashtag1","hashtag2"]},{"1328077117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328077122, 1328077011, 1328076984, 1328077096, 1328076988, 1328077117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.753793478012085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:51:22.651632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/50/image_11012025_06_50_02_977911_0003.jpg', '/home/pi/Desktop/images/11012025/06/51/image_11012025_06_51_02_524818_0000.jpg', '/home/pi/Desktop/images/11012025/06/51/image_11012025_06_51_02_524818_0001.jpg', '/home/pi/Desktop/images/11012025/06/51/image_11012025_06_51_02_524818_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/50/image_11012025_06_50_02_977911_0003.jpg
/home/pi/Desktop/images/11012025/06/51/image_11012025_06_51_02_524818_0000.jpg
/home/pi/Desktop/images/11012025/06/51/image_11012025_06_51_02_524818_0001.jpg
/home/pi/Desktop/images/11012025/06/51/image_11012025_06_51_02_524818_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328077655","1328077562","1328077828","1328077741"],"photo_ids_order":["1328077562","1328077655","1328077741","1328077828"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/97053e53835193d33426f1dbd8c0d6fe.jpg","text":"TemporaryFile(/tmp/multipartBody948354386354510028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574752578,"filename":"image_11012025_06_51_02_524818_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4d78046648262d8c69d4bfcbdeb14926.jpg","text":"TemporaryFile(/tmp/multipartBody1669422300390653569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574752578,"filename":"image_11012025_06_50_02_977911_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/db7a879d47a39b8a775e54f0a7abf828.jpg","text":"TemporaryFile(/tmp/multipartBody6333051485654453306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574752578,"filename":"image_11012025_06_51_02_524818_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/df6d427bfe1f0ef4c70d7a2145b1ad9a.jpg","text":"TemporaryFile(/tmp/multipartBody2668449275538246898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574752578,"filename":"image_11012025_06_51_02_524818_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328077741","file1":"1328077655","file0":"1328077562","file3":"1328077828"},"map_files_photo_id_array":[{"photo_id":"1328077741","filename":"file2"},{"photo_id":"1328077655","filename":"file1"},{"photo_id":"1328077562","filename":"file0"},{"photo_id":"1328077828","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328077655":["hashtag1","hashtag2"]},{"1328077562":["hashtag1","hashtag2"]},{"1328077828":["hashtag1","hashtag2"]},{"1328077741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328077655, 1328077562, 1328077828, 1328077741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.17195105552673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:52:02.535857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/27/image_09012025_23_27_03_091975_0002.jpg', '/home/pi/Desktop/images/09012025/23/27/image_09012025_23_27_03_091975_0003.jpg', '/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_0000.jpg', '/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_0001.jpg', '/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_0002.jpg', '/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/27/image_09012025_23_27_03_091975_0002.jpg
/home/pi/Desktop/images/09012025/23/27/image_09012025_23_27_03_091975_0003.jpg
/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_0000.jpg
/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_0001.jpg
/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_0002.jpg
/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_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.871782302856445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:52:22.067584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/51/image_11012025_06_51_02_524818_0003.jpg', '/home/pi/Desktop/images/11012025/06/52/image_11012025_06_52_02_987392_0000.jpg', '/home/pi/Desktop/images/11012025/06/52/image_11012025_06_52_02_987392_0001.jpg', '/home/pi/Desktop/images/11012025/06/52/image_11012025_06_52_02_987392_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/51/image_11012025_06_51_02_524818_0003.jpg
/home/pi/Desktop/images/11012025/06/52/image_11012025_06_52_02_987392_0000.jpg
/home/pi/Desktop/images/11012025/06/52/image_11012025_06_52_02_987392_0001.jpg
/home/pi/Desktop/images/11012025/06/52/image_11012025_06_52_02_987392_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328078048","1328078098","1328078110","1328077971"],"photo_ids_order":["1328077971","1328078048","1328078098","1328078110"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3076a45e578628a2e3537efc455034f6.jpg","text":"TemporaryFile(/tmp/multipartBody4530358818251521817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574812097,"filename":"image_11012025_06_52_02_987392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/64356ca69c99275a29ae0767597ec495.jpg","text":"TemporaryFile(/tmp/multipartBody630454987289455428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574812097,"filename":"image_11012025_06_52_02_987392_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/17c28c09033fe7cf0e9e2cbda5d0cb09.jpg","text":"TemporaryFile(/tmp/multipartBody3734147795327329525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574812097,"filename":"image_11012025_06_52_02_987392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8bcf93013d6126ce8cfab6c9dae42d9e.jpg","text":"TemporaryFile(/tmp/multipartBody2945802637533044717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574812097,"filename":"image_11012025_06_51_02_524818_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328078098","file1":"1328078048","file0":"1328077971","file3":"1328078110"},"map_files_photo_id_array":[{"photo_id":"1328078098","filename":"file2"},{"photo_id":"1328078048","filename":"file1"},{"photo_id":"1328077971","filename":"file0"},{"photo_id":"1328078110","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328078048":["hashtag1","hashtag2"]},{"1328078098":["hashtag1","hashtag2"]},{"1328078110":["hashtag1","hashtag2"]},{"1328077971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328078048, 1328078098, 1328078110, 1328077971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.31609582901001 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:53:03.333773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/27/image_09012025_23_27_03_091975_0002.jpg', '/home/pi/Desktop/images/09012025/23/27/image_09012025_23_27_03_091975_0003.jpg', '/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_0000.jpg', '/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_0001.jpg', '/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_0002.jpg', '/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/27/image_09012025_23_27_03_091975_0002.jpg
/home/pi/Desktop/images/09012025/23/27/image_09012025_23_27_03_091975_0003.jpg
/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_0000.jpg
/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_0001.jpg
/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_0002.jpg
/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_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.702533960342407 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:53:22.610171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/52/image_11012025_06_52_02_987392_0003.jpg', '/home/pi/Desktop/images/11012025/06/53/image_11012025_06_53_02_438788_0000.jpg', '/home/pi/Desktop/images/11012025/06/53/image_11012025_06_53_02_438788_0001.jpg', '/home/pi/Desktop/images/11012025/06/53/image_11012025_06_53_02_438788_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/52/image_11012025_06_52_02_987392_0003.jpg
/home/pi/Desktop/images/11012025/06/53/image_11012025_06_53_02_438788_0000.jpg
/home/pi/Desktop/images/11012025/06/53/image_11012025_06_53_02_438788_0001.jpg
/home/pi/Desktop/images/11012025/06/53/image_11012025_06_53_02_438788_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328078322","1328078304","1328078211","1328078325"],"photo_ids_order":["1328078211","1328078304","1328078322","1328078325"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2ae6de52149b531c0a9eaf642868d9ae.jpg","text":"TemporaryFile(/tmp/multipartBody5887768494159132044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574872604,"filename":"image_11012025_06_53_02_438788_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/593e36def64c37d737cc3cfa49bf0411.jpg","text":"TemporaryFile(/tmp/multipartBody7746835277171561345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574872604,"filename":"image_11012025_06_53_02_438788_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/659979337d9b99e99d711003db4aa5f6.jpg","text":"TemporaryFile(/tmp/multipartBody1805192220178344779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574872604,"filename":"image_11012025_06_52_02_987392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/90a41d700346e5c4be81fe9294fb490a.jpg","text":"TemporaryFile(/tmp/multipartBody724526476715485241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574872604,"filename":"image_11012025_06_53_02_438788_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328078322","file1":"1328078304","file0":"1328078211","file3":"1328078325"},"map_files_photo_id_array":[{"photo_id":"1328078322","filename":"file2"},{"photo_id":"1328078304","filename":"file1"},{"photo_id":"1328078211","filename":"file0"},{"photo_id":"1328078325","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328078322":["hashtag1","hashtag2"]},{"1328078304":["hashtag1","hashtag2"]},{"1328078211":["hashtag1","hashtag2"]},{"1328078325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328078322, 1328078304, 1328078211, 1328078325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.95981502532959 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:54:02.688472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/27/image_09012025_23_27_03_091975_0002.jpg', '/home/pi/Desktop/images/09012025/23/27/image_09012025_23_27_03_091975_0003.jpg', '/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_0000.jpg', '/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_0001.jpg', '/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_0002.jpg', '/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/27/image_09012025_23_27_03_091975_0002.jpg
/home/pi/Desktop/images/09012025/23/27/image_09012025_23_27_03_091975_0003.jpg
/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_0000.jpg
/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_0001.jpg
/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_0002.jpg
/home/pi/Desktop/images/09012025/23/28/image_09012025_23_28_02_220406_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328078552","1328078462","1328078333","1328078356","1328078329","1328078331"],"photo_ids_order":["1328078329","1328078331","1328078333","1328078356","1328078462","1328078552"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7cb04b12d9b2efabdbf7a75c230b35fc.jpg","text":"TemporaryFile(/tmp/multipartBody1496184350298414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574918757,"filename":"image_09012025_23_28_02_220406_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/76eae6a56960bb8d342dec9f42366fb3.jpg","text":"TemporaryFile(/tmp/multipartBody6077607633352048080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574918757,"filename":"image_09012025_23_28_02_220406_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7908751c21629d2abb97256b5ddb57f5.jpg","text":"TemporaryFile(/tmp/multipartBody9160580540199699665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574918757,"filename":"image_09012025_23_28_02_220406_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/37cebf167af4e082e5f92b6f159882dd.jpg","text":"TemporaryFile(/tmp/multipartBody7026444983472396069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574918757,"filename":"image_09012025_23_28_02_220406_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/18b2c097941920f65f045e41cda0ded8.jpg","text":"TemporaryFile(/tmp/multipartBody2624655697023431192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574918757,"filename":"image_09012025_23_27_03_091975_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3de7ec9be0f46e153b92dd3a56482864.jpg","text":"TemporaryFile(/tmp/multipartBody2721627466622223394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574918757,"filename":"image_09012025_23_27_03_091975_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328078333","file1":"1328078331","file0":"1328078329","file4":"1328078462","file5":"1328078552","file3":"1328078356"},"map_files_photo_id_array":[{"photo_id":"1328078552","filename":"file5"},{"photo_id":"1328078333","filename":"file2"},{"photo_id":"1328078462","filename":"file4"},{"photo_id":"1328078331","filename":"file1"},{"photo_id":"1328078329","filename":"file0"},{"photo_id":"1328078356","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328078552":["hashtag1","hashtag2"]},{"1328078462":["hashtag1","hashtag2"]},{"1328078333":["hashtag1","hashtag2"]},{"1328078356":["hashtag1","hashtag2"]},{"1328078329":["hashtag1","hashtag2"]},{"1328078331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328078552, 1328078462, 1328078333, 1328078356, 1328078329, 1328078331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.075438022613525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:55:03.261102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/53/image_11012025_06_53_02_438788_0003.jpg', '/home/pi/Desktop/images/11012025/06/54/image_11012025_06_54_02_900807_0000.jpg', '/home/pi/Desktop/images/11012025/06/54/image_11012025_06_54_02_900807_0001.jpg', '/home/pi/Desktop/images/11012025/06/54/image_11012025_06_54_02_900807_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/53/image_11012025_06_53_02_438788_0003.jpg
/home/pi/Desktop/images/11012025/06/54/image_11012025_06_54_02_900807_0000.jpg
/home/pi/Desktop/images/11012025/06/54/image_11012025_06_54_02_900807_0001.jpg
/home/pi/Desktop/images/11012025/06/54/image_11012025_06_54_02_900807_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.706732034683228 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:55:22.662731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/53/image_11012025_06_53_02_438788_0003.jpg', '/home/pi/Desktop/images/11012025/06/54/image_11012025_06_54_02_900807_0000.jpg', '/home/pi/Desktop/images/11012025/06/54/image_11012025_06_54_02_900807_0001.jpg', '/home/pi/Desktop/images/11012025/06/54/image_11012025_06_54_02_900807_0002.jpg', '/home/pi/Desktop/images/11012025/06/54/image_11012025_06_54_02_900807_0003.jpg', '/home/pi/Desktop/images/11012025/06/55/image_11012025_06_55_02_507980_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/53/image_11012025_06_53_02_438788_0003.jpg
/home/pi/Desktop/images/11012025/06/54/image_11012025_06_54_02_900807_0000.jpg
/home/pi/Desktop/images/11012025/06/54/image_11012025_06_54_02_900807_0001.jpg
/home/pi/Desktop/images/11012025/06/54/image_11012025_06_54_02_900807_0002.jpg
/home/pi/Desktop/images/11012025/06/54/image_11012025_06_54_02_900807_0003.jpg
/home/pi/Desktop/images/11012025/06/55/image_11012025_06_55_02_507980_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328078780","1328078720","1328078636","1328078752","1328078626","1328078748"],"photo_ids_order":["1328078626","1328078636","1328078720","1328078748","1328078752","1328078780"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/148cd6e714f0a7603d78dab85ecec230.jpg","text":"TemporaryFile(/tmp/multipartBody239944628544808673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574997382,"filename":"image_11012025_06_55_02_507980_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9e0803aba7efc90be06f28bb9bc82801.jpg","text":"TemporaryFile(/tmp/multipartBody5970325139215318681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574997382,"filename":"image_11012025_06_54_02_900807_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5cf10b9f13adb2fa88f7a4b9f333c6db.jpg","text":"TemporaryFile(/tmp/multipartBody933725736227632189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574997382,"filename":"image_11012025_06_54_02_900807_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/75bbb862af7a94f419b8a5dd3cd8f021.jpg","text":"TemporaryFile(/tmp/multipartBody4596285563309929756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574997382,"filename":"image_11012025_06_54_02_900807_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f76bdb68def39369a37f4bb48276eb78.jpg","text":"TemporaryFile(/tmp/multipartBody1961404609126953248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574997382,"filename":"image_11012025_06_53_02_438788_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/14412e8ea3118b4042debd3d741d8233.jpg","text":"TemporaryFile(/tmp/multipartBody3103339183114984029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736574997382,"filename":"image_11012025_06_54_02_900807_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328078720","file1":"1328078636","file0":"1328078626","file4":"1328078752","file5":"1328078780","file3":"1328078748"},"map_files_photo_id_array":[{"photo_id":"1328078780","filename":"file5"},{"photo_id":"1328078720","filename":"file2"},{"photo_id":"1328078752","filename":"file4"},{"photo_id":"1328078636","filename":"file1"},{"photo_id":"1328078626","filename":"file0"},{"photo_id":"1328078748","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328078780":["hashtag1","hashtag2"]},{"1328078720":["hashtag1","hashtag2"]},{"1328078636":["hashtag1","hashtag2"]},{"1328078752":["hashtag1","hashtag2"]},{"1328078626":["hashtag1","hashtag2"]},{"1328078748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328078780, 1328078720, 1328078636, 1328078752, 1328078626, 1328078748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.82662844657898 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:56:22.396923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/55/image_11012025_06_55_02_507980_0001.jpg', '/home/pi/Desktop/images/11012025/06/55/image_11012025_06_55_02_507980_0003.jpg', '/home/pi/Desktop/images/11012025/06/56/image_11012025_06_56_03_053411_0000.jpg', '/home/pi/Desktop/images/11012025/06/56/image_11012025_06_56_03_053411_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/55/image_11012025_06_55_02_507980_0001.jpg
/home/pi/Desktop/images/11012025/06/55/image_11012025_06_55_02_507980_0003.jpg
/home/pi/Desktop/images/11012025/06/56/image_11012025_06_56_03_053411_0000.jpg
/home/pi/Desktop/images/11012025/06/56/image_11012025_06_56_03_053411_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328078819","1328078812","1328078815","1328078823"],"photo_ids_order":["1328078812","1328078815","1328078819","1328078823"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3f9e91371ef133ec081560d5ed035126.jpg","text":"TemporaryFile(/tmp/multipartBody1791285152422706135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575052590,"filename":"image_11012025_06_56_03_053411_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/718a4b8bcf424980042e7bab79074346.jpg","text":"TemporaryFile(/tmp/multipartBody7360951504622231349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575052590,"filename":"image_11012025_06_55_02_507980_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ec4b9c8ddf9349f726df820bd9e0b33f.jpg","text":"TemporaryFile(/tmp/multipartBody4926570354189876367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575052590,"filename":"image_11012025_06_55_02_507980_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6ffa37d27a147ca85220fe21ff766387.jpg","text":"TemporaryFile(/tmp/multipartBody1451795241046240126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575052590,"filename":"image_11012025_06_56_03_053411_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328078819","file1":"1328078815","file0":"1328078812","file3":"1328078823"},"map_files_photo_id_array":[{"photo_id":"1328078819","filename":"file2"},{"photo_id":"1328078815","filename":"file1"},{"photo_id":"1328078812","filename":"file0"},{"photo_id":"1328078823","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328078819":["hashtag1","hashtag2"]},{"1328078812":["hashtag1","hashtag2"]},{"1328078815":["hashtag1","hashtag2"]},{"1328078823":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328078819, 1328078812, 1328078815, 1328078823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.93428063392639 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 06:57:21.931116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/56/image_11012025_06_56_03_053411_0003.jpg', '/home/pi/Desktop/images/11012025/06/57/image_11012025_06_57_02_785678_0000.jpg', '/home/pi/Desktop/images/11012025/06/57/image_11012025_06_57_02_785678_0001.jpg', '/home/pi/Desktop/images/11012025/06/57/image_11012025_06_57_02_785678_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/56/image_11012025_06_56_03_053411_0003.jpg
/home/pi/Desktop/images/11012025/06/57/image_11012025_06_57_02_785678_0000.jpg
/home/pi/Desktop/images/11012025/06/57/image_11012025_06_57_02_785678_0001.jpg
/home/pi/Desktop/images/11012025/06/57/image_11012025_06_57_02_785678_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328078842","1328078836","1328078839","1328078832"],"photo_ids_order":["1328078832","1328078836","1328078839","1328078842"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/414fc6c0f18c7d5ff524835027a63fee.jpg","text":"TemporaryFile(/tmp/multipartBody6372522636291430977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575112097,"filename":"image_11012025_06_57_02_785678_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c2bb2e7787af9ba5599761b707993cbb.jpg","text":"TemporaryFile(/tmp/multipartBody5305845795934133837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575112097,"filename":"image_11012025_06_57_02_785678_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/79b30e83b270155613d23dfe0118bef8.jpg","text":"TemporaryFile(/tmp/multipartBody330849341734804795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575112097,"filename":"image_11012025_06_57_02_785678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fcb6328bc5873467844107faddde033e.jpg","text":"TemporaryFile(/tmp/multipartBody9168737156008382400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575112097,"filename":"image_11012025_06_56_03_053411_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328078839","file1":"1328078836","file0":"1328078832","file3":"1328078842"},"map_files_photo_id_array":[{"photo_id":"1328078839","filename":"file2"},{"photo_id":"1328078836","filename":"file1"},{"photo_id":"1328078832","filename":"file0"},{"photo_id":"1328078842","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328078842":["hashtag1","hashtag2"]},{"1328078836":["hashtag1","hashtag2"]},{"1328078839":["hashtag1","hashtag2"]},{"1328078832":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328078842, 1328078836, 1328078839, 1328078832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.59559965133667 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 06:59:03.053948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/57/image_11012025_06_57_02_785678_0003.jpg', '/home/pi/Desktop/images/11012025/06/58/image_11012025_06_58_02_267187_0000.jpg', '/home/pi/Desktop/images/11012025/06/58/image_11012025_06_58_02_267187_0001.jpg', '/home/pi/Desktop/images/11012025/06/58/image_11012025_06_58_02_267187_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/57/image_11012025_06_57_02_785678_0003.jpg
/home/pi/Desktop/images/11012025/06/58/image_11012025_06_58_02_267187_0000.jpg
/home/pi/Desktop/images/11012025/06/58/image_11012025_06_58_02_267187_0001.jpg
/home/pi/Desktop/images/11012025/06/58/image_11012025_06_58_02_267187_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328078873","1328078882","1328078879","1328078868"],"photo_ids_order":["1328078868","1328078873","1328078879","1328078882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b083ec882e4a6d7ae937c656fab49910.jpg","text":"TemporaryFile(/tmp/multipartBody7836563501186296139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575213275,"filename":"image_11012025_06_58_02_267187_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/490d7fcd280c3f8e2b935c0246d743be.jpg","text":"TemporaryFile(/tmp/multipartBody5360790883762366615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575213275,"filename":"image_11012025_06_58_02_267187_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4bf68a5a584ef4efcd563d5eecad9ce9.jpg","text":"TemporaryFile(/tmp/multipartBody9219297091165556612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575213275,"filename":"image_11012025_06_58_02_267187_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/18117ef48920d247a346ea98bbd790ca.jpg","text":"TemporaryFile(/tmp/multipartBody6729329382667449424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575213275,"filename":"image_11012025_06_57_02_785678_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328078879","file1":"1328078873","file0":"1328078868","file3":"1328078882"},"map_files_photo_id_array":[{"photo_id":"1328078879","filename":"file2"},{"photo_id":"1328078873","filename":"file1"},{"photo_id":"1328078868","filename":"file0"},{"photo_id":"1328078882","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328078873":["hashtag1","hashtag2"]},{"1328078882":["hashtag1","hashtag2"]},{"1328078879":["hashtag1","hashtag2"]},{"1328078868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328078873, 1328078882, 1328078879, 1328078868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.292874336242676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:00:02.753595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/58/image_11012025_06_58_02_267187_0003.jpg', '/home/pi/Desktop/images/11012025/06/59/image_11012025_06_59_02_696972_0000.jpg', '/home/pi/Desktop/images/11012025/06/59/image_11012025_06_59_02_696972_0001.jpg', '/home/pi/Desktop/images/11012025/06/59/image_11012025_06_59_02_696972_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/58/image_11012025_06_58_02_267187_0003.jpg
/home/pi/Desktop/images/11012025/06/59/image_11012025_06_59_02_696972_0000.jpg
/home/pi/Desktop/images/11012025/06/59/image_11012025_06_59_02_696972_0001.jpg
/home/pi/Desktop/images/11012025/06/59/image_11012025_06_59_02_696972_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328078906","1328078903","1328078908","1328078901"],"photo_ids_order":["1328078901","1328078903","1328078906","1328078908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f88affbff472cda31b6a0530bdcb0b38.jpg","text":"TemporaryFile(/tmp/multipartBody579603220698977068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575272796,"filename":"image_11012025_06_59_02_696972_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4155413632e4b086819a9d034a155251.jpg","text":"TemporaryFile(/tmp/multipartBody8194179218426427583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575272796,"filename":"image_11012025_06_59_02_696972_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/92f23ba644741f62e29b8cf48fcde255.jpg","text":"TemporaryFile(/tmp/multipartBody6756092445877447886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575272796,"filename":"image_11012025_06_59_02_696972_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4b518349084cb1dbcfa8825fc8621ae9.jpg","text":"TemporaryFile(/tmp/multipartBody8463834524480567139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575272796,"filename":"image_11012025_06_58_02_267187_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328078906","file1":"1328078903","file0":"1328078901","file3":"1328078908"},"map_files_photo_id_array":[{"photo_id":"1328078906","filename":"file2"},{"photo_id":"1328078903","filename":"file1"},{"photo_id":"1328078901","filename":"file0"},{"photo_id":"1328078908","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328078906":["hashtag1","hashtag2"]},{"1328078903":["hashtag1","hashtag2"]},{"1328078908":["hashtag1","hashtag2"]},{"1328078901":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328078906, 1328078903, 1328078908, 1328078901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.55484414100647 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:01:02.613452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/59/image_11012025_06_59_02_696972_0003.jpg', '/home/pi/Desktop/images/11012025/07/00/image_11012025_07_00_02_946450_0000.jpg', '/home/pi/Desktop/images/11012025/07/00/image_11012025_07_00_02_946450_0001.jpg', '/home/pi/Desktop/images/11012025/07/00/image_11012025_07_00_02_946450_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/59/image_11012025_06_59_02_696972_0003.jpg
/home/pi/Desktop/images/11012025/07/00/image_11012025_07_00_02_946450_0000.jpg
/home/pi/Desktop/images/11012025/07/00/image_11012025_07_00_02_946450_0001.jpg
/home/pi/Desktop/images/11012025/07/00/image_11012025_07_00_02_946450_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.650226354598999 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:01:21.970946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/06/59/image_11012025_06_59_02_696972_0003.jpg', '/home/pi/Desktop/images/11012025/07/00/image_11012025_07_00_02_946450_0000.jpg', '/home/pi/Desktop/images/11012025/07/00/image_11012025_07_00_02_946450_0001.jpg', '/home/pi/Desktop/images/11012025/07/00/image_11012025_07_00_02_946450_0002.jpg', '/home/pi/Desktop/images/11012025/07/00/image_11012025_07_00_02_946450_0003.jpg', '/home/pi/Desktop/images/11012025/07/01/image_11012025_07_01_02_814946_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/06/59/image_11012025_06_59_02_696972_0003.jpg
/home/pi/Desktop/images/11012025/07/00/image_11012025_07_00_02_946450_0000.jpg
/home/pi/Desktop/images/11012025/07/00/image_11012025_07_00_02_946450_0001.jpg
/home/pi/Desktop/images/11012025/07/00/image_11012025_07_00_02_946450_0002.jpg
/home/pi/Desktop/images/11012025/07/00/image_11012025_07_00_02_946450_0003.jpg
/home/pi/Desktop/images/11012025/07/01/image_11012025_07_01_02_814946_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328078939","1328078930","1328078933","1328078927","1328078935","1328078937"],"photo_ids_order":["1328078927","1328078930","1328078933","1328078935","1328078937","1328078939"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c3e07a5f5d96c3542caa1734b551e47e.jpg","text":"TemporaryFile(/tmp/multipartBody7045636622474019018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575356669,"filename":"image_11012025_07_01_02_814946_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9b52b9578e795376b77cb13311c084f3.jpg","text":"TemporaryFile(/tmp/multipartBody7308206444914783649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575356669,"filename":"image_11012025_07_00_02_946450_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7a7d6c8b988711765938b06e2bd03936.jpg","text":"TemporaryFile(/tmp/multipartBody3634079122310731334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575356669,"filename":"image_11012025_07_00_02_946450_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a714dcdf195716d90af66ae25b32fe8d.jpg","text":"TemporaryFile(/tmp/multipartBody3619146343425294304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575356669,"filename":"image_11012025_06_59_02_696972_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ea3a41c0ffa013eb76037639bd1a941a.jpg","text":"TemporaryFile(/tmp/multipartBody8820368669854447387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575356669,"filename":"image_11012025_07_00_02_946450_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a36e1e76524f6bca913b0439e8780e79.jpg","text":"TemporaryFile(/tmp/multipartBody742643372696081110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575356669,"filename":"image_11012025_07_00_02_946450_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328078933","file1":"1328078930","file0":"1328078927","file4":"1328078937","file5":"1328078939","file3":"1328078935"},"map_files_photo_id_array":[{"photo_id":"1328078939","filename":"file5"},{"photo_id":"1328078933","filename":"file2"},{"photo_id":"1328078937","filename":"file4"},{"photo_id":"1328078930","filename":"file1"},{"photo_id":"1328078927","filename":"file0"},{"photo_id":"1328078935","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328078939":["hashtag1","hashtag2"]},{"1328078930":["hashtag1","hashtag2"]},{"1328078933":["hashtag1","hashtag2"]},{"1328078927":["hashtag1","hashtag2"]},{"1328078935":["hashtag1","hashtag2"]},{"1328078937":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328078939, 1328078930, 1328078933, 1328078927, 1328078935, 1328078937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.412957191467285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:02:22.558007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/01/image_11012025_07_01_02_814946_0001.jpg', '/home/pi/Desktop/images/11012025/07/01/image_11012025_07_01_02_814946_0002.jpg', '/home/pi/Desktop/images/11012025/07/01/image_11012025_07_01_02_814946_0003.jpg', '/home/pi/Desktop/images/11012025/07/02/image_11012025_07_02_02_337562_0000.jpg', '/home/pi/Desktop/images/11012025/07/02/image_11012025_07_02_02_337562_0001.jpg', '/home/pi/Desktop/images/11012025/07/02/image_11012025_07_02_02_337562_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/01/image_11012025_07_01_02_814946_0001.jpg
/home/pi/Desktop/images/11012025/07/01/image_11012025_07_01_02_814946_0002.jpg
/home/pi/Desktop/images/11012025/07/01/image_11012025_07_01_02_814946_0003.jpg
/home/pi/Desktop/images/11012025/07/02/image_11012025_07_02_02_337562_0000.jpg
/home/pi/Desktop/images/11012025/07/02/image_11012025_07_02_02_337562_0001.jpg
/home/pi/Desktop/images/11012025/07/02/image_11012025_07_02_02_337562_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328079926","1328080058","1328079580","1328079384","1328080060","1328079755"],"photo_ids_order":["1328079384","1328079580","1328079755","1328079926","1328080058","1328080060"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/29f0e4a0b561d0e8390bd2544cdc2ce5.jpg","text":"TemporaryFile(/tmp/multipartBody4674496717708769287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575417365,"filename":"image_11012025_07_02_02_337562_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/198e014b4cdccf6896edd5c3f6896af8.jpg","text":"TemporaryFile(/tmp/multipartBody5882849380650795236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575417365,"filename":"image_11012025_07_02_02_337562_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/71c71b73f886dde24af6ce021ffddd34.jpg","text":"TemporaryFile(/tmp/multipartBody3176951172888918988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575417365,"filename":"image_11012025_07_01_02_814946_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/07f2e2b0e31f381930eb5f10d3f3f400.jpg","text":"TemporaryFile(/tmp/multipartBody1346561495854908765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575417365,"filename":"image_11012025_07_01_02_814946_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d83fe1c13ede829bf486204b369a23bb.jpg","text":"TemporaryFile(/tmp/multipartBody3545443598072750974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575417365,"filename":"image_11012025_07_02_02_337562_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e2ee219322c1e40afd8096c43715ec9a.jpg","text":"TemporaryFile(/tmp/multipartBody773417554575058974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575417365,"filename":"image_11012025_07_01_02_814946_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328079755","file1":"1328079580","file0":"1328079384","file4":"1328080058","file5":"1328080060","file3":"1328079926"},"map_files_photo_id_array":[{"photo_id":"1328080060","filename":"file5"},{"photo_id":"1328079755","filename":"file2"},{"photo_id":"1328080058","filename":"file4"},{"photo_id":"1328079580","filename":"file1"},{"photo_id":"1328079384","filename":"file0"},{"photo_id":"1328079926","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328079926":["hashtag1","hashtag2"]},{"1328080058":["hashtag1","hashtag2"]},{"1328079580":["hashtag1","hashtag2"]},{"1328079384":["hashtag1","hashtag2"]},{"1328080060":["hashtag1","hashtag2"]},{"1328079755":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328079926, 1328080058, 1328079580, 1328079384, 1328080060, 1328079755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.63659334182739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:03:22.114708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/02/image_11012025_07_02_02_337562_0003.jpg', '/home/pi/Desktop/images/11012025/07/03/image_11012025_07_03_02_955594_0000.jpg', '/home/pi/Desktop/images/11012025/07/03/image_11012025_07_03_02_955594_0001.jpg', '/home/pi/Desktop/images/11012025/07/03/image_11012025_07_03_02_955594_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/02/image_11012025_07_02_02_337562_0003.jpg
/home/pi/Desktop/images/11012025/07/03/image_11012025_07_03_02_955594_0000.jpg
/home/pi/Desktop/images/11012025/07/03/image_11012025_07_03_02_955594_0001.jpg
/home/pi/Desktop/images/11012025/07/03/image_11012025_07_03_02_955594_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328080070","1328080064","1328080073","1328080067"],"photo_ids_order":["1328080064","1328080067","1328080070","1328080073"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9aaa84e9368d5b0b4a5d7804bb2f9f53.jpg","text":"TemporaryFile(/tmp/multipartBody1449394909905941063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575472223,"filename":"image_11012025_07_03_02_955594_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/488995cf39998f3d98c9e3968cd0268c.jpg","text":"TemporaryFile(/tmp/multipartBody3442959317548853378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575472223,"filename":"image_11012025_07_02_02_337562_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/da392d3308ca3135ed42e5260616843f.jpg","text":"TemporaryFile(/tmp/multipartBody6245164041744973720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575472223,"filename":"image_11012025_07_03_02_955594_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1482db18c206c7812fddd6413171ed86.jpg","text":"TemporaryFile(/tmp/multipartBody2128230390412987763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575472223,"filename":"image_11012025_07_03_02_955594_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328080070","file1":"1328080067","file0":"1328080064","file3":"1328080073"},"map_files_photo_id_array":[{"photo_id":"1328080070","filename":"file2"},{"photo_id":"1328080067","filename":"file1"},{"photo_id":"1328080064","filename":"file0"},{"photo_id":"1328080073","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328080070":["hashtag1","hashtag2"]},{"1328080064":["hashtag1","hashtag2"]},{"1328080073":["hashtag1","hashtag2"]},{"1328080067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328080070, 1328080064, 1328080073, 1328080067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.87452578544617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:04:03.114392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/29/image_09012025_23_29_02_441648_0000.jpg', '/home/pi/Desktop/images/09012025/23/29/image_09012025_23_29_02_441648_0001.jpg', '/home/pi/Desktop/images/09012025/23/29/image_09012025_23_29_02_441648_0003.jpg', '/home/pi/Desktop/images/09012025/23/30/image_09012025_23_30_02_530176_0000.jpg', '/home/pi/Desktop/images/09012025/23/30/image_09012025_23_30_02_530176_0001.jpg', '/home/pi/Desktop/images/09012025/23/30/image_09012025_23_30_02_530176_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/29/image_09012025_23_29_02_441648_0000.jpg
/home/pi/Desktop/images/09012025/23/29/image_09012025_23_29_02_441648_0001.jpg
/home/pi/Desktop/images/09012025/23/29/image_09012025_23_29_02_441648_0003.jpg
/home/pi/Desktop/images/09012025/23/30/image_09012025_23_30_02_530176_0000.jpg
/home/pi/Desktop/images/09012025/23/30/image_09012025_23_30_02_530176_0001.jpg
/home/pi/Desktop/images/09012025/23/30/image_09012025_23_30_02_530176_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328080409","1328080447","1328080444","1328080092","1328080242","1328080401"],"photo_ids_order":["1328080092","1328080242","1328080401","1328080409","1328080444","1328080447"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8c9a8f1d1aea85df44f85f66f0f5187d.jpg","text":"TemporaryFile(/tmp/multipartBody660545698609759538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575519315,"filename":"image_09012025_23_30_02_530176_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aa7c76c7fa2e3b7463d117bb694f78f7.jpg","text":"TemporaryFile(/tmp/multipartBody2655866441903163627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575519315,"filename":"image_09012025_23_30_02_530176_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eb5a4fb8e9dc2effc4930e01c45459f3.jpg","text":"TemporaryFile(/tmp/multipartBody2635054067240729216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575519315,"filename":"image_09012025_23_30_02_530176_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0454a1d31a33d7bf15e3021a69fc9b6d.jpg","text":"TemporaryFile(/tmp/multipartBody1186250716124818830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575519315,"filename":"image_09012025_23_29_02_441648_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9e9ed02bcfbdc0af291736561f99ecfb.jpg","text":"TemporaryFile(/tmp/multipartBody6426923786437052115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575519315,"filename":"image_09012025_23_29_02_441648_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7dd27cf2767bd4c4ed92afb88e748107.jpg","text":"TemporaryFile(/tmp/multipartBody1163675558329476073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575519315,"filename":"image_09012025_23_29_02_441648_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328080401","file1":"1328080242","file0":"1328080092","file4":"1328080444","file5":"1328080447","file3":"1328080409"},"map_files_photo_id_array":[{"photo_id":"1328080447","filename":"file5"},{"photo_id":"1328080401","filename":"file2"},{"photo_id":"1328080444","filename":"file4"},{"photo_id":"1328080242","filename":"file1"},{"photo_id":"1328080092","filename":"file0"},{"photo_id":"1328080409","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328080409":["hashtag1","hashtag2"]},{"1328080447":["hashtag1","hashtag2"]},{"1328080444":["hashtag1","hashtag2"]},{"1328080092":["hashtag1","hashtag2"]},{"1328080242":["hashtag1","hashtag2"]},{"1328080401":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328080409, 1328080447, 1328080444, 1328080092, 1328080242, 1328080401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.06491804122925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:05:22.140692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/03/image_11012025_07_03_02_955594_0003.jpg', '/home/pi/Desktop/images/11012025/07/04/image_11012025_07_04_02_566153_0000.jpg', '/home/pi/Desktop/images/11012025/07/04/image_11012025_07_04_02_566153_0001.jpg', '/home/pi/Desktop/images/11012025/07/04/image_11012025_07_04_02_566153_0002.jpg', '/home/pi/Desktop/images/11012025/07/04/image_11012025_07_04_02_566153_0003.jpg', '/home/pi/Desktop/images/11012025/07/05/image_11012025_07_05_03_055017_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/03/image_11012025_07_03_02_955594_0003.jpg
/home/pi/Desktop/images/11012025/07/04/image_11012025_07_04_02_566153_0000.jpg
/home/pi/Desktop/images/11012025/07/04/image_11012025_07_04_02_566153_0001.jpg
/home/pi/Desktop/images/11012025/07/04/image_11012025_07_04_02_566153_0002.jpg
/home/pi/Desktop/images/11012025/07/04/image_11012025_07_04_02_566153_0003.jpg
/home/pi/Desktop/images/11012025/07/05/image_11012025_07_05_03_055017_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328080523","1328080511","1328080514","1328080517","1328080519","1328080521"],"photo_ids_order":["1328080511","1328080514","1328080517","1328080519","1328080521","1328080523"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/41aa810ea863ebb004c0ea4fbffcb6ca.jpg","text":"TemporaryFile(/tmp/multipartBody8778906877471671886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575597034,"filename":"image_11012025_07_05_03_055017_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/45af05de1e2affc8e453681cf46162a0.jpg","text":"TemporaryFile(/tmp/multipartBody7493153252270812370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575597034,"filename":"image_11012025_07_03_02_955594_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bc065beff991d2199b9edd59d983f5e8.jpg","text":"TemporaryFile(/tmp/multipartBody7872385232783652198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575597034,"filename":"image_11012025_07_04_02_566153_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/13ca2f2b73169b3a11a35f947350951e.jpg","text":"TemporaryFile(/tmp/multipartBody5291990067307960243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575597034,"filename":"image_11012025_07_04_02_566153_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2b5067530f53dc67cdf272d156e409dc.jpg","text":"TemporaryFile(/tmp/multipartBody8801333733251423160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575597034,"filename":"image_11012025_07_04_02_566153_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7a718be97b5c79e97b7f27cc31b316ce.jpg","text":"TemporaryFile(/tmp/multipartBody2432159543890008107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575597034,"filename":"image_11012025_07_04_02_566153_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328080517","file1":"1328080514","file0":"1328080511","file4":"1328080521","file5":"1328080523","file3":"1328080519"},"map_files_photo_id_array":[{"photo_id":"1328080523","filename":"file5"},{"photo_id":"1328080517","filename":"file2"},{"photo_id":"1328080521","filename":"file4"},{"photo_id":"1328080514","filename":"file1"},{"photo_id":"1328080511","filename":"file0"},{"photo_id":"1328080519","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328080523":["hashtag1","hashtag2"]},{"1328080511":["hashtag1","hashtag2"]},{"1328080514":["hashtag1","hashtag2"]},{"1328080517":["hashtag1","hashtag2"]},{"1328080519":["hashtag1","hashtag2"]},{"1328080521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328080523, 1328080511, 1328080514, 1328080517, 1328080519, 1328080521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.61269974708557 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:06:22.685831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/05/image_11012025_07_05_03_055017_0001.jpg', '/home/pi/Desktop/images/11012025/07/05/image_11012025_07_05_03_055017_0002.jpg', '/home/pi/Desktop/images/11012025/07/05/image_11012025_07_05_03_055017_0003.jpg', '/home/pi/Desktop/images/11012025/07/06/image_11012025_07_06_02_526796_0000.jpg', '/home/pi/Desktop/images/11012025/07/06/image_11012025_07_06_02_526796_0001.jpg', '/home/pi/Desktop/images/11012025/07/06/image_11012025_07_06_02_526796_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/05/image_11012025_07_05_03_055017_0001.jpg
/home/pi/Desktop/images/11012025/07/05/image_11012025_07_05_03_055017_0002.jpg
/home/pi/Desktop/images/11012025/07/05/image_11012025_07_05_03_055017_0003.jpg
/home/pi/Desktop/images/11012025/07/06/image_11012025_07_06_02_526796_0000.jpg
/home/pi/Desktop/images/11012025/07/06/image_11012025_07_06_02_526796_0001.jpg
/home/pi/Desktop/images/11012025/07/06/image_11012025_07_06_02_526796_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328080532","1328080528","1328080545","1328080539","1328080542","1328080536"],"photo_ids_order":["1328080528","1328080532","1328080536","1328080539","1328080542","1328080545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/269f5a1083a4e754f0ffd2c7b37d7f87.jpg","text":"TemporaryFile(/tmp/multipartBody7673642009303737061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575657811,"filename":"image_11012025_07_05_03_055017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/61ca2f0e064462af2648d1cf1d553c16.jpg","text":"TemporaryFile(/tmp/multipartBody780306628886149657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575657811,"filename":"image_11012025_07_05_03_055017_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4cebfddeecb8481a6dd81a695da37baa.jpg","text":"TemporaryFile(/tmp/multipartBody1619721943562707884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575657811,"filename":"image_11012025_07_06_02_526796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a81477f495d733dcb0ee3ef9c8ea3724.jpg","text":"TemporaryFile(/tmp/multipartBody5709232828698156414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575657811,"filename":"image_11012025_07_06_02_526796_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5e7d4c35d1b6d633fbf407fab050175a.jpg","text":"TemporaryFile(/tmp/multipartBody2247869188955692158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575657811,"filename":"image_11012025_07_06_02_526796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c0e4e1c366df9a67e9a895c20e731ad0.jpg","text":"TemporaryFile(/tmp/multipartBody405916854738705047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575657811,"filename":"image_11012025_07_05_03_055017_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328080536","file1":"1328080532","file0":"1328080528","file4":"1328080542","file5":"1328080545","file3":"1328080539"},"map_files_photo_id_array":[{"photo_id":"1328080545","filename":"file5"},{"photo_id":"1328080536","filename":"file2"},{"photo_id":"1328080542","filename":"file4"},{"photo_id":"1328080532","filename":"file1"},{"photo_id":"1328080528","filename":"file0"},{"photo_id":"1328080539","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328080532":["hashtag1","hashtag2"]},{"1328080528":["hashtag1","hashtag2"]},{"1328080545":["hashtag1","hashtag2"]},{"1328080539":["hashtag1","hashtag2"]},{"1328080542":["hashtag1","hashtag2"]},{"1328080536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328080532, 1328080528, 1328080545, 1328080539, 1328080542, 1328080536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.78477239608765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:07:22.249378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/06/image_11012025_07_06_02_526796_0003.jpg', '/home/pi/Desktop/images/11012025/07/07/image_11012025_07_07_03_103735_0000.jpg', '/home/pi/Desktop/images/11012025/07/07/image_11012025_07_07_03_103735_0001.jpg', '/home/pi/Desktop/images/11012025/07/07/image_11012025_07_07_03_103735_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/06/image_11012025_07_06_02_526796_0003.jpg
/home/pi/Desktop/images/11012025/07/07/image_11012025_07_07_03_103735_0000.jpg
/home/pi/Desktop/images/11012025/07/07/image_11012025_07_07_03_103735_0001.jpg
/home/pi/Desktop/images/11012025/07/07/image_11012025_07_07_03_103735_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328080821","1328080773","1328080767","1328080770"],"photo_ids_order":["1328080767","1328080770","1328080773","1328080821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/253a1869669de8325225cd5c0b05faa7.jpg","text":"TemporaryFile(/tmp/multipartBody6819557386083706264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575712618,"filename":"image_11012025_07_07_03_103735_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/24e6e8136379a7b7df56086a1030080e.jpg","text":"TemporaryFile(/tmp/multipartBody1425645359014175721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575712618,"filename":"image_11012025_07_07_03_103735_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aa9f03207064ff0eff9fe93e0e2cd29c.jpg","text":"TemporaryFile(/tmp/multipartBody2380901580631473046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575712618,"filename":"image_11012025_07_06_02_526796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7f41dbbc80ec32d5ba408552cb347174.jpg","text":"TemporaryFile(/tmp/multipartBody8624350445102930287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575712618,"filename":"image_11012025_07_07_03_103735_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328080773","file1":"1328080770","file0":"1328080767","file3":"1328080821"},"map_files_photo_id_array":[{"photo_id":"1328080773","filename":"file2"},{"photo_id":"1328080770","filename":"file1"},{"photo_id":"1328080767","filename":"file0"},{"photo_id":"1328080821","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328080821":["hashtag1","hashtag2"]},{"1328080773":["hashtag1","hashtag2"]},{"1328080767":["hashtag1","hashtag2"]},{"1328080770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328080821, 1328080773, 1328080767, 1328080770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08802533149719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:08:03.189624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/30/image_09012025_23_30_02_530176_0003.jpg', '/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0000.jpg', '/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0001.jpg', '/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0002.jpg', '/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0003.jpg', '/home/pi/Desktop/images/09012025/23/32/image_09012025_23_32_02_940775_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/30/image_09012025_23_30_02_530176_0003.jpg
/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0000.jpg
/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0001.jpg
/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0002.jpg
/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0003.jpg
/home/pi/Desktop/images/09012025/23/32/image_09012025_23_32_02_940775_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.92275619506836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:08:22.655301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/07/image_11012025_07_07_03_103735_0003.jpg', '/home/pi/Desktop/images/11012025/07/08/image_11012025_07_08_02_583026_0000.jpg', '/home/pi/Desktop/images/11012025/07/08/image_11012025_07_08_02_583026_0001.jpg', '/home/pi/Desktop/images/11012025/07/08/image_11012025_07_08_02_583026_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/07/image_11012025_07_07_03_103735_0003.jpg
/home/pi/Desktop/images/11012025/07/08/image_11012025_07_08_02_583026_0000.jpg
/home/pi/Desktop/images/11012025/07/08/image_11012025_07_08_02_583026_0001.jpg
/home/pi/Desktop/images/11012025/07/08/image_11012025_07_08_02_583026_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328080928","1328080919","1328080924","1328080915"],"photo_ids_order":["1328080915","1328080919","1328080924","1328080928"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e6de5115615208a2179a08238bcafb9c.jpg","text":"TemporaryFile(/tmp/multipartBody6695698073884768862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575772906,"filename":"image_11012025_07_08_02_583026_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/197f95ff54ea5e920eb458100bf596f0.jpg","text":"TemporaryFile(/tmp/multipartBody5892259163575013842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575772906,"filename":"image_11012025_07_08_02_583026_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/be21978bf216ca8ca069c3afc5e0b5b9.jpg","text":"TemporaryFile(/tmp/multipartBody8731865322168465915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575772906,"filename":"image_11012025_07_08_02_583026_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fb2202aa4dc8cd52a00e4fd06cde5bf4.jpg","text":"TemporaryFile(/tmp/multipartBody3398400942877239240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736575772906,"filename":"image_11012025_07_07_03_103735_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328080924","file1":"1328080919","file0":"1328080915","file3":"1328080928"},"map_files_photo_id_array":[{"photo_id":"1328080924","filename":"file2"},{"photo_id":"1328080919","filename":"file1"},{"photo_id":"1328080915","filename":"file0"},{"photo_id":"1328080928","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328080928":["hashtag1","hashtag2"]},{"1328080919":["hashtag1","hashtag2"]},{"1328080924":["hashtag1","hashtag2"]},{"1328080915":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328080928, 1328080919, 1328080924, 1328080915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.398797273635864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:09:02.765490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/30/image_09012025_23_30_02_530176_0003.jpg', '/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0000.jpg', '/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0001.jpg', '/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0002.jpg', '/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0003.jpg', '/home/pi/Desktop/images/09012025/23/32/image_09012025_23_32_02_940775_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/30/image_09012025_23_30_02_530176_0003.jpg
/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0000.jpg
/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0001.jpg
/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0002.jpg
/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0003.jpg
/home/pi/Desktop/images/09012025/23/32/image_09012025_23_32_02_940775_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>885dcik6j</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>885dcik6j</strong>.
uploaded 0 photos
time to upload: 45.83045148849487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:10:03.215749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/08/image_11012025_07_08_02_583026_0003.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0000.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0001.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/08/image_11012025_07_08_02_583026_0003.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0000.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0001.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_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>885dclmpa</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>885dclmpa</strong>.
uploaded 0 photos
time to upload: 39.94371032714844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:11:02.803704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/08/image_11012025_07_08_02_583026_0003.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0000.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0001.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0002.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0003.jpg', '/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/08/image_11012025_07_08_02_583026_0003.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0000.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0001.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0002.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0003.jpg
/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_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>885dcpe98</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>885dcpe98</strong>.
uploaded 0 photos
time to upload: 44.83415603637695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:12:02.189961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/08/image_11012025_07_08_02_583026_0003.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0000.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0001.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0002.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0003.jpg', '/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/08/image_11012025_07_08_02_583026_0003.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0000.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0001.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0002.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0003.jpg
/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_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.75886607170105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:12:21.813198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/08/image_11012025_07_08_02_583026_0003.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0000.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0001.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0002.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0003.jpg', '/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/08/image_11012025_07_08_02_583026_0003.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0000.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0001.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0002.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0003.jpg
/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_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>885dd4127</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>885dd4127</strong>.
uploaded 0 photos
time to upload: 45.3292932510376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:13:22.267129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/08/image_11012025_07_08_02_583026_0003.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0000.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0001.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0002.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0003.jpg', '/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/08/image_11012025_07_08_02_583026_0003.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0000.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0001.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0002.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0003.jpg
/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_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>885dd7cdd</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>885dd7cdd</strong>.
uploaded 0 photos
time to upload: 44.7359185218811 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:14:21.821657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/08/image_11012025_07_08_02_583026_0003.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0000.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0001.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0002.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0003.jpg', '/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/08/image_11012025_07_08_02_583026_0003.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0000.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0001.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0002.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0003.jpg
/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_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.734945297241211 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:15:02.872115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/08/image_11012025_07_08_02_583026_0003.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0000.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0001.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0002.jpg', '/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0003.jpg', '/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/08/image_11012025_07_08_02_583026_0003.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0000.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0001.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0002.jpg
/home/pi/Desktop/images/11012025/07/09/image_11012025_07_09_03_013373_0003.jpg
/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_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":["1328080955","1328080948","1328080933","1328080953","1328080944","1328080938"],"photo_ids_order":["1328080933","1328080938","1328080944","1328080948","1328080953","1328080955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ce3f213dcd0572185337ef139bf2e8d9.jpg","text":"TemporaryFile(/tmp/multipartBody1109349680307871710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576191715,"filename":"image_11012025_07_10_02_460708_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/451dca6febccc9fdc2090073dc380a54.jpg","text":"TemporaryFile(/tmp/multipartBody7565298849397130187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576191715,"filename":"image_11012025_07_09_03_013373_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ad81a23793a2b0ffd534a590ec990065.jpg","text":"TemporaryFile(/tmp/multipartBody6652849538922585791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576191715,"filename":"image_11012025_07_08_02_583026_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d6b712c5d563ddc10ffab5f3a1417a16.jpg","text":"TemporaryFile(/tmp/multipartBody8410500517414118576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576191715,"filename":"image_11012025_07_09_03_013373_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7df1b5d49d1080b72e9cd6c2d7d6e189.jpg","text":"TemporaryFile(/tmp/multipartBody2268480161714097245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576191715,"filename":"image_11012025_07_09_03_013373_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b2535ef8dd719abf2b03a52a88399a70.jpg","text":"TemporaryFile(/tmp/multipartBody7041396465717407029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576191715,"filename":"image_11012025_07_09_03_013373_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328080944","file1":"1328080938","file0":"1328080933","file4":"1328080953","file5":"1328080955","file3":"1328080948"},"map_files_photo_id_array":[{"photo_id":"1328080955","filename":"file5"},{"photo_id":"1328080944","filename":"file2"},{"photo_id":"1328080953","filename":"file4"},{"photo_id":"1328080938","filename":"file1"},{"photo_id":"1328080933","filename":"file0"},{"photo_id":"1328080948","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328080955":["hashtag1","hashtag2"]},{"1328080948":["hashtag1","hashtag2"]},{"1328080933":["hashtag1","hashtag2"]},{"1328080953":["hashtag1","hashtag2"]},{"1328080944":["hashtag1","hashtag2"]},{"1328080938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328080955, 1328080948, 1328080933, 1328080953, 1328080944, 1328080938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.7918951511383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:17:03.112064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_0001.jpg', '/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_0002.jpg', '/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_0003.jpg', '/home/pi/Desktop/images/11012025/07/11/image_11012025_07_11_03_097468_0000.jpg', '/home/pi/Desktop/images/11012025/07/11/image_11012025_07_11_03_097468_0001.jpg', '/home/pi/Desktop/images/11012025/07/11/image_11012025_07_11_03_097468_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_0001.jpg
/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_0002.jpg
/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_0003.jpg
/home/pi/Desktop/images/11012025/07/11/image_11012025_07_11_03_097468_0000.jpg
/home/pi/Desktop/images/11012025/07/11/image_11012025_07_11_03_097468_0001.jpg
/home/pi/Desktop/images/11012025/07/11/image_11012025_07_11_03_097468_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.629764318466187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:17:22.620078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_0001.jpg', '/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_0002.jpg', '/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_0003.jpg', '/home/pi/Desktop/images/11012025/07/11/image_11012025_07_11_03_097468_0000.jpg', '/home/pi/Desktop/images/11012025/07/11/image_11012025_07_11_03_097468_0001.jpg', '/home/pi/Desktop/images/11012025/07/11/image_11012025_07_11_03_097468_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_0001.jpg
/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_0002.jpg
/home/pi/Desktop/images/11012025/07/10/image_11012025_07_10_02_460708_0003.jpg
/home/pi/Desktop/images/11012025/07/11/image_11012025_07_11_03_097468_0000.jpg
/home/pi/Desktop/images/11012025/07/11/image_11012025_07_11_03_097468_0001.jpg
/home/pi/Desktop/images/11012025/07/11/image_11012025_07_11_03_097468_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328080981","1328080984","1328080978","1328080992","1328080986","1328080989"],"photo_ids_order":["1328080978","1328080981","1328080984","1328080986","1328080989","1328080992"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f8bb35afad8312aeadfbd129aa06fc59.jpg","text":"TemporaryFile(/tmp/multipartBody4334832533300969743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576317615,"filename":"image_11012025_07_10_02_460708_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cb6ae1dd6a11b62ff5f26f14b65231ca.jpg","text":"TemporaryFile(/tmp/multipartBody7825604300336084517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576317615,"filename":"image_11012025_07_10_02_460708_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6c7dc08e78e8461b7c62a8c9c291ac49.jpg","text":"TemporaryFile(/tmp/multipartBody7121518986469624837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576317615,"filename":"image_11012025_07_10_02_460708_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/993b4dcd23dbaee9addd47bb35f7c8d3.jpg","text":"TemporaryFile(/tmp/multipartBody7977851441838532056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576317615,"filename":"image_11012025_07_11_03_097468_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ff43f9b48f06543bc114fdf290a8eee5.jpg","text":"TemporaryFile(/tmp/multipartBody2604802774244554364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576317615,"filename":"image_11012025_07_11_03_097468_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b1fee0933a1f5a7e3b717fae43d4530a.jpg","text":"TemporaryFile(/tmp/multipartBody6410984223454627454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576317615,"filename":"image_11012025_07_11_03_097468_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328080984","file1":"1328080981","file0":"1328080978","file4":"1328080989","file5":"1328080992","file3":"1328080986"},"map_files_photo_id_array":[{"photo_id":"1328080992","filename":"file5"},{"photo_id":"1328080984","filename":"file2"},{"photo_id":"1328080989","filename":"file4"},{"photo_id":"1328080981","filename":"file1"},{"photo_id":"1328080978","filename":"file0"},{"photo_id":"1328080986","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328080981":["hashtag1","hashtag2"]},{"1328080984":["hashtag1","hashtag2"]},{"1328080978":["hashtag1","hashtag2"]},{"1328080992":["hashtag1","hashtag2"]},{"1328080986":["hashtag1","hashtag2"]},{"1328080989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328080981, 1328080984, 1328080978, 1328080992, 1328080986, 1328080989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.78785824775696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:18:22.250069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/11/image_11012025_07_11_03_097468_0003.jpg', '/home/pi/Desktop/images/11012025/07/12/image_11012025_07_12_02_578875_0000.jpg', '/home/pi/Desktop/images/11012025/07/12/image_11012025_07_12_02_578875_0001.jpg', '/home/pi/Desktop/images/11012025/07/12/image_11012025_07_12_02_578875_0002.jpg', '/home/pi/Desktop/images/11012025/07/12/image_11012025_07_12_02_578875_0003.jpg', '/home/pi/Desktop/images/11012025/07/13/image_11012025_07_13_02_179062_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/11/image_11012025_07_11_03_097468_0003.jpg
/home/pi/Desktop/images/11012025/07/12/image_11012025_07_12_02_578875_0000.jpg
/home/pi/Desktop/images/11012025/07/12/image_11012025_07_12_02_578875_0001.jpg
/home/pi/Desktop/images/11012025/07/12/image_11012025_07_12_02_578875_0002.jpg
/home/pi/Desktop/images/11012025/07/12/image_11012025_07_12_02_578875_0003.jpg
/home/pi/Desktop/images/11012025/07/13/image_11012025_07_13_02_179062_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328080997","1328081033","1328081015","1328081009","1328081003","1328081001"],"photo_ids_order":["1328080997","1328081001","1328081003","1328081009","1328081015","1328081033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5c8b37728cb953d52044f251066477b8.jpg","text":"TemporaryFile(/tmp/multipartBody6039862006928248963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576377303,"filename":"image_11012025_07_11_03_097468_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4e079365b0a6942e9cdf9b39d65357d3.jpg","text":"TemporaryFile(/tmp/multipartBody6248754914528486381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576377303,"filename":"image_11012025_07_13_02_179062_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8214a209633e7eb03cce0bf88e582d70.jpg","text":"TemporaryFile(/tmp/multipartBody3720183157511315327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576377303,"filename":"image_11012025_07_12_02_578875_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2684e81bdc7e454bd5cbf415affe13fb.jpg","text":"TemporaryFile(/tmp/multipartBody5656585046561942996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576377303,"filename":"image_11012025_07_12_02_578875_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b99165ddd43943833fe40fcaf060f733.jpg","text":"TemporaryFile(/tmp/multipartBody6743864384139252219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576377303,"filename":"image_11012025_07_12_02_578875_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b58ee4bb821fa0257ba920c688dc1c29.jpg","text":"TemporaryFile(/tmp/multipartBody3521621623643681629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576377303,"filename":"image_11012025_07_12_02_578875_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328081003","file1":"1328081001","file0":"1328080997","file4":"1328081015","file5":"1328081033","file3":"1328081009"},"map_files_photo_id_array":[{"photo_id":"1328081033","filename":"file5"},{"photo_id":"1328081003","filename":"file2"},{"photo_id":"1328081015","filename":"file4"},{"photo_id":"1328081001","filename":"file1"},{"photo_id":"1328080997","filename":"file0"},{"photo_id":"1328081009","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328080997":["hashtag1","hashtag2"]},{"1328081033":["hashtag1","hashtag2"]},{"1328081015":["hashtag1","hashtag2"]},{"1328081009":["hashtag1","hashtag2"]},{"1328081003":["hashtag1","hashtag2"]},{"1328081001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328080997, 1328081033, 1328081015, 1328081009, 1328081003, 1328081001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.061598777770996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:19:21.734888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/13/image_11012025_07_13_02_179062_0001.jpg', '/home/pi/Desktop/images/11012025/07/13/image_11012025_07_13_02_179062_0002.jpg', '/home/pi/Desktop/images/11012025/07/13/image_11012025_07_13_02_179062_0003.jpg', '/home/pi/Desktop/images/11012025/07/14/image_11012025_07_14_02_663110_0000.jpg', '/home/pi/Desktop/images/11012025/07/14/image_11012025_07_14_02_663110_0001.jpg', '/home/pi/Desktop/images/11012025/07/14/image_11012025_07_14_02_663110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/13/image_11012025_07_13_02_179062_0001.jpg
/home/pi/Desktop/images/11012025/07/13/image_11012025_07_13_02_179062_0002.jpg
/home/pi/Desktop/images/11012025/07/13/image_11012025_07_13_02_179062_0003.jpg
/home/pi/Desktop/images/11012025/07/14/image_11012025_07_14_02_663110_0000.jpg
/home/pi/Desktop/images/11012025/07/14/image_11012025_07_14_02_663110_0001.jpg
/home/pi/Desktop/images/11012025/07/14/image_11012025_07_14_02_663110_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328081066","1328081068","1328081062","1328081070","1328081064","1328081073"],"photo_ids_order":["1328081062","1328081064","1328081066","1328081068","1328081070","1328081073"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/af64dfbc49bf3de780669c1e573e97d5.jpg","text":"TemporaryFile(/tmp/multipartBody5449396656010894685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576436679,"filename":"image_11012025_07_13_02_179062_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a04efcf96850baabd57e8a5f5bff7f96.jpg","text":"TemporaryFile(/tmp/multipartBody4180062552789253630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576436679,"filename":"image_11012025_07_14_02_663110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1360305e2399fd0871ed7bc957c4f709.jpg","text":"TemporaryFile(/tmp/multipartBody3347838227240163616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576436679,"filename":"image_11012025_07_13_02_179062_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/04969fb9016dcdcb8e6728161836b54b.jpg","text":"TemporaryFile(/tmp/multipartBody358772773313496595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576436679,"filename":"image_11012025_07_14_02_663110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d11c855c961f7ed5cf21a8050df65d52.jpg","text":"TemporaryFile(/tmp/multipartBody1052340672159451783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576436679,"filename":"image_11012025_07_13_02_179062_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/35f46ed44a34aca45d14d946dff73dd2.jpg","text":"TemporaryFile(/tmp/multipartBody6434230520118327401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576436679,"filename":"image_11012025_07_14_02_663110_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328081066","file1":"1328081064","file0":"1328081062","file4":"1328081070","file5":"1328081073","file3":"1328081068"},"map_files_photo_id_array":[{"photo_id":"1328081073","filename":"file5"},{"photo_id":"1328081066","filename":"file2"},{"photo_id":"1328081070","filename":"file4"},{"photo_id":"1328081064","filename":"file1"},{"photo_id":"1328081062","filename":"file0"},{"photo_id":"1328081068","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328081066":["hashtag1","hashtag2"]},{"1328081068":["hashtag1","hashtag2"]},{"1328081062":["hashtag1","hashtag2"]},{"1328081070":["hashtag1","hashtag2"]},{"1328081064":["hashtag1","hashtag2"]},{"1328081073":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328081066, 1328081068, 1328081062, 1328081070, 1328081064, 1328081073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.04206848144531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:20:22.266196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/14/image_11012025_07_14_02_663110_0003.jpg', '/home/pi/Desktop/images/11012025/07/15/image_11012025_07_15_02_233664_0000.jpg', '/home/pi/Desktop/images/11012025/07/15/image_11012025_07_15_02_233664_0001.jpg', '/home/pi/Desktop/images/11012025/07/15/image_11012025_07_15_02_233664_0002.jpg', '/home/pi/Desktop/images/11012025/07/15/image_11012025_07_15_02_233664_0003.jpg', '/home/pi/Desktop/images/11012025/07/16/image_11012025_07_16_02_730589_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/14/image_11012025_07_14_02_663110_0003.jpg
/home/pi/Desktop/images/11012025/07/15/image_11012025_07_15_02_233664_0000.jpg
/home/pi/Desktop/images/11012025/07/15/image_11012025_07_15_02_233664_0001.jpg
/home/pi/Desktop/images/11012025/07/15/image_11012025_07_15_02_233664_0002.jpg
/home/pi/Desktop/images/11012025/07/15/image_11012025_07_15_02_233664_0003.jpg
/home/pi/Desktop/images/11012025/07/16/image_11012025_07_16_02_730589_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328081087","1328081092","1328081080","1328081082","1328081085","1328081096"],"photo_ids_order":["1328081080","1328081082","1328081085","1328081087","1328081092","1328081096"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4e846b86d0ab9db504767c96b391122e.jpg","text":"TemporaryFile(/tmp/multipartBody2236990806374236402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576497442,"filename":"image_11012025_07_15_02_233664_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/664dd5ac1d0b3d875a097c160246d738.jpg","text":"TemporaryFile(/tmp/multipartBody8888229082260009694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576497442,"filename":"image_11012025_07_15_02_233664_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e79bf95cdb3db551d739f23f344f4aed.jpg","text":"TemporaryFile(/tmp/multipartBody4475886650170771062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576497442,"filename":"image_11012025_07_14_02_663110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0ef3af58c0894130da3ce9b4ac8b5130.jpg","text":"TemporaryFile(/tmp/multipartBody1666080478416365528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576497442,"filename":"image_11012025_07_15_02_233664_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c765ef6b40c2d630edddc756e30473e0.jpg","text":"TemporaryFile(/tmp/multipartBody3887710607812309918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576497442,"filename":"image_11012025_07_15_02_233664_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f77ac1f8dfcd872c85974b1729f96b95.jpg","text":"TemporaryFile(/tmp/multipartBody221692954736692316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576497442,"filename":"image_11012025_07_16_02_730589_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328081085","file1":"1328081082","file0":"1328081080","file4":"1328081092","file5":"1328081096","file3":"1328081087"},"map_files_photo_id_array":[{"photo_id":"1328081096","filename":"file5"},{"photo_id":"1328081085","filename":"file2"},{"photo_id":"1328081092","filename":"file4"},{"photo_id":"1328081082","filename":"file1"},{"photo_id":"1328081080","filename":"file0"},{"photo_id":"1328081087","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328081087":["hashtag1","hashtag2"]},{"1328081092":["hashtag1","hashtag2"]},{"1328081080":["hashtag1","hashtag2"]},{"1328081082":["hashtag1","hashtag2"]},{"1328081085":["hashtag1","hashtag2"]},{"1328081096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328081087, 1328081092, 1328081080, 1328081082, 1328081085, 1328081096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.40680289268494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:21:21.775480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/16/image_11012025_07_16_02_730589_0001.jpg', '/home/pi/Desktop/images/11012025/07/16/image_11012025_07_16_02_730589_0002.jpg', '/home/pi/Desktop/images/11012025/07/16/image_11012025_07_16_02_730589_0003.jpg', '/home/pi/Desktop/images/11012025/07/17/image_11012025_07_17_02_473922_0000.jpg', '/home/pi/Desktop/images/11012025/07/17/image_11012025_07_17_02_473922_0001.jpg', '/home/pi/Desktop/images/11012025/07/17/image_11012025_07_17_02_473922_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/16/image_11012025_07_16_02_730589_0001.jpg
/home/pi/Desktop/images/11012025/07/16/image_11012025_07_16_02_730589_0002.jpg
/home/pi/Desktop/images/11012025/07/16/image_11012025_07_16_02_730589_0003.jpg
/home/pi/Desktop/images/11012025/07/17/image_11012025_07_17_02_473922_0000.jpg
/home/pi/Desktop/images/11012025/07/17/image_11012025_07_17_02_473922_0001.jpg
/home/pi/Desktop/images/11012025/07/17/image_11012025_07_17_02_473922_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328081123","1328081117","1328081125","1328081119","1328081121","1328081139"],"photo_ids_order":["1328081117","1328081119","1328081121","1328081123","1328081125","1328081139"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b66897f9af825c4804b206d4ff844f2d.jpg","text":"TemporaryFile(/tmp/multipartBody2337428724513271316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576556795,"filename":"image_11012025_07_17_02_473922_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7142a538c53b66f6bbe8b8c0668fac28.jpg","text":"TemporaryFile(/tmp/multipartBody2109978553827674661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576556795,"filename":"image_11012025_07_16_02_730589_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b4d3bb61be00b47841370712d53b07a4.jpg","text":"TemporaryFile(/tmp/multipartBody8335614384817556807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576556795,"filename":"image_11012025_07_17_02_473922_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/50b640af3cf3d84bb6db64a9ad35981d.jpg","text":"TemporaryFile(/tmp/multipartBody553626405822775337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576556795,"filename":"image_11012025_07_16_02_730589_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/27876f79852b6da46bfbb30d17ebfe96.jpg","text":"TemporaryFile(/tmp/multipartBody3258353988717382586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576556795,"filename":"image_11012025_07_16_02_730589_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b740007b7d444b5c826a9235a2134b63.jpg","text":"TemporaryFile(/tmp/multipartBody1483150768859651720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576556795,"filename":"image_11012025_07_17_02_473922_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328081121","file1":"1328081119","file0":"1328081117","file4":"1328081125","file5":"1328081139","file3":"1328081123"},"map_files_photo_id_array":[{"photo_id":"1328081139","filename":"file5"},{"photo_id":"1328081121","filename":"file2"},{"photo_id":"1328081125","filename":"file4"},{"photo_id":"1328081119","filename":"file1"},{"photo_id":"1328081117","filename":"file0"},{"photo_id":"1328081123","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328081123":["hashtag1","hashtag2"]},{"1328081117":["hashtag1","hashtag2"]},{"1328081125":["hashtag1","hashtag2"]},{"1328081119":["hashtag1","hashtag2"]},{"1328081121":["hashtag1","hashtag2"]},{"1328081139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328081123, 1328081117, 1328081125, 1328081119, 1328081121, 1328081139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.87846899032593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:22:22.384113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/18/image_11012025_07_18_02_969694_0000.jpg', '/home/pi/Desktop/images/11012025/07/18/image_11012025_07_18_02_969694_0001.jpg', '/home/pi/Desktop/images/11012025/07/18/image_11012025_07_18_02_969694_0002.jpg', '/home/pi/Desktop/images/11012025/07/18/image_11012025_07_18_02_969694_0003.jpg', '/home/pi/Desktop/images/11012025/07/19/image_11012025_07_19_02_638692_0000.jpg', '/home/pi/Desktop/images/11012025/07/19/image_11012025_07_19_02_638692_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/18/image_11012025_07_18_02_969694_0000.jpg
/home/pi/Desktop/images/11012025/07/18/image_11012025_07_18_02_969694_0001.jpg
/home/pi/Desktop/images/11012025/07/18/image_11012025_07_18_02_969694_0002.jpg
/home/pi/Desktop/images/11012025/07/18/image_11012025_07_18_02_969694_0003.jpg
/home/pi/Desktop/images/11012025/07/19/image_11012025_07_19_02_638692_0000.jpg
/home/pi/Desktop/images/11012025/07/19/image_11012025_07_19_02_638692_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.708365201950073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:23:02.524732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/18/image_11012025_07_18_02_969694_0000.jpg', '/home/pi/Desktop/images/11012025/07/18/image_11012025_07_18_02_969694_0001.jpg', '/home/pi/Desktop/images/11012025/07/18/image_11012025_07_18_02_969694_0002.jpg', '/home/pi/Desktop/images/11012025/07/18/image_11012025_07_18_02_969694_0003.jpg', '/home/pi/Desktop/images/11012025/07/19/image_11012025_07_19_02_638692_0000.jpg', '/home/pi/Desktop/images/11012025/07/19/image_11012025_07_19_02_638692_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/18/image_11012025_07_18_02_969694_0000.jpg
/home/pi/Desktop/images/11012025/07/18/image_11012025_07_18_02_969694_0001.jpg
/home/pi/Desktop/images/11012025/07/18/image_11012025_07_18_02_969694_0002.jpg
/home/pi/Desktop/images/11012025/07/18/image_11012025_07_18_02_969694_0003.jpg
/home/pi/Desktop/images/11012025/07/19/image_11012025_07_19_02_638692_0000.jpg
/home/pi/Desktop/images/11012025/07/19/image_11012025_07_19_02_638692_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":["1328081201","1328081317","1328081397","1328081439","1328081400","1328081393"],"photo_ids_order":["1328081201","1328081317","1328081393","1328081397","1328081400","1328081439"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a8de43e731b4bd97e118c63b740e1e03.jpg","text":"TemporaryFile(/tmp/multipartBody9033340167893323077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576657660,"filename":"image_11012025_07_18_02_969694_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/95aa2ffbb7d048403fe0561992eeae88.jpg","text":"TemporaryFile(/tmp/multipartBody5791102802525371142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576657660,"filename":"image_11012025_07_18_02_969694_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c87c0ba837fc514c37299ac5a2a185ef.jpg","text":"TemporaryFile(/tmp/multipartBody798187396099233157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576657660,"filename":"image_11012025_07_18_02_969694_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e2f94f74c8988ddb1175c1ce12a67c25.jpg","text":"TemporaryFile(/tmp/multipartBody7171065849474967317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576657660,"filename":"image_11012025_07_19_02_638692_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/16865058495cb38c0e1e7f7ed0a74aad.jpg","text":"TemporaryFile(/tmp/multipartBody6761355967370949444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576657660,"filename":"image_11012025_07_19_02_638692_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7411e20331c54c7143d9cc2e145f2336.jpg","text":"TemporaryFile(/tmp/multipartBody5789655695676204978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576657660,"filename":"image_11012025_07_18_02_969694_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328081393","file1":"1328081317","file0":"1328081201","file4":"1328081400","file5":"1328081439","file3":"1328081397"},"map_files_photo_id_array":[{"photo_id":"1328081439","filename":"file5"},{"photo_id":"1328081393","filename":"file2"},{"photo_id":"1328081400","filename":"file4"},{"photo_id":"1328081317","filename":"file1"},{"photo_id":"1328081201","filename":"file0"},{"photo_id":"1328081397","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328081201":["hashtag1","hashtag2"]},{"1328081317":["hashtag1","hashtag2"]},{"1328081397":["hashtag1","hashtag2"]},{"1328081439":["hashtag1","hashtag2"]},{"1328081400":["hashtag1","hashtag2"]},{"1328081393":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328081201, 1328081317, 1328081397, 1328081439, 1328081400, 1328081393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.758625507354736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:24:22.648307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/19/image_11012025_07_19_02_638692_0002.jpg', '/home/pi/Desktop/images/11012025/07/19/image_11012025_07_19_02_638692_0003.jpg', '/home/pi/Desktop/images/11012025/07/20/image_11012025_07_20_02_107707_0000.jpg', '/home/pi/Desktop/images/11012025/07/20/image_11012025_07_20_02_107707_0001.jpg', '/home/pi/Desktop/images/11012025/07/20/image_11012025_07_20_02_107707_0002.jpg', '/home/pi/Desktop/images/11012025/07/20/image_11012025_07_20_02_107707_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/19/image_11012025_07_19_02_638692_0002.jpg
/home/pi/Desktop/images/11012025/07/19/image_11012025_07_19_02_638692_0003.jpg
/home/pi/Desktop/images/11012025/07/20/image_11012025_07_20_02_107707_0000.jpg
/home/pi/Desktop/images/11012025/07/20/image_11012025_07_20_02_107707_0001.jpg
/home/pi/Desktop/images/11012025/07/20/image_11012025_07_20_02_107707_0002.jpg
/home/pi/Desktop/images/11012025/07/20/image_11012025_07_20_02_107707_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328081485","1328081487","1328081483","1328081492","1328081489","1328081468"],"photo_ids_order":["1328081468","1328081483","1328081485","1328081487","1328081489","1328081492"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/11a848e4789a82d6b91a5f3167af5eaf.jpg","text":"TemporaryFile(/tmp/multipartBody4495231934327472336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576737685,"filename":"image_11012025_07_20_02_107707_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/06dc43077f1a52857895e172abc2ae8d.jpg","text":"TemporaryFile(/tmp/multipartBody6694878231202225060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576737685,"filename":"image_11012025_07_20_02_107707_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c04939c872588f64edc264f488c96644.jpg","text":"TemporaryFile(/tmp/multipartBody5284758442405469364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576737685,"filename":"image_11012025_07_19_02_638692_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b54aae467d24f1bf10253d2b87e08ac8.jpg","text":"TemporaryFile(/tmp/multipartBody4165668912681866911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576737685,"filename":"image_11012025_07_20_02_107707_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aba95be1aa6849912d9b5394d846a525.jpg","text":"TemporaryFile(/tmp/multipartBody971769079065001269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576737685,"filename":"image_11012025_07_20_02_107707_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c35dd4bc897643aa4bc036650b6f170f.jpg","text":"TemporaryFile(/tmp/multipartBody6150613971172098533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576737685,"filename":"image_11012025_07_19_02_638692_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328081485","file1":"1328081483","file0":"1328081468","file4":"1328081489","file5":"1328081492","file3":"1328081487"},"map_files_photo_id_array":[{"photo_id":"1328081492","filename":"file5"},{"photo_id":"1328081485","filename":"file2"},{"photo_id":"1328081489","filename":"file4"},{"photo_id":"1328081483","filename":"file1"},{"photo_id":"1328081468","filename":"file0"},{"photo_id":"1328081487","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328081485":["hashtag1","hashtag2"]},{"1328081487":["hashtag1","hashtag2"]},{"1328081483":["hashtag1","hashtag2"]},{"1328081492":["hashtag1","hashtag2"]},{"1328081489":["hashtag1","hashtag2"]},{"1328081468":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328081485, 1328081487, 1328081483, 1328081492, 1328081489, 1328081468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.75883460044861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:25:22.123745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/21/image_11012025_07_21_02_633775_0000.jpg', '/home/pi/Desktop/images/11012025/07/21/image_11012025_07_21_02_633775_0001.jpg', '/home/pi/Desktop/images/11012025/07/21/image_11012025_07_21_02_633775_0002.jpg', '/home/pi/Desktop/images/11012025/07/21/image_11012025_07_21_02_633775_0003.jpg', '/home/pi/Desktop/images/11012025/07/22/image_11012025_07_22_02_187836_0000.jpg', '/home/pi/Desktop/images/11012025/07/22/image_11012025_07_22_02_187836_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/21/image_11012025_07_21_02_633775_0000.jpg
/home/pi/Desktop/images/11012025/07/21/image_11012025_07_21_02_633775_0001.jpg
/home/pi/Desktop/images/11012025/07/21/image_11012025_07_21_02_633775_0002.jpg
/home/pi/Desktop/images/11012025/07/21/image_11012025_07_21_02_633775_0003.jpg
/home/pi/Desktop/images/11012025/07/22/image_11012025_07_22_02_187836_0000.jpg
/home/pi/Desktop/images/11012025/07/22/image_11012025_07_22_02_187836_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328081510","1328081504","1328081500","1328081503","1328081506","1328081498"],"photo_ids_order":["1328081498","1328081500","1328081503","1328081504","1328081506","1328081510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a558882d742abdb422d13177b14f9755.jpg","text":"TemporaryFile(/tmp/multipartBody1779909723926553209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576797212,"filename":"image_11012025_07_22_02_187836_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1664fba786b5746f76cbc5b42ae12b09.jpg","text":"TemporaryFile(/tmp/multipartBody6905237821010434931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576797212,"filename":"image_11012025_07_21_02_633775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2d6ec3ff6bcb881caf4fd6f731f39075.jpg","text":"TemporaryFile(/tmp/multipartBody3508336956181732925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576797212,"filename":"image_11012025_07_21_02_633775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c8fe003ff5bea764ae3a137870010e87.jpg","text":"TemporaryFile(/tmp/multipartBody8082992186604015448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576797212,"filename":"image_11012025_07_21_02_633775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7e0780930af3272bf1ff2611d5a99285.jpg","text":"TemporaryFile(/tmp/multipartBody7319721253098067143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576797212,"filename":"image_11012025_07_22_02_187836_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7b509460bcc56de73b44b8c9c2c55cdb.jpg","text":"TemporaryFile(/tmp/multipartBody739943042697592536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576797212,"filename":"image_11012025_07_21_02_633775_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328081503","file1":"1328081500","file0":"1328081498","file4":"1328081506","file5":"1328081510","file3":"1328081504"},"map_files_photo_id_array":[{"photo_id":"1328081510","filename":"file5"},{"photo_id":"1328081503","filename":"file2"},{"photo_id":"1328081506","filename":"file4"},{"photo_id":"1328081500","filename":"file1"},{"photo_id":"1328081498","filename":"file0"},{"photo_id":"1328081504","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328081510":["hashtag1","hashtag2"]},{"1328081504":["hashtag1","hashtag2"]},{"1328081500":["hashtag1","hashtag2"]},{"1328081503":["hashtag1","hashtag2"]},{"1328081506":["hashtag1","hashtag2"]},{"1328081498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328081510, 1328081504, 1328081500, 1328081503, 1328081506, 1328081498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.05655384063721 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:26:22.654059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/22/image_11012025_07_22_02_187836_0002.jpg', '/home/pi/Desktop/images/11012025/07/22/image_11012025_07_22_02_187836_0003.jpg', '/home/pi/Desktop/images/11012025/07/23/image_11012025_07_23_02_782708_0000.jpg', '/home/pi/Desktop/images/11012025/07/23/image_11012025_07_23_02_782708_0001.jpg', '/home/pi/Desktop/images/11012025/07/23/image_11012025_07_23_02_782708_0002.jpg', '/home/pi/Desktop/images/11012025/07/23/image_11012025_07_23_02_782708_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/22/image_11012025_07_22_02_187836_0002.jpg
/home/pi/Desktop/images/11012025/07/22/image_11012025_07_22_02_187836_0003.jpg
/home/pi/Desktop/images/11012025/07/23/image_11012025_07_23_02_782708_0000.jpg
/home/pi/Desktop/images/11012025/07/23/image_11012025_07_23_02_782708_0001.jpg
/home/pi/Desktop/images/11012025/07/23/image_11012025_07_23_02_782708_0002.jpg
/home/pi/Desktop/images/11012025/07/23/image_11012025_07_23_02_782708_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":["1328081519","1328081530","1328081533","1328081523","1328081517","1328081526"],"photo_ids_order":["1328081517","1328081519","1328081523","1328081526","1328081530","1328081533"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c6ff5ab53b5579c844ca1821523f3cf0.jpg","text":"TemporaryFile(/tmp/multipartBody1922269073412238822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576857641,"filename":"image_11012025_07_22_02_187836_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4ff14347c0c0edac5c02815b6523c3d1.jpg","text":"TemporaryFile(/tmp/multipartBody7741548868606178469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576857641,"filename":"image_11012025_07_23_02_782708_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/49ec880f20e7717ce7eab5e46095a05f.jpg","text":"TemporaryFile(/tmp/multipartBody323469856653250220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576857641,"filename":"image_11012025_07_23_02_782708_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4b6ab22d624d159ccba7d309cece768e.jpg","text":"TemporaryFile(/tmp/multipartBody5076120713516191009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576857641,"filename":"image_11012025_07_23_02_782708_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/126ffc5f59f0e9a0e5faa387e4f091ba.jpg","text":"TemporaryFile(/tmp/multipartBody6551157703694104059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576857641,"filename":"image_11012025_07_22_02_187836_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/11afd7ac00f9e4a51eac30690967ba90.jpg","text":"TemporaryFile(/tmp/multipartBody4440561629800090281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576857641,"filename":"image_11012025_07_23_02_782708_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328081523","file1":"1328081519","file0":"1328081517","file4":"1328081530","file5":"1328081533","file3":"1328081526"},"map_files_photo_id_array":[{"photo_id":"1328081533","filename":"file5"},{"photo_id":"1328081523","filename":"file2"},{"photo_id":"1328081530","filename":"file4"},{"photo_id":"1328081519","filename":"file1"},{"photo_id":"1328081517","filename":"file0"},{"photo_id":"1328081526","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328081519":["hashtag1","hashtag2"]},{"1328081530":["hashtag1","hashtag2"]},{"1328081533":["hashtag1","hashtag2"]},{"1328081523":["hashtag1","hashtag2"]},{"1328081517":["hashtag1","hashtag2"]},{"1328081526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328081519, 1328081530, 1328081533, 1328081523, 1328081517, 1328081526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.56116819381714 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:28:03.052090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/24/image_11012025_07_24_02_284416_0000.jpg', '/home/pi/Desktop/images/11012025/07/24/image_11012025_07_24_02_284416_0001.jpg', '/home/pi/Desktop/images/11012025/07/24/image_11012025_07_24_02_284416_0002.jpg', '/home/pi/Desktop/images/11012025/07/24/image_11012025_07_24_02_284416_0003.jpg', '/home/pi/Desktop/images/11012025/07/25/image_11012025_07_25_02_965625_0000.jpg', '/home/pi/Desktop/images/11012025/07/25/image_11012025_07_25_02_965625_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/24/image_11012025_07_24_02_284416_0000.jpg
/home/pi/Desktop/images/11012025/07/24/image_11012025_07_24_02_284416_0001.jpg
/home/pi/Desktop/images/11012025/07/24/image_11012025_07_24_02_284416_0002.jpg
/home/pi/Desktop/images/11012025/07/24/image_11012025_07_24_02_284416_0003.jpg
/home/pi/Desktop/images/11012025/07/25/image_11012025_07_25_02_965625_0000.jpg
/home/pi/Desktop/images/11012025/07/25/image_11012025_07_25_02_965625_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.723193883895874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:28:22.600907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/24/image_11012025_07_24_02_284416_0000.jpg', '/home/pi/Desktop/images/11012025/07/24/image_11012025_07_24_02_284416_0001.jpg', '/home/pi/Desktop/images/11012025/07/24/image_11012025_07_24_02_284416_0002.jpg', '/home/pi/Desktop/images/11012025/07/24/image_11012025_07_24_02_284416_0003.jpg', '/home/pi/Desktop/images/11012025/07/25/image_11012025_07_25_02_965625_0000.jpg', '/home/pi/Desktop/images/11012025/07/25/image_11012025_07_25_02_965625_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/24/image_11012025_07_24_02_284416_0000.jpg
/home/pi/Desktop/images/11012025/07/24/image_11012025_07_24_02_284416_0001.jpg
/home/pi/Desktop/images/11012025/07/24/image_11012025_07_24_02_284416_0002.jpg
/home/pi/Desktop/images/11012025/07/24/image_11012025_07_24_02_284416_0003.jpg
/home/pi/Desktop/images/11012025/07/25/image_11012025_07_25_02_965625_0000.jpg
/home/pi/Desktop/images/11012025/07/25/image_11012025_07_25_02_965625_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328081587","1328081599","1328081592","1328081595","1328081604","1328081582"],"photo_ids_order":["1328081582","1328081587","1328081592","1328081595","1328081599","1328081604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ca0a791618d37d995d5a4dfcf022ef13.jpg","text":"TemporaryFile(/tmp/multipartBody4910012747423014347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576977741,"filename":"image_11012025_07_24_02_284416_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e1a60e2149be87d5bbd5030b8b0fd299.jpg","text":"TemporaryFile(/tmp/multipartBody4573016269762413692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576977741,"filename":"image_11012025_07_25_02_965625_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/72c403a5e06225057fa0b8b36d6dc2b0.jpg","text":"TemporaryFile(/tmp/multipartBody5756220777123152291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576977741,"filename":"image_11012025_07_24_02_284416_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/db327152d90feaef1b90c5bc13f3f6e0.jpg","text":"TemporaryFile(/tmp/multipartBody8475447330095016942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576977741,"filename":"image_11012025_07_24_02_284416_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/89f28ff62dd3947a75cf4f02c8404f3f.jpg","text":"TemporaryFile(/tmp/multipartBody1156838048522288180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576977741,"filename":"image_11012025_07_25_02_965625_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6aaa46a75a49d77e6e56e2cb1439ae2d.jpg","text":"TemporaryFile(/tmp/multipartBody2967651188112033226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736576977741,"filename":"image_11012025_07_24_02_284416_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328081592","file1":"1328081587","file0":"1328081582","file4":"1328081599","file5":"1328081604","file3":"1328081595"},"map_files_photo_id_array":[{"photo_id":"1328081604","filename":"file5"},{"photo_id":"1328081592","filename":"file2"},{"photo_id":"1328081599","filename":"file4"},{"photo_id":"1328081587","filename":"file1"},{"photo_id":"1328081582","filename":"file0"},{"photo_id":"1328081595","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328081587":["hashtag1","hashtag2"]},{"1328081599":["hashtag1","hashtag2"]},{"1328081592":["hashtag1","hashtag2"]},{"1328081595":["hashtag1","hashtag2"]},{"1328081604":["hashtag1","hashtag2"]},{"1328081582":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328081587, 1328081599, 1328081592, 1328081595, 1328081604, 1328081582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.67785096168518 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:29:22.169856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/25/image_11012025_07_25_02_965625_0002.jpg', '/home/pi/Desktop/images/11012025/07/25/image_11012025_07_25_02_965625_0003.jpg', '/home/pi/Desktop/images/11012025/07/26/image_11012025_07_26_02_461377_0000.jpg', '/home/pi/Desktop/images/11012025/07/26/image_11012025_07_26_02_461377_0001.jpg', '/home/pi/Desktop/images/11012025/07/26/image_11012025_07_26_02_461377_0002.jpg', '/home/pi/Desktop/images/11012025/07/26/image_11012025_07_26_02_461377_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/25/image_11012025_07_25_02_965625_0002.jpg
/home/pi/Desktop/images/11012025/07/25/image_11012025_07_25_02_965625_0003.jpg
/home/pi/Desktop/images/11012025/07/26/image_11012025_07_26_02_461377_0000.jpg
/home/pi/Desktop/images/11012025/07/26/image_11012025_07_26_02_461377_0001.jpg
/home/pi/Desktop/images/11012025/07/26/image_11012025_07_26_02_461377_0002.jpg
/home/pi/Desktop/images/11012025/07/26/image_11012025_07_26_02_461377_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328081621","1328081624","1328081618","1328081632","1328081626","1328081629"],"photo_ids_order":["1328081618","1328081621","1328081624","1328081626","1328081629","1328081632"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8915bc173ef686787f0c72fb7e8ec987.jpg","text":"TemporaryFile(/tmp/multipartBody3681662893271740030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577037076,"filename":"image_11012025_07_25_02_965625_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/971ea3c3f8e5175177a73c2b8ce6381d.jpg","text":"TemporaryFile(/tmp/multipartBody3445573503568926555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577037076,"filename":"image_11012025_07_26_02_461377_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0d34d6319022da8d291aaeea29393a22.jpg","text":"TemporaryFile(/tmp/multipartBody1154993051902609107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577037076,"filename":"image_11012025_07_25_02_965625_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/14f5b88fc012e6d2a2bfe1d46e470000.jpg","text":"TemporaryFile(/tmp/multipartBody6023828405429257262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577037076,"filename":"image_11012025_07_26_02_461377_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2a6c5bf87a3774e86d46aff154393f8b.jpg","text":"TemporaryFile(/tmp/multipartBody7116130551596503369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577037076,"filename":"image_11012025_07_26_02_461377_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e6571b4a1be889f000d44f767957d1f0.jpg","text":"TemporaryFile(/tmp/multipartBody532257783508384844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577037076,"filename":"image_11012025_07_26_02_461377_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328081624","file1":"1328081621","file0":"1328081618","file4":"1328081629","file5":"1328081632","file3":"1328081626"},"map_files_photo_id_array":[{"photo_id":"1328081632","filename":"file5"},{"photo_id":"1328081624","filename":"file2"},{"photo_id":"1328081629","filename":"file4"},{"photo_id":"1328081621","filename":"file1"},{"photo_id":"1328081618","filename":"file0"},{"photo_id":"1328081626","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328081621":["hashtag1","hashtag2"]},{"1328081624":["hashtag1","hashtag2"]},{"1328081618":["hashtag1","hashtag2"]},{"1328081632":["hashtag1","hashtag2"]},{"1328081626":["hashtag1","hashtag2"]},{"1328081629":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328081621, 1328081624, 1328081618, 1328081632, 1328081626, 1328081629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.22579646110535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:30:22.727364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/27/image_11012025_07_27_02_963963_0000.jpg', '/home/pi/Desktop/images/11012025/07/27/image_11012025_07_27_02_963963_0001.jpg', '/home/pi/Desktop/images/11012025/07/27/image_11012025_07_27_02_963963_0002.jpg', '/home/pi/Desktop/images/11012025/07/27/image_11012025_07_27_02_963963_0003.jpg', '/home/pi/Desktop/images/11012025/07/28/image_11012025_07_28_02_456303_0000.jpg', '/home/pi/Desktop/images/11012025/07/28/image_11012025_07_28_02_456303_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/27/image_11012025_07_27_02_963963_0000.jpg
/home/pi/Desktop/images/11012025/07/27/image_11012025_07_27_02_963963_0001.jpg
/home/pi/Desktop/images/11012025/07/27/image_11012025_07_27_02_963963_0002.jpg
/home/pi/Desktop/images/11012025/07/27/image_11012025_07_27_02_963963_0003.jpg
/home/pi/Desktop/images/11012025/07/28/image_11012025_07_28_02_456303_0000.jpg
/home/pi/Desktop/images/11012025/07/28/image_11012025_07_28_02_456303_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.57584834098816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:31:02.731479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/27/image_11012025_07_27_02_963963_0000.jpg', '/home/pi/Desktop/images/11012025/07/27/image_11012025_07_27_02_963963_0001.jpg', '/home/pi/Desktop/images/11012025/07/27/image_11012025_07_27_02_963963_0002.jpg', '/home/pi/Desktop/images/11012025/07/27/image_11012025_07_27_02_963963_0003.jpg', '/home/pi/Desktop/images/11012025/07/28/image_11012025_07_28_02_456303_0000.jpg', '/home/pi/Desktop/images/11012025/07/28/image_11012025_07_28_02_456303_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/27/image_11012025_07_27_02_963963_0000.jpg
/home/pi/Desktop/images/11012025/07/27/image_11012025_07_27_02_963963_0001.jpg
/home/pi/Desktop/images/11012025/07/27/image_11012025_07_27_02_963963_0002.jpg
/home/pi/Desktop/images/11012025/07/27/image_11012025_07_27_02_963963_0003.jpg
/home/pi/Desktop/images/11012025/07/28/image_11012025_07_28_02_456303_0000.jpg
/home/pi/Desktop/images/11012025/07/28/image_11012025_07_28_02_456303_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328081674","1328081685","1328081679","1328081682","1328081676","1328081672"],"photo_ids_order":["1328081672","1328081674","1328081676","1328081679","1328081682","1328081685"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2a1fb6f4ab035f162d7a380011cf1d95.jpg","text":"TemporaryFile(/tmp/multipartBody7252562768875654010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577137789,"filename":"image_11012025_07_27_02_963963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/70548fdbab04b5b702018131c1d553c5.jpg","text":"TemporaryFile(/tmp/multipartBody6578530871077471362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577137789,"filename":"image_11012025_07_28_02_456303_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/21418878834cb06b69124c92a61989f4.jpg","text":"TemporaryFile(/tmp/multipartBody8897422249605112758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577137789,"filename":"image_11012025_07_27_02_963963_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7e94c3af8f8aa35a85489b29795a6a87.jpg","text":"TemporaryFile(/tmp/multipartBody5308004255678318006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577137789,"filename":"image_11012025_07_28_02_456303_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0f780cad914c021c8960949ac9e04971.jpg","text":"TemporaryFile(/tmp/multipartBody8335694319629089305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577137789,"filename":"image_11012025_07_27_02_963963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c0779c88c0d5c48d943012b818063e62.jpg","text":"TemporaryFile(/tmp/multipartBody8838571251491379589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577137789,"filename":"image_11012025_07_27_02_963963_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328081676","file1":"1328081674","file0":"1328081672","file4":"1328081682","file5":"1328081685","file3":"1328081679"},"map_files_photo_id_array":[{"photo_id":"1328081685","filename":"file5"},{"photo_id":"1328081676","filename":"file2"},{"photo_id":"1328081682","filename":"file4"},{"photo_id":"1328081674","filename":"file1"},{"photo_id":"1328081672","filename":"file0"},{"photo_id":"1328081679","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328081674":["hashtag1","hashtag2"]},{"1328081685":["hashtag1","hashtag2"]},{"1328081679":["hashtag1","hashtag2"]},{"1328081682":["hashtag1","hashtag2"]},{"1328081676":["hashtag1","hashtag2"]},{"1328081672":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328081674, 1328081685, 1328081679, 1328081682, 1328081676, 1328081672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.0623676776886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:32:02.166616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/28/image_11012025_07_28_02_456303_0003.jpg', '/home/pi/Desktop/images/11012025/07/29/image_11012025_07_29_03_061745_0000.jpg', '/home/pi/Desktop/images/11012025/07/29/image_11012025_07_29_03_061745_0001.jpg', '/home/pi/Desktop/images/11012025/07/29/image_11012025_07_29_03_061745_0002.jpg', '/home/pi/Desktop/images/11012025/07/29/image_11012025_07_29_03_061745_0003.jpg', '/home/pi/Desktop/images/11012025/07/30/image_11012025_07_30_02_565343_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/28/image_11012025_07_28_02_456303_0003.jpg
/home/pi/Desktop/images/11012025/07/29/image_11012025_07_29_03_061745_0000.jpg
/home/pi/Desktop/images/11012025/07/29/image_11012025_07_29_03_061745_0001.jpg
/home/pi/Desktop/images/11012025/07/29/image_11012025_07_29_03_061745_0002.jpg
/home/pi/Desktop/images/11012025/07/29/image_11012025_07_29_03_061745_0003.jpg
/home/pi/Desktop/images/11012025/07/30/image_11012025_07_30_02_565343_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328081695","1328081704","1328081697","1328081701","1328081699","1328081693"],"photo_ids_order":["1328081693","1328081695","1328081697","1328081699","1328081701","1328081704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/14b64615292e4c0478af4f4776912833.jpg","text":"TemporaryFile(/tmp/multipartBody8598959091970068922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577197160,"filename":"image_11012025_07_29_03_061745_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3c5d2ce3ddf75e09cd86a2d65a61e848.jpg","text":"TemporaryFile(/tmp/multipartBody1289350523554589307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577197160,"filename":"image_11012025_07_30_02_565343_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c577526bccc15cbab03d7df80d69fac.jpg","text":"TemporaryFile(/tmp/multipartBody8717147310682441177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577197160,"filename":"image_11012025_07_29_03_061745_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8980e88832076a19b6620ef1c118cb7c.jpg","text":"TemporaryFile(/tmp/multipartBody786114553489733393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577197160,"filename":"image_11012025_07_29_03_061745_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fd96703d73fe687efccb758c26cdf7bd.jpg","text":"TemporaryFile(/tmp/multipartBody626202241355659484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577197160,"filename":"image_11012025_07_29_03_061745_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5d93151a4871e41f0a39f7f39322085f.jpg","text":"TemporaryFile(/tmp/multipartBody1941973710966433302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577197160,"filename":"image_11012025_07_28_02_456303_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328081697","file1":"1328081695","file0":"1328081693","file4":"1328081701","file5":"1328081704","file3":"1328081699"},"map_files_photo_id_array":[{"photo_id":"1328081704","filename":"file5"},{"photo_id":"1328081697","filename":"file2"},{"photo_id":"1328081701","filename":"file4"},{"photo_id":"1328081695","filename":"file1"},{"photo_id":"1328081693","filename":"file0"},{"photo_id":"1328081699","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328081695":["hashtag1","hashtag2"]},{"1328081704":["hashtag1","hashtag2"]},{"1328081697":["hashtag1","hashtag2"]},{"1328081701":["hashtag1","hashtag2"]},{"1328081699":["hashtag1","hashtag2"]},{"1328081693":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328081695, 1328081704, 1328081697, 1328081701, 1328081699, 1328081693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.80172324180603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:33:03.108750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/30/image_11012025_07_30_02_565343_0001.jpg', '/home/pi/Desktop/images/11012025/07/30/image_11012025_07_30_02_565343_0002.jpg', '/home/pi/Desktop/images/11012025/07/30/image_11012025_07_30_02_565343_0003.jpg', '/home/pi/Desktop/images/11012025/07/31/image_11012025_07_31_03_086219_0000.jpg', '/home/pi/Desktop/images/11012025/07/31/image_11012025_07_31_03_086219_0001.jpg', '/home/pi/Desktop/images/11012025/07/31/image_11012025_07_31_03_086219_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/30/image_11012025_07_30_02_565343_0001.jpg
/home/pi/Desktop/images/11012025/07/30/image_11012025_07_30_02_565343_0002.jpg
/home/pi/Desktop/images/11012025/07/30/image_11012025_07_30_02_565343_0003.jpg
/home/pi/Desktop/images/11012025/07/31/image_11012025_07_31_03_086219_0000.jpg
/home/pi/Desktop/images/11012025/07/31/image_11012025_07_31_03_086219_0001.jpg
/home/pi/Desktop/images/11012025/07/31/image_11012025_07_31_03_086219_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.615702390670776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:33:22.348078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/30/image_11012025_07_30_02_565343_0001.jpg', '/home/pi/Desktop/images/11012025/07/30/image_11012025_07_30_02_565343_0002.jpg', '/home/pi/Desktop/images/11012025/07/30/image_11012025_07_30_02_565343_0003.jpg', '/home/pi/Desktop/images/11012025/07/31/image_11012025_07_31_03_086219_0000.jpg', '/home/pi/Desktop/images/11012025/07/31/image_11012025_07_31_03_086219_0001.jpg', '/home/pi/Desktop/images/11012025/07/31/image_11012025_07_31_03_086219_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/30/image_11012025_07_30_02_565343_0001.jpg
/home/pi/Desktop/images/11012025/07/30/image_11012025_07_30_02_565343_0002.jpg
/home/pi/Desktop/images/11012025/07/30/image_11012025_07_30_02_565343_0003.jpg
/home/pi/Desktop/images/11012025/07/31/image_11012025_07_31_03_086219_0000.jpg
/home/pi/Desktop/images/11012025/07/31/image_11012025_07_31_03_086219_0001.jpg
/home/pi/Desktop/images/11012025/07/31/image_11012025_07_31_03_086219_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328081773","1328081776","1328081770","1328081780","1328081765","1328081750"],"photo_ids_order":["1328081750","1328081765","1328081770","1328081773","1328081776","1328081780"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dcae6e1d53a2ca024e1488dd49effc68.jpg","text":"TemporaryFile(/tmp/multipartBody8501345787731560532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577277328,"filename":"image_11012025_07_31_03_086219_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6d95c5c4a34e3ab4cb1c9137c9235cf0.jpg","text":"TemporaryFile(/tmp/multipartBody9084198474141900205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577277328,"filename":"image_11012025_07_31_03_086219_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/efdd1a73722f570f4bb01ab5664ad9da.jpg","text":"TemporaryFile(/tmp/multipartBody735203953609536457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577277328,"filename":"image_11012025_07_30_02_565343_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c597ab475685de8722cef67afd27bb96.jpg","text":"TemporaryFile(/tmp/multipartBody5598405206948340061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577277328,"filename":"image_11012025_07_31_03_086219_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/18a6235f6c5919ff681609b2773793f5.jpg","text":"TemporaryFile(/tmp/multipartBody4573793626561262609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577277328,"filename":"image_11012025_07_30_02_565343_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5730b71f94c3e907ced951ea26e85cb0.jpg","text":"TemporaryFile(/tmp/multipartBody8091329695249246134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577277328,"filename":"image_11012025_07_30_02_565343_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328081770","file1":"1328081765","file0":"1328081750","file4":"1328081776","file5":"1328081780","file3":"1328081773"},"map_files_photo_id_array":[{"photo_id":"1328081780","filename":"file5"},{"photo_id":"1328081770","filename":"file2"},{"photo_id":"1328081776","filename":"file4"},{"photo_id":"1328081765","filename":"file1"},{"photo_id":"1328081750","filename":"file0"},{"photo_id":"1328081773","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328081773":["hashtag1","hashtag2"]},{"1328081776":["hashtag1","hashtag2"]},{"1328081770":["hashtag1","hashtag2"]},{"1328081780":["hashtag1","hashtag2"]},{"1328081765":["hashtag1","hashtag2"]},{"1328081750":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328081773, 1328081776, 1328081770, 1328081780, 1328081765, 1328081750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.2089684009552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:34:22.001579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/31/image_11012025_07_31_03_086219_0003.jpg', '/home/pi/Desktop/images/11012025/07/32/image_11012025_07_32_02_595056_0000.jpg', '/home/pi/Desktop/images/11012025/07/32/image_11012025_07_32_02_595056_0001.jpg', '/home/pi/Desktop/images/11012025/07/32/image_11012025_07_32_02_595056_0002.jpg', '/home/pi/Desktop/images/11012025/07/32/image_11012025_07_32_02_595056_0003.jpg', '/home/pi/Desktop/images/11012025/07/33/image_11012025_07_33_02_244527_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/31/image_11012025_07_31_03_086219_0003.jpg
/home/pi/Desktop/images/11012025/07/32/image_11012025_07_32_02_595056_0000.jpg
/home/pi/Desktop/images/11012025/07/32/image_11012025_07_32_02_595056_0001.jpg
/home/pi/Desktop/images/11012025/07/32/image_11012025_07_32_02_595056_0002.jpg
/home/pi/Desktop/images/11012025/07/32/image_11012025_07_32_02_595056_0003.jpg
/home/pi/Desktop/images/11012025/07/33/image_11012025_07_33_02_244527_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328081906","1328081962","1328082411","1328082680","1328082683","1328082050"],"photo_ids_order":["1328081906","1328081962","1328082050","1328082411","1328082680","1328082683"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3dae27ac952e29df6a0b5fb76a7537b6.jpg","text":"TemporaryFile(/tmp/multipartBody2406809829177523723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577336923,"filename":"image_11012025_07_31_03_086219_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9dea944ec09b8ce167e5c3fcd5e36d51.jpg","text":"TemporaryFile(/tmp/multipartBody5444280923014370517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577336923,"filename":"image_11012025_07_32_02_595056_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/78ea46d17dbec60d91d337dd3702b24e.jpg","text":"TemporaryFile(/tmp/multipartBody1599440819063982214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577336923,"filename":"image_11012025_07_32_02_595056_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/793e7d4056934b0496ebfa3f022037f7.jpg","text":"TemporaryFile(/tmp/multipartBody4449815507300589862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577336923,"filename":"image_11012025_07_32_02_595056_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/36aa9a7e86c9d88a684d16836233548b.jpg","text":"TemporaryFile(/tmp/multipartBody8255436475542796365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577336923,"filename":"image_11012025_07_33_02_244527_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/db3321d4d421512e857531f2d85360e2.jpg","text":"TemporaryFile(/tmp/multipartBody966916448287234382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577336923,"filename":"image_11012025_07_32_02_595056_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328082050","file1":"1328081962","file0":"1328081906","file4":"1328082680","file5":"1328082683","file3":"1328082411"},"map_files_photo_id_array":[{"photo_id":"1328082683","filename":"file5"},{"photo_id":"1328082050","filename":"file2"},{"photo_id":"1328082680","filename":"file4"},{"photo_id":"1328081962","filename":"file1"},{"photo_id":"1328081906","filename":"file0"},{"photo_id":"1328082411","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328081906":["hashtag1","hashtag2"]},{"1328081962":["hashtag1","hashtag2"]},{"1328082411":["hashtag1","hashtag2"]},{"1328082680":["hashtag1","hashtag2"]},{"1328082683":["hashtag1","hashtag2"]},{"1328082050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328081906, 1328081962, 1328082411, 1328082680, 1328082683, 1328082050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.714794874191284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:35:22.525871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/33/image_11012025_07_33_02_244527_0001.jpg', '/home/pi/Desktop/images/11012025/07/33/image_11012025_07_33_02_244527_0002.jpg', '/home/pi/Desktop/images/11012025/07/33/image_11012025_07_33_02_244527_0003.jpg', '/home/pi/Desktop/images/11012025/07/34/image_11012025_07_34_02_837569_0000.jpg', '/home/pi/Desktop/images/11012025/07/34/image_11012025_07_34_02_837569_0001.jpg', '/home/pi/Desktop/images/11012025/07/34/image_11012025_07_34_02_837569_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/33/image_11012025_07_33_02_244527_0001.jpg
/home/pi/Desktop/images/11012025/07/33/image_11012025_07_33_02_244527_0002.jpg
/home/pi/Desktop/images/11012025/07/33/image_11012025_07_33_02_244527_0003.jpg
/home/pi/Desktop/images/11012025/07/34/image_11012025_07_34_02_837569_0000.jpg
/home/pi/Desktop/images/11012025/07/34/image_11012025_07_34_02_837569_0001.jpg
/home/pi/Desktop/images/11012025/07/34/image_11012025_07_34_02_837569_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328082701","1328082693","1328082690","1328082687","1328082695","1328082704"],"photo_ids_order":["1328082687","1328082690","1328082693","1328082695","1328082701","1328082704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/83cc8a230608759553294d63165aef54.jpg","text":"TemporaryFile(/tmp/multipartBody4555171176853963603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577397349,"filename":"image_11012025_07_34_02_837569_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/135b7d056a04e29074343aef1a391599.jpg","text":"TemporaryFile(/tmp/multipartBody417480989641833993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577397349,"filename":"image_11012025_07_33_02_244527_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b333c96d518eb62d2d3ecda94b9e5558.jpg","text":"TemporaryFile(/tmp/multipartBody1403673468561540855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577397349,"filename":"image_11012025_07_33_02_244527_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7b5aab1174f878433dd09410218f8b69.jpg","text":"TemporaryFile(/tmp/multipartBody5355228888840220673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577397349,"filename":"image_11012025_07_33_02_244527_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/21114c91bf9b973e3bec466a6f99aa6f.jpg","text":"TemporaryFile(/tmp/multipartBody630808025204182062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577397349,"filename":"image_11012025_07_34_02_837569_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7afcaa57748ba9316a284a817fc19ae9.jpg","text":"TemporaryFile(/tmp/multipartBody6641788703721069330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577397349,"filename":"image_11012025_07_34_02_837569_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328082693","file1":"1328082690","file0":"1328082687","file4":"1328082701","file5":"1328082704","file3":"1328082695"},"map_files_photo_id_array":[{"photo_id":"1328082704","filename":"file5"},{"photo_id":"1328082693","filename":"file2"},{"photo_id":"1328082701","filename":"file4"},{"photo_id":"1328082690","filename":"file1"},{"photo_id":"1328082687","filename":"file0"},{"photo_id":"1328082695","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328082701":["hashtag1","hashtag2"]},{"1328082693":["hashtag1","hashtag2"]},{"1328082690":["hashtag1","hashtag2"]},{"1328082687":["hashtag1","hashtag2"]},{"1328082695":["hashtag1","hashtag2"]},{"1328082704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328082701, 1328082693, 1328082690, 1328082687, 1328082695, 1328082704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.77044105529785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:36:22.048503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/34/image_11012025_07_34_02_837569_0003.jpg', '/home/pi/Desktop/images/11012025/07/35/image_11012025_07_35_02_359216_0000.jpg', '/home/pi/Desktop/images/11012025/07/35/image_11012025_07_35_02_359216_0001.jpg', '/home/pi/Desktop/images/11012025/07/35/image_11012025_07_35_02_359216_0002.jpg', '/home/pi/Desktop/images/11012025/07/35/image_11012025_07_35_02_359216_0003.jpg', '/home/pi/Desktop/images/11012025/07/36/image_11012025_07_36_02_900384_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/34/image_11012025_07_34_02_837569_0003.jpg
/home/pi/Desktop/images/11012025/07/35/image_11012025_07_35_02_359216_0000.jpg
/home/pi/Desktop/images/11012025/07/35/image_11012025_07_35_02_359216_0001.jpg
/home/pi/Desktop/images/11012025/07/35/image_11012025_07_35_02_359216_0002.jpg
/home/pi/Desktop/images/11012025/07/35/image_11012025_07_35_02_359216_0003.jpg
/home/pi/Desktop/images/11012025/07/36/image_11012025_07_36_02_900384_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328083204","1328083207","1328083185","1328083161","1328083196","1328083200"],"photo_ids_order":["1328083161","1328083185","1328083196","1328083200","1328083204","1328083207"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4678821f00c57d77f38a83f10b6a58f2.jpg","text":"TemporaryFile(/tmp/multipartBody4054123908795388451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577457071,"filename":"image_11012025_07_35_02_359216_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6268b4de3a072f4b6cda9cc5fadfd18b.jpg","text":"TemporaryFile(/tmp/multipartBody6553909597173013636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577457071,"filename":"image_11012025_07_36_02_900384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d1f7008f98671d83e3198d21d542bb88.jpg","text":"TemporaryFile(/tmp/multipartBody1446461939815304791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577457071,"filename":"image_11012025_07_35_02_359216_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/44e9bee02ccc735ef03136569e629c43.jpg","text":"TemporaryFile(/tmp/multipartBody5622916638159508447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577457071,"filename":"image_11012025_07_34_02_837569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/77e8e9a31d6951ebfa3d24fdb79ccc8f.jpg","text":"TemporaryFile(/tmp/multipartBody4572147971456706694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577457071,"filename":"image_11012025_07_35_02_359216_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/065c494531b57ddaefe3a609a391116d.jpg","text":"TemporaryFile(/tmp/multipartBody2608974510129966893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577457071,"filename":"image_11012025_07_35_02_359216_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328083196","file1":"1328083185","file0":"1328083161","file4":"1328083204","file5":"1328083207","file3":"1328083200"},"map_files_photo_id_array":[{"photo_id":"1328083207","filename":"file5"},{"photo_id":"1328083196","filename":"file2"},{"photo_id":"1328083204","filename":"file4"},{"photo_id":"1328083185","filename":"file1"},{"photo_id":"1328083161","filename":"file0"},{"photo_id":"1328083200","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328083204":["hashtag1","hashtag2"]},{"1328083207":["hashtag1","hashtag2"]},{"1328083185":["hashtag1","hashtag2"]},{"1328083161":["hashtag1","hashtag2"]},{"1328083196":["hashtag1","hashtag2"]},{"1328083200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328083204, 1328083207, 1328083185, 1328083161, 1328083196, 1328083200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.74992084503174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:37:22.581901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/36/image_11012025_07_36_02_900384_0001.jpg', '/home/pi/Desktop/images/11012025/07/36/image_11012025_07_36_02_900384_0002.jpg', '/home/pi/Desktop/images/11012025/07/36/image_11012025_07_36_02_900384_0003.jpg', '/home/pi/Desktop/images/11012025/07/37/image_11012025_07_37_02_383131_0001.jpg', '/home/pi/Desktop/images/11012025/07/37/image_11012025_07_37_02_383131_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/36/image_11012025_07_36_02_900384_0001.jpg
/home/pi/Desktop/images/11012025/07/36/image_11012025_07_36_02_900384_0002.jpg
/home/pi/Desktop/images/11012025/07/36/image_11012025_07_36_02_900384_0003.jpg
/home/pi/Desktop/images/11012025/07/37/image_11012025_07_37_02_383131_0001.jpg
/home/pi/Desktop/images/11012025/07/37/image_11012025_07_37_02_383131_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328083222","1328083215","1328083224","1328083218","1328083212"],"photo_ids_order":["1328083212","1328083215","1328083218","1328083222","1328083224"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d0ceeecd45e1d120f9b1da4b853564a7.jpg","text":"TemporaryFile(/tmp/multipartBody4655366222580041550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577515213,"filename":"image_11012025_07_37_02_383131_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/73ced06a8d18b23b6a5e5b896ca4104d.jpg","text":"TemporaryFile(/tmp/multipartBody759331628031171186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577515213,"filename":"image_11012025_07_36_02_900384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6bd51c17054d34a1a2a281d7a242fcf6.jpg","text":"TemporaryFile(/tmp/multipartBody7788924197422033186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577515213,"filename":"image_11012025_07_37_02_383131_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/67ea1cc14d8b5e049c50da143cb8b261.jpg","text":"TemporaryFile(/tmp/multipartBody4315227366875577957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577515213,"filename":"image_11012025_07_36_02_900384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d27e8f5130a85eeb702dfa753b85e38c.jpg","text":"TemporaryFile(/tmp/multipartBody6500358611644026106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577515213,"filename":"image_11012025_07_36_02_900384_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328083218","file1":"1328083215","file0":"1328083212","file4":"1328083224","file3":"1328083222"},"map_files_photo_id_array":[{"photo_id":"1328083218","filename":"file2"},{"photo_id":"1328083224","filename":"file4"},{"photo_id":"1328083215","filename":"file1"},{"photo_id":"1328083212","filename":"file0"},{"photo_id":"1328083222","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328083222":["hashtag1","hashtag2"]},{"1328083215":["hashtag1","hashtag2"]},{"1328083224":["hashtag1","hashtag2"]},{"1328083218":["hashtag1","hashtag2"]},{"1328083212":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328083222, 1328083215, 1328083224, 1328083218, 1328083212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.450918197631836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:38:22.132038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/37/image_11012025_07_37_02_383131_0003.jpg', '/home/pi/Desktop/images/11012025/07/38/image_11012025_07_38_02_983204_0000.jpg', '/home/pi/Desktop/images/11012025/07/38/image_11012025_07_38_02_983204_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/37/image_11012025_07_37_02_383131_0003.jpg
/home/pi/Desktop/images/11012025/07/38/image_11012025_07_38_02_983204_0000.jpg
/home/pi/Desktop/images/11012025/07/38/image_11012025_07_38_02_983204_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328083234","1328083228","1328083232"],"photo_ids_order":["1328083228","1328083232","1328083234"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6a28c938a214658d879a8a63021ecf3d.jpg","text":"TemporaryFile(/tmp/multipartBody3407837481867965402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577569976,"filename":"image_11012025_07_38_02_983204_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/27f7deef9496db6fae2f344501567a8e.jpg","text":"TemporaryFile(/tmp/multipartBody7847318346307871126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577569976,"filename":"image_11012025_07_37_02_383131_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8eba180695e588dbdaa1906b128f2c0b.jpg","text":"TemporaryFile(/tmp/multipartBody8129604940700343011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577569976,"filename":"image_11012025_07_38_02_983204_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328083234","file1":"1328083232","file0":"1328083228"},"map_files_photo_id_array":[{"photo_id":"1328083234","filename":"file2"},{"photo_id":"1328083232","filename":"file1"},{"photo_id":"1328083228","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328083234":["hashtag1","hashtag2"]},{"1328083228":["hashtag1","hashtag2"]},{"1328083232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328083234, 1328083228, 1328083232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.14213752746582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:39:03.231535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/30/image_09012025_23_30_02_530176_0003.jpg', '/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0000.jpg', '/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0001.jpg', '/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0002.jpg', '/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0003.jpg', '/home/pi/Desktop/images/09012025/23/32/image_09012025_23_32_02_940775_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/30/image_09012025_23_30_02_530176_0003.jpg
/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0000.jpg
/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0001.jpg
/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0002.jpg
/home/pi/Desktop/images/09012025/23/31/image_09012025_23_31_02_669388_0003.jpg
/home/pi/Desktop/images/09012025/23/32/image_09012025_23_32_02_940775_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328083246","1328083260","1328083248","1328083277","1328083244","1328083273"],"photo_ids_order":["1328083244","1328083246","1328083248","1328083260","1328083273","1328083277"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f44cdb6c9ef14b306b624eaa7c5e4b5e.jpg","text":"TemporaryFile(/tmp/multipartBody1752924070946148192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577619429,"filename":"image_09012025_23_31_02_669388_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6f3afa863836409f9eb8272d119a9aed.jpg","text":"TemporaryFile(/tmp/multipartBody8431819989619499905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577619429,"filename":"image_09012025_23_31_02_669388_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/53c5344fb5bd8b2f4ddc735d7591e7e5.jpg","text":"TemporaryFile(/tmp/multipartBody2285421396311608720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577619429,"filename":"image_09012025_23_31_02_669388_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0689c2eb204704a7914d711dc22b65d2.jpg","text":"TemporaryFile(/tmp/multipartBody8562236431860103705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577619429,"filename":"image_09012025_23_32_02_940775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/28e03bf4d51d61461d9d93b3c4866219.jpg","text":"TemporaryFile(/tmp/multipartBody2307524704093439566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577619429,"filename":"image_09012025_23_30_02_530176_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/83b34362956816e7c1b1fb1b358f2f84.jpg","text":"TemporaryFile(/tmp/multipartBody1858096886013806909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577619429,"filename":"image_09012025_23_31_02_669388_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328083248","file1":"1328083246","file0":"1328083244","file4":"1328083273","file5":"1328083277","file3":"1328083260"},"map_files_photo_id_array":[{"photo_id":"1328083277","filename":"file5"},{"photo_id":"1328083248","filename":"file2"},{"photo_id":"1328083273","filename":"file4"},{"photo_id":"1328083246","filename":"file1"},{"photo_id":"1328083244","filename":"file0"},{"photo_id":"1328083260","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328083246":["hashtag1","hashtag2"]},{"1328083260":["hashtag1","hashtag2"]},{"1328083248":["hashtag1","hashtag2"]},{"1328083277":["hashtag1","hashtag2"]},{"1328083244":["hashtag1","hashtag2"]},{"1328083273":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328083246, 1328083260, 1328083248, 1328083277, 1328083244, 1328083273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.66722750663757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:40:02.768584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/38/image_11012025_07_38_02_983204_0002.jpg', '/home/pi/Desktop/images/11012025/07/39/image_11012025_07_39_02_509252_0000.jpg', '/home/pi/Desktop/images/11012025/07/39/image_11012025_07_39_02_509252_0001.jpg', '/home/pi/Desktop/images/11012025/07/39/image_11012025_07_39_02_509252_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/38/image_11012025_07_38_02_983204_0002.jpg
/home/pi/Desktop/images/11012025/07/39/image_11012025_07_39_02_509252_0000.jpg
/home/pi/Desktop/images/11012025/07/39/image_11012025_07_39_02_509252_0001.jpg
/home/pi/Desktop/images/11012025/07/39/image_11012025_07_39_02_509252_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.755403280258179 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:40:22.307158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/38/image_11012025_07_38_02_983204_0002.jpg', '/home/pi/Desktop/images/11012025/07/39/image_11012025_07_39_02_509252_0000.jpg', '/home/pi/Desktop/images/11012025/07/39/image_11012025_07_39_02_509252_0001.jpg', '/home/pi/Desktop/images/11012025/07/39/image_11012025_07_39_02_509252_0002.jpg', '/home/pi/Desktop/images/11012025/07/39/image_11012025_07_39_02_509252_0003.jpg', '/home/pi/Desktop/images/11012025/07/40/image_11012025_07_40_02_984880_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/38/image_11012025_07_38_02_983204_0002.jpg
/home/pi/Desktop/images/11012025/07/39/image_11012025_07_39_02_509252_0000.jpg
/home/pi/Desktop/images/11012025/07/39/image_11012025_07_39_02_509252_0001.jpg
/home/pi/Desktop/images/11012025/07/39/image_11012025_07_39_02_509252_0002.jpg
/home/pi/Desktop/images/11012025/07/39/image_11012025_07_39_02_509252_0003.jpg
/home/pi/Desktop/images/11012025/07/40/image_11012025_07_40_02_984880_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328083303","1328083299","1328083292","1328083295","1328083301","1328083297"],"photo_ids_order":["1328083292","1328083295","1328083297","1328083299","1328083301","1328083303"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/da315d693107a22810d2e2bf73099578.jpg","text":"TemporaryFile(/tmp/multipartBody5725804937470840915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577697182,"filename":"image_11012025_07_40_02_984880_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/11b7a6adc7327a1ca086c58edd97d457.jpg","text":"TemporaryFile(/tmp/multipartBody5984667555260535856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577697182,"filename":"image_11012025_07_39_02_509252_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2320d9d59367ccdc99ab7f169c5b0085.jpg","text":"TemporaryFile(/tmp/multipartBody4237585292956517332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577697182,"filename":"image_11012025_07_38_02_983204_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7cbe05e0d951ee07d05419a639704495.jpg","text":"TemporaryFile(/tmp/multipartBody5425534353837125834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577697182,"filename":"image_11012025_07_39_02_509252_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8799d31df91e8d6b71c95bfba4c7a9a8.jpg","text":"TemporaryFile(/tmp/multipartBody533957435036879001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577697182,"filename":"image_11012025_07_39_02_509252_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f4e27afadbaf9380f6280f46d969e55c.jpg","text":"TemporaryFile(/tmp/multipartBody6313937663964931825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577697182,"filename":"image_11012025_07_39_02_509252_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328083297","file1":"1328083295","file0":"1328083292","file4":"1328083301","file5":"1328083303","file3":"1328083299"},"map_files_photo_id_array":[{"photo_id":"1328083303","filename":"file5"},{"photo_id":"1328083297","filename":"file2"},{"photo_id":"1328083301","filename":"file4"},{"photo_id":"1328083295","filename":"file1"},{"photo_id":"1328083292","filename":"file0"},{"photo_id":"1328083299","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328083303":["hashtag1","hashtag2"]},{"1328083299":["hashtag1","hashtag2"]},{"1328083292":["hashtag1","hashtag2"]},{"1328083295":["hashtag1","hashtag2"]},{"1328083301":["hashtag1","hashtag2"]},{"1328083297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328083303, 1328083299, 1328083292, 1328083295, 1328083301, 1328083297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.7208034992218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:41:21.878534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/40/image_11012025_07_40_02_984880_0001.jpg', '/home/pi/Desktop/images/11012025/07/40/image_11012025_07_40_02_984880_0002.jpg', '/home/pi/Desktop/images/11012025/07/40/image_11012025_07_40_02_984880_0003.jpg', '/home/pi/Desktop/images/11012025/07/41/image_11012025_07_41_02_723054_0000.jpg', '/home/pi/Desktop/images/11012025/07/41/image_11012025_07_41_02_723054_0001.jpg', '/home/pi/Desktop/images/11012025/07/41/image_11012025_07_41_02_723054_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/40/image_11012025_07_40_02_984880_0001.jpg
/home/pi/Desktop/images/11012025/07/40/image_11012025_07_40_02_984880_0002.jpg
/home/pi/Desktop/images/11012025/07/40/image_11012025_07_40_02_984880_0003.jpg
/home/pi/Desktop/images/11012025/07/41/image_11012025_07_41_02_723054_0000.jpg
/home/pi/Desktop/images/11012025/07/41/image_11012025_07_41_02_723054_0001.jpg
/home/pi/Desktop/images/11012025/07/41/image_11012025_07_41_02_723054_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328083315","1328083309","1328083317","1328083311","1328083313","1328083307"],"photo_ids_order":["1328083307","1328083309","1328083311","1328083313","1328083315","1328083317"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a06a5b8d8f764e53ba64cf3a9a8e6613.jpg","text":"TemporaryFile(/tmp/multipartBody5884758997025950432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577756668,"filename":"image_11012025_07_41_02_723054_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d7983fb0b9cdbcd0cedbc1de84b67a3f.jpg","text":"TemporaryFile(/tmp/multipartBody399113666334492450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577756668,"filename":"image_11012025_07_40_02_984880_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/975cbc3938d364b6724b147225110aee.jpg","text":"TemporaryFile(/tmp/multipartBody2544066693386076702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577756668,"filename":"image_11012025_07_41_02_723054_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6be76e16669db6682e641f27ab28b0b3.jpg","text":"TemporaryFile(/tmp/multipartBody4309291407897602251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577756668,"filename":"image_11012025_07_40_02_984880_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1601eb95cfdd599dace1a6e664e5dc99.jpg","text":"TemporaryFile(/tmp/multipartBody1895368057965098421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577756668,"filename":"image_11012025_07_41_02_723054_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3fed9a325155ec9909fce1807473cd2b.jpg","text":"TemporaryFile(/tmp/multipartBody1795709138431940816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577756668,"filename":"image_11012025_07_40_02_984880_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328083311","file1":"1328083309","file0":"1328083307","file4":"1328083315","file5":"1328083317","file3":"1328083313"},"map_files_photo_id_array":[{"photo_id":"1328083317","filename":"file5"},{"photo_id":"1328083311","filename":"file2"},{"photo_id":"1328083315","filename":"file4"},{"photo_id":"1328083309","filename":"file1"},{"photo_id":"1328083307","filename":"file0"},{"photo_id":"1328083313","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328083315":["hashtag1","hashtag2"]},{"1328083309":["hashtag1","hashtag2"]},{"1328083317":["hashtag1","hashtag2"]},{"1328083311":["hashtag1","hashtag2"]},{"1328083313":["hashtag1","hashtag2"]},{"1328083307":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328083315, 1328083309, 1328083317, 1328083311, 1328083313, 1328083307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.32376551628113 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:42:22.341415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/41/image_11012025_07_41_02_723054_0003.jpg', '/home/pi/Desktop/images/11012025/07/42/image_11012025_07_42_02_248839_0000.jpg', '/home/pi/Desktop/images/11012025/07/42/image_11012025_07_42_02_248839_0001.jpg', '/home/pi/Desktop/images/11012025/07/42/image_11012025_07_42_02_248839_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/41/image_11012025_07_41_02_723054_0003.jpg
/home/pi/Desktop/images/11012025/07/42/image_11012025_07_42_02_248839_0000.jpg
/home/pi/Desktop/images/11012025/07/42/image_11012025_07_42_02_248839_0001.jpg
/home/pi/Desktop/images/11012025/07/42/image_11012025_07_42_02_248839_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328083321","1328083339","1328083324","1328083343"],"photo_ids_order":["1328083321","1328083324","1328083339","1328083343"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e135f6782d9f0bd00ec061484e2830eb.jpg","text":"TemporaryFile(/tmp/multipartBody6358785457844572340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577812567,"filename":"image_11012025_07_41_02_723054_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b6fac11a18b991a6982687f062165c0e.jpg","text":"TemporaryFile(/tmp/multipartBody730982624067082116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577812567,"filename":"image_11012025_07_42_02_248839_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/62df99dc57044256a3d197279e408bdb.jpg","text":"TemporaryFile(/tmp/multipartBody6627715579725078625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577812567,"filename":"image_11012025_07_42_02_248839_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/53c2ff3bc31f77a10790916cd82597ca.jpg","text":"TemporaryFile(/tmp/multipartBody125587360906920614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577812567,"filename":"image_11012025_07_42_02_248839_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328083339","file1":"1328083324","file0":"1328083321","file3":"1328083343"},"map_files_photo_id_array":[{"photo_id":"1328083339","filename":"file2"},{"photo_id":"1328083324","filename":"file1"},{"photo_id":"1328083321","filename":"file0"},{"photo_id":"1328083343","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328083321":["hashtag1","hashtag2"]},{"1328083339":["hashtag1","hashtag2"]},{"1328083324":["hashtag1","hashtag2"]},{"1328083343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328083321, 1328083339, 1328083324, 1328083343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.61717510223389 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:43:21.990594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/42/image_11012025_07_42_02_248839_0003.jpg', '/home/pi/Desktop/images/11012025/07/43/image_11012025_07_43_02_854871_0000.jpg', '/home/pi/Desktop/images/11012025/07/43/image_11012025_07_43_02_854871_0001.jpg', '/home/pi/Desktop/images/11012025/07/43/image_11012025_07_43_02_854871_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/42/image_11012025_07_42_02_248839_0003.jpg
/home/pi/Desktop/images/11012025/07/43/image_11012025_07_43_02_854871_0000.jpg
/home/pi/Desktop/images/11012025/07/43/image_11012025_07_43_02_854871_0001.jpg
/home/pi/Desktop/images/11012025/07/43/image_11012025_07_43_02_854871_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328083425","1328083422","1328083355","1328083427"],"photo_ids_order":["1328083355","1328083422","1328083425","1328083427"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/72a4837b3b38c0eb5e2011cb844b5dbd.jpg","text":"TemporaryFile(/tmp/multipartBody4008940117884833522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577872132,"filename":"image_11012025_07_43_02_854871_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c0573c1745107a88d505b0373e39476d.jpg","text":"TemporaryFile(/tmp/multipartBody651583903132723705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577872132,"filename":"image_11012025_07_43_02_854871_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/170962f0854b14d834dfe6004c14ddec.jpg","text":"TemporaryFile(/tmp/multipartBody4749719812605883884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577872132,"filename":"image_11012025_07_42_02_248839_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dd1d0345ab9c453361ea509c9323605a.jpg","text":"TemporaryFile(/tmp/multipartBody1442290276661127895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577872132,"filename":"image_11012025_07_43_02_854871_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328083425","file1":"1328083422","file0":"1328083355","file3":"1328083427"},"map_files_photo_id_array":[{"photo_id":"1328083425","filename":"file2"},{"photo_id":"1328083422","filename":"file1"},{"photo_id":"1328083355","filename":"file0"},{"photo_id":"1328083427","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328083425":["hashtag1","hashtag2"]},{"1328083422":["hashtag1","hashtag2"]},{"1328083355":["hashtag1","hashtag2"]},{"1328083427":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328083425, 1328083422, 1328083355, 1328083427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.117011070251465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:44:02.941286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/32/image_09012025_23_32_02_940775_0001.jpg', '/home/pi/Desktop/images/09012025/23/32/image_09012025_23_32_02_940775_0002.jpg', '/home/pi/Desktop/images/09012025/23/32/image_09012025_23_32_02_940775_0003.jpg', '/home/pi/Desktop/images/09012025/23/33/image_09012025_23_33_02_212563_0000.jpg', '/home/pi/Desktop/images/09012025/23/33/image_09012025_23_33_02_212563_0001.jpg', '/home/pi/Desktop/images/09012025/23/33/image_09012025_23_33_02_212563_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/32/image_09012025_23_32_02_940775_0001.jpg
/home/pi/Desktop/images/09012025/23/32/image_09012025_23_32_02_940775_0002.jpg
/home/pi/Desktop/images/09012025/23/32/image_09012025_23_32_02_940775_0003.jpg
/home/pi/Desktop/images/09012025/23/33/image_09012025_23_33_02_212563_0000.jpg
/home/pi/Desktop/images/09012025/23/33/image_09012025_23_33_02_212563_0001.jpg
/home/pi/Desktop/images/09012025/23/33/image_09012025_23_33_02_212563_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328083441","1328083438","1328083443","1328083472","1328083475","1328083453"],"photo_ids_order":["1328083438","1328083441","1328083443","1328083453","1328083472","1328083475"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b3da82572f93635d0ff7c51cffe16df9.jpg","text":"TemporaryFile(/tmp/multipartBody7549076198167485359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577919014,"filename":"image_09012025_23_32_02_940775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/860693e7919aaf67eb5176650a4520b6.jpg","text":"TemporaryFile(/tmp/multipartBody3790049467314727815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577919014,"filename":"image_09012025_23_32_02_940775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7f26fc311decac1b90eaab29fc8e5664.jpg","text":"TemporaryFile(/tmp/multipartBody4839176678285479311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577919014,"filename":"image_09012025_23_32_02_940775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b77e5671ad897aeccb32d6c4bba854b2.jpg","text":"TemporaryFile(/tmp/multipartBody26832665503216273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577919014,"filename":"image_09012025_23_33_02_212563_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cb848dc539518a092bfa3ede447924d2.jpg","text":"TemporaryFile(/tmp/multipartBody3394815464647857825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577919014,"filename":"image_09012025_23_33_02_212563_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fe79b148a95acb2067c5231b206e498f.jpg","text":"TemporaryFile(/tmp/multipartBody6502712202761154012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577919014,"filename":"image_09012025_23_33_02_212563_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328083443","file1":"1328083441","file0":"1328083438","file4":"1328083472","file5":"1328083475","file3":"1328083453"},"map_files_photo_id_array":[{"photo_id":"1328083475","filename":"file5"},{"photo_id":"1328083443","filename":"file2"},{"photo_id":"1328083472","filename":"file4"},{"photo_id":"1328083441","filename":"file1"},{"photo_id":"1328083438","filename":"file0"},{"photo_id":"1328083453","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328083441":["hashtag1","hashtag2"]},{"1328083438":["hashtag1","hashtag2"]},{"1328083443":["hashtag1","hashtag2"]},{"1328083472":["hashtag1","hashtag2"]},{"1328083475":["hashtag1","hashtag2"]},{"1328083453":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328083441, 1328083438, 1328083443, 1328083472, 1328083475, 1328083453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.677032709121704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:45:02.698390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/43/image_11012025_07_43_02_854871_0003.jpg', '/home/pi/Desktop/images/11012025/07/44/image_11012025_07_44_02_349318_0000.jpg', '/home/pi/Desktop/images/11012025/07/44/image_11012025_07_44_02_349318_0001.jpg', '/home/pi/Desktop/images/11012025/07/44/image_11012025_07_44_02_349318_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/43/image_11012025_07_43_02_854871_0003.jpg
/home/pi/Desktop/images/11012025/07/44/image_11012025_07_44_02_349318_0000.jpg
/home/pi/Desktop/images/11012025/07/44/image_11012025_07_44_02_349318_0001.jpg
/home/pi/Desktop/images/11012025/07/44/image_11012025_07_44_02_349318_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328083509","1328083496","1328083594","1328083495"],"photo_ids_order":["1328083495","1328083496","1328083509","1328083594"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/94fde540b6abc132d1f5729c79c3271c.jpg","text":"TemporaryFile(/tmp/multipartBody8578796982026753357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577972786,"filename":"image_11012025_07_44_02_349318_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e0c1f96c0d429848b7b20a0969063ebe.jpg","text":"TemporaryFile(/tmp/multipartBody3258439857598190390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577972786,"filename":"image_11012025_07_44_02_349318_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3daded264bca708298d2122583e1f9fd.jpg","text":"TemporaryFile(/tmp/multipartBody3193166780771964854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577972786,"filename":"image_11012025_07_44_02_349318_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/609696ab51beaefc529fab35461b60e8.jpg","text":"TemporaryFile(/tmp/multipartBody5263266578516110283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736577972786,"filename":"image_11012025_07_43_02_854871_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328083509","file1":"1328083496","file0":"1328083495","file3":"1328083594"},"map_files_photo_id_array":[{"photo_id":"1328083509","filename":"file2"},{"photo_id":"1328083496","filename":"file1"},{"photo_id":"1328083495","filename":"file0"},{"photo_id":"1328083594","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328083509":["hashtag1","hashtag2"]},{"1328083496":["hashtag1","hashtag2"]},{"1328083594":["hashtag1","hashtag2"]},{"1328083495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328083509, 1328083496, 1328083594, 1328083495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.60984015464783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:46:03.042875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/44/image_11012025_07_44_02_349318_0003.jpg', '/home/pi/Desktop/images/11012025/07/45/image_11012025_07_45_02_895813_0000.jpg', '/home/pi/Desktop/images/11012025/07/45/image_11012025_07_45_02_895813_0001.jpg', '/home/pi/Desktop/images/11012025/07/45/image_11012025_07_45_02_895813_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/44/image_11012025_07_44_02_349318_0003.jpg
/home/pi/Desktop/images/11012025/07/45/image_11012025_07_45_02_895813_0000.jpg
/home/pi/Desktop/images/11012025/07/45/image_11012025_07_45_02_895813_0001.jpg
/home/pi/Desktop/images/11012025/07/45/image_11012025_07_45_02_895813_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328083635","1328083640","1328083634","1328083637"],"photo_ids_order":["1328083634","1328083635","1328083637","1328083640"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e7838cfc55c9298b116a1864ec27900a.jpg","text":"TemporaryFile(/tmp/multipartBody703676296061891553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578033270,"filename":"image_11012025_07_45_02_895813_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/56aec366ccbf72b5941b6bc24b3ed5fb.jpg","text":"TemporaryFile(/tmp/multipartBody3496337439236756400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578033270,"filename":"image_11012025_07_45_02_895813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/575785939c341765199f38db275e8854.jpg","text":"TemporaryFile(/tmp/multipartBody8209248759335468339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578033270,"filename":"image_11012025_07_44_02_349318_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5fa98e594a02aad4c0b7443a04ee1836.jpg","text":"TemporaryFile(/tmp/multipartBody3340675874661909082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578033270,"filename":"image_11012025_07_45_02_895813_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328083637","file1":"1328083635","file0":"1328083634","file3":"1328083640"},"map_files_photo_id_array":[{"photo_id":"1328083637","filename":"file2"},{"photo_id":"1328083635","filename":"file1"},{"photo_id":"1328083634","filename":"file0"},{"photo_id":"1328083640","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328083635":["hashtag1","hashtag2"]},{"1328083640":["hashtag1","hashtag2"]},{"1328083634":["hashtag1","hashtag2"]},{"1328083637":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328083635, 1328083640, 1328083634, 1328083637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.73092341423035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:47:02.893720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/45/image_11012025_07_45_02_895813_0003.jpg', '/home/pi/Desktop/images/11012025/07/46/image_11012025_07_46_02_455895_0000.jpg', '/home/pi/Desktop/images/11012025/07/46/image_11012025_07_46_02_455895_0001.jpg', '/home/pi/Desktop/images/11012025/07/46/image_11012025_07_46_02_455895_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/45/image_11012025_07_45_02_895813_0003.jpg
/home/pi/Desktop/images/11012025/07/46/image_11012025_07_46_02_455895_0000.jpg
/home/pi/Desktop/images/11012025/07/46/image_11012025_07_46_02_455895_0001.jpg
/home/pi/Desktop/images/11012025/07/46/image_11012025_07_46_02_455895_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328083656","1328083655","1328083658","1328083666"],"photo_ids_order":["1328083655","1328083656","1328083658","1328083666"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/157401ed451499825cd095d116dd4ccd.jpg","text":"TemporaryFile(/tmp/multipartBody4034553909425797745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578093171,"filename":"image_11012025_07_46_02_455895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/67d9c0605cd5272a43f1e3fdbb5467e2.jpg","text":"TemporaryFile(/tmp/multipartBody6778968048119036057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578093171,"filename":"image_11012025_07_45_02_895813_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d11a26c63009ecb5a56dfd097aa8413e.jpg","text":"TemporaryFile(/tmp/multipartBody8044210938956176975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578093171,"filename":"image_11012025_07_46_02_455895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ab5eeb801e35322ab2eb1712e6fd349f.jpg","text":"TemporaryFile(/tmp/multipartBody6943822581707159835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578093171,"filename":"image_11012025_07_46_02_455895_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328083658","file1":"1328083656","file0":"1328083655","file3":"1328083666"},"map_files_photo_id_array":[{"photo_id":"1328083658","filename":"file2"},{"photo_id":"1328083656","filename":"file1"},{"photo_id":"1328083655","filename":"file0"},{"photo_id":"1328083666","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328083656":["hashtag1","hashtag2"]},{"1328083655":["hashtag1","hashtag2"]},{"1328083658":["hashtag1","hashtag2"]},{"1328083666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328083656, 1328083655, 1328083658, 1328083666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.81695795059204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:48:02.172067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/46/image_11012025_07_46_02_455895_0003.jpg', '/home/pi/Desktop/images/11012025/07/47/image_11012025_07_47_03_006770_0000.jpg', '/home/pi/Desktop/images/11012025/07/47/image_11012025_07_47_03_006770_0001.jpg', '/home/pi/Desktop/images/11012025/07/47/image_11012025_07_47_03_006770_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/46/image_11012025_07_46_02_455895_0003.jpg
/home/pi/Desktop/images/11012025/07/47/image_11012025_07_47_03_006770_0000.jpg
/home/pi/Desktop/images/11012025/07/47/image_11012025_07_47_03_006770_0001.jpg
/home/pi/Desktop/images/11012025/07/47/image_11012025_07_47_03_006770_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.703470230102539 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:48:21.788762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/46/image_11012025_07_46_02_455895_0003.jpg', '/home/pi/Desktop/images/11012025/07/47/image_11012025_07_47_03_006770_0000.jpg', '/home/pi/Desktop/images/11012025/07/47/image_11012025_07_47_03_006770_0001.jpg', '/home/pi/Desktop/images/11012025/07/47/image_11012025_07_47_03_006770_0002.jpg', '/home/pi/Desktop/images/11012025/07/47/image_11012025_07_47_03_006770_0003.jpg', '/home/pi/Desktop/images/11012025/07/48/image_11012025_07_48_02_554186_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/46/image_11012025_07_46_02_455895_0003.jpg
/home/pi/Desktop/images/11012025/07/47/image_11012025_07_47_03_006770_0000.jpg
/home/pi/Desktop/images/11012025/07/47/image_11012025_07_47_03_006770_0001.jpg
/home/pi/Desktop/images/11012025/07/47/image_11012025_07_47_03_006770_0002.jpg
/home/pi/Desktop/images/11012025/07/47/image_11012025_07_47_03_006770_0003.jpg
/home/pi/Desktop/images/11012025/07/48/image_11012025_07_48_02_554186_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328084409","1328084322","1328084423","1328084411","1328084413","1328084521"],"photo_ids_order":["1328084322","1328084409","1328084411","1328084413","1328084423","1328084521"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2878d9a1887d2ab3dd646f7830f8783a.jpg","text":"TemporaryFile(/tmp/multipartBody1223817621835358565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578176542,"filename":"image_11012025_07_47_03_006770_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/65765870d6f69b28daa452269ba82fda.jpg","text":"TemporaryFile(/tmp/multipartBody52809938353638026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578176542,"filename":"image_11012025_07_46_02_455895_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1877aef65dd4737818f7b6a9be016d5f.jpg","text":"TemporaryFile(/tmp/multipartBody3255356816271410999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578176542,"filename":"image_11012025_07_47_03_006770_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/13c54796ec67e03ba1ea6de322d28d4b.jpg","text":"TemporaryFile(/tmp/multipartBody1980969893876877706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578176542,"filename":"image_11012025_07_47_03_006770_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/78b166b4261e6d1e6fd5c2f762205baf.jpg","text":"TemporaryFile(/tmp/multipartBody8871353023180092299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578176542,"filename":"image_11012025_07_47_03_006770_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c0519e760e2de1146576cafed56dc939.jpg","text":"TemporaryFile(/tmp/multipartBody5066166719268796947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578176542,"filename":"image_11012025_07_48_02_554186_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328084411","file1":"1328084409","file0":"1328084322","file4":"1328084423","file5":"1328084521","file3":"1328084413"},"map_files_photo_id_array":[{"photo_id":"1328084521","filename":"file5"},{"photo_id":"1328084411","filename":"file2"},{"photo_id":"1328084423","filename":"file4"},{"photo_id":"1328084409","filename":"file1"},{"photo_id":"1328084322","filename":"file0"},{"photo_id":"1328084413","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328084409":["hashtag1","hashtag2"]},{"1328084322":["hashtag1","hashtag2"]},{"1328084423":["hashtag1","hashtag2"]},{"1328084411":["hashtag1","hashtag2"]},{"1328084413":["hashtag1","hashtag2"]},{"1328084521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328084409, 1328084322, 1328084423, 1328084411, 1328084413, 1328084521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.19204020500183 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:49:22.257946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/48/image_11012025_07_48_02_554186_0001.jpg', '/home/pi/Desktop/images/11012025/07/48/image_11012025_07_48_02_554186_0002.jpg', '/home/pi/Desktop/images/11012025/07/48/image_11012025_07_48_02_554186_0003.jpg', '/home/pi/Desktop/images/11012025/07/49/image_11012025_07_49_02_155171_0000.jpg', '/home/pi/Desktop/images/11012025/07/49/image_11012025_07_49_02_155171_0001.jpg', '/home/pi/Desktop/images/11012025/07/49/image_11012025_07_49_02_155171_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/48/image_11012025_07_48_02_554186_0001.jpg
/home/pi/Desktop/images/11012025/07/48/image_11012025_07_48_02_554186_0002.jpg
/home/pi/Desktop/images/11012025/07/48/image_11012025_07_48_02_554186_0003.jpg
/home/pi/Desktop/images/11012025/07/49/image_11012025_07_49_02_155171_0000.jpg
/home/pi/Desktop/images/11012025/07/49/image_11012025_07_49_02_155171_0001.jpg
/home/pi/Desktop/images/11012025/07/49/image_11012025_07_49_02_155171_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328084562","1328084544","1328084531","1328084534","1328084528","1328084536"],"photo_ids_order":["1328084528","1328084531","1328084534","1328084536","1328084544","1328084562"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e35920532fc094d44555a37fc8f3dfc5.jpg","text":"TemporaryFile(/tmp/multipartBody6338292203262930632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578237124,"filename":"image_11012025_07_49_02_155171_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c0f0ec97e702343b9412b8bf4c98c4a.jpg","text":"TemporaryFile(/tmp/multipartBody6833593995020876505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578237124,"filename":"image_11012025_07_49_02_155171_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1582c0d1d53d3d9d5e86586935c1e47a.jpg","text":"TemporaryFile(/tmp/multipartBody6296969043929396614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578237124,"filename":"image_11012025_07_48_02_554186_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ddd5167321d9fdf65024833f724b92e6.jpg","text":"TemporaryFile(/tmp/multipartBody6859348258121556269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578237124,"filename":"image_11012025_07_48_02_554186_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c244948c0b653db9dcc0fb9c701f7d38.jpg","text":"TemporaryFile(/tmp/multipartBody7939625325678817261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578237124,"filename":"image_11012025_07_48_02_554186_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7457aa1c49df24945bc6a9a945ce5e78.jpg","text":"TemporaryFile(/tmp/multipartBody8666826223982491593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578237124,"filename":"image_11012025_07_49_02_155171_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328084534","file1":"1328084531","file0":"1328084528","file4":"1328084544","file5":"1328084562","file3":"1328084536"},"map_files_photo_id_array":[{"photo_id":"1328084562","filename":"file5"},{"photo_id":"1328084534","filename":"file2"},{"photo_id":"1328084544","filename":"file4"},{"photo_id":"1328084531","filename":"file1"},{"photo_id":"1328084528","filename":"file0"},{"photo_id":"1328084536","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328084562":["hashtag1","hashtag2"]},{"1328084544":["hashtag1","hashtag2"]},{"1328084531":["hashtag1","hashtag2"]},{"1328084534":["hashtag1","hashtag2"]},{"1328084528":["hashtag1","hashtag2"]},{"1328084536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328084562, 1328084544, 1328084531, 1328084534, 1328084528, 1328084536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.13804483413696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:50:21.800794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/49/image_11012025_07_49_02_155171_0003.jpg', '/home/pi/Desktop/images/11012025/07/50/image_11012025_07_50_02_693411_0000.jpg', '/home/pi/Desktop/images/11012025/07/50/image_11012025_07_50_02_693411_0001.jpg', '/home/pi/Desktop/images/11012025/07/50/image_11012025_07_50_02_693411_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/49/image_11012025_07_49_02_155171_0003.jpg
/home/pi/Desktop/images/11012025/07/50/image_11012025_07_50_02_693411_0000.jpg
/home/pi/Desktop/images/11012025/07/50/image_11012025_07_50_02_693411_0001.jpg
/home/pi/Desktop/images/11012025/07/50/image_11012025_07_50_02_693411_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328084586","1328084577","1328084591","1328084581"],"photo_ids_order":["1328084577","1328084581","1328084586","1328084591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cf03a53fae6ed8034637dbd14cf234e2.jpg","text":"TemporaryFile(/tmp/multipartBody5227283834994358495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578291862,"filename":"image_11012025_07_50_02_693411_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4bc50e26532efb3abd92b0ffffb1178c.jpg","text":"TemporaryFile(/tmp/multipartBody8033407009657037158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578291862,"filename":"image_11012025_07_49_02_155171_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8435ec4a6050a5f26902572bd72f6114.jpg","text":"TemporaryFile(/tmp/multipartBody6212263240718932770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578291862,"filename":"image_11012025_07_50_02_693411_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fbd40ee552d108dd43ef88e0713766f2.jpg","text":"TemporaryFile(/tmp/multipartBody3982365343215960121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578291862,"filename":"image_11012025_07_50_02_693411_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328084586","file1":"1328084581","file0":"1328084577","file3":"1328084591"},"map_files_photo_id_array":[{"photo_id":"1328084586","filename":"file2"},{"photo_id":"1328084581","filename":"file1"},{"photo_id":"1328084577","filename":"file0"},{"photo_id":"1328084591","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328084586":["hashtag1","hashtag2"]},{"1328084577":["hashtag1","hashtag2"]},{"1328084591":["hashtag1","hashtag2"]},{"1328084581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328084586, 1328084577, 1328084591, 1328084581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.356406450271606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:51:22.251102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/50/image_11012025_07_50_02_693411_0003.jpg', '/home/pi/Desktop/images/11012025/07/51/image_11012025_07_51_02_152269_0000.jpg', '/home/pi/Desktop/images/11012025/07/51/image_11012025_07_51_02_152269_0001.jpg', '/home/pi/Desktop/images/11012025/07/51/image_11012025_07_51_02_152269_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/50/image_11012025_07_50_02_693411_0003.jpg
/home/pi/Desktop/images/11012025/07/51/image_11012025_07_51_02_152269_0000.jpg
/home/pi/Desktop/images/11012025/07/51/image_11012025_07_51_02_152269_0001.jpg
/home/pi/Desktop/images/11012025/07/51/image_11012025_07_51_02_152269_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328084706","1328084726","1328084708","1328084740"],"photo_ids_order":["1328084706","1328084708","1328084726","1328084740"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e387742474d6902ebe2aa5ff9b8bbe25.jpg","text":"TemporaryFile(/tmp/multipartBody8432612354194771763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578352343,"filename":"image_11012025_07_50_02_693411_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/061fb820770acb822f2da20cb4c05d89.jpg","text":"TemporaryFile(/tmp/multipartBody910885401021963830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578352343,"filename":"image_11012025_07_51_02_152269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8e75e58b25150f402e0555c5c0309ae1.jpg","text":"TemporaryFile(/tmp/multipartBody554527578933658138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578352343,"filename":"image_11012025_07_51_02_152269_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/48de735325f445221cf376feeedc4b43.jpg","text":"TemporaryFile(/tmp/multipartBody3934036847496398378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578352343,"filename":"image_11012025_07_51_02_152269_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328084726","file1":"1328084708","file0":"1328084706","file3":"1328084740"},"map_files_photo_id_array":[{"photo_id":"1328084726","filename":"file2"},{"photo_id":"1328084708","filename":"file1"},{"photo_id":"1328084706","filename":"file0"},{"photo_id":"1328084740","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328084706":["hashtag1","hashtag2"]},{"1328084726":["hashtag1","hashtag2"]},{"1328084708":["hashtag1","hashtag2"]},{"1328084740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328084706, 1328084726, 1328084708, 1328084740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.479772090911865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:52:21.745049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/51/image_11012025_07_51_02_152269_0003.jpg', '/home/pi/Desktop/images/11012025/07/52/image_11012025_07_52_02_640577_0000.jpg', '/home/pi/Desktop/images/11012025/07/52/image_11012025_07_52_02_640577_0001.jpg', '/home/pi/Desktop/images/11012025/07/52/image_11012025_07_52_02_640577_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/51/image_11012025_07_51_02_152269_0003.jpg
/home/pi/Desktop/images/11012025/07/52/image_11012025_07_52_02_640577_0000.jpg
/home/pi/Desktop/images/11012025/07/52/image_11012025_07_52_02_640577_0001.jpg
/home/pi/Desktop/images/11012025/07/52/image_11012025_07_52_02_640577_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328084751","1328084756","1328084759","1328084747"],"photo_ids_order":["1328084747","1328084751","1328084756","1328084759"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4000fadeef14828c2b5d7a81e94f794c.jpg","text":"TemporaryFile(/tmp/multipartBody6063207418901189178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578411904,"filename":"image_11012025_07_52_02_640577_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7ca7abadea76386d7b8bf2f53188b5e6.jpg","text":"TemporaryFile(/tmp/multipartBody8981781664921549266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578411904,"filename":"image_11012025_07_52_02_640577_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/667a523898c5133dfd61dfd236ad6c4e.jpg","text":"TemporaryFile(/tmp/multipartBody1101579872965927297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578411904,"filename":"image_11012025_07_52_02_640577_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/80a82e8d20c0608f8d783590ada5aa80.jpg","text":"TemporaryFile(/tmp/multipartBody414105617246517668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578411904,"filename":"image_11012025_07_51_02_152269_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328084756","file1":"1328084751","file0":"1328084747","file3":"1328084759"},"map_files_photo_id_array":[{"photo_id":"1328084756","filename":"file2"},{"photo_id":"1328084751","filename":"file1"},{"photo_id":"1328084747","filename":"file0"},{"photo_id":"1328084759","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328084751":["hashtag1","hashtag2"]},{"1328084756":["hashtag1","hashtag2"]},{"1328084759":["hashtag1","hashtag2"]},{"1328084747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328084751, 1328084756, 1328084759, 1328084747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.81395888328552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 07:53:22.489381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/52/image_11012025_07_52_02_640577_0003.jpg', '/home/pi/Desktop/images/11012025/07/53/image_11012025_07_53_02_187273_0000.jpg', '/home/pi/Desktop/images/11012025/07/53/image_11012025_07_53_02_187273_0001.jpg', '/home/pi/Desktop/images/11012025/07/53/image_11012025_07_53_02_187273_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/52/image_11012025_07_52_02_640577_0003.jpg
/home/pi/Desktop/images/11012025/07/53/image_11012025_07_53_02_187273_0000.jpg
/home/pi/Desktop/images/11012025/07/53/image_11012025_07_53_02_187273_0001.jpg
/home/pi/Desktop/images/11012025/07/53/image_11012025_07_53_02_187273_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328084792","1328084795","1328084789","1328084798"],"photo_ids_order":["1328084789","1328084792","1328084795","1328084798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/15761b9f1bd35a8c865a70301462917d.jpg","text":"TemporaryFile(/tmp/multipartBody4996823942300236864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578472696,"filename":"image_11012025_07_53_02_187273_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e023337273b5060ff511d9773520f1e4.jpg","text":"TemporaryFile(/tmp/multipartBody2039906150520539513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578472696,"filename":"image_11012025_07_53_02_187273_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1b7dfd9d2c786191e41fa5ebdb5c2bfd.jpg","text":"TemporaryFile(/tmp/multipartBody7381329346358764893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578472696,"filename":"image_11012025_07_52_02_640577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/96493eabb9b3db12d430b01190fd1a24.jpg","text":"TemporaryFile(/tmp/multipartBody2998811677054846881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578472696,"filename":"image_11012025_07_53_02_187273_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328084795","file1":"1328084792","file0":"1328084789","file3":"1328084798"},"map_files_photo_id_array":[{"photo_id":"1328084795","filename":"file2"},{"photo_id":"1328084792","filename":"file1"},{"photo_id":"1328084789","filename":"file0"},{"photo_id":"1328084798","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328084792":["hashtag1","hashtag2"]},{"1328084795":["hashtag1","hashtag2"]},{"1328084789":["hashtag1","hashtag2"]},{"1328084798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328084792, 1328084795, 1328084789, 1328084798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.151484966278076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:54:02.284583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/33/image_09012025_23_33_02_212563_0003.jpg', '/home/pi/Desktop/images/09012025/23/34/image_09012025_23_34_02_326375_0000.jpg', '/home/pi/Desktop/images/09012025/23/34/image_09012025_23_34_02_326375_0001.jpg', '/home/pi/Desktop/images/09012025/23/34/image_09012025_23_34_02_326375_0002.jpg', '/home/pi/Desktop/images/09012025/23/34/image_09012025_23_34_02_326375_0003.jpg', '/home/pi/Desktop/images/09012025/23/35/image_09012025_23_35_02_598737_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/33/image_09012025_23_33_02_212563_0003.jpg
/home/pi/Desktop/images/09012025/23/34/image_09012025_23_34_02_326375_0000.jpg
/home/pi/Desktop/images/09012025/23/34/image_09012025_23_34_02_326375_0001.jpg
/home/pi/Desktop/images/09012025/23/34/image_09012025_23_34_02_326375_0002.jpg
/home/pi/Desktop/images/09012025/23/34/image_09012025_23_34_02_326375_0003.jpg
/home/pi/Desktop/images/09012025/23/35/image_09012025_23_35_02_598737_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328084865","1328084814","1328084802","1328084843","1328084804","1328084806"],"photo_ids_order":["1328084802","1328084804","1328084806","1328084814","1328084843","1328084865"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1a9cf2b899bfd7233c9977e315214bc5.jpg","text":"TemporaryFile(/tmp/multipartBody6091611504058214656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578518632,"filename":"image_09012025_23_35_02_598737_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/242b0a3f5d9314d444845843d65e8cf9.jpg","text":"TemporaryFile(/tmp/multipartBody3167507490418076107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578518632,"filename":"image_09012025_23_34_02_326375_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/09a46918f847cdd83165e03794004a63.jpg","text":"TemporaryFile(/tmp/multipartBody927899804190003210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578518632,"filename":"image_09012025_23_33_02_212563_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c31da30d971d8b63507bdad568f012a9.jpg","text":"TemporaryFile(/tmp/multipartBody2270598460559662588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578518632,"filename":"image_09012025_23_34_02_326375_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/525b745b45aeefb1521cdd41ec9af977.jpg","text":"TemporaryFile(/tmp/multipartBody4369237118084362185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578518632,"filename":"image_09012025_23_34_02_326375_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/07af9928faf292d15cf5cc5d0afb4116.jpg","text":"TemporaryFile(/tmp/multipartBody3428717301880258283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578518632,"filename":"image_09012025_23_34_02_326375_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328084806","file1":"1328084804","file0":"1328084802","file4":"1328084843","file5":"1328084865","file3":"1328084814"},"map_files_photo_id_array":[{"photo_id":"1328084865","filename":"file5"},{"photo_id":"1328084806","filename":"file2"},{"photo_id":"1328084843","filename":"file4"},{"photo_id":"1328084804","filename":"file1"},{"photo_id":"1328084802","filename":"file0"},{"photo_id":"1328084814","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328084865":["hashtag1","hashtag2"]},{"1328084814":["hashtag1","hashtag2"]},{"1328084802":["hashtag1","hashtag2"]},{"1328084843":["hashtag1","hashtag2"]},{"1328084804":["hashtag1","hashtag2"]},{"1328084806":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328084865, 1328084814, 1328084802, 1328084843, 1328084804, 1328084806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.76932978630066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:55:02.976530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/53/image_11012025_07_53_02_187273_0003.jpg', '/home/pi/Desktop/images/11012025/07/54/image_11012025_07_54_02_712159_0000.jpg', '/home/pi/Desktop/images/11012025/07/54/image_11012025_07_54_02_712159_0001.jpg', '/home/pi/Desktop/images/11012025/07/54/image_11012025_07_54_02_712159_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/53/image_11012025_07_53_02_187273_0003.jpg
/home/pi/Desktop/images/11012025/07/54/image_11012025_07_54_02_712159_0000.jpg
/home/pi/Desktop/images/11012025/07/54/image_11012025_07_54_02_712159_0001.jpg
/home/pi/Desktop/images/11012025/07/54/image_11012025_07_54_02_712159_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328084879","1328084983","1328084878","1328084881"],"photo_ids_order":["1328084878","1328084879","1328084881","1328084983"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4c3fed0366cf66e808a44e9db51322a1.jpg","text":"TemporaryFile(/tmp/multipartBody8488187124017077373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578573114,"filename":"image_11012025_07_54_02_712159_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6e9dc1d67a0b008662ac6387ee7977b7.jpg","text":"TemporaryFile(/tmp/multipartBody8408350154044592204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578573114,"filename":"image_11012025_07_54_02_712159_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6e63ddb9aa0d101075b7985a93200001.jpg","text":"TemporaryFile(/tmp/multipartBody1547023018856396336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578573114,"filename":"image_11012025_07_53_02_187273_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/35dc601fa080ad4f3b802ddac1cde7dd.jpg","text":"TemporaryFile(/tmp/multipartBody3538298055485286254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578573114,"filename":"image_11012025_07_54_02_712159_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328084881","file1":"1328084879","file0":"1328084878","file3":"1328084983"},"map_files_photo_id_array":[{"photo_id":"1328084881","filename":"file2"},{"photo_id":"1328084879","filename":"file1"},{"photo_id":"1328084878","filename":"file0"},{"photo_id":"1328084983","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328084879":["hashtag1","hashtag2"]},{"1328084983":["hashtag1","hashtag2"]},{"1328084878":["hashtag1","hashtag2"]},{"1328084881":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328084879, 1328084983, 1328084878, 1328084881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.17602610588074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:56:02.308759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/54/image_11012025_07_54_02_712159_0003.jpg', '/home/pi/Desktop/images/11012025/07/55/image_11012025_07_55_02_214251_0000.jpg', '/home/pi/Desktop/images/11012025/07/55/image_11012025_07_55_02_214251_0001.jpg', '/home/pi/Desktop/images/11012025/07/55/image_11012025_07_55_02_214251_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/54/image_11012025_07_54_02_712159_0003.jpg
/home/pi/Desktop/images/11012025/07/55/image_11012025_07_55_02_214251_0000.jpg
/home/pi/Desktop/images/11012025/07/55/image_11012025_07_55_02_214251_0001.jpg
/home/pi/Desktop/images/11012025/07/55/image_11012025_07_55_02_214251_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328085024","1328085020","1328085022","1328085019"],"photo_ids_order":["1328085019","1328085020","1328085022","1328085024"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9964cc88b30575548370129bc622c487.jpg","text":"TemporaryFile(/tmp/multipartBody8938721720879427026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578632472,"filename":"image_11012025_07_55_02_214251_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b5b612957a62ed1428bd1e3bac663daa.jpg","text":"TemporaryFile(/tmp/multipartBody9213562724384589877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578632472,"filename":"image_11012025_07_55_02_214251_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/000e8a5780ef5bd4896441c3cb2c15ad.jpg","text":"TemporaryFile(/tmp/multipartBody7511178767998237880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578632472,"filename":"image_11012025_07_55_02_214251_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d10870ab7efd393196ed275247f5833a.jpg","text":"TemporaryFile(/tmp/multipartBody7504999085024072619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578632472,"filename":"image_11012025_07_54_02_712159_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328085022","file1":"1328085020","file0":"1328085019","file3":"1328085024"},"map_files_photo_id_array":[{"photo_id":"1328085022","filename":"file2"},{"photo_id":"1328085020","filename":"file1"},{"photo_id":"1328085019","filename":"file0"},{"photo_id":"1328085024","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328085024":["hashtag1","hashtag2"]},{"1328085020":["hashtag1","hashtag2"]},{"1328085022":["hashtag1","hashtag2"]},{"1328085019":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328085024, 1328085020, 1328085022, 1328085019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.15412616729736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:57:03.076261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/55/image_11012025_07_55_02_214251_0003.jpg', '/home/pi/Desktop/images/11012025/07/56/image_11012025_07_56_02_680977_0000.jpg', '/home/pi/Desktop/images/11012025/07/56/image_11012025_07_56_02_680977_0001.jpg', '/home/pi/Desktop/images/11012025/07/56/image_11012025_07_56_02_680977_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/55/image_11012025_07_55_02_214251_0003.jpg
/home/pi/Desktop/images/11012025/07/56/image_11012025_07_56_02_680977_0000.jpg
/home/pi/Desktop/images/11012025/07/56/image_11012025_07_56_02_680977_0001.jpg
/home/pi/Desktop/images/11012025/07/56/image_11012025_07_56_02_680977_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328085159","1328085164","1328085160","1328085162"],"photo_ids_order":["1328085159","1328085160","1328085162","1328085164"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f8541bb3f9cd857b42ba4fae5c3a2366.jpg","text":"TemporaryFile(/tmp/multipartBody760222418726791156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578693234,"filename":"image_11012025_07_55_02_214251_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4db799423df303ea3b3983032017cd4c.jpg","text":"TemporaryFile(/tmp/multipartBody2216760140650530751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578693234,"filename":"image_11012025_07_56_02_680977_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/069e2ac8f6506dada19760b6f48ddf96.jpg","text":"TemporaryFile(/tmp/multipartBody202710347895436662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578693234,"filename":"image_11012025_07_56_02_680977_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dbca1a9deeeaa508bfa47da6ed0fa342.jpg","text":"TemporaryFile(/tmp/multipartBody8798341351475267177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578693234,"filename":"image_11012025_07_56_02_680977_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328085162","file1":"1328085160","file0":"1328085159","file3":"1328085164"},"map_files_photo_id_array":[{"photo_id":"1328085162","filename":"file2"},{"photo_id":"1328085160","filename":"file1"},{"photo_id":"1328085159","filename":"file0"},{"photo_id":"1328085164","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328085159":["hashtag1","hashtag2"]},{"1328085164":["hashtag1","hashtag2"]},{"1328085160":["hashtag1","hashtag2"]},{"1328085162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328085159, 1328085164, 1328085160, 1328085162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.6777229309082 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 07:59:02.889545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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-11 07:59:22.229701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/56/image_11012025_07_56_02_680977_0003.jpg', '/home/pi/Desktop/images/11012025/07/57/image_11012025_07_57_02_298288_0000.jpg', '/home/pi/Desktop/images/11012025/07/57/image_11012025_07_57_02_298288_0001.jpg', '/home/pi/Desktop/images/11012025/07/57/image_11012025_07_57_02_298288_0002.jpg', '/home/pi/Desktop/images/11012025/07/57/image_11012025_07_57_02_298288_0003.jpg', '/home/pi/Desktop/images/11012025/07/58/image_11012025_07_58_02_837800_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/56/image_11012025_07_56_02_680977_0003.jpg
/home/pi/Desktop/images/11012025/07/57/image_11012025_07_57_02_298288_0000.jpg
/home/pi/Desktop/images/11012025/07/57/image_11012025_07_57_02_298288_0001.jpg
/home/pi/Desktop/images/11012025/07/57/image_11012025_07_57_02_298288_0002.jpg
/home/pi/Desktop/images/11012025/07/57/image_11012025_07_57_02_298288_0003.jpg
/home/pi/Desktop/images/11012025/07/58/image_11012025_07_58_02_837800_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328085327","1328085251","1328085347","1328085250","1328085351","1328085249"],"photo_ids_order":["1328085249","1328085250","1328085251","1328085327","1328085347","1328085351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c98d2cac3e948495f29be9208b428093.jpg","text":"TemporaryFile(/tmp/multipartBody9115738810106064031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578837017,"filename":"image_11012025_07_57_02_298288_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ea6da594c5e14ca7f222c78b138e2782.jpg","text":"TemporaryFile(/tmp/multipartBody4761555708729283414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578837017,"filename":"image_11012025_07_57_02_298288_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aa827f88d97e93b22b694860cf29abc6.jpg","text":"TemporaryFile(/tmp/multipartBody748398325836109061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578837017,"filename":"image_11012025_07_57_02_298288_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f9bccca7ecf30b239e13f809c15ea2f0.jpg","text":"TemporaryFile(/tmp/multipartBody5439726209534426708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578837017,"filename":"image_11012025_07_57_02_298288_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/08c60a7a3e0c41eebcdfc658c206b504.jpg","text":"TemporaryFile(/tmp/multipartBody178308449559919151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578837017,"filename":"image_11012025_07_58_02_837800_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8e6c16ca16352bb9ccaf31cad9d36f7e.jpg","text":"TemporaryFile(/tmp/multipartBody4088742270638592589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578837017,"filename":"image_11012025_07_56_02_680977_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328085251","file1":"1328085250","file0":"1328085249","file4":"1328085347","file5":"1328085351","file3":"1328085327"},"map_files_photo_id_array":[{"photo_id":"1328085351","filename":"file5"},{"photo_id":"1328085251","filename":"file2"},{"photo_id":"1328085347","filename":"file4"},{"photo_id":"1328085250","filename":"file1"},{"photo_id":"1328085249","filename":"file0"},{"photo_id":"1328085327","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328085327":["hashtag1","hashtag2"]},{"1328085251":["hashtag1","hashtag2"]},{"1328085347":["hashtag1","hashtag2"]},{"1328085250":["hashtag1","hashtag2"]},{"1328085351":["hashtag1","hashtag2"]},{"1328085249":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328085327, 1328085251, 1328085347, 1328085250, 1328085351, 1328085249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.859071493148804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:00:22.753478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/58/image_11012025_07_58_02_837800_0001.jpg', '/home/pi/Desktop/images/11012025/07/58/image_11012025_07_58_02_837800_0002.jpg', '/home/pi/Desktop/images/11012025/07/58/image_11012025_07_58_02_837800_0003.jpg', '/home/pi/Desktop/images/11012025/07/59/image_11012025_07_59_02_425045_0000.jpg', '/home/pi/Desktop/images/11012025/07/59/image_11012025_07_59_02_425045_0001.jpg', '/home/pi/Desktop/images/11012025/07/59/image_11012025_07_59_02_425045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/58/image_11012025_07_58_02_837800_0001.jpg
/home/pi/Desktop/images/11012025/07/58/image_11012025_07_58_02_837800_0002.jpg
/home/pi/Desktop/images/11012025/07/58/image_11012025_07_58_02_837800_0003.jpg
/home/pi/Desktop/images/11012025/07/59/image_11012025_07_59_02_425045_0000.jpg
/home/pi/Desktop/images/11012025/07/59/image_11012025_07_59_02_425045_0001.jpg
/home/pi/Desktop/images/11012025/07/59/image_11012025_07_59_02_425045_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328085408","1328085392","1328085371","1328085374","1328085368","1328085384"],"photo_ids_order":["1328085368","1328085371","1328085374","1328085384","1328085392","1328085408"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/caf7b02dc98538d14311c2859708cf5f.jpg","text":"TemporaryFile(/tmp/multipartBody500514385521943210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578897623,"filename":"image_11012025_07_59_02_425045_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7131b1712a4a05e9f8e7d9d897dbb295.jpg","text":"TemporaryFile(/tmp/multipartBody1556381008788915438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578897623,"filename":"image_11012025_07_59_02_425045_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/71da5d71fa4b1043a78af816286836a7.jpg","text":"TemporaryFile(/tmp/multipartBody7135896901709427549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578897623,"filename":"image_11012025_07_58_02_837800_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6da10eac4bee0060725200952c669c41.jpg","text":"TemporaryFile(/tmp/multipartBody1375995773761393678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578897623,"filename":"image_11012025_07_58_02_837800_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8e66cffff4d414cb61066f34efa5518f.jpg","text":"TemporaryFile(/tmp/multipartBody7930795716984681578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578897623,"filename":"image_11012025_07_58_02_837800_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3907b611f9d9ce9e131aa184282b01df.jpg","text":"TemporaryFile(/tmp/multipartBody337915405483070632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578897623,"filename":"image_11012025_07_59_02_425045_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328085374","file1":"1328085371","file0":"1328085368","file4":"1328085392","file5":"1328085408","file3":"1328085384"},"map_files_photo_id_array":[{"photo_id":"1328085408","filename":"file5"},{"photo_id":"1328085374","filename":"file2"},{"photo_id":"1328085392","filename":"file4"},{"photo_id":"1328085371","filename":"file1"},{"photo_id":"1328085368","filename":"file0"},{"photo_id":"1328085384","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328085408":["hashtag1","hashtag2"]},{"1328085392":["hashtag1","hashtag2"]},{"1328085371":["hashtag1","hashtag2"]},{"1328085374":["hashtag1","hashtag2"]},{"1328085368":["hashtag1","hashtag2"]},{"1328085384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328085408, 1328085392, 1328085371, 1328085374, 1328085368, 1328085384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.932711362838745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:01:22.278834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/07/59/image_11012025_07_59_02_425045_0003.jpg', '/home/pi/Desktop/images/11012025/08/00/image_11012025_08_00_02_533934_0000.jpg', '/home/pi/Desktop/images/11012025/08/00/image_11012025_08_00_02_533934_0001.jpg', '/home/pi/Desktop/images/11012025/08/00/image_11012025_08_00_02_533934_0002.jpg', '/home/pi/Desktop/images/11012025/08/00/image_11012025_08_00_02_533934_0003.jpg', '/home/pi/Desktop/images/11012025/08/01/image_11012025_08_01_03_110707_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/07/59/image_11012025_07_59_02_425045_0003.jpg
/home/pi/Desktop/images/11012025/08/00/image_11012025_08_00_02_533934_0000.jpg
/home/pi/Desktop/images/11012025/08/00/image_11012025_08_00_02_533934_0001.jpg
/home/pi/Desktop/images/11012025/08/00/image_11012025_08_00_02_533934_0002.jpg
/home/pi/Desktop/images/11012025/08/00/image_11012025_08_00_02_533934_0003.jpg
/home/pi/Desktop/images/11012025/08/01/image_11012025_08_01_03_110707_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328085423","1328085425","1328085418","1328085427","1328085421","1328085415"],"photo_ids_order":["1328085415","1328085418","1328085421","1328085423","1328085425","1328085427"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/77b49fc65d1ed3bbef269450a6815f95.jpg","text":"TemporaryFile(/tmp/multipartBody7658620774871442318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578957192,"filename":"image_11012025_08_00_02_533934_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d58d221fd5dadb426de7f509e5c0e4f4.jpg","text":"TemporaryFile(/tmp/multipartBody4648148739611966778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578957192,"filename":"image_11012025_08_00_02_533934_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9c178dcbe164e49e7b6d8998b56fc927.jpg","text":"TemporaryFile(/tmp/multipartBody3742278807638143810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578957192,"filename":"image_11012025_08_00_02_533934_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/43fa1e3311f5388c61e419a777d57d36.jpg","text":"TemporaryFile(/tmp/multipartBody6705576294019873618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578957192,"filename":"image_11012025_08_01_03_110707_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/54870cedb2be3a2bffaa89dc412b8fda.jpg","text":"TemporaryFile(/tmp/multipartBody8949411321868936405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578957192,"filename":"image_11012025_08_00_02_533934_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2613489fa77c1f8e099e8bbc70d27dd6.jpg","text":"TemporaryFile(/tmp/multipartBody791419352522874304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736578957192,"filename":"image_11012025_07_59_02_425045_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328085421","file1":"1328085418","file0":"1328085415","file4":"1328085425","file5":"1328085427","file3":"1328085423"},"map_files_photo_id_array":[{"photo_id":"1328085427","filename":"file5"},{"photo_id":"1328085421","filename":"file2"},{"photo_id":"1328085425","filename":"file4"},{"photo_id":"1328085418","filename":"file1"},{"photo_id":"1328085415","filename":"file0"},{"photo_id":"1328085423","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328085423":["hashtag1","hashtag2"]},{"1328085425":["hashtag1","hashtag2"]},{"1328085418":["hashtag1","hashtag2"]},{"1328085427":["hashtag1","hashtag2"]},{"1328085421":["hashtag1","hashtag2"]},{"1328085415":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328085423, 1328085425, 1328085418, 1328085427, 1328085421, 1328085415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.58950638771057 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:02:21.789345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/01/image_11012025_08_01_03_110707_0001.jpg', '/home/pi/Desktop/images/11012025/08/01/image_11012025_08_01_03_110707_0002.jpg', '/home/pi/Desktop/images/11012025/08/01/image_11012025_08_01_03_110707_0003.jpg', '/home/pi/Desktop/images/11012025/08/02/image_11012025_08_02_02_650959_0000.jpg', '/home/pi/Desktop/images/11012025/08/02/image_11012025_08_02_02_650959_0001.jpg', '/home/pi/Desktop/images/11012025/08/02/image_11012025_08_02_02_650959_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/01/image_11012025_08_01_03_110707_0001.jpg
/home/pi/Desktop/images/11012025/08/01/image_11012025_08_01_03_110707_0002.jpg
/home/pi/Desktop/images/11012025/08/01/image_11012025_08_01_03_110707_0003.jpg
/home/pi/Desktop/images/11012025/08/02/image_11012025_08_02_02_650959_0000.jpg
/home/pi/Desktop/images/11012025/08/02/image_11012025_08_02_02_650959_0001.jpg
/home/pi/Desktop/images/11012025/08/02/image_11012025_08_02_02_650959_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328085441","1328085437","1328085652","1328086003","1328085445","1328085432"],"photo_ids_order":["1328085432","1328085437","1328085441","1328085445","1328085652","1328086003"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0344336e87e6cc8373774d9800d9bad4.jpg","text":"TemporaryFile(/tmp/multipartBody2351011216508291723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579016792,"filename":"image_11012025_08_01_03_110707_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/17a3535b90209b73c6c8af0e1fb56c21.jpg","text":"TemporaryFile(/tmp/multipartBody3408629877102021909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579016792,"filename":"image_11012025_08_01_03_110707_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/92116e0663e997c1c6b690d08e3d9825.jpg","text":"TemporaryFile(/tmp/multipartBody6178307875458924136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579016792,"filename":"image_11012025_08_02_02_650959_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a524b16dd793cba3f1817d142062cf0f.jpg","text":"TemporaryFile(/tmp/multipartBody6491043477008644233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579016792,"filename":"image_11012025_08_02_02_650959_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bda32253c9bd6139f3bb176f9a40e44d.jpg","text":"TemporaryFile(/tmp/multipartBody8560037535745558040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579016792,"filename":"image_11012025_08_02_02_650959_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/923959a15f863ed00a4c3607a0ef9ce4.jpg","text":"TemporaryFile(/tmp/multipartBody3398036940368741186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579016792,"filename":"image_11012025_08_01_03_110707_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328085441","file1":"1328085437","file0":"1328085432","file4":"1328085652","file5":"1328086003","file3":"1328085445"},"map_files_photo_id_array":[{"photo_id":"1328086003","filename":"file5"},{"photo_id":"1328085441","filename":"file2"},{"photo_id":"1328085652","filename":"file4"},{"photo_id":"1328085437","filename":"file1"},{"photo_id":"1328085432","filename":"file0"},{"photo_id":"1328085445","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328085441":["hashtag1","hashtag2"]},{"1328085437":["hashtag1","hashtag2"]},{"1328085652":["hashtag1","hashtag2"]},{"1328086003":["hashtag1","hashtag2"]},{"1328085445":["hashtag1","hashtag2"]},{"1328085432":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328085441, 1328085437, 1328085652, 1328086003, 1328085445, 1328085432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.278258323669434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:03:22.312203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/02/image_11012025_08_02_02_650959_0003.jpg', '/home/pi/Desktop/images/11012025/08/03/image_11012025_08_03_02_175066_0000.jpg', '/home/pi/Desktop/images/11012025/08/03/image_11012025_08_03_02_175066_0001.jpg', '/home/pi/Desktop/images/11012025/08/03/image_11012025_08_03_02_175066_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/02/image_11012025_08_02_02_650959_0003.jpg
/home/pi/Desktop/images/11012025/08/03/image_11012025_08_03_02_175066_0000.jpg
/home/pi/Desktop/images/11012025/08/03/image_11012025_08_03_02_175066_0001.jpg
/home/pi/Desktop/images/11012025/08/03/image_11012025_08_03_02_175066_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328086083","1328086086","1328086089","1328086104"],"photo_ids_order":["1328086083","1328086086","1328086089","1328086104"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f7b0ac18b2af896dc13e6399953ce750.jpg","text":"TemporaryFile(/tmp/multipartBody409155343633689046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579072467,"filename":"image_11012025_08_02_02_650959_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e5eacc9d6d47a7600acdb09492ed06ea.jpg","text":"TemporaryFile(/tmp/multipartBody7239512886372750288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579072467,"filename":"image_11012025_08_03_02_175066_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6296657740821625c3ded5fca8c25c1f.jpg","text":"TemporaryFile(/tmp/multipartBody1193026958523593548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579072467,"filename":"image_11012025_08_03_02_175066_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4539ccd5849588dc4d775caec9bcc0b4.jpg","text":"TemporaryFile(/tmp/multipartBody1766441140077249560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579072467,"filename":"image_11012025_08_03_02_175066_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328086089","file1":"1328086086","file0":"1328086083","file3":"1328086104"},"map_files_photo_id_array":[{"photo_id":"1328086089","filename":"file2"},{"photo_id":"1328086086","filename":"file1"},{"photo_id":"1328086083","filename":"file0"},{"photo_id":"1328086104","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328086083":["hashtag1","hashtag2"]},{"1328086086":["hashtag1","hashtag2"]},{"1328086089":["hashtag1","hashtag2"]},{"1328086104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328086083, 1328086086, 1328086089, 1328086104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.52429962158203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:04:02.284367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/35/image_09012025_23_35_02_598737_0001.jpg', '/home/pi/Desktop/images/09012025/23/35/image_09012025_23_35_02_598737_0002.jpg', '/home/pi/Desktop/images/09012025/23/35/image_09012025_23_35_02_598737_0003.jpg', '/home/pi/Desktop/images/09012025/23/36/image_09012025_23_36_02_724054_0000.jpg', '/home/pi/Desktop/images/09012025/23/36/image_09012025_23_36_02_724054_0001.jpg', '/home/pi/Desktop/images/09012025/23/36/image_09012025_23_36_02_724054_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/35/image_09012025_23_35_02_598737_0001.jpg
/home/pi/Desktop/images/09012025/23/35/image_09012025_23_35_02_598737_0002.jpg
/home/pi/Desktop/images/09012025/23/35/image_09012025_23_35_02_598737_0003.jpg
/home/pi/Desktop/images/09012025/23/36/image_09012025_23_36_02_724054_0000.jpg
/home/pi/Desktop/images/09012025/23/36/image_09012025_23_36_02_724054_0001.jpg
/home/pi/Desktop/images/09012025/23/36/image_09012025_23_36_02_724054_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328086535","1328086532","1328086514","1328086474","1328086449","1328086341"],"photo_ids_order":["1328086341","1328086449","1328086474","1328086514","1328086532","1328086535"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b4fb4ff3bd60b6bae8adb2e07f5f9d5d.jpg","text":"TemporaryFile(/tmp/multipartBody4282479385174266185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579118634,"filename":"image_09012025_23_36_02_724054_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3a99409d3e2668b6ff960699702558b7.jpg","text":"TemporaryFile(/tmp/multipartBody4394901333774743993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579118634,"filename":"image_09012025_23_36_02_724054_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/45f5818009fad37a21160d3ede9e114a.jpg","text":"TemporaryFile(/tmp/multipartBody4119139324332106854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579118634,"filename":"image_09012025_23_36_02_724054_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/25a7471b5dab99731f770e8fa26bef66.jpg","text":"TemporaryFile(/tmp/multipartBody9168023441817272913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579118634,"filename":"image_09012025_23_35_02_598737_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/effc9d0d16bb984763996e4f6d8b91d4.jpg","text":"TemporaryFile(/tmp/multipartBody6344358998695336160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579118634,"filename":"image_09012025_23_35_02_598737_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bca4a609cc2fc598c4316437ed1cf567.jpg","text":"TemporaryFile(/tmp/multipartBody5847876275089162444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579118634,"filename":"image_09012025_23_35_02_598737_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328086474","file1":"1328086449","file0":"1328086341","file4":"1328086532","file5":"1328086535","file3":"1328086514"},"map_files_photo_id_array":[{"photo_id":"1328086535","filename":"file5"},{"photo_id":"1328086474","filename":"file2"},{"photo_id":"1328086532","filename":"file4"},{"photo_id":"1328086449","filename":"file1"},{"photo_id":"1328086341","filename":"file0"},{"photo_id":"1328086514","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328086535":["hashtag1","hashtag2"]},{"1328086532":["hashtag1","hashtag2"]},{"1328086514":["hashtag1","hashtag2"]},{"1328086474":["hashtag1","hashtag2"]},{"1328086449":["hashtag1","hashtag2"]},{"1328086341":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328086535, 1328086532, 1328086514, 1328086474, 1328086449, 1328086341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.39113521575928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:05:22.270644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/03/image_11012025_08_03_02_175066_0003.jpg', '/home/pi/Desktop/images/11012025/08/04/image_11012025_08_04_02_650981_0000.jpg', '/home/pi/Desktop/images/11012025/08/04/image_11012025_08_04_02_650981_0001.jpg', '/home/pi/Desktop/images/11012025/08/04/image_11012025_08_04_02_650981_0002.jpg', '/home/pi/Desktop/images/11012025/08/04/image_11012025_08_04_02_650981_0003.jpg', '/home/pi/Desktop/images/11012025/08/05/image_11012025_08_05_02_121918_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/03/image_11012025_08_03_02_175066_0003.jpg
/home/pi/Desktop/images/11012025/08/04/image_11012025_08_04_02_650981_0000.jpg
/home/pi/Desktop/images/11012025/08/04/image_11012025_08_04_02_650981_0001.jpg
/home/pi/Desktop/images/11012025/08/04/image_11012025_08_04_02_650981_0002.jpg
/home/pi/Desktop/images/11012025/08/04/image_11012025_08_04_02_650981_0003.jpg
/home/pi/Desktop/images/11012025/08/05/image_11012025_08_05_02_121918_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328086550","1328086552","1328086543","1328086554","1328086545","1328086548"],"photo_ids_order":["1328086543","1328086545","1328086548","1328086550","1328086552","1328086554"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ed3421c12423fa925a68e4f6878ddb27.jpg","text":"TemporaryFile(/tmp/multipartBody2487999389082876871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579197259,"filename":"image_11012025_08_04_02_650981_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/420420d0d36caf6067d32a9c266b3801.jpg","text":"TemporaryFile(/tmp/multipartBody7124749857791903911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579197259,"filename":"image_11012025_08_04_02_650981_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/70f7c927d841aebf977aceeb4c5266a6.jpg","text":"TemporaryFile(/tmp/multipartBody6743849321023185422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579197259,"filename":"image_11012025_08_03_02_175066_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9fbba3204c98c66b7e8b2ef98a544fff.jpg","text":"TemporaryFile(/tmp/multipartBody5379727136521245245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579197259,"filename":"image_11012025_08_05_02_121918_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7736e4d8dde9af94e9c123a71b84e67c.jpg","text":"TemporaryFile(/tmp/multipartBody8358242628174606420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579197259,"filename":"image_11012025_08_04_02_650981_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f55829cda3239a0d36c8d1c33bda6f04.jpg","text":"TemporaryFile(/tmp/multipartBody2867055274179715801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579197259,"filename":"image_11012025_08_04_02_650981_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328086548","file1":"1328086545","file0":"1328086543","file4":"1328086552","file5":"1328086554","file3":"1328086550"},"map_files_photo_id_array":[{"photo_id":"1328086554","filename":"file5"},{"photo_id":"1328086548","filename":"file2"},{"photo_id":"1328086552","filename":"file4"},{"photo_id":"1328086545","filename":"file1"},{"photo_id":"1328086543","filename":"file0"},{"photo_id":"1328086550","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328086550":["hashtag1","hashtag2"]},{"1328086552":["hashtag1","hashtag2"]},{"1328086543":["hashtag1","hashtag2"]},{"1328086554":["hashtag1","hashtag2"]},{"1328086545":["hashtag1","hashtag2"]},{"1328086548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328086550, 1328086552, 1328086543, 1328086554, 1328086545, 1328086548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.3689181804657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:06:21.829235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/05/image_11012025_08_05_02_121918_0001.jpg', '/home/pi/Desktop/images/11012025/08/05/image_11012025_08_05_02_121918_0002.jpg', '/home/pi/Desktop/images/11012025/08/05/image_11012025_08_05_02_121918_0003.jpg', '/home/pi/Desktop/images/11012025/08/06/image_11012025_08_06_02_600484_0000.jpg', '/home/pi/Desktop/images/11012025/08/06/image_11012025_08_06_02_600484_0001.jpg', '/home/pi/Desktop/images/11012025/08/06/image_11012025_08_06_02_600484_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/05/image_11012025_08_05_02_121918_0001.jpg
/home/pi/Desktop/images/11012025/08/05/image_11012025_08_05_02_121918_0002.jpg
/home/pi/Desktop/images/11012025/08/05/image_11012025_08_05_02_121918_0003.jpg
/home/pi/Desktop/images/11012025/08/06/image_11012025_08_06_02_600484_0000.jpg
/home/pi/Desktop/images/11012025/08/06/image_11012025_08_06_02_600484_0001.jpg
/home/pi/Desktop/images/11012025/08/06/image_11012025_08_06_02_600484_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328086559","1328086582","1328086572","1328086596","1328086563","1328086598"],"photo_ids_order":["1328086559","1328086563","1328086572","1328086582","1328086596","1328086598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6c476cc749ec4c80b7d87eca026b956c.jpg","text":"TemporaryFile(/tmp/multipartBody4501308714788304034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579256905,"filename":"image_11012025_08_05_02_121918_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c92fc0e1e5ba84e89f54c9ada99a8c88.jpg","text":"TemporaryFile(/tmp/multipartBody995464649074261885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579256905,"filename":"image_11012025_08_06_02_600484_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a404ba5a3b8b26ff4d78526a3019e348.jpg","text":"TemporaryFile(/tmp/multipartBody855827088782833996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579256905,"filename":"image_11012025_08_05_02_121918_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/88163da087f26649bd7475ccd589dea1.jpg","text":"TemporaryFile(/tmp/multipartBody8878016328584756676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579256905,"filename":"image_11012025_08_06_02_600484_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/78f143085961f22b1bfde2ca22182bbb.jpg","text":"TemporaryFile(/tmp/multipartBody8996695545575456038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579256905,"filename":"image_11012025_08_05_02_121918_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/96c4afbfc9d3b79224a3e0abe19acb28.jpg","text":"TemporaryFile(/tmp/multipartBody8753104237891066895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579256905,"filename":"image_11012025_08_06_02_600484_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328086572","file1":"1328086563","file0":"1328086559","file4":"1328086596","file5":"1328086598","file3":"1328086582"},"map_files_photo_id_array":[{"photo_id":"1328086598","filename":"file5"},{"photo_id":"1328086572","filename":"file2"},{"photo_id":"1328086596","filename":"file4"},{"photo_id":"1328086563","filename":"file1"},{"photo_id":"1328086559","filename":"file0"},{"photo_id":"1328086582","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328086559":["hashtag1","hashtag2"]},{"1328086582":["hashtag1","hashtag2"]},{"1328086572":["hashtag1","hashtag2"]},{"1328086596":["hashtag1","hashtag2"]},{"1328086563":["hashtag1","hashtag2"]},{"1328086598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328086559, 1328086582, 1328086572, 1328086596, 1328086563, 1328086598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.19197678565979 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:07:22.357108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/06/image_11012025_08_06_02_600484_0003.jpg', '/home/pi/Desktop/images/11012025/08/07/image_11012025_08_07_02_209849_0001.jpg', '/home/pi/Desktop/images/11012025/08/07/image_11012025_08_07_02_209849_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/06/image_11012025_08_06_02_600484_0003.jpg
/home/pi/Desktop/images/11012025/08/07/image_11012025_08_07_02_209849_0001.jpg
/home/pi/Desktop/images/11012025/08/07/image_11012025_08_07_02_209849_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328086628","1328086631","1328086651"],"photo_ids_order":["1328086628","1328086631","1328086651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9c943882ecaf1a060ebe15d0dcfc33b5.jpg","text":"TemporaryFile(/tmp/multipartBody1942445760123830311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579310351,"filename":"image_11012025_08_06_02_600484_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/74c6de10f9f57012341be521e740870f.jpg","text":"TemporaryFile(/tmp/multipartBody3019505983273126651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579310351,"filename":"image_11012025_08_07_02_209849_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dec66e1bd32eb76d3b5e745f782d8bfd.jpg","text":"TemporaryFile(/tmp/multipartBody7066197094339851874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579310351,"filename":"image_11012025_08_07_02_209849_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328086651","file1":"1328086631","file0":"1328086628"},"map_files_photo_id_array":[{"photo_id":"1328086651","filename":"file2"},{"photo_id":"1328086631","filename":"file1"},{"photo_id":"1328086628","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328086628":["hashtag1","hashtag2"]},{"1328086631":["hashtag1","hashtag2"]},{"1328086651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328086628, 1328086631, 1328086651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.71611976623535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:08:02.286762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/36/image_09012025_23_36_02_724054_0003.jpg', '/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0000.jpg', '/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0001.jpg', '/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0002.jpg', '/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0003.jpg', '/home/pi/Desktop/images/09012025/23/38/image_09012025_23_38_03_198566_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/36/image_09012025_23_36_02_724054_0003.jpg
/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0000.jpg
/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0001.jpg
/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0002.jpg
/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0003.jpg
/home/pi/Desktop/images/09012025/23/38/image_09012025_23_38_03_198566_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.773674726486206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:08:21.920052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/07/image_11012025_08_07_02_209849_0003.jpg', '/home/pi/Desktop/images/11012025/08/08/image_11012025_08_08_02_724418_0000.jpg', '/home/pi/Desktop/images/11012025/08/08/image_11012025_08_08_02_724418_0001.jpg', '/home/pi/Desktop/images/11012025/08/08/image_11012025_08_08_02_724418_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/07/image_11012025_08_07_02_209849_0003.jpg
/home/pi/Desktop/images/11012025/08/08/image_11012025_08_08_02_724418_0000.jpg
/home/pi/Desktop/images/11012025/08/08/image_11012025_08_08_02_724418_0001.jpg
/home/pi/Desktop/images/11012025/08/08/image_11012025_08_08_02_724418_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328086666","1328086671","1328086674","1328086662"],"photo_ids_order":["1328086662","1328086666","1328086671","1328086674"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0a015e1f7cafc361fb701da7aa720cec.jpg","text":"TemporaryFile(/tmp/multipartBody7290086048710663688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579372184,"filename":"image_11012025_08_08_02_724418_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ee827fcceee6d30cddccb7ba9023c826.jpg","text":"TemporaryFile(/tmp/multipartBody9204752165088744497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579372184,"filename":"image_11012025_08_08_02_724418_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a969cf2ec702d4bdc28de748463803c6.jpg","text":"TemporaryFile(/tmp/multipartBody323341597477687962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579372184,"filename":"image_11012025_08_08_02_724418_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c25b3b85e437c7e768fcda4b02bceb7f.jpg","text":"TemporaryFile(/tmp/multipartBody4658956787132043821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579372184,"filename":"image_11012025_08_07_02_209849_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328086671","file1":"1328086666","file0":"1328086662","file3":"1328086674"},"map_files_photo_id_array":[{"photo_id":"1328086671","filename":"file2"},{"photo_id":"1328086666","filename":"file1"},{"photo_id":"1328086662","filename":"file0"},{"photo_id":"1328086674","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328086666":["hashtag1","hashtag2"]},{"1328086671":["hashtag1","hashtag2"]},{"1328086674":["hashtag1","hashtag2"]},{"1328086662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328086666, 1328086671, 1328086674, 1328086662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.63959336280823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:09:02.932133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/36/image_09012025_23_36_02_724054_0003.jpg', '/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0000.jpg', '/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0001.jpg', '/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0002.jpg', '/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0003.jpg', '/home/pi/Desktop/images/09012025/23/38/image_09012025_23_38_03_198566_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/36/image_09012025_23_36_02_724054_0003.jpg
/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0000.jpg
/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0001.jpg
/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0002.jpg
/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0003.jpg
/home/pi/Desktop/images/09012025/23/38/image_09012025_23_38_03_198566_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.674038171768188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:09:22.405085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/08/image_11012025_08_08_02_724418_0003.jpg', '/home/pi/Desktop/images/11012025/08/09/image_11012025_08_09_02_293889_0000.jpg', '/home/pi/Desktop/images/11012025/08/09/image_11012025_08_09_02_293889_0001.jpg', '/home/pi/Desktop/images/11012025/08/09/image_11012025_08_09_02_293889_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/08/image_11012025_08_08_02_724418_0003.jpg
/home/pi/Desktop/images/11012025/08/09/image_11012025_08_09_02_293889_0000.jpg
/home/pi/Desktop/images/11012025/08/09/image_11012025_08_09_02_293889_0001.jpg
/home/pi/Desktop/images/11012025/08/09/image_11012025_08_09_02_293889_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328086687","1328086720","1328086717","1328086707"],"photo_ids_order":["1328086687","1328086707","1328086717","1328086720"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f89f3e20710f82b44a5aa5c2bf1be68d.jpg","text":"TemporaryFile(/tmp/multipartBody2081757954910327398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579432759,"filename":"image_11012025_08_08_02_724418_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/24b72048f9d92e2758ab08711af195d7.jpg","text":"TemporaryFile(/tmp/multipartBody998984315210255590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579432759,"filename":"image_11012025_08_09_02_293889_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a10715c575f1e20ea7632b83a9237841.jpg","text":"TemporaryFile(/tmp/multipartBody6146398697536459715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579432759,"filename":"image_11012025_08_09_02_293889_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/68aac59372b1cbf13587f15917235c70.jpg","text":"TemporaryFile(/tmp/multipartBody7711079981424231853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579432759,"filename":"image_11012025_08_09_02_293889_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328086717","file1":"1328086707","file0":"1328086687","file3":"1328086720"},"map_files_photo_id_array":[{"photo_id":"1328086717","filename":"file2"},{"photo_id":"1328086707","filename":"file1"},{"photo_id":"1328086687","filename":"file0"},{"photo_id":"1328086720","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328086687":["hashtag1","hashtag2"]},{"1328086720":["hashtag1","hashtag2"]},{"1328086717":["hashtag1","hashtag2"]},{"1328086707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328086687, 1328086720, 1328086717, 1328086707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.864479780197144 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-11 08:10:21.939234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/09/image_11012025_08_09_02_293889_0003.jpg', '/home/pi/Desktop/images/11012025/08/10/image_11012025_08_10_02_757724_0000.jpg', '/home/pi/Desktop/images/11012025/08/10/image_11012025_08_10_02_757724_0001.jpg', '/home/pi/Desktop/images/11012025/08/10/image_11012025_08_10_02_757724_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/09/image_11012025_08_09_02_293889_0003.jpg
/home/pi/Desktop/images/11012025/08/10/image_11012025_08_10_02_757724_0000.jpg
/home/pi/Desktop/images/11012025/08/10/image_11012025_08_10_02_757724_0001.jpg
/home/pi/Desktop/images/11012025/08/10/image_11012025_08_10_02_757724_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328086985","1328086981","1328086977","1328086973"],"photo_ids_order":["1328086973","1328086977","1328086981","1328086985"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1b03bce06554c8bd7113f5f366567dca.jpg","text":"TemporaryFile(/tmp/multipartBody1634164764811136810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579492370,"filename":"image_11012025_08_10_02_757724_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d68c1c5d718c63999b25997dc75026a1.jpg","text":"TemporaryFile(/tmp/multipartBody4234326037363756506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579492370,"filename":"image_11012025_08_10_02_757724_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aec55418f5fe39954f8ec02b14089447.jpg","text":"TemporaryFile(/tmp/multipartBody8740588334033367373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579492370,"filename":"image_11012025_08_10_02_757724_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/88a90faa4b203b2c76adbe04052c1dcc.jpg","text":"TemporaryFile(/tmp/multipartBody1886706125625805472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579492370,"filename":"image_11012025_08_09_02_293889_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328086981","file1":"1328086977","file0":"1328086973","file3":"1328086985"},"map_files_photo_id_array":[{"photo_id":"1328086981","filename":"file2"},{"photo_id":"1328086977","filename":"file1"},{"photo_id":"1328086973","filename":"file0"},{"photo_id":"1328086985","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328086985":["hashtag1","hashtag2"]},{"1328086981":["hashtag1","hashtag2"]},{"1328086977":["hashtag1","hashtag2"]},{"1328086973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328086985, 1328086981, 1328086977, 1328086973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.174565076828 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:11:03.261395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/36/image_09012025_23_36_02_724054_0003.jpg', '/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0000.jpg', '/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0001.jpg', '/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0002.jpg', '/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0003.jpg', '/home/pi/Desktop/images/09012025/23/38/image_09012025_23_38_03_198566_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/36/image_09012025_23_36_02_724054_0003.jpg
/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0000.jpg
/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0001.jpg
/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0002.jpg
/home/pi/Desktop/images/09012025/23/37/image_09012025_23_37_02_897286_0003.jpg
/home/pi/Desktop/images/09012025/23/38/image_09012025_23_38_03_198566_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328086997","1328086999","1328087001","1328087010","1328087004","1328087007"],"photo_ids_order":["1328086997","1328086999","1328087001","1328087004","1328087007","1328087010"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ed61aa52eaf00c8a1eae0212523519ad.jpg","text":"TemporaryFile(/tmp/multipartBody7737351812639107157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579539346,"filename":"image_09012025_23_36_02_724054_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3847876a56472ff441247becdb04ca42.jpg","text":"TemporaryFile(/tmp/multipartBody2818794843460856739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579539346,"filename":"image_09012025_23_37_02_897286_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2a34f85ca1a271e97da6f5d95bcef89a.jpg","text":"TemporaryFile(/tmp/multipartBody8881280002888120093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579539346,"filename":"image_09012025_23_37_02_897286_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aa97826f496f602fc2afc75f1da83d50.jpg","text":"TemporaryFile(/tmp/multipartBody1605243189096179984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579539346,"filename":"image_09012025_23_38_03_198566_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d6b10af5b19bd98afe3939d5e69378a5.jpg","text":"TemporaryFile(/tmp/multipartBody8816637258760629588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579539346,"filename":"image_09012025_23_37_02_897286_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5e9dc150c12a00c93cf11e25d6d0c1f7.jpg","text":"TemporaryFile(/tmp/multipartBody4256780732903920212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579539346,"filename":"image_09012025_23_37_02_897286_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328087001","file1":"1328086999","file0":"1328086997","file4":"1328087007","file5":"1328087010","file3":"1328087004"},"map_files_photo_id_array":[{"photo_id":"1328087010","filename":"file5"},{"photo_id":"1328087001","filename":"file2"},{"photo_id":"1328087007","filename":"file4"},{"photo_id":"1328086999","filename":"file1"},{"photo_id":"1328086997","filename":"file0"},{"photo_id":"1328087004","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328086997":["hashtag1","hashtag2"]},{"1328086999":["hashtag1","hashtag2"]},{"1328087001":["hashtag1","hashtag2"]},{"1328087010":["hashtag1","hashtag2"]},{"1328087004":["hashtag1","hashtag2"]},{"1328087007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328086997, 1328086999, 1328087001, 1328087010, 1328087004, 1328087007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.81760501861572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:12:02.534609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/10/image_11012025_08_10_02_757724_0003.jpg', '/home/pi/Desktop/images/11012025/08/11/image_11012025_08_11_02_296702_0000.jpg', '/home/pi/Desktop/images/11012025/08/11/image_11012025_08_11_02_296702_0001.jpg', '/home/pi/Desktop/images/11012025/08/11/image_11012025_08_11_02_296702_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/10/image_11012025_08_10_02_757724_0003.jpg
/home/pi/Desktop/images/11012025/08/11/image_11012025_08_11_02_296702_0000.jpg
/home/pi/Desktop/images/11012025/08/11/image_11012025_08_11_02_296702_0001.jpg
/home/pi/Desktop/images/11012025/08/11/image_11012025_08_11_02_296702_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328087018","1328087015","1328087020","1328087016"],"photo_ids_order":["1328087015","1328087016","1328087018","1328087020"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ae95731ff408a69fbd96738d23fe3d99.jpg","text":"TemporaryFile(/tmp/multipartBody6253804531070700471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579592764,"filename":"image_11012025_08_11_02_296702_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7a484ef31d0026496ee47845545814d7.jpg","text":"TemporaryFile(/tmp/multipartBody357067468721674825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579592764,"filename":"image_11012025_08_10_02_757724_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/654a715f9458f014b6ba305bbb0e4510.jpg","text":"TemporaryFile(/tmp/multipartBody1034387849021096327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579592764,"filename":"image_11012025_08_11_02_296702_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dc5ea8dfa7604f01ded2f6d1c6af092f.jpg","text":"TemporaryFile(/tmp/multipartBody3531396345646272872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579592764,"filename":"image_11012025_08_11_02_296702_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328087018","file1":"1328087016","file0":"1328087015","file3":"1328087020"},"map_files_photo_id_array":[{"photo_id":"1328087018","filename":"file2"},{"photo_id":"1328087016","filename":"file1"},{"photo_id":"1328087015","filename":"file0"},{"photo_id":"1328087020","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328087018":["hashtag1","hashtag2"]},{"1328087015":["hashtag1","hashtag2"]},{"1328087020":["hashtag1","hashtag2"]},{"1328087016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328087018, 1328087015, 1328087020, 1328087016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.563636302948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:13:03.281516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/11/image_11012025_08_11_02_296702_0003.jpg', '/home/pi/Desktop/images/11012025/08/12/image_11012025_08_12_02_799274_0000.jpg', '/home/pi/Desktop/images/11012025/08/12/image_11012025_08_12_02_799274_0001.jpg', '/home/pi/Desktop/images/11012025/08/12/image_11012025_08_12_02_799274_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/11/image_11012025_08_11_02_296702_0003.jpg
/home/pi/Desktop/images/11012025/08/12/image_11012025_08_12_02_799274_0000.jpg
/home/pi/Desktop/images/11012025/08/12/image_11012025_08_12_02_799274_0001.jpg
/home/pi/Desktop/images/11012025/08/12/image_11012025_08_12_02_799274_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.936880350112915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:13:22.567364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/11/image_11012025_08_11_02_296702_0003.jpg', '/home/pi/Desktop/images/11012025/08/12/image_11012025_08_12_02_799274_0000.jpg', '/home/pi/Desktop/images/11012025/08/12/image_11012025_08_12_02_799274_0001.jpg', '/home/pi/Desktop/images/11012025/08/12/image_11012025_08_12_02_799274_0002.jpg', '/home/pi/Desktop/images/11012025/08/12/image_11012025_08_12_02_799274_0003.jpg', '/home/pi/Desktop/images/11012025/08/13/image_11012025_08_13_02_466490_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/11/image_11012025_08_11_02_296702_0003.jpg
/home/pi/Desktop/images/11012025/08/12/image_11012025_08_12_02_799274_0000.jpg
/home/pi/Desktop/images/11012025/08/12/image_11012025_08_12_02_799274_0001.jpg
/home/pi/Desktop/images/11012025/08/12/image_11012025_08_12_02_799274_0002.jpg
/home/pi/Desktop/images/11012025/08/12/image_11012025_08_12_02_799274_0003.jpg
/home/pi/Desktop/images/11012025/08/13/image_11012025_08_13_02_466490_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328087336","1328087371","1328087332","1328087373","1328087351","1328087369"],"photo_ids_order":["1328087332","1328087336","1328087351","1328087369","1328087371","1328087373"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e24da72a0ae037d5d1060f8f7eea5482.jpg","text":"TemporaryFile(/tmp/multipartBody8087725836578328408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579677676,"filename":"image_11012025_08_12_02_799274_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3c41efad36d3b1937dfaaa520ec1cb3e.jpg","text":"TemporaryFile(/tmp/multipartBody4947857981884585737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579677676,"filename":"image_11012025_08_12_02_799274_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/748ab455fe4924636d23e25fabb0f477.jpg","text":"TemporaryFile(/tmp/multipartBody3298881965702647793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579677676,"filename":"image_11012025_08_11_02_296702_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/506fadf3bf4ba5e0fb0f4eec0ac412fe.jpg","text":"TemporaryFile(/tmp/multipartBody8620863206883566159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579677676,"filename":"image_11012025_08_13_02_466490_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0c2778a4f7985a00cb221bd893590397.jpg","text":"TemporaryFile(/tmp/multipartBody5351627157233264424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579677676,"filename":"image_11012025_08_12_02_799274_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a0922d2eebceb6c9c9ba6f1629f3293f.jpg","text":"TemporaryFile(/tmp/multipartBody2061261868336397022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579677676,"filename":"image_11012025_08_12_02_799274_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328087351","file1":"1328087336","file0":"1328087332","file4":"1328087371","file5":"1328087373","file3":"1328087369"},"map_files_photo_id_array":[{"photo_id":"1328087373","filename":"file5"},{"photo_id":"1328087351","filename":"file2"},{"photo_id":"1328087371","filename":"file4"},{"photo_id":"1328087336","filename":"file1"},{"photo_id":"1328087332","filename":"file0"},{"photo_id":"1328087369","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328087336":["hashtag1","hashtag2"]},{"1328087371":["hashtag1","hashtag2"]},{"1328087332":["hashtag1","hashtag2"]},{"1328087373":["hashtag1","hashtag2"]},{"1328087351":["hashtag1","hashtag2"]},{"1328087369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328087336, 1328087371, 1328087332, 1328087373, 1328087351, 1328087369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.365716218948364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:14:22.223385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/13/image_11012025_08_13_02_466490_0001.jpg', '/home/pi/Desktop/images/11012025/08/13/image_11012025_08_13_02_466490_0002.jpg', '/home/pi/Desktop/images/11012025/08/13/image_11012025_08_13_02_466490_0003.jpg', '/home/pi/Desktop/images/11012025/08/14/image_11012025_08_14_02_957359_0000.jpg', '/home/pi/Desktop/images/11012025/08/14/image_11012025_08_14_02_957359_0001.jpg', '/home/pi/Desktop/images/11012025/08/14/image_11012025_08_14_02_957359_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/13/image_11012025_08_13_02_466490_0001.jpg
/home/pi/Desktop/images/11012025/08/13/image_11012025_08_13_02_466490_0002.jpg
/home/pi/Desktop/images/11012025/08/13/image_11012025_08_13_02_466490_0003.jpg
/home/pi/Desktop/images/11012025/08/14/image_11012025_08_14_02_957359_0000.jpg
/home/pi/Desktop/images/11012025/08/14/image_11012025_08_14_02_957359_0001.jpg
/home/pi/Desktop/images/11012025/08/14/image_11012025_08_14_02_957359_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.562676906585693 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:15:02.288688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/13/image_11012025_08_13_02_466490_0001.jpg', '/home/pi/Desktop/images/11012025/08/13/image_11012025_08_13_02_466490_0002.jpg', '/home/pi/Desktop/images/11012025/08/13/image_11012025_08_13_02_466490_0003.jpg', '/home/pi/Desktop/images/11012025/08/14/image_11012025_08_14_02_957359_0000.jpg', '/home/pi/Desktop/images/11012025/08/14/image_11012025_08_14_02_957359_0001.jpg', '/home/pi/Desktop/images/11012025/08/14/image_11012025_08_14_02_957359_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/13/image_11012025_08_13_02_466490_0001.jpg
/home/pi/Desktop/images/11012025/08/13/image_11012025_08_13_02_466490_0002.jpg
/home/pi/Desktop/images/11012025/08/13/image_11012025_08_13_02_466490_0003.jpg
/home/pi/Desktop/images/11012025/08/14/image_11012025_08_14_02_957359_0000.jpg
/home/pi/Desktop/images/11012025/08/14/image_11012025_08_14_02_957359_0001.jpg
/home/pi/Desktop/images/11012025/08/14/image_11012025_08_14_02_957359_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328087405","1328087458","1328087407","1328087454","1328087448","1328087409"],"photo_ids_order":["1328087405","1328087407","1328087409","1328087448","1328087454","1328087458"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c64329f1e2c1a7efd1f06a5235407a8.jpg","text":"TemporaryFile(/tmp/multipartBody8749397410729091786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579777352,"filename":"image_11012025_08_13_02_466490_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2c48a0b943728278cc24276c5a460f5a.jpg","text":"TemporaryFile(/tmp/multipartBody34736474621390903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579777352,"filename":"image_11012025_08_14_02_957359_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/085e86fb6bd1f545e75ab2c17f382b55.jpg","text":"TemporaryFile(/tmp/multipartBody3901174022115784743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579777352,"filename":"image_11012025_08_13_02_466490_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a8c8ae8a4a9b84d6134befaddf010aa2.jpg","text":"TemporaryFile(/tmp/multipartBody2901064606831551784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579777352,"filename":"image_11012025_08_14_02_957359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/79d1190a05bf29a434726f0f4f25f979.jpg","text":"TemporaryFile(/tmp/multipartBody3844621599331554167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579777352,"filename":"image_11012025_08_14_02_957359_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cf9814c0f7fed382f230bed1e28ddf44.jpg","text":"TemporaryFile(/tmp/multipartBody2279602329275300884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579777352,"filename":"image_11012025_08_13_02_466490_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328087409","file1":"1328087407","file0":"1328087405","file4":"1328087454","file5":"1328087458","file3":"1328087448"},"map_files_photo_id_array":[{"photo_id":"1328087458","filename":"file5"},{"photo_id":"1328087409","filename":"file2"},{"photo_id":"1328087454","filename":"file4"},{"photo_id":"1328087407","filename":"file1"},{"photo_id":"1328087405","filename":"file0"},{"photo_id":"1328087448","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328087405":["hashtag1","hashtag2"]},{"1328087458":["hashtag1","hashtag2"]},{"1328087407":["hashtag1","hashtag2"]},{"1328087454":["hashtag1","hashtag2"]},{"1328087448":["hashtag1","hashtag2"]},{"1328087409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328087405, 1328087458, 1328087407, 1328087454, 1328087448, 1328087409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.30337643623352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:16:02.823100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/14/image_11012025_08_14_02_957359_0003.jpg', '/home/pi/Desktop/images/11012025/08/15/image_11012025_08_15_02_596756_0000.jpg', '/home/pi/Desktop/images/11012025/08/15/image_11012025_08_15_02_596756_0001.jpg', '/home/pi/Desktop/images/11012025/08/15/image_11012025_08_15_02_596756_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/14/image_11012025_08_14_02_957359_0003.jpg
/home/pi/Desktop/images/11012025/08/15/image_11012025_08_15_02_596756_0000.jpg
/home/pi/Desktop/images/11012025/08/15/image_11012025_08_15_02_596756_0001.jpg
/home/pi/Desktop/images/11012025/08/15/image_11012025_08_15_02_596756_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328087497","1328087485","1328087500","1328087508"],"photo_ids_order":["1328087485","1328087497","1328087500","1328087508"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/78494cf8dbd4fa4ddc0264d48320c948.jpg","text":"TemporaryFile(/tmp/multipartBody254097767664957885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579833027,"filename":"image_11012025_08_15_02_596756_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9328f2069e8659103905129af39c2e73.jpg","text":"TemporaryFile(/tmp/multipartBody1976142799407530172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579833027,"filename":"image_11012025_08_14_02_957359_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/977be238d6b18b949f5bda81702f9ce9.jpg","text":"TemporaryFile(/tmp/multipartBody4871897775634566736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579833027,"filename":"image_11012025_08_15_02_596756_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/84fcd36d5691c8bf004facd5256f0aad.jpg","text":"TemporaryFile(/tmp/multipartBody5370114197477800415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579833027,"filename":"image_11012025_08_15_02_596756_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328087500","file1":"1328087497","file0":"1328087485","file3":"1328087508"},"map_files_photo_id_array":[{"photo_id":"1328087500","filename":"file2"},{"photo_id":"1328087497","filename":"file1"},{"photo_id":"1328087485","filename":"file0"},{"photo_id":"1328087508","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328087497":["hashtag1","hashtag2"]},{"1328087485":["hashtag1","hashtag2"]},{"1328087500":["hashtag1","hashtag2"]},{"1328087508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328087497, 1328087485, 1328087500, 1328087508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.922478437423706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:17:02.644096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/15/image_11012025_08_15_02_596756_0003.jpg', '/home/pi/Desktop/images/11012025/08/16/image_11012025_08_16_02_210294_0000.jpg', '/home/pi/Desktop/images/11012025/08/16/image_11012025_08_16_02_210294_0001.jpg', '/home/pi/Desktop/images/11012025/08/16/image_11012025_08_16_02_210294_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/15/image_11012025_08_15_02_596756_0003.jpg
/home/pi/Desktop/images/11012025/08/16/image_11012025_08_16_02_210294_0000.jpg
/home/pi/Desktop/images/11012025/08/16/image_11012025_08_16_02_210294_0001.jpg
/home/pi/Desktop/images/11012025/08/16/image_11012025_08_16_02_210294_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328087530","1328087541","1328087529","1328087546"],"photo_ids_order":["1328087529","1328087530","1328087541","1328087546"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/58c9bb68c61bd1913d5711a32238edf5.jpg","text":"TemporaryFile(/tmp/multipartBody3030377665045271862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579892839,"filename":"image_11012025_08_16_02_210294_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3ef10d5a86b2f996df2112c319fd2e53.jpg","text":"TemporaryFile(/tmp/multipartBody2266803149625842041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579892839,"filename":"image_11012025_08_16_02_210294_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5c0c0079e1ff8e73911cb9cdcee208a6.jpg","text":"TemporaryFile(/tmp/multipartBody3790050795338391422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579892839,"filename":"image_11012025_08_15_02_596756_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/db4ee73e56ce9d38761f5b380e6a00de.jpg","text":"TemporaryFile(/tmp/multipartBody1157251266168986331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579892839,"filename":"image_11012025_08_16_02_210294_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328087541","file1":"1328087530","file0":"1328087529","file3":"1328087546"},"map_files_photo_id_array":[{"photo_id":"1328087541","filename":"file2"},{"photo_id":"1328087530","filename":"file1"},{"photo_id":"1328087529","filename":"file0"},{"photo_id":"1328087546","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328087530":["hashtag1","hashtag2"]},{"1328087541":["hashtag1","hashtag2"]},{"1328087529":["hashtag1","hashtag2"]},{"1328087546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328087530, 1328087541, 1328087529, 1328087546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.847254514694214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:18:03.177013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/16/image_11012025_08_16_02_210294_0003.jpg', '/home/pi/Desktop/images/11012025/08/17/image_11012025_08_17_02_824570_0000.jpg', '/home/pi/Desktop/images/11012025/08/17/image_11012025_08_17_02_824570_0001.jpg', '/home/pi/Desktop/images/11012025/08/17/image_11012025_08_17_02_824570_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/16/image_11012025_08_16_02_210294_0003.jpg
/home/pi/Desktop/images/11012025/08/17/image_11012025_08_17_02_824570_0000.jpg
/home/pi/Desktop/images/11012025/08/17/image_11012025_08_17_02_824570_0001.jpg
/home/pi/Desktop/images/11012025/08/17/image_11012025_08_17_02_824570_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328087575","1328087578","1328087571","1328087573"],"photo_ids_order":["1328087571","1328087573","1328087575","1328087578"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9af0f8c022984accaaa75a2f4110e49a.jpg","text":"TemporaryFile(/tmp/multipartBody1063659334277511343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579953198,"filename":"image_11012025_08_17_02_824570_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f7b974945efc0234b396712f2e3d486a.jpg","text":"TemporaryFile(/tmp/multipartBody1410577885000281140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579953198,"filename":"image_11012025_08_17_02_824570_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ef89adb44c9e72b62996ca554d988a84.jpg","text":"TemporaryFile(/tmp/multipartBody6598653475898113749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579953198,"filename":"image_11012025_08_16_02_210294_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bbbde39625535772650f98b7098667b6.jpg","text":"TemporaryFile(/tmp/multipartBody2151098431054000978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736579953198,"filename":"image_11012025_08_17_02_824570_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328087575","file1":"1328087573","file0":"1328087571","file3":"1328087578"},"map_files_photo_id_array":[{"photo_id":"1328087575","filename":"file2"},{"photo_id":"1328087573","filename":"file1"},{"photo_id":"1328087571","filename":"file0"},{"photo_id":"1328087578","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328087575":["hashtag1","hashtag2"]},{"1328087578":["hashtag1","hashtag2"]},{"1328087571":["hashtag1","hashtag2"]},{"1328087573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328087575, 1328087578, 1328087571, 1328087573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.961103439331055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:19:02.798731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/17/image_11012025_08_17_02_824570_0003.jpg', '/home/pi/Desktop/images/11012025/08/18/image_11012025_08_18_02_371758_0001.jpg', '/home/pi/Desktop/images/11012025/08/18/image_11012025_08_18_02_371758_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/17/image_11012025_08_17_02_824570_0003.jpg
/home/pi/Desktop/images/11012025/08/18/image_11012025_08_18_02_371758_0001.jpg
/home/pi/Desktop/images/11012025/08/18/image_11012025_08_18_02_371758_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328087587","1328087589","1328087588"],"photo_ids_order":["1328087587","1328087588","1328087589"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7de261a242fbf50bcd8e80c6e203fc75.jpg","text":"TemporaryFile(/tmp/multipartBody5683727185139245774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580010515,"filename":"image_11012025_08_17_02_824570_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9100664c604aedad904b395d06724c1f.jpg","text":"TemporaryFile(/tmp/multipartBody7293272515070565098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580010515,"filename":"image_11012025_08_18_02_371758_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/485784c05961264f979a8fed340dcff4.jpg","text":"TemporaryFile(/tmp/multipartBody5782946428290344620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580010515,"filename":"image_11012025_08_18_02_371758_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328087589","file1":"1328087588","file0":"1328087587"},"map_files_photo_id_array":[{"photo_id":"1328087589","filename":"file2"},{"photo_id":"1328087588","filename":"file1"},{"photo_id":"1328087587","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328087587":["hashtag1","hashtag2"]},{"1328087589":["hashtag1","hashtag2"]},{"1328087588":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328087587, 1328087589, 1328087588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.111151695251465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:20:02.225131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/18/image_11012025_08_18_02_371758_0003.jpg', '/home/pi/Desktop/images/11012025/08/19/image_11012025_08_19_03_079449_0000.jpg', '/home/pi/Desktop/images/11012025/08/19/image_11012025_08_19_03_079449_0001.jpg', '/home/pi/Desktop/images/11012025/08/19/image_11012025_08_19_03_079449_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/18/image_11012025_08_18_02_371758_0003.jpg
/home/pi/Desktop/images/11012025/08/19/image_11012025_08_19_03_079449_0000.jpg
/home/pi/Desktop/images/11012025/08/19/image_11012025_08_19_03_079449_0001.jpg
/home/pi/Desktop/images/11012025/08/19/image_11012025_08_19_03_079449_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328088421","1328088418","1328088443","1328088419"],"photo_ids_order":["1328088418","1328088419","1328088421","1328088443"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3053bde52ae06ea1b92062ed0ab2fc49.jpg","text":"TemporaryFile(/tmp/multipartBody7555388534518214606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580072313,"filename":"image_11012025_08_19_03_079449_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ba6ee2bdb6fe2e7f345770b0e8d19e0c.jpg","text":"TemporaryFile(/tmp/multipartBody3755615512814849475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580072313,"filename":"image_11012025_08_18_02_371758_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7aece382a8f18360c75ca2ce12d0bf98.jpg","text":"TemporaryFile(/tmp/multipartBody6795945855825287810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580072313,"filename":"image_11012025_08_19_03_079449_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b607946cc50cc1e5ee67f0b0c2ca2c24.jpg","text":"TemporaryFile(/tmp/multipartBody5674802488850979843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580072313,"filename":"image_11012025_08_19_03_079449_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328088421","file1":"1328088419","file0":"1328088418","file3":"1328088443"},"map_files_photo_id_array":[{"photo_id":"1328088421","filename":"file2"},{"photo_id":"1328088419","filename":"file1"},{"photo_id":"1328088418","filename":"file0"},{"photo_id":"1328088443","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328088421":["hashtag1","hashtag2"]},{"1328088418":["hashtag1","hashtag2"]},{"1328088443":["hashtag1","hashtag2"]},{"1328088419":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328088421, 1328088418, 1328088443, 1328088419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.62075591087341 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:21:03.140901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/19/image_11012025_08_19_03_079449_0003.jpg', '/home/pi/Desktop/images/11012025/08/20/image_11012025_08_20_02_586561_0001.jpg', '/home/pi/Desktop/images/11012025/08/20/image_11012025_08_20_02_586561_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/19/image_11012025_08_19_03_079449_0003.jpg
/home/pi/Desktop/images/11012025/08/20/image_11012025_08_20_02_586561_0001.jpg
/home/pi/Desktop/images/11012025/08/20/image_11012025_08_20_02_586561_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328088850","1328088852","1328088848"],"photo_ids_order":["1328088848","1328088850","1328088852"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5dc6992f2b26693c4c9f656faca7bcad.jpg","text":"TemporaryFile(/tmp/multipartBody2037511582777999654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580130848,"filename":"image_11012025_08_20_02_586561_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7d756c6bbbc686db513c87e14e32efbb.jpg","text":"TemporaryFile(/tmp/multipartBody1449220400786446209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580130848,"filename":"image_11012025_08_20_02_586561_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5132089e280217d8dee559a607a20186.jpg","text":"TemporaryFile(/tmp/multipartBody158966739818992815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580130848,"filename":"image_11012025_08_19_03_079449_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328088852","file1":"1328088850","file0":"1328088848"},"map_files_photo_id_array":[{"photo_id":"1328088852","filename":"file2"},{"photo_id":"1328088850","filename":"file1"},{"photo_id":"1328088848","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328088850":["hashtag1","hashtag2"]},{"1328088852":["hashtag1","hashtag2"]},{"1328088848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328088850, 1328088852, 1328088848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.708406448364258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:22:02.383372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/20/image_11012025_08_20_02_586561_0003.jpg', '/home/pi/Desktop/images/11012025/08/21/image_11012025_08_21_02_266231_0000.jpg', '/home/pi/Desktop/images/11012025/08/21/image_11012025_08_21_02_266231_0001.jpg', '/home/pi/Desktop/images/11012025/08/21/image_11012025_08_21_02_266231_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/20/image_11012025_08_20_02_586561_0003.jpg
/home/pi/Desktop/images/11012025/08/21/image_11012025_08_21_02_266231_0000.jpg
/home/pi/Desktop/images/11012025/08/21/image_11012025_08_21_02_266231_0001.jpg
/home/pi/Desktop/images/11012025/08/21/image_11012025_08_21_02_266231_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.830506563186646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:22:22.030829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/20/image_11012025_08_20_02_586561_0003.jpg', '/home/pi/Desktop/images/11012025/08/21/image_11012025_08_21_02_266231_0000.jpg', '/home/pi/Desktop/images/11012025/08/21/image_11012025_08_21_02_266231_0001.jpg', '/home/pi/Desktop/images/11012025/08/21/image_11012025_08_21_02_266231_0002.jpg', '/home/pi/Desktop/images/11012025/08/21/image_11012025_08_21_02_266231_0003.jpg', '/home/pi/Desktop/images/11012025/08/22/image_11012025_08_22_02_803891_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/20/image_11012025_08_20_02_586561_0003.jpg
/home/pi/Desktop/images/11012025/08/21/image_11012025_08_21_02_266231_0000.jpg
/home/pi/Desktop/images/11012025/08/21/image_11012025_08_21_02_266231_0001.jpg
/home/pi/Desktop/images/11012025/08/21/image_11012025_08_21_02_266231_0002.jpg
/home/pi/Desktop/images/11012025/08/21/image_11012025_08_21_02_266231_0003.jpg
/home/pi/Desktop/images/11012025/08/22/image_11012025_08_22_02_803891_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328088882","1328088903","1328088906","1328088900","1328088878","1328088920"],"photo_ids_order":["1328088878","1328088882","1328088900","1328088903","1328088906","1328088920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/68b403cef10a31b2dc3fbb7713f0d5f1.jpg","text":"TemporaryFile(/tmp/multipartBody204922927817087612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580216982,"filename":"image_11012025_08_21_02_266231_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b02350c877df4efe7f7b2453841f193a.jpg","text":"TemporaryFile(/tmp/multipartBody8057300122207993937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580216982,"filename":"image_11012025_08_21_02_266231_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7bb9073c98d6a4af3c71fc996296015a.jpg","text":"TemporaryFile(/tmp/multipartBody6005667211920961472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580216982,"filename":"image_11012025_08_21_02_266231_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4118db0e7d78ec60bed0cb381de95788.jpg","text":"TemporaryFile(/tmp/multipartBody7027578208728245789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580216982,"filename":"image_11012025_08_21_02_266231_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/831ec41758731e620026a8303aa0242a.jpg","text":"TemporaryFile(/tmp/multipartBody4576371685282261921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580216982,"filename":"image_11012025_08_20_02_586561_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/accff9f3824ebd9a4f4af920aca2600f.jpg","text":"TemporaryFile(/tmp/multipartBody5941353754958112978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580216982,"filename":"image_11012025_08_22_02_803891_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328088900","file1":"1328088882","file0":"1328088878","file4":"1328088906","file5":"1328088920","file3":"1328088903"},"map_files_photo_id_array":[{"photo_id":"1328088920","filename":"file5"},{"photo_id":"1328088900","filename":"file2"},{"photo_id":"1328088906","filename":"file4"},{"photo_id":"1328088882","filename":"file1"},{"photo_id":"1328088878","filename":"file0"},{"photo_id":"1328088903","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328088882":["hashtag1","hashtag2"]},{"1328088903":["hashtag1","hashtag2"]},{"1328088906":["hashtag1","hashtag2"]},{"1328088900":["hashtag1","hashtag2"]},{"1328088878":["hashtag1","hashtag2"]},{"1328088920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328088882, 1328088903, 1328088906, 1328088900, 1328088878, 1328088920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.88137173652649 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:23:22.625075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/22/image_11012025_08_22_02_803891_0001.jpg', '/home/pi/Desktop/images/11012025/08/22/image_11012025_08_22_02_803891_0002.jpg', '/home/pi/Desktop/images/11012025/08/22/image_11012025_08_22_02_803891_0003.jpg', '/home/pi/Desktop/images/11012025/08/23/image_11012025_08_23_02_456737_0000.jpg', '/home/pi/Desktop/images/11012025/08/23/image_11012025_08_23_02_456737_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/22/image_11012025_08_22_02_803891_0001.jpg
/home/pi/Desktop/images/11012025/08/22/image_11012025_08_22_02_803891_0002.jpg
/home/pi/Desktop/images/11012025/08/22/image_11012025_08_22_02_803891_0003.jpg
/home/pi/Desktop/images/11012025/08/23/image_11012025_08_23_02_456737_0000.jpg
/home/pi/Desktop/images/11012025/08/23/image_11012025_08_23_02_456737_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328088931","1328088925","1328088928","1328088936","1328088933"],"photo_ids_order":["1328088925","1328088928","1328088931","1328088933","1328088936"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6cf8d08501a99c9d17947b0c53174ed9.jpg","text":"TemporaryFile(/tmp/multipartBody3656522056785720142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580275169,"filename":"image_11012025_08_22_02_803891_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/65c224a25fbeeddb3dc69fcb91a910f9.jpg","text":"TemporaryFile(/tmp/multipartBody1934881546414283641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580275169,"filename":"image_11012025_08_22_02_803891_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/39904c2bf602c05a2706f670eb3c4279.jpg","text":"TemporaryFile(/tmp/multipartBody2208156658464055738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580275169,"filename":"image_11012025_08_22_02_803891_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bf28d44329e3df3813aa9922000a658a.jpg","text":"TemporaryFile(/tmp/multipartBody8550805560841531364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580275169,"filename":"image_11012025_08_23_02_456737_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6ef2719302e640e993ab327435836399.jpg","text":"TemporaryFile(/tmp/multipartBody3517003403972744576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580275169,"filename":"image_11012025_08_23_02_456737_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328088931","file1":"1328088928","file0":"1328088925","file4":"1328088936","file3":"1328088933"},"map_files_photo_id_array":[{"photo_id":"1328088931","filename":"file2"},{"photo_id":"1328088936","filename":"file4"},{"photo_id":"1328088928","filename":"file1"},{"photo_id":"1328088925","filename":"file0"},{"photo_id":"1328088933","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328088931":["hashtag1","hashtag2"]},{"1328088925":["hashtag1","hashtag2"]},{"1328088928":["hashtag1","hashtag2"]},{"1328088936":["hashtag1","hashtag2"]},{"1328088933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328088931, 1328088925, 1328088928, 1328088936, 1328088933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 45.98928737640381 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:24:22.118740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/23/image_11012025_08_23_02_456737_0003.jpg', '/home/pi/Desktop/images/11012025/08/24/image_11012025_08_24_02_994779_0000.jpg', '/home/pi/Desktop/images/11012025/08/24/image_11012025_08_24_02_994779_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/23/image_11012025_08_23_02_456737_0003.jpg
/home/pi/Desktop/images/11012025/08/24/image_11012025_08_24_02_994779_0000.jpg
/home/pi/Desktop/images/11012025/08/24/image_11012025_08_24_02_994779_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328088940","1328088942","1328088953"],"photo_ids_order":["1328088940","1328088942","1328088953"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b179e2f9d47e0012d3fd294b8d586998.jpg","text":"TemporaryFile(/tmp/multipartBody7128334261900196453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580329769,"filename":"image_11012025_08_23_02_456737_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/afcd46d02da668cf078c116681e17518.jpg","text":"TemporaryFile(/tmp/multipartBody6854224738279863210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580329769,"filename":"image_11012025_08_24_02_994779_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b551a35b8dfb5684e685298c75015eef.jpg","text":"TemporaryFile(/tmp/multipartBody6680564767472501884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580329769,"filename":"image_11012025_08_24_02_994779_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328088953","file1":"1328088942","file0":"1328088940"},"map_files_photo_id_array":[{"photo_id":"1328088953","filename":"file2"},{"photo_id":"1328088942","filename":"file1"},{"photo_id":"1328088940","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328088940":["hashtag1","hashtag2"]},{"1328088942":["hashtag1","hashtag2"]},{"1328088953":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328088940, 1328088942, 1328088953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.13875985145569 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:25:03.334184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/38/image_09012025_23_38_03_198566_0001.jpg', '/home/pi/Desktop/images/09012025/23/38/image_09012025_23_38_03_198566_0002.jpg', '/home/pi/Desktop/images/09012025/23/38/image_09012025_23_38_03_198566_0003.jpg', '/home/pi/Desktop/images/09012025/23/39/image_09012025_23_39_02_415073_0000.jpg', '/home/pi/Desktop/images/09012025/23/39/image_09012025_23_39_02_415073_0001.jpg', '/home/pi/Desktop/images/09012025/23/39/image_09012025_23_39_02_415073_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/38/image_09012025_23_38_03_198566_0001.jpg
/home/pi/Desktop/images/09012025/23/38/image_09012025_23_38_03_198566_0002.jpg
/home/pi/Desktop/images/09012025/23/38/image_09012025_23_38_03_198566_0003.jpg
/home/pi/Desktop/images/09012025/23/39/image_09012025_23_39_02_415073_0000.jpg
/home/pi/Desktop/images/09012025/23/39/image_09012025_23_39_02_415073_0001.jpg
/home/pi/Desktop/images/09012025/23/39/image_09012025_23_39_02_415073_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328089111","1328089114","1328088993","1328089107","1328088989","1328089054"],"photo_ids_order":["1328088989","1328088993","1328089054","1328089107","1328089111","1328089114"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c436a70bd3c843af7c268b5f0b2dc93b.jpg","text":"TemporaryFile(/tmp/multipartBody7949215151653383682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580379548,"filename":"image_09012025_23_39_02_415073_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f396948b4c7537c33cc5a980db1f6b4f.jpg","text":"TemporaryFile(/tmp/multipartBody4343545592435980535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580379548,"filename":"image_09012025_23_39_02_415073_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dffc402b8164c88dbac189bf5b39091a.jpg","text":"TemporaryFile(/tmp/multipartBody574285563816445416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580379548,"filename":"image_09012025_23_38_03_198566_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/faf345995b72f46b19bb14f92ad0d394.jpg","text":"TemporaryFile(/tmp/multipartBody2119944348853398518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580379548,"filename":"image_09012025_23_39_02_415073_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/837f2c507af2e241605fe29602eced38.jpg","text":"TemporaryFile(/tmp/multipartBody4844263339463951268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580379548,"filename":"image_09012025_23_38_03_198566_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a98b73bc489b29c05fb9a5952904cb01.jpg","text":"TemporaryFile(/tmp/multipartBody8011159619406634654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580379548,"filename":"image_09012025_23_38_03_198566_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328089054","file1":"1328088993","file0":"1328088989","file4":"1328089111","file5":"1328089114","file3":"1328089107"},"map_files_photo_id_array":[{"photo_id":"1328089114","filename":"file5"},{"photo_id":"1328089054","filename":"file2"},{"photo_id":"1328089111","filename":"file4"},{"photo_id":"1328088993","filename":"file1"},{"photo_id":"1328088989","filename":"file0"},{"photo_id":"1328089107","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328089111":["hashtag1","hashtag2"]},{"1328089114":["hashtag1","hashtag2"]},{"1328088993":["hashtag1","hashtag2"]},{"1328089107":["hashtag1","hashtag2"]},{"1328088989":["hashtag1","hashtag2"]},{"1328089054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328089111, 1328089114, 1328088993, 1328089107, 1328088989, 1328089054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.3824942111969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:26:02.724558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/24/image_11012025_08_24_02_994779_0003.jpg', '/home/pi/Desktop/images/11012025/08/25/image_11012025_08_25_02_532909_0000.jpg', '/home/pi/Desktop/images/11012025/08/25/image_11012025_08_25_02_532909_0001.jpg', '/home/pi/Desktop/images/11012025/08/25/image_11012025_08_25_02_532909_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/24/image_11012025_08_24_02_994779_0003.jpg
/home/pi/Desktop/images/11012025/08/25/image_11012025_08_25_02_532909_0000.jpg
/home/pi/Desktop/images/11012025/08/25/image_11012025_08_25_02_532909_0001.jpg
/home/pi/Desktop/images/11012025/08/25/image_11012025_08_25_02_532909_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328089170","1328089173","1328089175","1328089168"],"photo_ids_order":["1328089168","1328089170","1328089173","1328089175"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/39900304a12874302afed8e00ea98196.jpg","text":"TemporaryFile(/tmp/multipartBody6214787218692489555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580432823,"filename":"image_11012025_08_25_02_532909_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1084374e00c760c0fc9dbafe12401519.jpg","text":"TemporaryFile(/tmp/multipartBody4296232920921307976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580432823,"filename":"image_11012025_08_25_02_532909_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5c87411b2f4762f815aec18808d52e55.jpg","text":"TemporaryFile(/tmp/multipartBody1252792990306931579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580432823,"filename":"image_11012025_08_25_02_532909_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/107d161cdef5f884337f2fa2e7a04dd5.jpg","text":"TemporaryFile(/tmp/multipartBody1864387285438270122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580432823,"filename":"image_11012025_08_24_02_994779_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328089173","file1":"1328089170","file0":"1328089168","file3":"1328089175"},"map_files_photo_id_array":[{"photo_id":"1328089173","filename":"file2"},{"photo_id":"1328089170","filename":"file1"},{"photo_id":"1328089168","filename":"file0"},{"photo_id":"1328089175","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328089170":["hashtag1","hashtag2"]},{"1328089173":["hashtag1","hashtag2"]},{"1328089175":["hashtag1","hashtag2"]},{"1328089168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328089170, 1328089173, 1328089175, 1328089168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.437317848205566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:27:02.337999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/25/image_11012025_08_25_02_532909_0003.jpg', '/home/pi/Desktop/images/11012025/08/26/image_11012025_08_26_03_026491_0001.jpg', '/home/pi/Desktop/images/11012025/08/26/image_11012025_08_26_03_026491_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/25/image_11012025_08_25_02_532909_0003.jpg
/home/pi/Desktop/images/11012025/08/26/image_11012025_08_26_03_026491_0001.jpg
/home/pi/Desktop/images/11012025/08/26/image_11012025_08_26_03_026491_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.468165874481201 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:27:21.762619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/25/image_11012025_08_25_02_532909_0003.jpg', '/home/pi/Desktop/images/11012025/08/26/image_11012025_08_26_03_026491_0001.jpg', '/home/pi/Desktop/images/11012025/08/26/image_11012025_08_26_03_026491_0002.jpg', '/home/pi/Desktop/images/11012025/08/26/image_11012025_08_26_03_026491_0003.jpg', '/home/pi/Desktop/images/11012025/08/27/image_11012025_08_27_02_639431_0000.jpg', '/home/pi/Desktop/images/11012025/08/27/image_11012025_08_27_02_639431_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/25/image_11012025_08_25_02_532909_0003.jpg
/home/pi/Desktop/images/11012025/08/26/image_11012025_08_26_03_026491_0001.jpg
/home/pi/Desktop/images/11012025/08/26/image_11012025_08_26_03_026491_0002.jpg
/home/pi/Desktop/images/11012025/08/26/image_11012025_08_26_03_026491_0003.jpg
/home/pi/Desktop/images/11012025/08/27/image_11012025_08_27_02_639431_0000.jpg
/home/pi/Desktop/images/11012025/08/27/image_11012025_08_27_02_639431_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328089402","1328089389","1328089380","1328089391","1328089384","1328089387"],"photo_ids_order":["1328089380","1328089384","1328089387","1328089389","1328089391","1328089402"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/77d29cdab27edf9694a4d6e917f4ab7f.jpg","text":"TemporaryFile(/tmp/multipartBody5102449725850096036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580516703,"filename":"image_11012025_08_27_02_639431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/26dbcec003cfee5169451e2a770ee16c.jpg","text":"TemporaryFile(/tmp/multipartBody6812220788140077191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580516703,"filename":"image_11012025_08_26_03_026491_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/79d72188a11d2e2002b47ecf5ce503b1.jpg","text":"TemporaryFile(/tmp/multipartBody7777862779782897817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580516703,"filename":"image_11012025_08_25_02_532909_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/62d761141e8e65a24985695c4628f17c.jpg","text":"TemporaryFile(/tmp/multipartBody2795298785125311624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580516703,"filename":"image_11012025_08_27_02_639431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a82e012aa934e127073b37af1a8d5a69.jpg","text":"TemporaryFile(/tmp/multipartBody8780203650638106589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580516703,"filename":"image_11012025_08_26_03_026491_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f03ee2b3606e93c5873aa66bf61143fd.jpg","text":"TemporaryFile(/tmp/multipartBody1543100447162407742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580516703,"filename":"image_11012025_08_26_03_026491_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328089387","file1":"1328089384","file0":"1328089380","file4":"1328089391","file5":"1328089402","file3":"1328089389"},"map_files_photo_id_array":[{"photo_id":"1328089402","filename":"file5"},{"photo_id":"1328089387","filename":"file2"},{"photo_id":"1328089391","filename":"file4"},{"photo_id":"1328089384","filename":"file1"},{"photo_id":"1328089380","filename":"file0"},{"photo_id":"1328089389","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328089402":["hashtag1","hashtag2"]},{"1328089389":["hashtag1","hashtag2"]},{"1328089380":["hashtag1","hashtag2"]},{"1328089391":["hashtag1","hashtag2"]},{"1328089384":["hashtag1","hashtag2"]},{"1328089387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328089402, 1328089389, 1328089380, 1328089391, 1328089384, 1328089387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.205851316452026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:28:22.463354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/27/image_11012025_08_27_02_639431_0002.jpg', '/home/pi/Desktop/images/11012025/08/27/image_11012025_08_27_02_639431_0003.jpg', '/home/pi/Desktop/images/11012025/08/28/image_11012025_08_28_02_147459_0000.jpg', '/home/pi/Desktop/images/11012025/08/28/image_11012025_08_28_02_147459_0001.jpg', '/home/pi/Desktop/images/11012025/08/28/image_11012025_08_28_02_147459_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/27/image_11012025_08_27_02_639431_0002.jpg
/home/pi/Desktop/images/11012025/08/27/image_11012025_08_27_02_639431_0003.jpg
/home/pi/Desktop/images/11012025/08/28/image_11012025_08_28_02_147459_0000.jpg
/home/pi/Desktop/images/11012025/08/28/image_11012025_08_28_02_147459_0001.jpg
/home/pi/Desktop/images/11012025/08/28/image_11012025_08_28_02_147459_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328089456","1328089461","1328089470","1328089465","1328089453"],"photo_ids_order":["1328089453","1328089456","1328089461","1328089465","1328089470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f841f1268ff486e5be618740f95e743b.jpg","text":"TemporaryFile(/tmp/multipartBody5234003936621775049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580574806,"filename":"image_11012025_08_27_02_639431_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c12f0e533ff51032d7eedbebe1bdd2c4.jpg","text":"TemporaryFile(/tmp/multipartBody2295062056881899878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580574806,"filename":"image_11012025_08_28_02_147459_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f68e40dbe28136066c60742a5da249f9.jpg","text":"TemporaryFile(/tmp/multipartBody1423712517293288557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580574806,"filename":"image_11012025_08_28_02_147459_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b2dffc88acf2fc28399a33e9e813613c.jpg","text":"TemporaryFile(/tmp/multipartBody5831275824854896450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580574806,"filename":"image_11012025_08_28_02_147459_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/894a83a574455c93e0580e38f8315b76.jpg","text":"TemporaryFile(/tmp/multipartBody8536006469694058433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580574806,"filename":"image_11012025_08_27_02_639431_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328089461","file1":"1328089456","file0":"1328089453","file4":"1328089470","file3":"1328089465"},"map_files_photo_id_array":[{"photo_id":"1328089461","filename":"file2"},{"photo_id":"1328089470","filename":"file4"},{"photo_id":"1328089456","filename":"file1"},{"photo_id":"1328089453","filename":"file0"},{"photo_id":"1328089465","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328089456":["hashtag1","hashtag2"]},{"1328089461":["hashtag1","hashtag2"]},{"1328089470":["hashtag1","hashtag2"]},{"1328089465":["hashtag1","hashtag2"]},{"1328089453":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328089456, 1328089461, 1328089470, 1328089465, 1328089453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.63323950767517 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:29:22.000194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/28/image_11012025_08_28_02_147459_0003.jpg', '/home/pi/Desktop/images/11012025/08/29/image_11012025_08_29_02_832282_0000.jpg', '/home/pi/Desktop/images/11012025/08/29/image_11012025_08_29_02_832282_0001.jpg', '/home/pi/Desktop/images/11012025/08/29/image_11012025_08_29_02_832282_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/28/image_11012025_08_28_02_147459_0003.jpg
/home/pi/Desktop/images/11012025/08/29/image_11012025_08_29_02_832282_0000.jpg
/home/pi/Desktop/images/11012025/08/29/image_11012025_08_29_02_832282_0001.jpg
/home/pi/Desktop/images/11012025/08/29/image_11012025_08_29_02_832282_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328089563","1328089565","1328089559","1328089568"],"photo_ids_order":["1328089559","1328089563","1328089565","1328089568"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3ce99aa403c9245e968df2ff7d73ed5a.jpg","text":"TemporaryFile(/tmp/multipartBody8441217129751327433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580632084,"filename":"image_11012025_08_29_02_832282_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9c086a3b3723a963c6cb077b9c4d7fa5.jpg","text":"TemporaryFile(/tmp/multipartBody7953987177050461226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580632084,"filename":"image_11012025_08_29_02_832282_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0803126eebc1376c658a7d7e0f670c1b.jpg","text":"TemporaryFile(/tmp/multipartBody207723942054958299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580632084,"filename":"image_11012025_08_28_02_147459_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ccd5835081d5426c8e7dd97c3e6acc78.jpg","text":"TemporaryFile(/tmp/multipartBody2944562185265359839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580632084,"filename":"image_11012025_08_29_02_832282_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328089565","file1":"1328089563","file0":"1328089559","file3":"1328089568"},"map_files_photo_id_array":[{"photo_id":"1328089565","filename":"file2"},{"photo_id":"1328089563","filename":"file1"},{"photo_id":"1328089559","filename":"file0"},{"photo_id":"1328089568","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328089563":["hashtag1","hashtag2"]},{"1328089565":["hashtag1","hashtag2"]},{"1328089559":["hashtag1","hashtag2"]},{"1328089568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328089563, 1328089565, 1328089559, 1328089568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58854389190674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:30:03.033488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/39/image_09012025_23_39_02_415073_0003.jpg', '/home/pi/Desktop/images/09012025/23/40/image_09012025_23_40_02_570364_0000.jpg', '/home/pi/Desktop/images/09012025/23/40/image_09012025_23_40_02_570364_0001.jpg', '/home/pi/Desktop/images/09012025/23/40/image_09012025_23_40_02_570364_0002.jpg', '/home/pi/Desktop/images/09012025/23/40/image_09012025_23_40_02_570364_0003.jpg', '/home/pi/Desktop/images/09012025/23/41/image_09012025_23_41_02_841175_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/39/image_09012025_23_39_02_415073_0003.jpg
/home/pi/Desktop/images/09012025/23/40/image_09012025_23_40_02_570364_0000.jpg
/home/pi/Desktop/images/09012025/23/40/image_09012025_23_40_02_570364_0001.jpg
/home/pi/Desktop/images/09012025/23/40/image_09012025_23_40_02_570364_0002.jpg
/home/pi/Desktop/images/09012025/23/40/image_09012025_23_40_02_570364_0003.jpg
/home/pi/Desktop/images/09012025/23/41/image_09012025_23_41_02_841175_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328089659","1328089670","1328089664","1328089667","1328089661","1328089657"],"photo_ids_order":["1328089657","1328089659","1328089661","1328089664","1328089667","1328089670"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/89ef30b3f29e6c640c1e326eb21bf864.jpg","text":"TemporaryFile(/tmp/multipartBody552286662967148438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580679223,"filename":"image_09012025_23_40_02_570364_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5a3f2a5c03358eddb0e6d7b6d172763f.jpg","text":"TemporaryFile(/tmp/multipartBody3109255002876118942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580679223,"filename":"image_09012025_23_41_02_841175_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/957a00ba3f05d9a562e6855139ecc2ff.jpg","text":"TemporaryFile(/tmp/multipartBody1204254597918684421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580679223,"filename":"image_09012025_23_40_02_570364_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6a7f2a2006b84b50785fbc562acc381b.jpg","text":"TemporaryFile(/tmp/multipartBody4395544703401710712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580679223,"filename":"image_09012025_23_40_02_570364_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/19bbf3c916be4b1f99118b95f8f4ebba.jpg","text":"TemporaryFile(/tmp/multipartBody5115314458530475058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580679223,"filename":"image_09012025_23_40_02_570364_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1d239323fe4df4d1a1d473f4106447e8.jpg","text":"TemporaryFile(/tmp/multipartBody6149727752767191626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580679223,"filename":"image_09012025_23_39_02_415073_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328089661","file1":"1328089659","file0":"1328089657","file4":"1328089667","file5":"1328089670","file3":"1328089664"},"map_files_photo_id_array":[{"photo_id":"1328089670","filename":"file5"},{"photo_id":"1328089661","filename":"file2"},{"photo_id":"1328089667","filename":"file4"},{"photo_id":"1328089659","filename":"file1"},{"photo_id":"1328089657","filename":"file0"},{"photo_id":"1328089664","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328089659":["hashtag1","hashtag2"]},{"1328089670":["hashtag1","hashtag2"]},{"1328089664":["hashtag1","hashtag2"]},{"1328089667":["hashtag1","hashtag2"]},{"1328089661":["hashtag1","hashtag2"]},{"1328089657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328089659, 1328089670, 1328089664, 1328089667, 1328089661, 1328089657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.78376293182373 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:31:02.619510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/29/image_11012025_08_29_02_832282_0003.jpg', '/home/pi/Desktop/images/11012025/08/30/image_11012025_08_30_02_409812_0000.jpg', '/home/pi/Desktop/images/11012025/08/30/image_11012025_08_30_02_409812_0001.jpg', '/home/pi/Desktop/images/11012025/08/30/image_11012025_08_30_02_409812_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/29/image_11012025_08_29_02_832282_0003.jpg
/home/pi/Desktop/images/11012025/08/30/image_11012025_08_30_02_409812_0000.jpg
/home/pi/Desktop/images/11012025/08/30/image_11012025_08_30_02_409812_0001.jpg
/home/pi/Desktop/images/11012025/08/30/image_11012025_08_30_02_409812_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.86349105834961 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:31:22.071185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/29/image_11012025_08_29_02_832282_0003.jpg', '/home/pi/Desktop/images/11012025/08/30/image_11012025_08_30_02_409812_0000.jpg', '/home/pi/Desktop/images/11012025/08/30/image_11012025_08_30_02_409812_0001.jpg', '/home/pi/Desktop/images/11012025/08/30/image_11012025_08_30_02_409812_0002.jpg', '/home/pi/Desktop/images/11012025/08/30/image_11012025_08_30_02_409812_0003.jpg', '/home/pi/Desktop/images/11012025/08/31/image_11012025_08_31_02_968851_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/29/image_11012025_08_29_02_832282_0003.jpg
/home/pi/Desktop/images/11012025/08/30/image_11012025_08_30_02_409812_0000.jpg
/home/pi/Desktop/images/11012025/08/30/image_11012025_08_30_02_409812_0001.jpg
/home/pi/Desktop/images/11012025/08/30/image_11012025_08_30_02_409812_0002.jpg
/home/pi/Desktop/images/11012025/08/30/image_11012025_08_30_02_409812_0003.jpg
/home/pi/Desktop/images/11012025/08/31/image_11012025_08_31_02_968851_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328089711","1328089704","1328089713","1328089707","1328089701","1328089709"],"photo_ids_order":["1328089701","1328089704","1328089707","1328089709","1328089711","1328089713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6b81b8bd6b3c9a76dac5ac4662ab0a4d.jpg","text":"TemporaryFile(/tmp/multipartBody6924063642461831105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580757066,"filename":"image_11012025_08_30_02_409812_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a0150281bed2b1539cb794e4e00f45ae.jpg","text":"TemporaryFile(/tmp/multipartBody5179610231291177558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580757066,"filename":"image_11012025_08_30_02_409812_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d29aaf494470e0dbb128b69b0e6baa8e.jpg","text":"TemporaryFile(/tmp/multipartBody754122574753778537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580757066,"filename":"image_11012025_08_31_02_968851_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/760011ef02b1d6f8bf4b176bf836cbcd.jpg","text":"TemporaryFile(/tmp/multipartBody458431588671442235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580757066,"filename":"image_11012025_08_30_02_409812_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2d9d6d8cc1b255689933d33dcc3fe93b.jpg","text":"TemporaryFile(/tmp/multipartBody4191425432379103127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580757066,"filename":"image_11012025_08_29_02_832282_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6be67c70610d2569d92d1919ad304cff.jpg","text":"TemporaryFile(/tmp/multipartBody567312179213257524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580757066,"filename":"image_11012025_08_30_02_409812_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328089707","file1":"1328089704","file0":"1328089701","file4":"1328089711","file5":"1328089713","file3":"1328089709"},"map_files_photo_id_array":[{"photo_id":"1328089713","filename":"file5"},{"photo_id":"1328089707","filename":"file2"},{"photo_id":"1328089711","filename":"file4"},{"photo_id":"1328089704","filename":"file1"},{"photo_id":"1328089701","filename":"file0"},{"photo_id":"1328089709","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328089711":["hashtag1","hashtag2"]},{"1328089704":["hashtag1","hashtag2"]},{"1328089713":["hashtag1","hashtag2"]},{"1328089707":["hashtag1","hashtag2"]},{"1328089701":["hashtag1","hashtag2"]},{"1328089709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328089711, 1328089704, 1328089713, 1328089707, 1328089701, 1328089709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.71391248703003 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:32:21.802515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/31/image_11012025_08_31_02_968851_0001.jpg', '/home/pi/Desktop/images/11012025/08/31/image_11012025_08_31_02_968851_0002.jpg', '/home/pi/Desktop/images/11012025/08/31/image_11012025_08_31_02_968851_0003.jpg', '/home/pi/Desktop/images/11012025/08/32/image_11012025_08_32_02_497312_0000.jpg', '/home/pi/Desktop/images/11012025/08/32/image_11012025_08_32_02_497312_0001.jpg', '/home/pi/Desktop/images/11012025/08/32/image_11012025_08_32_02_497312_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/31/image_11012025_08_31_02_968851_0001.jpg
/home/pi/Desktop/images/11012025/08/31/image_11012025_08_31_02_968851_0002.jpg
/home/pi/Desktop/images/11012025/08/31/image_11012025_08_31_02_968851_0003.jpg
/home/pi/Desktop/images/11012025/08/32/image_11012025_08_32_02_497312_0000.jpg
/home/pi/Desktop/images/11012025/08/32/image_11012025_08_32_02_497312_0001.jpg
/home/pi/Desktop/images/11012025/08/32/image_11012025_08_32_02_497312_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328090149","1328089749","1328090379","1328089745","1328090390","1328089817"],"photo_ids_order":["1328089745","1328089749","1328089817","1328090149","1328090379","1328090390"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1196debda9446bc8732f7035b6404686.jpg","text":"TemporaryFile(/tmp/multipartBody6678119283161795865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580816849,"filename":"image_11012025_08_32_02_497312_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b24ed89645d33086cf06550fb20ce698.jpg","text":"TemporaryFile(/tmp/multipartBody5605952877479128544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580816849,"filename":"image_11012025_08_31_02_968851_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b5d61c025e429fe2e7558799ccd0d63c.jpg","text":"TemporaryFile(/tmp/multipartBody4386133133590040582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580816849,"filename":"image_11012025_08_32_02_497312_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4af6be3352b9f7b040e967a48227d73a.jpg","text":"TemporaryFile(/tmp/multipartBody6648607647776935307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580816849,"filename":"image_11012025_08_31_02_968851_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a347cf7d40d3a74459e37b3ce6992b41.jpg","text":"TemporaryFile(/tmp/multipartBody4848480560114884664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580816849,"filename":"image_11012025_08_32_02_497312_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/389a1c67b67665aeec4914782a948ff4.jpg","text":"TemporaryFile(/tmp/multipartBody5002559780067360156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580816849,"filename":"image_11012025_08_31_02_968851_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328089817","file1":"1328089749","file0":"1328089745","file4":"1328090379","file5":"1328090390","file3":"1328090149"},"map_files_photo_id_array":[{"photo_id":"1328090390","filename":"file5"},{"photo_id":"1328089817","filename":"file2"},{"photo_id":"1328090379","filename":"file4"},{"photo_id":"1328089749","filename":"file1"},{"photo_id":"1328089745","filename":"file0"},{"photo_id":"1328090149","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328090149":["hashtag1","hashtag2"]},{"1328089749":["hashtag1","hashtag2"]},{"1328090379":["hashtag1","hashtag2"]},{"1328089745":["hashtag1","hashtag2"]},{"1328090390":["hashtag1","hashtag2"]},{"1328089817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328090149, 1328089749, 1328090379, 1328089745, 1328090390, 1328089817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.66412591934204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:33:22.284883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/32/image_11012025_08_32_02_497312_0003.jpg', '/home/pi/Desktop/images/11012025/08/33/image_11012025_08_33_02_117067_0000.jpg', '/home/pi/Desktop/images/11012025/08/33/image_11012025_08_33_02_117067_0001.jpg', '/home/pi/Desktop/images/11012025/08/33/image_11012025_08_33_02_117067_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/32/image_11012025_08_32_02_497312_0003.jpg
/home/pi/Desktop/images/11012025/08/33/image_11012025_08_33_02_117067_0000.jpg
/home/pi/Desktop/images/11012025/08/33/image_11012025_08_33_02_117067_0001.jpg
/home/pi/Desktop/images/11012025/08/33/image_11012025_08_33_02_117067_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328090584","1328090545","1328090579","1328090516"],"photo_ids_order":["1328090516","1328090545","1328090579","1328090584"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/87f170e35a12cd83eaab3b7b63026e09.jpg","text":"TemporaryFile(/tmp/multipartBody8706397261672348696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580872500,"filename":"image_11012025_08_33_02_117067_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b7bf05acb2be6fce9865c27c9084c132.jpg","text":"TemporaryFile(/tmp/multipartBody6418262038783428812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580872500,"filename":"image_11012025_08_33_02_117067_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b66f62901379ef595a07a2e776b064c9.jpg","text":"TemporaryFile(/tmp/multipartBody797704111005234384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580872500,"filename":"image_11012025_08_33_02_117067_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/90b1b40b9182e6679aeccd35e13dd360.jpg","text":"TemporaryFile(/tmp/multipartBody7566200469828627365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580872500,"filename":"image_11012025_08_32_02_497312_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328090579","file1":"1328090545","file0":"1328090516","file3":"1328090584"},"map_files_photo_id_array":[{"photo_id":"1328090579","filename":"file2"},{"photo_id":"1328090545","filename":"file1"},{"photo_id":"1328090516","filename":"file0"},{"photo_id":"1328090584","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328090584":["hashtag1","hashtag2"]},{"1328090545":["hashtag1","hashtag2"]},{"1328090579":["hashtag1","hashtag2"]},{"1328090516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328090584, 1328090545, 1328090579, 1328090516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.8338897228241 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-11 08:34:22.720145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/33/image_11012025_08_33_02_117067_0003.jpg', '/home/pi/Desktop/images/11012025/08/34/image_11012025_08_34_02_604516_0000.jpg', '/home/pi/Desktop/images/11012025/08/34/image_11012025_08_34_02_604516_0001.jpg', '/home/pi/Desktop/images/11012025/08/34/image_11012025_08_34_02_604516_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/33/image_11012025_08_33_02_117067_0003.jpg
/home/pi/Desktop/images/11012025/08/34/image_11012025_08_34_02_604516_0000.jpg
/home/pi/Desktop/images/11012025/08/34/image_11012025_08_34_02_604516_0001.jpg
/home/pi/Desktop/images/11012025/08/34/image_11012025_08_34_02_604516_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328090782","1328090784","1328090772","1328090751"],"photo_ids_order":["1328090751","1328090772","1328090782","1328090784"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/197b96f75ea8d8e76f4d51aee36938b3.jpg","text":"TemporaryFile(/tmp/multipartBody4386268577160548014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580932832,"filename":"image_11012025_08_34_02_604516_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/314e672e943b6d6d200f2c5e452330a5.jpg","text":"TemporaryFile(/tmp/multipartBody146574467489153492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580932832,"filename":"image_11012025_08_34_02_604516_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/423d4909c1d4483baa549b7997787eef.jpg","text":"TemporaryFile(/tmp/multipartBody3373745681845193435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580932832,"filename":"image_11012025_08_34_02_604516_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1b9864b1d44add5fb69ff207e36f1a76.jpg","text":"TemporaryFile(/tmp/multipartBody7275199000704599974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580932832,"filename":"image_11012025_08_33_02_117067_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328090782","file1":"1328090772","file0":"1328090751","file3":"1328090784"},"map_files_photo_id_array":[{"photo_id":"1328090782","filename":"file2"},{"photo_id":"1328090772","filename":"file1"},{"photo_id":"1328090751","filename":"file0"},{"photo_id":"1328090784","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328090782":["hashtag1","hashtag2"]},{"1328090784":["hashtag1","hashtag2"]},{"1328090772":["hashtag1","hashtag2"]},{"1328090751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328090782, 1328090784, 1328090772, 1328090751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.102760314941406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:35:22.321090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/34/image_11012025_08_34_02_604516_0003.jpg', '/home/pi/Desktop/images/11012025/08/35/image_11012025_08_35_03_169213_0000.jpg', '/home/pi/Desktop/images/11012025/08/35/image_11012025_08_35_03_169213_0001.jpg', '/home/pi/Desktop/images/11012025/08/35/image_11012025_08_35_03_169213_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/34/image_11012025_08_34_02_604516_0003.jpg
/home/pi/Desktop/images/11012025/08/35/image_11012025_08_35_03_169213_0000.jpg
/home/pi/Desktop/images/11012025/08/35/image_11012025_08_35_03_169213_0001.jpg
/home/pi/Desktop/images/11012025/08/35/image_11012025_08_35_03_169213_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328090866","1328090873","1328090876","1328090870"],"photo_ids_order":["1328090866","1328090870","1328090873","1328090876"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b8bfb09725dc9063dd56a715c00dc767.jpg","text":"TemporaryFile(/tmp/multipartBody3783118912967459378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580992276,"filename":"image_11012025_08_34_02_604516_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5476786d83345a3d840553529194ab83.jpg","text":"TemporaryFile(/tmp/multipartBody4670331743157020408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580992276,"filename":"image_11012025_08_35_03_169213_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dd2ebc3363326b68faff5ec949789925.jpg","text":"TemporaryFile(/tmp/multipartBody2058806753604510696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580992276,"filename":"image_11012025_08_35_03_169213_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2873a7f3484cc34eab701a2ea4a9e8b9.jpg","text":"TemporaryFile(/tmp/multipartBody8467979147462979483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736580992276,"filename":"image_11012025_08_35_03_169213_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328090873","file1":"1328090870","file0":"1328090866","file3":"1328090876"},"map_files_photo_id_array":[{"photo_id":"1328090873","filename":"file2"},{"photo_id":"1328090870","filename":"file1"},{"photo_id":"1328090866","filename":"file0"},{"photo_id":"1328090876","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328090866":["hashtag1","hashtag2"]},{"1328090873":["hashtag1","hashtag2"]},{"1328090876":["hashtag1","hashtag2"]},{"1328090870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328090866, 1328090873, 1328090876, 1328090870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.91459393501282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:36:21.870297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/35/image_11012025_08_35_03_169213_0003.jpg', '/home/pi/Desktop/images/11012025/08/36/image_11012025_08_36_02_688021_0000.jpg', '/home/pi/Desktop/images/11012025/08/36/image_11012025_08_36_02_688021_0001.jpg', '/home/pi/Desktop/images/11012025/08/36/image_11012025_08_36_02_688021_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/35/image_11012025_08_35_03_169213_0003.jpg
/home/pi/Desktop/images/11012025/08/36/image_11012025_08_36_02_688021_0000.jpg
/home/pi/Desktop/images/11012025/08/36/image_11012025_08_36_02_688021_0001.jpg
/home/pi/Desktop/images/11012025/08/36/image_11012025_08_36_02_688021_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328090893","1328090887","1328090883","1328090897"],"photo_ids_order":["1328090883","1328090887","1328090893","1328090897"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/29f53476be0f814a5346eded6fefc388.jpg","text":"TemporaryFile(/tmp/multipartBody1943708089161692689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581052005,"filename":"image_11012025_08_36_02_688021_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0fe0bcd8e29a5502314991ff50da1fee.jpg","text":"TemporaryFile(/tmp/multipartBody6713901749469937074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581052005,"filename":"image_11012025_08_36_02_688021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8b3db822fbd698b40a27058735684bc0.jpg","text":"TemporaryFile(/tmp/multipartBody8262715181769752769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581052005,"filename":"image_11012025_08_35_03_169213_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fe0a178dd94455e8ad12c3b55e610c8b.jpg","text":"TemporaryFile(/tmp/multipartBody6131293507654750000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581052005,"filename":"image_11012025_08_36_02_688021_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328090893","file1":"1328090887","file0":"1328090883","file3":"1328090897"},"map_files_photo_id_array":[{"photo_id":"1328090893","filename":"file2"},{"photo_id":"1328090887","filename":"file1"},{"photo_id":"1328090883","filename":"file0"},{"photo_id":"1328090897","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328090893":["hashtag1","hashtag2"]},{"1328090887":["hashtag1","hashtag2"]},{"1328090883":["hashtag1","hashtag2"]},{"1328090897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328090893, 1328090887, 1328090883, 1328090897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.86934757232666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:37:22.320413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/36/image_11012025_08_36_02_688021_0003.jpg', '/home/pi/Desktop/images/11012025/08/37/image_11012025_08_37_02_140158_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/36/image_11012025_08_36_02_688021_0003.jpg
/home/pi/Desktop/images/11012025/08/37/image_11012025_08_37_02_140158_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328090928","1328090930"],"photo_ids_order":["1328090928","1328090930"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/db2b6453876a45000e4df59696cf4d74.jpg","text":"TemporaryFile(/tmp/multipartBody7095585709538760344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581107761,"filename":"image_11012025_08_36_02_688021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2167aed135d6c0792643d7abefd2a77d.jpg","text":"TemporaryFile(/tmp/multipartBody1323228871292270877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581107761,"filename":"image_11012025_08_37_02_140158_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328090930","file0":"1328090928"},"map_files_photo_id_array":[{"photo_id":"1328090930","filename":"file1"},{"photo_id":"1328090928","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328090928":["hashtag1","hashtag2"]},{"1328090930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328090928, 1328090930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.70398783683777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:38:02.358584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/41/image_09012025_23_41_02_841175_0001.jpg', '/home/pi/Desktop/images/09012025/23/41/image_09012025_23_41_02_841175_0002.jpg', '/home/pi/Desktop/images/09012025/23/41/image_09012025_23_41_02_841175_0003.jpg', '/home/pi/Desktop/images/09012025/23/42/image_09012025_23_42_02_928031_0000.jpg', '/home/pi/Desktop/images/09012025/23/42/image_09012025_23_42_02_928031_0001.jpg', '/home/pi/Desktop/images/09012025/23/42/image_09012025_23_42_02_928031_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/41/image_09012025_23_41_02_841175_0001.jpg
/home/pi/Desktop/images/09012025/23/41/image_09012025_23_41_02_841175_0002.jpg
/home/pi/Desktop/images/09012025/23/41/image_09012025_23_41_02_841175_0003.jpg
/home/pi/Desktop/images/09012025/23/42/image_09012025_23_42_02_928031_0000.jpg
/home/pi/Desktop/images/09012025/23/42/image_09012025_23_42_02_928031_0001.jpg
/home/pi/Desktop/images/09012025/23/42/image_09012025_23_42_02_928031_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.901893854141235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:38:21.921034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/37/image_11012025_08_37_02_140158_0003.jpg', '/home/pi/Desktop/images/11012025/08/38/image_11012025_08_38_02_750536_0000.jpg', '/home/pi/Desktop/images/11012025/08/38/image_11012025_08_38_02_750536_0001.jpg', '/home/pi/Desktop/images/11012025/08/38/image_11012025_08_38_02_750536_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/37/image_11012025_08_37_02_140158_0003.jpg
/home/pi/Desktop/images/11012025/08/38/image_11012025_08_38_02_750536_0000.jpg
/home/pi/Desktop/images/11012025/08/38/image_11012025_08_38_02_750536_0001.jpg
/home/pi/Desktop/images/11012025/08/38/image_11012025_08_38_02_750536_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328090953","1328090949","1328090957","1328090945"],"photo_ids_order":["1328090945","1328090949","1328090953","1328090957"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/59b2975226837db135894e34b68dda6c.jpg","text":"TemporaryFile(/tmp/multipartBody6341409111266238376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581172127,"filename":"image_11012025_08_38_02_750536_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5bdf45e81224c22eb01bed960ef8e7e6.jpg","text":"TemporaryFile(/tmp/multipartBody338560584110454272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581172127,"filename":"image_11012025_08_38_02_750536_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3dcce6a83156bcfb387fec00b3b01e02.jpg","text":"TemporaryFile(/tmp/multipartBody5076372832875937512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581172127,"filename":"image_11012025_08_38_02_750536_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1dbb1a7c796b1634758d11701ec44d9d.jpg","text":"TemporaryFile(/tmp/multipartBody563343073770437734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581172127,"filename":"image_11012025_08_37_02_140158_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328090953","file1":"1328090949","file0":"1328090945","file3":"1328090957"},"map_files_photo_id_array":[{"photo_id":"1328090953","filename":"file2"},{"photo_id":"1328090949","filename":"file1"},{"photo_id":"1328090945","filename":"file0"},{"photo_id":"1328090957","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328090953":["hashtag1","hashtag2"]},{"1328090949":["hashtag1","hashtag2"]},{"1328090957":["hashtag1","hashtag2"]},{"1328090945":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328090953, 1328090949, 1328090957, 1328090945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.521156549453735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:39:03.126060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/41/image_09012025_23_41_02_841175_0001.jpg', '/home/pi/Desktop/images/09012025/23/41/image_09012025_23_41_02_841175_0002.jpg', '/home/pi/Desktop/images/09012025/23/41/image_09012025_23_41_02_841175_0003.jpg', '/home/pi/Desktop/images/09012025/23/42/image_09012025_23_42_02_928031_0000.jpg', '/home/pi/Desktop/images/09012025/23/42/image_09012025_23_42_02_928031_0001.jpg', '/home/pi/Desktop/images/09012025/23/42/image_09012025_23_42_02_928031_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/41/image_09012025_23_41_02_841175_0001.jpg
/home/pi/Desktop/images/09012025/23/41/image_09012025_23_41_02_841175_0002.jpg
/home/pi/Desktop/images/09012025/23/41/image_09012025_23_41_02_841175_0003.jpg
/home/pi/Desktop/images/09012025/23/42/image_09012025_23_42_02_928031_0000.jpg
/home/pi/Desktop/images/09012025/23/42/image_09012025_23_42_02_928031_0001.jpg
/home/pi/Desktop/images/09012025/23/42/image_09012025_23_42_02_928031_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.719151496887207 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:39:22.346622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/38/image_11012025_08_38_02_750536_0003.jpg', '/home/pi/Desktop/images/11012025/08/39/image_11012025_08_39_02_252966_0000.jpg', '/home/pi/Desktop/images/11012025/08/39/image_11012025_08_39_02_252966_0001.jpg', '/home/pi/Desktop/images/11012025/08/39/image_11012025_08_39_02_252966_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/38/image_11012025_08_38_02_750536_0003.jpg
/home/pi/Desktop/images/11012025/08/39/image_11012025_08_39_02_252966_0000.jpg
/home/pi/Desktop/images/11012025/08/39/image_11012025_08_39_02_252966_0001.jpg
/home/pi/Desktop/images/11012025/08/39/image_11012025_08_39_02_252966_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328091036","1328091015","1328091023","1328091011"],"photo_ids_order":["1328091011","1328091015","1328091023","1328091036"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/172be0d558b881cf107accd58f8e7f5c.jpg","text":"TemporaryFile(/tmp/multipartBody8451123598185603830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581232618,"filename":"image_11012025_08_39_02_252966_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fab088af5224b4768449c39955552157.jpg","text":"TemporaryFile(/tmp/multipartBody6133550905883389677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581232618,"filename":"image_11012025_08_39_02_252966_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b782e2a7c01b016551b5cda684a19b76.jpg","text":"TemporaryFile(/tmp/multipartBody5460689219636721001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581232618,"filename":"image_11012025_08_39_02_252966_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/840218ed0b69659d5262e13e18a7abe5.jpg","text":"TemporaryFile(/tmp/multipartBody7287563824799437056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581232618,"filename":"image_11012025_08_38_02_750536_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328091023","file1":"1328091015","file0":"1328091011","file3":"1328091036"},"map_files_photo_id_array":[{"photo_id":"1328091023","filename":"file2"},{"photo_id":"1328091015","filename":"file1"},{"photo_id":"1328091011","filename":"file0"},{"photo_id":"1328091036","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328091036":["hashtag1","hashtag2"]},{"1328091015":["hashtag1","hashtag2"]},{"1328091023":["hashtag1","hashtag2"]},{"1328091011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328091036, 1328091015, 1328091023, 1328091011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.621280670166016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:40:21.957737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/39/image_11012025_08_39_02_252966_0003.jpg', '/home/pi/Desktop/images/11012025/08/40/image_11012025_08_40_02_789447_0000.jpg', '/home/pi/Desktop/images/11012025/08/40/image_11012025_08_40_02_789447_0001.jpg', '/home/pi/Desktop/images/11012025/08/40/image_11012025_08_40_02_789447_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/39/image_11012025_08_39_02_252966_0003.jpg
/home/pi/Desktop/images/11012025/08/40/image_11012025_08_40_02_789447_0000.jpg
/home/pi/Desktop/images/11012025/08/40/image_11012025_08_40_02_789447_0001.jpg
/home/pi/Desktop/images/11012025/08/40/image_11012025_08_40_02_789447_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328091055","1328091063","1328091059","1328091052"],"photo_ids_order":["1328091052","1328091055","1328091059","1328091063"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/660cc3022f39a105127534acc8bf5bbc.jpg","text":"TemporaryFile(/tmp/multipartBody8139858647223126769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581292218,"filename":"image_11012025_08_40_02_789447_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b8581d3450b548d2975c6a8ddb222f73.jpg","text":"TemporaryFile(/tmp/multipartBody4738828430348596774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581292218,"filename":"image_11012025_08_40_02_789447_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d2b6adf5d8ca2e31b4284cdc1f37d2ed.jpg","text":"TemporaryFile(/tmp/multipartBody9204823830592239579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581292218,"filename":"image_11012025_08_40_02_789447_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/604d6fe34c5a65fe8e05e37b0ded419d.jpg","text":"TemporaryFile(/tmp/multipartBody4902043002598837930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581292218,"filename":"image_11012025_08_39_02_252966_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328091059","file1":"1328091055","file0":"1328091052","file3":"1328091063"},"map_files_photo_id_array":[{"photo_id":"1328091059","filename":"file2"},{"photo_id":"1328091055","filename":"file1"},{"photo_id":"1328091052","filename":"file0"},{"photo_id":"1328091063","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328091055":["hashtag1","hashtag2"]},{"1328091063":["hashtag1","hashtag2"]},{"1328091059":["hashtag1","hashtag2"]},{"1328091052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328091055, 1328091063, 1328091059, 1328091052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.53806257247925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:41:03.017352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/41/image_09012025_23_41_02_841175_0001.jpg', '/home/pi/Desktop/images/09012025/23/41/image_09012025_23_41_02_841175_0002.jpg', '/home/pi/Desktop/images/09012025/23/41/image_09012025_23_41_02_841175_0003.jpg', '/home/pi/Desktop/images/09012025/23/42/image_09012025_23_42_02_928031_0000.jpg', '/home/pi/Desktop/images/09012025/23/42/image_09012025_23_42_02_928031_0001.jpg', '/home/pi/Desktop/images/09012025/23/42/image_09012025_23_42_02_928031_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/41/image_09012025_23_41_02_841175_0001.jpg
/home/pi/Desktop/images/09012025/23/41/image_09012025_23_41_02_841175_0002.jpg
/home/pi/Desktop/images/09012025/23/41/image_09012025_23_41_02_841175_0003.jpg
/home/pi/Desktop/images/09012025/23/42/image_09012025_23_42_02_928031_0000.jpg
/home/pi/Desktop/images/09012025/23/42/image_09012025_23_42_02_928031_0001.jpg
/home/pi/Desktop/images/09012025/23/42/image_09012025_23_42_02_928031_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328091072","1328091074","1328091082","1328091076","1328091079","1328091070"],"photo_ids_order":["1328091070","1328091072","1328091074","1328091076","1328091079","1328091082"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8d2ca354143d0fd938b214e548d501a6.jpg","text":"TemporaryFile(/tmp/multipartBody5346368343259319809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581339221,"filename":"image_09012025_23_41_02_841175_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/41c1ab9704b9a39d6b9f0b2de9d93393.jpg","text":"TemporaryFile(/tmp/multipartBody4891295214693423843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581339221,"filename":"image_09012025_23_41_02_841175_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/782dab37db8719c2600fdaddda3cce1a.jpg","text":"TemporaryFile(/tmp/multipartBody8794931162561197296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581339221,"filename":"image_09012025_23_42_02_928031_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/29ac63a74e6555aa7e993e55f14c887f.jpg","text":"TemporaryFile(/tmp/multipartBody7750077138698722014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581339221,"filename":"image_09012025_23_42_02_928031_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3d4f8ae2a53dcb3259f59ae50c39b21a.jpg","text":"TemporaryFile(/tmp/multipartBody1940614737042223977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581339221,"filename":"image_09012025_23_42_02_928031_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0df711254cc28407a674bad12b33e20c.jpg","text":"TemporaryFile(/tmp/multipartBody8452510604377897168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581339221,"filename":"image_09012025_23_41_02_841175_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328091074","file1":"1328091072","file0":"1328091070","file4":"1328091079","file5":"1328091082","file3":"1328091076"},"map_files_photo_id_array":[{"photo_id":"1328091082","filename":"file5"},{"photo_id":"1328091074","filename":"file2"},{"photo_id":"1328091079","filename":"file4"},{"photo_id":"1328091072","filename":"file1"},{"photo_id":"1328091070","filename":"file0"},{"photo_id":"1328091076","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328091072":["hashtag1","hashtag2"]},{"1328091074":["hashtag1","hashtag2"]},{"1328091082":["hashtag1","hashtag2"]},{"1328091076":["hashtag1","hashtag2"]},{"1328091079":["hashtag1","hashtag2"]},{"1328091070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328091072, 1328091074, 1328091082, 1328091076, 1328091079, 1328091070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.628013372421265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:42:02.662056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/40/image_11012025_08_40_02_789447_0003.jpg', '/home/pi/Desktop/images/11012025/08/41/image_11012025_08_41_02_372995_0000.jpg', '/home/pi/Desktop/images/11012025/08/41/image_11012025_08_41_02_372995_0001.jpg', '/home/pi/Desktop/images/11012025/08/41/image_11012025_08_41_02_372995_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/40/image_11012025_08_40_02_789447_0003.jpg
/home/pi/Desktop/images/11012025/08/41/image_11012025_08_41_02_372995_0000.jpg
/home/pi/Desktop/images/11012025/08/41/image_11012025_08_41_02_372995_0001.jpg
/home/pi/Desktop/images/11012025/08/41/image_11012025_08_41_02_372995_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328091093","1328091089","1328091088","1328091091"],"photo_ids_order":["1328091088","1328091089","1328091091","1328091093"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/12df40d6b4f4e1bc0aabdb895076b359.jpg","text":"TemporaryFile(/tmp/multipartBody8087179532737926767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581393353,"filename":"image_11012025_08_41_02_372995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3244b7378e41ba2c6a1961b92933b579.jpg","text":"TemporaryFile(/tmp/multipartBody8626486718172291206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581393353,"filename":"image_11012025_08_41_02_372995_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/001bb09d67bb92ba38fdd31be33f923c.jpg","text":"TemporaryFile(/tmp/multipartBody3387292786290576429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581393353,"filename":"image_11012025_08_40_02_789447_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9e7ea4fc1cd38695a18800e93d23cf34.jpg","text":"TemporaryFile(/tmp/multipartBody3014997203864159398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581393353,"filename":"image_11012025_08_41_02_372995_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328091091","file1":"1328091089","file0":"1328091088","file3":"1328091093"},"map_files_photo_id_array":[{"photo_id":"1328091091","filename":"file2"},{"photo_id":"1328091089","filename":"file1"},{"photo_id":"1328091088","filename":"file0"},{"photo_id":"1328091093","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328091093":["hashtag1","hashtag2"]},{"1328091089":["hashtag1","hashtag2"]},{"1328091088":["hashtag1","hashtag2"]},{"1328091091":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328091093, 1328091089, 1328091088, 1328091091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.85111665725708 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:43:02.539225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/41/image_11012025_08_41_02_372995_0003.jpg', '/home/pi/Desktop/images/11012025/08/42/image_11012025_08_42_02_879145_0000.jpg', '/home/pi/Desktop/images/11012025/08/42/image_11012025_08_42_02_879145_0001.jpg', '/home/pi/Desktop/images/11012025/08/42/image_11012025_08_42_02_879145_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/41/image_11012025_08_41_02_372995_0003.jpg
/home/pi/Desktop/images/11012025/08/42/image_11012025_08_42_02_879145_0000.jpg
/home/pi/Desktop/images/11012025/08/42/image_11012025_08_42_02_879145_0001.jpg
/home/pi/Desktop/images/11012025/08/42/image_11012025_08_42_02_879145_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.835575819015503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:43:21.786101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/41/image_11012025_08_41_02_372995_0003.jpg', '/home/pi/Desktop/images/11012025/08/42/image_11012025_08_42_02_879145_0000.jpg', '/home/pi/Desktop/images/11012025/08/42/image_11012025_08_42_02_879145_0001.jpg', '/home/pi/Desktop/images/11012025/08/42/image_11012025_08_42_02_879145_0002.jpg', '/home/pi/Desktop/images/11012025/08/42/image_11012025_08_42_02_879145_0003.jpg', '/home/pi/Desktop/images/11012025/08/43/image_11012025_08_43_02_636711_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/41/image_11012025_08_41_02_372995_0003.jpg
/home/pi/Desktop/images/11012025/08/42/image_11012025_08_42_02_879145_0000.jpg
/home/pi/Desktop/images/11012025/08/42/image_11012025_08_42_02_879145_0001.jpg
/home/pi/Desktop/images/11012025/08/42/image_11012025_08_42_02_879145_0002.jpg
/home/pi/Desktop/images/11012025/08/42/image_11012025_08_42_02_879145_0003.jpg
/home/pi/Desktop/images/11012025/08/43/image_11012025_08_43_02_636711_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328091154","1328091171","1328091147","1328091181","1328091151","1328091145"],"photo_ids_order":["1328091145","1328091147","1328091151","1328091154","1328091171","1328091181"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/771fbadff8c6ba003561afcfab70e41a.jpg","text":"TemporaryFile(/tmp/multipartBody4998052678784498046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581476806,"filename":"image_11012025_08_42_02_879145_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7b7a2eaeb5ba71f14533519b90c217a4.jpg","text":"TemporaryFile(/tmp/multipartBody1740994547656359887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581476806,"filename":"image_11012025_08_42_02_879145_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d90371e27e34b3d6ec9e352789feb842.jpg","text":"TemporaryFile(/tmp/multipartBody7448559891779652268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581476806,"filename":"image_11012025_08_42_02_879145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0f922e82def89232169eb745bd1d3d92.jpg","text":"TemporaryFile(/tmp/multipartBody2867311163139678994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581476806,"filename":"image_11012025_08_43_02_636711_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1c60aa7f41032fc3b29289437bc803a5.jpg","text":"TemporaryFile(/tmp/multipartBody4877933866910552491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581476806,"filename":"image_11012025_08_42_02_879145_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/78d6224e08daf92816dc450287f2d485.jpg","text":"TemporaryFile(/tmp/multipartBody7712161130357137198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581476806,"filename":"image_11012025_08_41_02_372995_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328091151","file1":"1328091147","file0":"1328091145","file4":"1328091171","file5":"1328091181","file3":"1328091154"},"map_files_photo_id_array":[{"photo_id":"1328091181","filename":"file5"},{"photo_id":"1328091151","filename":"file2"},{"photo_id":"1328091171","filename":"file4"},{"photo_id":"1328091147","filename":"file1"},{"photo_id":"1328091145","filename":"file0"},{"photo_id":"1328091154","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328091154":["hashtag1","hashtag2"]},{"1328091171":["hashtag1","hashtag2"]},{"1328091147":["hashtag1","hashtag2"]},{"1328091181":["hashtag1","hashtag2"]},{"1328091151":["hashtag1","hashtag2"]},{"1328091145":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328091154, 1328091171, 1328091147, 1328091181, 1328091151, 1328091145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.20884156227112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:44:22.380093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/43/image_11012025_08_43_02_636711_0001.jpg', '/home/pi/Desktop/images/11012025/08/43/image_11012025_08_43_02_636711_0002.jpg', '/home/pi/Desktop/images/11012025/08/43/image_11012025_08_43_02_636711_0003.jpg', '/home/pi/Desktop/images/11012025/08/44/image_11012025_08_44_02_169757_0000.jpg', '/home/pi/Desktop/images/11012025/08/44/image_11012025_08_44_02_169757_0001.jpg', '/home/pi/Desktop/images/11012025/08/44/image_11012025_08_44_02_169757_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/43/image_11012025_08_43_02_636711_0001.jpg
/home/pi/Desktop/images/11012025/08/43/image_11012025_08_43_02_636711_0002.jpg
/home/pi/Desktop/images/11012025/08/43/image_11012025_08_43_02_636711_0003.jpg
/home/pi/Desktop/images/11012025/08/44/image_11012025_08_44_02_169757_0000.jpg
/home/pi/Desktop/images/11012025/08/44/image_11012025_08_44_02_169757_0001.jpg
/home/pi/Desktop/images/11012025/08/44/image_11012025_08_44_02_169757_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328091210","1328091338","1328091308","1328091200","1328091203","1328091206"],"photo_ids_order":["1328091200","1328091203","1328091206","1328091210","1328091308","1328091338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/73cc59af9fc9d8d58b86bd4a1061fde7.jpg","text":"TemporaryFile(/tmp/multipartBody3501621866356892747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581537411,"filename":"image_11012025_08_44_02_169757_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0380b700243369284579b2208898fec3.jpg","text":"TemporaryFile(/tmp/multipartBody4365149980907673475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581537411,"filename":"image_11012025_08_44_02_169757_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/88fbb12539c9e980e7f750f540e37189.jpg","text":"TemporaryFile(/tmp/multipartBody3784443319177102038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581537411,"filename":"image_11012025_08_44_02_169757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d3d9e5c8d2a3db3acd8e038b32141080.jpg","text":"TemporaryFile(/tmp/multipartBody4576041801118355282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581537411,"filename":"image_11012025_08_43_02_636711_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e77e69beffa1b12745a7abc0684d3e28.jpg","text":"TemporaryFile(/tmp/multipartBody5945317587057627773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581537411,"filename":"image_11012025_08_43_02_636711_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/411f153b33fab117e1de4ec2e9bd879f.jpg","text":"TemporaryFile(/tmp/multipartBody7925768255611839470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581537411,"filename":"image_11012025_08_43_02_636711_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328091206","file1":"1328091203","file0":"1328091200","file4":"1328091308","file5":"1328091338","file3":"1328091210"},"map_files_photo_id_array":[{"photo_id":"1328091338","filename":"file5"},{"photo_id":"1328091206","filename":"file2"},{"photo_id":"1328091308","filename":"file4"},{"photo_id":"1328091203","filename":"file1"},{"photo_id":"1328091200","filename":"file0"},{"photo_id":"1328091210","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328091210":["hashtag1","hashtag2"]},{"1328091338":["hashtag1","hashtag2"]},{"1328091308":["hashtag1","hashtag2"]},{"1328091200":["hashtag1","hashtag2"]},{"1328091203":["hashtag1","hashtag2"]},{"1328091206":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328091210, 1328091338, 1328091308, 1328091200, 1328091203, 1328091206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.58294653892517 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:45:21.831319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/44/image_11012025_08_44_02_169757_0003.jpg', '/home/pi/Desktop/images/11012025/08/45/image_11012025_08_45_02_698269_0000.jpg', '/home/pi/Desktop/images/11012025/08/45/image_11012025_08_45_02_698269_0001.jpg', '/home/pi/Desktop/images/11012025/08/45/image_11012025_08_45_02_698269_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/44/image_11012025_08_44_02_169757_0003.jpg
/home/pi/Desktop/images/11012025/08/45/image_11012025_08_45_02_698269_0000.jpg
/home/pi/Desktop/images/11012025/08/45/image_11012025_08_45_02_698269_0001.jpg
/home/pi/Desktop/images/11012025/08/45/image_11012025_08_45_02_698269_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.816689014434814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:46:02.831582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/44/image_11012025_08_44_02_169757_0003.jpg', '/home/pi/Desktop/images/11012025/08/45/image_11012025_08_45_02_698269_0000.jpg', '/home/pi/Desktop/images/11012025/08/45/image_11012025_08_45_02_698269_0001.jpg', '/home/pi/Desktop/images/11012025/08/45/image_11012025_08_45_02_698269_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/44/image_11012025_08_44_02_169757_0003.jpg
/home/pi/Desktop/images/11012025/08/45/image_11012025_08_45_02_698269_0000.jpg
/home/pi/Desktop/images/11012025/08/45/image_11012025_08_45_02_698269_0001.jpg
/home/pi/Desktop/images/11012025/08/45/image_11012025_08_45_02_698269_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328091403","1328091402","1328091405","1328091560"],"photo_ids_order":["1328091402","1328091403","1328091405","1328091560"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/55313eb3c8376a81a75866605131af30.jpg","text":"TemporaryFile(/tmp/multipartBody6941132032180399757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581633069,"filename":"image_11012025_08_45_02_698269_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f83cddf0af1a47b22ba6fa8cc6bca74a.jpg","text":"TemporaryFile(/tmp/multipartBody2081445341979831154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581633069,"filename":"image_11012025_08_44_02_169757_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9d492724258bd1b97b69a2cd0058e6e0.jpg","text":"TemporaryFile(/tmp/multipartBody4964019862774381408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581633069,"filename":"image_11012025_08_45_02_698269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9a9cedfcabd9065941831397ba3f4428.jpg","text":"TemporaryFile(/tmp/multipartBody5032744341780975868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581633069,"filename":"image_11012025_08_45_02_698269_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328091405","file1":"1328091403","file0":"1328091402","file3":"1328091560"},"map_files_photo_id_array":[{"photo_id":"1328091405","filename":"file2"},{"photo_id":"1328091403","filename":"file1"},{"photo_id":"1328091402","filename":"file0"},{"photo_id":"1328091560","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328091403":["hashtag1","hashtag2"]},{"1328091402":["hashtag1","hashtag2"]},{"1328091405":["hashtag1","hashtag2"]},{"1328091560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328091403, 1328091402, 1328091405, 1328091560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.23867321014404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:47:02.468419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/45/image_11012025_08_45_02_698269_0003.jpg', '/home/pi/Desktop/images/11012025/08/46/image_11012025_08_46_02_175911_0000.jpg', '/home/pi/Desktop/images/11012025/08/46/image_11012025_08_46_02_175911_0001.jpg', '/home/pi/Desktop/images/11012025/08/46/image_11012025_08_46_02_175911_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/45/image_11012025_08_45_02_698269_0003.jpg
/home/pi/Desktop/images/11012025/08/46/image_11012025_08_46_02_175911_0000.jpg
/home/pi/Desktop/images/11012025/08/46/image_11012025_08_46_02_175911_0001.jpg
/home/pi/Desktop/images/11012025/08/46/image_11012025_08_46_02_175911_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328091570","1328091572","1328091571","1328091574"],"photo_ids_order":["1328091570","1328091571","1328091572","1328091574"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/43ebe68f5519762b8da446843585760b.jpg","text":"TemporaryFile(/tmp/multipartBody2779725888918885417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581692614,"filename":"image_11012025_08_45_02_698269_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c50b61358a5700b8e6111d29bc152bb3.jpg","text":"TemporaryFile(/tmp/multipartBody1652210191754213102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581692614,"filename":"image_11012025_08_46_02_175911_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cbca6d2d694935dbdacdaf5256e77cc1.jpg","text":"TemporaryFile(/tmp/multipartBody8386451537126326742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581692614,"filename":"image_11012025_08_46_02_175911_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6f7833cb5ad7d52f41431b864de3d578.jpg","text":"TemporaryFile(/tmp/multipartBody3449429667836662153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581692614,"filename":"image_11012025_08_46_02_175911_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328091572","file1":"1328091571","file0":"1328091570","file3":"1328091574"},"map_files_photo_id_array":[{"photo_id":"1328091572","filename":"file2"},{"photo_id":"1328091571","filename":"file1"},{"photo_id":"1328091570","filename":"file0"},{"photo_id":"1328091574","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328091570":["hashtag1","hashtag2"]},{"1328091572":["hashtag1","hashtag2"]},{"1328091571":["hashtag1","hashtag2"]},{"1328091574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328091570, 1328091572, 1328091571, 1328091574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.066394329071045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:48:02.749682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/46/image_11012025_08_46_02_175911_0003.jpg', '/home/pi/Desktop/images/11012025/08/47/image_11012025_08_47_02_636790_0000.jpg', '/home/pi/Desktop/images/11012025/08/47/image_11012025_08_47_02_636790_0001.jpg', '/home/pi/Desktop/images/11012025/08/47/image_11012025_08_47_02_636790_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/46/image_11012025_08_46_02_175911_0003.jpg
/home/pi/Desktop/images/11012025/08/47/image_11012025_08_47_02_636790_0000.jpg
/home/pi/Desktop/images/11012025/08/47/image_11012025_08_47_02_636790_0001.jpg
/home/pi/Desktop/images/11012025/08/47/image_11012025_08_47_02_636790_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328091591","1328091593","1328091596","1328091589"],"photo_ids_order":["1328091589","1328091591","1328091593","1328091596"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2941bca5722bf140a18b5ea21b2d3832.jpg","text":"TemporaryFile(/tmp/multipartBody1950466655723439556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581753036,"filename":"image_11012025_08_47_02_636790_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3128f4ea2236868a426f1d746a429e68.jpg","text":"TemporaryFile(/tmp/multipartBody6462466160701282554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581753036,"filename":"image_11012025_08_47_02_636790_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/97c638fc019d110f8c5427b38ce0befa.jpg","text":"TemporaryFile(/tmp/multipartBody3703163993199790762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581753036,"filename":"image_11012025_08_47_02_636790_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3cfa5094033527effcd4bfb675640cd2.jpg","text":"TemporaryFile(/tmp/multipartBody4437668716757146021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581753036,"filename":"image_11012025_08_46_02_175911_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328091593","file1":"1328091591","file0":"1328091589","file3":"1328091596"},"map_files_photo_id_array":[{"photo_id":"1328091593","filename":"file2"},{"photo_id":"1328091591","filename":"file1"},{"photo_id":"1328091589","filename":"file0"},{"photo_id":"1328091596","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328091591":["hashtag1","hashtag2"]},{"1328091593":["hashtag1","hashtag2"]},{"1328091596":["hashtag1","hashtag2"]},{"1328091589":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328091591, 1328091593, 1328091596, 1328091589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.95607566833496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:49:02.690254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/47/image_11012025_08_47_02_636790_0003.jpg', '/home/pi/Desktop/images/11012025/08/48/image_11012025_08_48_02_091025_0000.jpg', '/home/pi/Desktop/images/11012025/08/48/image_11012025_08_48_02_091025_0001.jpg', '/home/pi/Desktop/images/11012025/08/48/image_11012025_08_48_02_091025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/47/image_11012025_08_47_02_636790_0003.jpg
/home/pi/Desktop/images/11012025/08/48/image_11012025_08_48_02_091025_0000.jpg
/home/pi/Desktop/images/11012025/08/48/image_11012025_08_48_02_091025_0001.jpg
/home/pi/Desktop/images/11012025/08/48/image_11012025_08_48_02_091025_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328091631","1328091642","1328091630","1328091633"],"photo_ids_order":["1328091630","1328091631","1328091633","1328091642"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/910694b21ffaafd794ccc599725cd057.jpg","text":"TemporaryFile(/tmp/multipartBody2700114793341058292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581812923,"filename":"image_11012025_08_48_02_091025_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1f9ef6a27cdc45818bc0b084eeb7bf6a.jpg","text":"TemporaryFile(/tmp/multipartBody4115513936623537950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581812923,"filename":"image_11012025_08_48_02_091025_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/368e2f8617df8d96422c26eabc4d25d2.jpg","text":"TemporaryFile(/tmp/multipartBody8169113242592607651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581812923,"filename":"image_11012025_08_47_02_636790_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f8111add30959a87793f55a2bb20ac14.jpg","text":"TemporaryFile(/tmp/multipartBody8147132045588067963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581812923,"filename":"image_11012025_08_48_02_091025_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328091633","file1":"1328091631","file0":"1328091630","file3":"1328091642"},"map_files_photo_id_array":[{"photo_id":"1328091633","filename":"file2"},{"photo_id":"1328091631","filename":"file1"},{"photo_id":"1328091630","filename":"file0"},{"photo_id":"1328091642","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328091631":["hashtag1","hashtag2"]},{"1328091642":["hashtag1","hashtag2"]},{"1328091630":["hashtag1","hashtag2"]},{"1328091633":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328091631, 1328091642, 1328091630, 1328091633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.63381028175354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:50:02.906548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/48/image_11012025_08_48_02_091025_0003.jpg', '/home/pi/Desktop/images/11012025/08/49/image_11012025_08_49_02_789080_0000.jpg', '/home/pi/Desktop/images/11012025/08/49/image_11012025_08_49_02_789080_0001.jpg', '/home/pi/Desktop/images/11012025/08/49/image_11012025_08_49_02_789080_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/48/image_11012025_08_48_02_091025_0003.jpg
/home/pi/Desktop/images/11012025/08/49/image_11012025_08_49_02_789080_0000.jpg
/home/pi/Desktop/images/11012025/08/49/image_11012025_08_49_02_789080_0001.jpg
/home/pi/Desktop/images/11012025/08/49/image_11012025_08_49_02_789080_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.906728029251099 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:50:22.615252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/48/image_11012025_08_48_02_091025_0003.jpg', '/home/pi/Desktop/images/11012025/08/49/image_11012025_08_49_02_789080_0000.jpg', '/home/pi/Desktop/images/11012025/08/49/image_11012025_08_49_02_789080_0001.jpg', '/home/pi/Desktop/images/11012025/08/49/image_11012025_08_49_02_789080_0002.jpg', '/home/pi/Desktop/images/11012025/08/49/image_11012025_08_49_02_789080_0003.jpg', '/home/pi/Desktop/images/11012025/08/50/image_11012025_08_50_02_388436_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/48/image_11012025_08_48_02_091025_0003.jpg
/home/pi/Desktop/images/11012025/08/49/image_11012025_08_49_02_789080_0000.jpg
/home/pi/Desktop/images/11012025/08/49/image_11012025_08_49_02_789080_0001.jpg
/home/pi/Desktop/images/11012025/08/49/image_11012025_08_49_02_789080_0002.jpg
/home/pi/Desktop/images/11012025/08/49/image_11012025_08_49_02_789080_0003.jpg
/home/pi/Desktop/images/11012025/08/50/image_11012025_08_50_02_388436_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328091820","1328091823","1328091813","1328091816","1328091818","1328091809"],"photo_ids_order":["1328091809","1328091813","1328091816","1328091818","1328091820","1328091823"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d06459e0cdf58e2ba263e317c4680a5d.jpg","text":"TemporaryFile(/tmp/multipartBody2089548117696340823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581897595,"filename":"image_11012025_08_49_02_789080_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/daddfa0e6dcc27f95682ed4c432cf079.jpg","text":"TemporaryFile(/tmp/multipartBody9032874447457738661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581897595,"filename":"image_11012025_08_50_02_388436_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2addb56b5cecd93a4fa32ab3c43b5fbe.jpg","text":"TemporaryFile(/tmp/multipartBody3478401063672220621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581897595,"filename":"image_11012025_08_49_02_789080_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/72da913e29167bd2bb29419102545e1a.jpg","text":"TemporaryFile(/tmp/multipartBody641902187553890540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581897595,"filename":"image_11012025_08_49_02_789080_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ec7ea10485939b7de0c499c61d830dd7.jpg","text":"TemporaryFile(/tmp/multipartBody6051956661032401833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581897595,"filename":"image_11012025_08_49_02_789080_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/72ac62354042360d998e8780c2a8a3ad.jpg","text":"TemporaryFile(/tmp/multipartBody5217971733848116357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581897595,"filename":"image_11012025_08_48_02_091025_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328091816","file1":"1328091813","file0":"1328091809","file4":"1328091820","file5":"1328091823","file3":"1328091818"},"map_files_photo_id_array":[{"photo_id":"1328091823","filename":"file5"},{"photo_id":"1328091816","filename":"file2"},{"photo_id":"1328091820","filename":"file4"},{"photo_id":"1328091813","filename":"file1"},{"photo_id":"1328091809","filename":"file0"},{"photo_id":"1328091818","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328091820":["hashtag1","hashtag2"]},{"1328091823":["hashtag1","hashtag2"]},{"1328091813":["hashtag1","hashtag2"]},{"1328091816":["hashtag1","hashtag2"]},{"1328091818":["hashtag1","hashtag2"]},{"1328091809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328091820, 1328091823, 1328091813, 1328091816, 1328091818, 1328091809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.297091007232666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:51:22.024793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/50/image_11012025_08_50_02_388436_0001.jpg', '/home/pi/Desktop/images/11012025/08/50/image_11012025_08_50_02_388436_0002.jpg', '/home/pi/Desktop/images/11012025/08/50/image_11012025_08_50_02_388436_0003.jpg', '/home/pi/Desktop/images/11012025/08/51/image_11012025_08_51_02_916768_0000.jpg', '/home/pi/Desktop/images/11012025/08/51/image_11012025_08_51_02_916768_0001.jpg', '/home/pi/Desktop/images/11012025/08/51/image_11012025_08_51_02_916768_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/50/image_11012025_08_50_02_388436_0001.jpg
/home/pi/Desktop/images/11012025/08/50/image_11012025_08_50_02_388436_0002.jpg
/home/pi/Desktop/images/11012025/08/50/image_11012025_08_50_02_388436_0003.jpg
/home/pi/Desktop/images/11012025/08/51/image_11012025_08_51_02_916768_0000.jpg
/home/pi/Desktop/images/11012025/08/51/image_11012025_08_51_02_916768_0001.jpg
/home/pi/Desktop/images/11012025/08/51/image_11012025_08_51_02_916768_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328091841","1328091846","1328091848","1328091850","1328091844","1328091838"],"photo_ids_order":["1328091838","1328091841","1328091844","1328091846","1328091848","1328091850"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/65faa0b9495ad230141c429a28892a22.jpg","text":"TemporaryFile(/tmp/multipartBody4389617905643024905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581956974,"filename":"image_11012025_08_50_02_388436_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b220520a32f8cd970897ae58bb0a7caf.jpg","text":"TemporaryFile(/tmp/multipartBody9001741489595265583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581956974,"filename":"image_11012025_08_51_02_916768_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8e4132be9b3a7be42e9522f2f8e4ef65.jpg","text":"TemporaryFile(/tmp/multipartBody5030024589435485562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581956974,"filename":"image_11012025_08_51_02_916768_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c147497c65d39c70a3579e3accdf394.jpg","text":"TemporaryFile(/tmp/multipartBody2777705674756620572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581956974,"filename":"image_11012025_08_51_02_916768_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/938b9badd3243d1c0532017456cbc83d.jpg","text":"TemporaryFile(/tmp/multipartBody4728376567226315168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581956974,"filename":"image_11012025_08_50_02_388436_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2a3d47194f9897b37f29c4aa96e9bad9.jpg","text":"TemporaryFile(/tmp/multipartBody3447132512593004149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736581956974,"filename":"image_11012025_08_50_02_388436_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328091844","file1":"1328091841","file0":"1328091838","file4":"1328091848","file5":"1328091850","file3":"1328091846"},"map_files_photo_id_array":[{"photo_id":"1328091850","filename":"file5"},{"photo_id":"1328091844","filename":"file2"},{"photo_id":"1328091848","filename":"file4"},{"photo_id":"1328091841","filename":"file1"},{"photo_id":"1328091838","filename":"file0"},{"photo_id":"1328091846","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328091841":["hashtag1","hashtag2"]},{"1328091846":["hashtag1","hashtag2"]},{"1328091848":["hashtag1","hashtag2"]},{"1328091850":["hashtag1","hashtag2"]},{"1328091844":["hashtag1","hashtag2"]},{"1328091838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328091841, 1328091846, 1328091848, 1328091850, 1328091844, 1328091838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.754016637802124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:52:22.530601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/51/image_11012025_08_51_02_916768_0003.jpg', '/home/pi/Desktop/images/11012025/08/52/image_11012025_08_52_02_426564_0001.jpg', '/home/pi/Desktop/images/11012025/08/52/image_11012025_08_52_02_426564_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/51/image_11012025_08_51_02_916768_0003.jpg
/home/pi/Desktop/images/11012025/08/52/image_11012025_08_52_02_426564_0001.jpg
/home/pi/Desktop/images/11012025/08/52/image_11012025_08_52_02_426564_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328091891","1328091894","1328091887"],"photo_ids_order":["1328091887","1328091891","1328091894"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5a51b704c2df2ac43e1beb439bdb1f51.jpg","text":"TemporaryFile(/tmp/multipartBody7783528039574066497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582010406,"filename":"image_11012025_08_52_02_426564_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dafb30ac312751e7f50e4a4148a4f977.jpg","text":"TemporaryFile(/tmp/multipartBody8630436464152252915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582010406,"filename":"image_11012025_08_52_02_426564_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/00acc4ca94d47dbb9a1adface20d5c6b.jpg","text":"TemporaryFile(/tmp/multipartBody7872588608724917314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582010406,"filename":"image_11012025_08_51_02_916768_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328091894","file1":"1328091891","file0":"1328091887"},"map_files_photo_id_array":[{"photo_id":"1328091894","filename":"file2"},{"photo_id":"1328091891","filename":"file1"},{"photo_id":"1328091887","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328091891":["hashtag1","hashtag2"]},{"1328091894":["hashtag1","hashtag2"]},{"1328091887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328091891, 1328091894, 1328091887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.391783237457275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:53:02.524270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/42/image_09012025_23_42_02_928031_0003.jpg', '/home/pi/Desktop/images/09012025/23/43/image_09012025_23_43_03_056695_0000.jpg', '/home/pi/Desktop/images/09012025/23/43/image_09012025_23_43_03_056695_0001.jpg', '/home/pi/Desktop/images/09012025/23/43/image_09012025_23_43_03_056695_0002.jpg', '/home/pi/Desktop/images/09012025/23/44/image_09012025_23_44_02_379038_0000.jpg', '/home/pi/Desktop/images/09012025/23/44/image_09012025_23_44_02_379038_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/42/image_09012025_23_42_02_928031_0003.jpg
/home/pi/Desktop/images/09012025/23/43/image_09012025_23_43_03_056695_0000.jpg
/home/pi/Desktop/images/09012025/23/43/image_09012025_23_43_03_056695_0001.jpg
/home/pi/Desktop/images/09012025/23/43/image_09012025_23_43_03_056695_0002.jpg
/home/pi/Desktop/images/09012025/23/44/image_09012025_23_44_02_379038_0000.jpg
/home/pi/Desktop/images/09012025/23/44/image_09012025_23_44_02_379038_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328091907","1328091915","1328091909","1328091911","1328091905","1328091919"],"photo_ids_order":["1328091905","1328091907","1328091909","1328091911","1328091915","1328091919"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e35ac6a18bcdc1a07fa4391f8469dff3.jpg","text":"TemporaryFile(/tmp/multipartBody6009397330413817311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582058749,"filename":"image_09012025_23_43_03_056695_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4238edc412d2fb4bbc0a6b14e648071b.jpg","text":"TemporaryFile(/tmp/multipartBody1802899321738961235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582058749,"filename":"image_09012025_23_44_02_379038_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4caf4f7f0f2cc2b60a567ebdf940e7aa.jpg","text":"TemporaryFile(/tmp/multipartBody1941949702276463807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582058749,"filename":"image_09012025_23_43_03_056695_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/140ab154b95b2a34be014f7e15e69317.jpg","text":"TemporaryFile(/tmp/multipartBody5500961524924559256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582058749,"filename":"image_09012025_23_43_03_056695_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a9b7512e80e6d8f837818f6f18de0a44.jpg","text":"TemporaryFile(/tmp/multipartBody3480094310035433360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582058749,"filename":"image_09012025_23_42_02_928031_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f737e4bffe9f7bf493b0ee39dcd5bb7d.jpg","text":"TemporaryFile(/tmp/multipartBody3052599234045982287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582058749,"filename":"image_09012025_23_44_02_379038_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328091909","file1":"1328091907","file0":"1328091905","file4":"1328091915","file5":"1328091919","file3":"1328091911"},"map_files_photo_id_array":[{"photo_id":"1328091919","filename":"file5"},{"photo_id":"1328091909","filename":"file2"},{"photo_id":"1328091915","filename":"file4"},{"photo_id":"1328091907","filename":"file1"},{"photo_id":"1328091905","filename":"file0"},{"photo_id":"1328091911","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328091907":["hashtag1","hashtag2"]},{"1328091915":["hashtag1","hashtag2"]},{"1328091909":["hashtag1","hashtag2"]},{"1328091911":["hashtag1","hashtag2"]},{"1328091905":["hashtag1","hashtag2"]},{"1328091919":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328091907, 1328091915, 1328091909, 1328091911, 1328091905, 1328091919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.31083917617798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:54:03.097951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/52/image_11012025_08_52_02_426564_0003.jpg', '/home/pi/Desktop/images/11012025/08/53/image_11012025_08_53_02_897347_0000.jpg', '/home/pi/Desktop/images/11012025/08/53/image_11012025_08_53_02_897347_0001.jpg', '/home/pi/Desktop/images/11012025/08/53/image_11012025_08_53_02_897347_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/52/image_11012025_08_52_02_426564_0003.jpg
/home/pi/Desktop/images/11012025/08/53/image_11012025_08_53_02_897347_0000.jpg
/home/pi/Desktop/images/11012025/08/53/image_11012025_08_53_02_897347_0001.jpg
/home/pi/Desktop/images/11012025/08/53/image_11012025_08_53_02_897347_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328091927","1328091953","1328091929","1328091931"],"photo_ids_order":["1328091927","1328091929","1328091931","1328091953"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/de7c7b549d1b3b7f9511afb4a085a94b.jpg","text":"TemporaryFile(/tmp/multipartBody6668638500524571475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582113194,"filename":"image_11012025_08_52_02_426564_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9f8a3539c99eebf328ce1893b7d9411a.jpg","text":"TemporaryFile(/tmp/multipartBody6950664411920374355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582113194,"filename":"image_11012025_08_53_02_897347_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fc6186023c2570498beda469b58936c6.jpg","text":"TemporaryFile(/tmp/multipartBody6964802587854441453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582113194,"filename":"image_11012025_08_53_02_897347_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/85b65687e8a721b19573696c20d91bbb.jpg","text":"TemporaryFile(/tmp/multipartBody7039147240961959339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582113194,"filename":"image_11012025_08_53_02_897347_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328091931","file1":"1328091929","file0":"1328091927","file3":"1328091953"},"map_files_photo_id_array":[{"photo_id":"1328091931","filename":"file2"},{"photo_id":"1328091929","filename":"file1"},{"photo_id":"1328091927","filename":"file0"},{"photo_id":"1328091953","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328091927":["hashtag1","hashtag2"]},{"1328091953":["hashtag1","hashtag2"]},{"1328091929":["hashtag1","hashtag2"]},{"1328091931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328091927, 1328091953, 1328091929, 1328091931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.38489079475403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:55:02.870110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/53/image_11012025_08_53_02_897347_0003.jpg', '/home/pi/Desktop/images/11012025/08/54/image_11012025_08_54_02_387996_0000.jpg', '/home/pi/Desktop/images/11012025/08/54/image_11012025_08_54_02_387996_0001.jpg', '/home/pi/Desktop/images/11012025/08/54/image_11012025_08_54_02_387996_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/53/image_11012025_08_53_02_897347_0003.jpg
/home/pi/Desktop/images/11012025/08/54/image_11012025_08_54_02_387996_0000.jpg
/home/pi/Desktop/images/11012025/08/54/image_11012025_08_54_02_387996_0001.jpg
/home/pi/Desktop/images/11012025/08/54/image_11012025_08_54_02_387996_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328091966","1328091992","1328091976","1328091964"],"photo_ids_order":["1328091964","1328091966","1328091976","1328091992"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ecfa838b00188dd2d277532bee463460.jpg","text":"TemporaryFile(/tmp/multipartBody3385621982456055848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582173037,"filename":"image_11012025_08_54_02_387996_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/11af359d13e29d156203c59e9c3932e4.jpg","text":"TemporaryFile(/tmp/multipartBody1947249883613473546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582173037,"filename":"image_11012025_08_54_02_387996_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4f4f5210a1792c628c893cab0c065e52.jpg","text":"TemporaryFile(/tmp/multipartBody8807955363918484895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582173037,"filename":"image_11012025_08_54_02_387996_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a2bf4d3f754f389316cba2c9a4929eb4.jpg","text":"TemporaryFile(/tmp/multipartBody4215354610259076709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582173037,"filename":"image_11012025_08_53_02_897347_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328091976","file1":"1328091966","file0":"1328091964","file3":"1328091992"},"map_files_photo_id_array":[{"photo_id":"1328091976","filename":"file2"},{"photo_id":"1328091966","filename":"file1"},{"photo_id":"1328091964","filename":"file0"},{"photo_id":"1328091992","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328091966":["hashtag1","hashtag2"]},{"1328091992":["hashtag1","hashtag2"]},{"1328091976":["hashtag1","hashtag2"]},{"1328091964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328091966, 1328091992, 1328091976, 1328091964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.04091835021973 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 08:56:03.072301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/54/image_11012025_08_54_02_387996_0003.jpg', '/home/pi/Desktop/images/11012025/08/55/image_11012025_08_55_03_022689_0000.jpg', '/home/pi/Desktop/images/11012025/08/55/image_11012025_08_55_03_022689_0001.jpg', '/home/pi/Desktop/images/11012025/08/55/image_11012025_08_55_03_022689_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/54/image_11012025_08_54_02_387996_0003.jpg
/home/pi/Desktop/images/11012025/08/55/image_11012025_08_55_03_022689_0000.jpg
/home/pi/Desktop/images/11012025/08/55/image_11012025_08_55_03_022689_0001.jpg
/home/pi/Desktop/images/11012025/08/55/image_11012025_08_55_03_022689_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.770541906356812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:56:22.711000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/54/image_11012025_08_54_02_387996_0003.jpg', '/home/pi/Desktop/images/11012025/08/55/image_11012025_08_55_03_022689_0000.jpg', '/home/pi/Desktop/images/11012025/08/55/image_11012025_08_55_03_022689_0001.jpg', '/home/pi/Desktop/images/11012025/08/55/image_11012025_08_55_03_022689_0002.jpg', '/home/pi/Desktop/images/11012025/08/55/image_11012025_08_55_03_022689_0003.jpg', '/home/pi/Desktop/images/11012025/08/56/image_11012025_08_56_02_528435_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/54/image_11012025_08_54_02_387996_0003.jpg
/home/pi/Desktop/images/11012025/08/55/image_11012025_08_55_03_022689_0000.jpg
/home/pi/Desktop/images/11012025/08/55/image_11012025_08_55_03_022689_0001.jpg
/home/pi/Desktop/images/11012025/08/55/image_11012025_08_55_03_022689_0002.jpg
/home/pi/Desktop/images/11012025/08/55/image_11012025_08_55_03_022689_0003.jpg
/home/pi/Desktop/images/11012025/08/56/image_11012025_08_56_02_528435_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328092173","1328092175","1328092169","1328092178","1328092166","1328092177"],"photo_ids_order":["1328092166","1328092169","1328092173","1328092175","1328092177","1328092178"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c56b57970e14a6d305ec9531691288bf.jpg","text":"TemporaryFile(/tmp/multipartBody5754748048600664253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582257673,"filename":"image_11012025_08_55_03_022689_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/22ac68a50871792b2bae788c726b59fa.jpg","text":"TemporaryFile(/tmp/multipartBody5263898739665141947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582257673,"filename":"image_11012025_08_55_03_022689_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8012f09b52cc8ff2feef462de6356677.jpg","text":"TemporaryFile(/tmp/multipartBody6969756020827100088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582257673,"filename":"image_11012025_08_55_03_022689_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f6a52ef2337a678d4d0f4afd796dd458.jpg","text":"TemporaryFile(/tmp/multipartBody3547838972175361713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582257673,"filename":"image_11012025_08_56_02_528435_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2b42d730ecf9c1768da6817c9e84e0ad.jpg","text":"TemporaryFile(/tmp/multipartBody8880932680387642562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582257673,"filename":"image_11012025_08_54_02_387996_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/66773911aa0b80bc9c4769f3fbb9004b.jpg","text":"TemporaryFile(/tmp/multipartBody6089514621473105636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582257673,"filename":"image_11012025_08_55_03_022689_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328092173","file1":"1328092169","file0":"1328092166","file4":"1328092177","file5":"1328092178","file3":"1328092175"},"map_files_photo_id_array":[{"photo_id":"1328092178","filename":"file5"},{"photo_id":"1328092173","filename":"file2"},{"photo_id":"1328092177","filename":"file4"},{"photo_id":"1328092169","filename":"file1"},{"photo_id":"1328092166","filename":"file0"},{"photo_id":"1328092175","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328092173":["hashtag1","hashtag2"]},{"1328092175":["hashtag1","hashtag2"]},{"1328092169":["hashtag1","hashtag2"]},{"1328092178":["hashtag1","hashtag2"]},{"1328092166":["hashtag1","hashtag2"]},{"1328092177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328092173, 1328092175, 1328092169, 1328092178, 1328092166, 1328092177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.13565993309021 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 08:57:22.134035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/56/image_11012025_08_56_02_528435_0001.jpg', '/home/pi/Desktop/images/11012025/08/56/image_11012025_08_56_02_528435_0002.jpg', '/home/pi/Desktop/images/11012025/08/56/image_11012025_08_56_02_528435_0003.jpg', '/home/pi/Desktop/images/11012025/08/57/image_11012025_08_57_03_044481_0000.jpg', '/home/pi/Desktop/images/11012025/08/57/image_11012025_08_57_03_044481_0001.jpg', '/home/pi/Desktop/images/11012025/08/57/image_11012025_08_57_03_044481_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/56/image_11012025_08_56_02_528435_0001.jpg
/home/pi/Desktop/images/11012025/08/56/image_11012025_08_56_02_528435_0002.jpg
/home/pi/Desktop/images/11012025/08/56/image_11012025_08_56_02_528435_0003.jpg
/home/pi/Desktop/images/11012025/08/57/image_11012025_08_57_03_044481_0000.jpg
/home/pi/Desktop/images/11012025/08/57/image_11012025_08_57_03_044481_0001.jpg
/home/pi/Desktop/images/11012025/08/57/image_11012025_08_57_03_044481_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-11 08:59:02.543693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/56/image_11012025_08_56_02_528435_0001.jpg', '/home/pi/Desktop/images/11012025/08/56/image_11012025_08_56_02_528435_0002.jpg', '/home/pi/Desktop/images/11012025/08/56/image_11012025_08_56_02_528435_0003.jpg', '/home/pi/Desktop/images/11012025/08/57/image_11012025_08_57_03_044481_0000.jpg', '/home/pi/Desktop/images/11012025/08/57/image_11012025_08_57_03_044481_0001.jpg', '/home/pi/Desktop/images/11012025/08/57/image_11012025_08_57_03_044481_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/56/image_11012025_08_56_02_528435_0001.jpg
/home/pi/Desktop/images/11012025/08/56/image_11012025_08_56_02_528435_0002.jpg
/home/pi/Desktop/images/11012025/08/56/image_11012025_08_56_02_528435_0003.jpg
/home/pi/Desktop/images/11012025/08/57/image_11012025_08_57_03_044481_0000.jpg
/home/pi/Desktop/images/11012025/08/57/image_11012025_08_57_03_044481_0001.jpg
/home/pi/Desktop/images/11012025/08/57/image_11012025_08_57_03_044481_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328092236","1328092253","1328092252","1328092255","1328092249","1328092243"],"photo_ids_order":["1328092236","1328092243","1328092249","1328092252","1328092253","1328092255"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/08260da1cfac7ab45da9c98e67844020.jpg","text":"TemporaryFile(/tmp/multipartBody2974644000297276230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582417502,"filename":"image_11012025_08_56_02_528435_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/29285f3c48bcdd84fc2a590c0a45a57f.jpg","text":"TemporaryFile(/tmp/multipartBody6515237366872854210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582417502,"filename":"image_11012025_08_57_03_044481_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/451d8d704524e78cb5c7b5d04cc8bf38.jpg","text":"TemporaryFile(/tmp/multipartBody2493499586310891067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582417502,"filename":"image_11012025_08_57_03_044481_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d737840c5f93871e875a469c935612cb.jpg","text":"TemporaryFile(/tmp/multipartBody1509536897004565688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582417502,"filename":"image_11012025_08_57_03_044481_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e2aedf6aa056f239587baa7c7c3f2799.jpg","text":"TemporaryFile(/tmp/multipartBody5115817826050678588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582417502,"filename":"image_11012025_08_56_02_528435_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a737daccba4d3d9c63a672ef95cced9e.jpg","text":"TemporaryFile(/tmp/multipartBody4891938419853147601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582417502,"filename":"image_11012025_08_56_02_528435_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328092249","file1":"1328092243","file0":"1328092236","file4":"1328092253","file5":"1328092255","file3":"1328092252"},"map_files_photo_id_array":[{"photo_id":"1328092255","filename":"file5"},{"photo_id":"1328092249","filename":"file2"},{"photo_id":"1328092253","filename":"file4"},{"photo_id":"1328092243","filename":"file1"},{"photo_id":"1328092236","filename":"file0"},{"photo_id":"1328092252","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328092236":["hashtag1","hashtag2"]},{"1328092253":["hashtag1","hashtag2"]},{"1328092252":["hashtag1","hashtag2"]},{"1328092255":["hashtag1","hashtag2"]},{"1328092249":["hashtag1","hashtag2"]},{"1328092243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328092236, 1328092253, 1328092252, 1328092255, 1328092249, 1328092243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.57578921318054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:00:03.089105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/57/image_11012025_08_57_03_044481_0003.jpg', '/home/pi/Desktop/images/11012025/08/58/image_11012025_08_58_02_600036_0000.jpg', '/home/pi/Desktop/images/11012025/08/58/image_11012025_08_58_02_600036_0001.jpg', '/home/pi/Desktop/images/11012025/08/58/image_11012025_08_58_02_600036_0002.jpg', '/home/pi/Desktop/images/11012025/08/58/image_11012025_08_58_02_600036_0003.jpg', '/home/pi/Desktop/images/11012025/08/59/image_11012025_08_59_03_101782_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/57/image_11012025_08_57_03_044481_0003.jpg
/home/pi/Desktop/images/11012025/08/58/image_11012025_08_58_02_600036_0000.jpg
/home/pi/Desktop/images/11012025/08/58/image_11012025_08_58_02_600036_0001.jpg
/home/pi/Desktop/images/11012025/08/58/image_11012025_08_58_02_600036_0002.jpg
/home/pi/Desktop/images/11012025/08/58/image_11012025_08_58_02_600036_0003.jpg
/home/pi/Desktop/images/11012025/08/59/image_11012025_08_59_03_101782_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":["1328092437","1328093144","1328092505","1328092690","1328093317","1328092863"],"photo_ids_order":["1328092437","1328092505","1328092690","1328092863","1328093144","1328093317"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c0416d5d103aa0de8d31143d5ad66c66.jpg","text":"TemporaryFile(/tmp/multipartBody4527866520347468055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582477957,"filename":"image_11012025_08_57_03_044481_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/53d81e74b0236c8e60a328bdb9e13ae8.jpg","text":"TemporaryFile(/tmp/multipartBody1833854084454717693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582477957,"filename":"image_11012025_08_58_02_600036_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c8aa13ade206538a622b4591d037a4d1.jpg","text":"TemporaryFile(/tmp/multipartBody5816581658532313503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582477957,"filename":"image_11012025_08_58_02_600036_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/38c98fc86eed0505d8f1a52317e4c5e6.jpg","text":"TemporaryFile(/tmp/multipartBody1475963728147003265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582477957,"filename":"image_11012025_08_58_02_600036_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4a7f55f0fdb026a4b34d1b13e55d380b.jpg","text":"TemporaryFile(/tmp/multipartBody8136510605555806426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582477957,"filename":"image_11012025_08_59_03_101782_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a82ce17f4eebd05bce2390451f255902.jpg","text":"TemporaryFile(/tmp/multipartBody5551959153397659899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582477957,"filename":"image_11012025_08_58_02_600036_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328092690","file1":"1328092505","file0":"1328092437","file4":"1328093144","file5":"1328093317","file3":"1328092863"},"map_files_photo_id_array":[{"photo_id":"1328093317","filename":"file5"},{"photo_id":"1328092690","filename":"file2"},{"photo_id":"1328093144","filename":"file4"},{"photo_id":"1328092505","filename":"file1"},{"photo_id":"1328092437","filename":"file0"},{"photo_id":"1328092863","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328092437":["hashtag1","hashtag2"]},{"1328093144":["hashtag1","hashtag2"]},{"1328092505":["hashtag1","hashtag2"]},{"1328092690":["hashtag1","hashtag2"]},{"1328093317":["hashtag1","hashtag2"]},{"1328092863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328092437, 1328093144, 1328092505, 1328092690, 1328093317, 1328092863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.38087821006775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 09:01:22.125314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/59/image_11012025_08_59_03_101782_0001.jpg', '/home/pi/Desktop/images/11012025/08/59/image_11012025_08_59_03_101782_0002.jpg', '/home/pi/Desktop/images/11012025/08/59/image_11012025_08_59_03_101782_0003.jpg', '/home/pi/Desktop/images/11012025/09/00/image_11012025_09_00_02_417512_0000.jpg', '/home/pi/Desktop/images/11012025/09/00/image_11012025_09_00_02_417512_0001.jpg', '/home/pi/Desktop/images/11012025/09/00/image_11012025_09_00_02_417512_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/08/59/image_11012025_08_59_03_101782_0001.jpg
/home/pi/Desktop/images/11012025/08/59/image_11012025_08_59_03_101782_0002.jpg
/home/pi/Desktop/images/11012025/08/59/image_11012025_08_59_03_101782_0003.jpg
/home/pi/Desktop/images/11012025/09/00/image_11012025_09_00_02_417512_0000.jpg
/home/pi/Desktop/images/11012025/09/00/image_11012025_09_00_02_417512_0001.jpg
/home/pi/Desktop/images/11012025/09/00/image_11012025_09_00_02_417512_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328093687","1328093494","1328093350","1328093644","1328093617","1328093685"],"photo_ids_order":["1328093350","1328093494","1328093617","1328093644","1328093685","1328093687"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/64460e0ebb684593bb4522a127e1a2be.jpg","text":"TemporaryFile(/tmp/multipartBody1977189376912895101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582557156,"filename":"image_11012025_09_00_02_417512_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0a30dc4650d9facc3563ae4a5a891f37.jpg","text":"TemporaryFile(/tmp/multipartBody3862182090499548292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582557156,"filename":"image_11012025_08_59_03_101782_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/60ab05fdc36fcd4654d353f07af197c4.jpg","text":"TemporaryFile(/tmp/multipartBody4134195934250346094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582557156,"filename":"image_11012025_08_59_03_101782_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f30cd6bbd213a4b0e0bcff29bd93a9e9.jpg","text":"TemporaryFile(/tmp/multipartBody3324427441667632482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582557156,"filename":"image_11012025_09_00_02_417512_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e363cac015b5d6cc5d2364c9560b3272.jpg","text":"TemporaryFile(/tmp/multipartBody5760468001701342895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582557156,"filename":"image_11012025_08_59_03_101782_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/96f0abe8256647eaa6711e141e2a1735.jpg","text":"TemporaryFile(/tmp/multipartBody1470553597729416907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582557156,"filename":"image_11012025_09_00_02_417512_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328093617","file1":"1328093494","file0":"1328093350","file4":"1328093685","file5":"1328093687","file3":"1328093644"},"map_files_photo_id_array":[{"photo_id":"1328093687","filename":"file5"},{"photo_id":"1328093617","filename":"file2"},{"photo_id":"1328093685","filename":"file4"},{"photo_id":"1328093494","filename":"file1"},{"photo_id":"1328093350","filename":"file0"},{"photo_id":"1328093644","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328093687":["hashtag1","hashtag2"]},{"1328093494":["hashtag1","hashtag2"]},{"1328093350":["hashtag1","hashtag2"]},{"1328093644":["hashtag1","hashtag2"]},{"1328093617":["hashtag1","hashtag2"]},{"1328093685":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328093687, 1328093494, 1328093350, 1328093644, 1328093617, 1328093685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.629210233688354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 09:02:22.681593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/00/image_11012025_09_00_02_417512_0003.jpg', '/home/pi/Desktop/images/11012025/09/01/image_11012025_09_01_02_997530_0000.jpg', '/home/pi/Desktop/images/11012025/09/01/image_11012025_09_01_02_997530_0001.jpg', '/home/pi/Desktop/images/11012025/09/01/image_11012025_09_01_02_997530_0002.jpg', '/home/pi/Desktop/images/11012025/09/01/image_11012025_09_01_02_997530_0003.jpg', '/home/pi/Desktop/images/11012025/09/02/image_11012025_09_02_02_533681_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/00/image_11012025_09_00_02_417512_0003.jpg
/home/pi/Desktop/images/11012025/09/01/image_11012025_09_01_02_997530_0000.jpg
/home/pi/Desktop/images/11012025/09/01/image_11012025_09_01_02_997530_0001.jpg
/home/pi/Desktop/images/11012025/09/01/image_11012025_09_01_02_997530_0002.jpg
/home/pi/Desktop/images/11012025/09/01/image_11012025_09_01_02_997530_0003.jpg
/home/pi/Desktop/images/11012025/09/02/image_11012025_09_02_02_533681_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.876203536987305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:03:02.837965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/00/image_11012025_09_00_02_417512_0003.jpg', '/home/pi/Desktop/images/11012025/09/01/image_11012025_09_01_02_997530_0000.jpg', '/home/pi/Desktop/images/11012025/09/01/image_11012025_09_01_02_997530_0001.jpg', '/home/pi/Desktop/images/11012025/09/01/image_11012025_09_01_02_997530_0002.jpg', '/home/pi/Desktop/images/11012025/09/01/image_11012025_09_01_02_997530_0003.jpg', '/home/pi/Desktop/images/11012025/09/02/image_11012025_09_02_02_533681_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/00/image_11012025_09_00_02_417512_0003.jpg
/home/pi/Desktop/images/11012025/09/01/image_11012025_09_01_02_997530_0000.jpg
/home/pi/Desktop/images/11012025/09/01/image_11012025_09_01_02_997530_0001.jpg
/home/pi/Desktop/images/11012025/09/01/image_11012025_09_01_02_997530_0002.jpg
/home/pi/Desktop/images/11012025/09/01/image_11012025_09_01_02_997530_0003.jpg
/home/pi/Desktop/images/11012025/09/02/image_11012025_09_02_02_533681_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328093822","1328093819","1328093813","1328093816","1328093809","1328093838"],"photo_ids_order":["1328093809","1328093813","1328093816","1328093819","1328093822","1328093838"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d79e18b6ef7c43e477833ea9439bc43c.jpg","text":"TemporaryFile(/tmp/multipartBody7486135796741383596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582658198,"filename":"image_11012025_09_01_02_997530_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2d5b583cecea0595437f5c410e643be2.jpg","text":"TemporaryFile(/tmp/multipartBody2414819000520004457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582658198,"filename":"image_11012025_09_01_02_997530_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/318eae61af16ff693b40122444671ce0.jpg","text":"TemporaryFile(/tmp/multipartBody5387624880996056718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582658198,"filename":"image_11012025_09_01_02_997530_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/31ba43c522495eba95b527585dfe58aa.jpg","text":"TemporaryFile(/tmp/multipartBody4168103949716815894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582658198,"filename":"image_11012025_09_01_02_997530_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/840c9f115272a1aec6d37866861d343c.jpg","text":"TemporaryFile(/tmp/multipartBody8392741874312376508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582658198,"filename":"image_11012025_09_00_02_417512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e0829e5c98c9349edfab556d1e9d2e47.jpg","text":"TemporaryFile(/tmp/multipartBody2635583805318573767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582658198,"filename":"image_11012025_09_02_02_533681_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328093816","file1":"1328093813","file0":"1328093809","file4":"1328093822","file5":"1328093838","file3":"1328093819"},"map_files_photo_id_array":[{"photo_id":"1328093838","filename":"file5"},{"photo_id":"1328093816","filename":"file2"},{"photo_id":"1328093822","filename":"file4"},{"photo_id":"1328093813","filename":"file1"},{"photo_id":"1328093809","filename":"file0"},{"photo_id":"1328093819","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328093822":["hashtag1","hashtag2"]},{"1328093819":["hashtag1","hashtag2"]},{"1328093813":["hashtag1","hashtag2"]},{"1328093816":["hashtag1","hashtag2"]},{"1328093809":["hashtag1","hashtag2"]},{"1328093838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328093822, 1328093819, 1328093813, 1328093816, 1328093809, 1328093838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.696707248687744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:04:02.396846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/02/image_11012025_09_02_02_533681_0002.jpg', '/home/pi/Desktop/images/11012025/09/02/image_11012025_09_02_02_533681_0003.jpg', '/home/pi/Desktop/images/11012025/09/03/image_11012025_09_03_03_049465_0000.jpg', '/home/pi/Desktop/images/11012025/09/03/image_11012025_09_03_03_049465_0001.jpg', '/home/pi/Desktop/images/11012025/09/03/image_11012025_09_03_03_049465_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/02/image_11012025_09_02_02_533681_0002.jpg
/home/pi/Desktop/images/11012025/09/02/image_11012025_09_02_02_533681_0003.jpg
/home/pi/Desktop/images/11012025/09/03/image_11012025_09_03_03_049465_0000.jpg
/home/pi/Desktop/images/11012025/09/03/image_11012025_09_03_03_049465_0001.jpg
/home/pi/Desktop/images/11012025/09/03/image_11012025_09_03_03_049465_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328094905","1328094559","1328094150","1328094912","1328094909"],"photo_ids_order":["1328094150","1328094559","1328094905","1328094909","1328094912"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d2fad1180389edc0bcc524512caa1cbf.jpg","text":"TemporaryFile(/tmp/multipartBody4662563273062913762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582715254,"filename":"image_11012025_09_03_03_049465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a4ddd021306b421cccb612fcb50ae45e.jpg","text":"TemporaryFile(/tmp/multipartBody4668662973635544259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582715254,"filename":"image_11012025_09_02_02_533681_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8a26e82817e34f2d11d0dcb8eec8958e.jpg","text":"TemporaryFile(/tmp/multipartBody2336440974363264123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582715254,"filename":"image_11012025_09_02_02_533681_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b367527f29d06add87198b0cad574f36.jpg","text":"TemporaryFile(/tmp/multipartBody4957551745747331542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582715254,"filename":"image_11012025_09_03_03_049465_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2ac14157ee4899451f63bc42f3a5a0a3.jpg","text":"TemporaryFile(/tmp/multipartBody834241412345492841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582715254,"filename":"image_11012025_09_03_03_049465_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328094905","file1":"1328094559","file0":"1328094150","file4":"1328094912","file3":"1328094909"},"map_files_photo_id_array":[{"photo_id":"1328094905","filename":"file2"},{"photo_id":"1328094912","filename":"file4"},{"photo_id":"1328094559","filename":"file1"},{"photo_id":"1328094150","filename":"file0"},{"photo_id":"1328094909","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328094905":["hashtag1","hashtag2"]},{"1328094559":["hashtag1","hashtag2"]},{"1328094150":["hashtag1","hashtag2"]},{"1328094912":["hashtag1","hashtag2"]},{"1328094909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328094905, 1328094559, 1328094150, 1328094912, 1328094909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.12326526641846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:05:03.046668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/03/image_11012025_09_03_03_049465_0003.jpg', '/home/pi/Desktop/images/11012025/09/04/image_11012025_09_04_02_584594_0000.jpg', '/home/pi/Desktop/images/11012025/09/04/image_11012025_09_04_02_584594_0001.jpg', '/home/pi/Desktop/images/11012025/09/04/image_11012025_09_04_02_584594_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/03/image_11012025_09_03_03_049465_0003.jpg
/home/pi/Desktop/images/11012025/09/04/image_11012025_09_04_02_584594_0000.jpg
/home/pi/Desktop/images/11012025/09/04/image_11012025_09_04_02_584594_0001.jpg
/home/pi/Desktop/images/11012025/09/04/image_11012025_09_04_02_584594_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328095232","1328095182","1328095191","1328095143"],"photo_ids_order":["1328095143","1328095182","1328095191","1328095232"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/48ad26dd2ae88933b4fcf433d7a11a58.jpg","text":"TemporaryFile(/tmp/multipartBody3521643143942473450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582773433,"filename":"image_11012025_09_04_02_584594_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eb1911c4212da8b22de6401e5376401b.jpg","text":"TemporaryFile(/tmp/multipartBody8695977619888234300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582773433,"filename":"image_11012025_09_04_02_584594_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6ddc8844c4296de8b435d20b9a3cad4b.jpg","text":"TemporaryFile(/tmp/multipartBody3457860365952924147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582773433,"filename":"image_11012025_09_04_02_584594_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d1429eff99eba68f7197eae6967e79b6.jpg","text":"TemporaryFile(/tmp/multipartBody5080079760567465825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582773433,"filename":"image_11012025_09_03_03_049465_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328095191","file1":"1328095182","file0":"1328095143","file3":"1328095232"},"map_files_photo_id_array":[{"photo_id":"1328095191","filename":"file2"},{"photo_id":"1328095182","filename":"file1"},{"photo_id":"1328095143","filename":"file0"},{"photo_id":"1328095232","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328095232":["hashtag1","hashtag2"]},{"1328095182":["hashtag1","hashtag2"]},{"1328095191":["hashtag1","hashtag2"]},{"1328095143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328095232, 1328095182, 1328095191, 1328095143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.10619759559631 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:06:02.349716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/04/image_11012025_09_04_02_584594_0003.jpg', '/home/pi/Desktop/images/11012025/09/05/image_11012025_09_05_02_195622_0000.jpg', '/home/pi/Desktop/images/11012025/09/05/image_11012025_09_05_02_195622_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/04/image_11012025_09_04_02_584594_0003.jpg
/home/pi/Desktop/images/11012025/09/05/image_11012025_09_05_02_195622_0000.jpg
/home/pi/Desktop/images/11012025/09/05/image_11012025_09_05_02_195622_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328095406","1328095269","1328095311"],"photo_ids_order":["1328095269","1328095311","1328095406"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/acbc5b5bef41bac0fd95cf42364be7c2.jpg","text":"TemporaryFile(/tmp/multipartBody2124208350760393350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582830346,"filename":"image_11012025_09_05_02_195622_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/94f005b1174ab41223cb3a611fb36511.jpg","text":"TemporaryFile(/tmp/multipartBody3077130442748495073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582830346,"filename":"image_11012025_09_04_02_584594_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0808dd501a1b42a4b5da0a33f8824974.jpg","text":"TemporaryFile(/tmp/multipartBody660533618425060134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582830346,"filename":"image_11012025_09_05_02_195622_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328095406","file1":"1328095311","file0":"1328095269"},"map_files_photo_id_array":[{"photo_id":"1328095406","filename":"file2"},{"photo_id":"1328095311","filename":"file1"},{"photo_id":"1328095269","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328095406":["hashtag1","hashtag2"]},{"1328095269":["hashtag1","hashtag2"]},{"1328095311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328095406, 1328095269, 1328095311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.50179362297058 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:07:03.109930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/05/image_11012025_09_05_02_195622_0002.jpg', '/home/pi/Desktop/images/11012025/09/06/image_11012025_09_06_02_688573_0001.jpg', '/home/pi/Desktop/images/11012025/09/06/image_11012025_09_06_02_688573_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/05/image_11012025_09_05_02_195622_0002.jpg
/home/pi/Desktop/images/11012025/09/06/image_11012025_09_06_02_688573_0001.jpg
/home/pi/Desktop/images/11012025/09/06/image_11012025_09_06_02_688573_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328095438","1328095434","1328095436"],"photo_ids_order":["1328095434","1328095436","1328095438"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/97b0739d2e1a5c8f20de93e2fa91bee3.jpg","text":"TemporaryFile(/tmp/multipartBody2374948970911682713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582891110,"filename":"image_11012025_09_06_02_688573_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f557799a5050158181f6280f7c4c20e2.jpg","text":"TemporaryFile(/tmp/multipartBody8706349348101469498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582891110,"filename":"image_11012025_09_05_02_195622_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/156e4daca7c56f1b8fd3c13cae53c857.jpg","text":"TemporaryFile(/tmp/multipartBody5488991007393483155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582891110,"filename":"image_11012025_09_06_02_688573_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328095438","file1":"1328095436","file0":"1328095434"},"map_files_photo_id_array":[{"photo_id":"1328095438","filename":"file2"},{"photo_id":"1328095436","filename":"file1"},{"photo_id":"1328095434","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328095438":["hashtag1","hashtag2"]},{"1328095434":["hashtag1","hashtag2"]},{"1328095436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328095438, 1328095434, 1328095436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.998988389968872 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:08:02.408090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/06/image_11012025_09_06_02_688573_0003.jpg', '/home/pi/Desktop/images/11012025/09/07/image_11012025_09_07_02_299321_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/06/image_11012025_09_06_02_688573_0003.jpg
/home/pi/Desktop/images/11012025/09/07/image_11012025_09_07_02_299321_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328095449","1328095451"],"photo_ids_order":["1328095449","1328095451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cd9d81975f2c330bdb93bd26918775b9.jpg","text":"TemporaryFile(/tmp/multipartBody2590145644613734283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582947956,"filename":"image_11012025_09_06_02_688573_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dfb0548dc5414cee8c5faa33f2b3eaa6.jpg","text":"TemporaryFile(/tmp/multipartBody4820891055853223629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736582947956,"filename":"image_11012025_09_07_02_299321_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328095451","file0":"1328095449"},"map_files_photo_id_array":[{"photo_id":"1328095451","filename":"file1"},{"photo_id":"1328095449","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328095449":["hashtag1","hashtag2"]},{"1328095451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328095449, 1328095451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.32632040977478 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:09:03.103543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/07/image_11012025_09_07_02_299321_0003.jpg', '/home/pi/Desktop/images/11012025/09/08/image_11012025_09_08_02_772505_0000.jpg', '/home/pi/Desktop/images/11012025/09/08/image_11012025_09_08_02_772505_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/07/image_11012025_09_07_02_299321_0003.jpg
/home/pi/Desktop/images/11012025/09/08/image_11012025_09_08_02_772505_0000.jpg
/home/pi/Desktop/images/11012025/09/08/image_11012025_09_08_02_772505_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328095471","1328095488","1328095484"],"photo_ids_order":["1328095471","1328095484","1328095488"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aa7976e7563585b7ca294805af9ee1bd.jpg","text":"TemporaryFile(/tmp/multipartBody4193213968178246178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583011130,"filename":"image_11012025_09_07_02_299321_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ed2c22792582d11bdac6250e14795335.jpg","text":"TemporaryFile(/tmp/multipartBody3751380044109663475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583011130,"filename":"image_11012025_09_08_02_772505_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bc07c593b55b873fec5e64547a115785.jpg","text":"TemporaryFile(/tmp/multipartBody1875386211135632556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583011130,"filename":"image_11012025_09_08_02_772505_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328095488","file1":"1328095484","file0":"1328095471"},"map_files_photo_id_array":[{"photo_id":"1328095488","filename":"file2"},{"photo_id":"1328095484","filename":"file1"},{"photo_id":"1328095471","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328095471":["hashtag1","hashtag2"]},{"1328095488":["hashtag1","hashtag2"]},{"1328095484":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328095471, 1328095488, 1328095484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.10115098953247 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:10:02.484313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/08/image_11012025_09_08_02_772505_0003.jpg', '/home/pi/Desktop/images/11012025/09/09/image_11012025_09_09_02_441638_0000.jpg', '/home/pi/Desktop/images/11012025/09/09/image_11012025_09_09_02_441638_0001.jpg', '/home/pi/Desktop/images/11012025/09/09/image_11012025_09_09_02_441638_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/08/image_11012025_09_08_02_772505_0003.jpg
/home/pi/Desktop/images/11012025/09/09/image_11012025_09_09_02_441638_0000.jpg
/home/pi/Desktop/images/11012025/09/09/image_11012025_09_09_02_441638_0001.jpg
/home/pi/Desktop/images/11012025/09/09/image_11012025_09_09_02_441638_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328095572","1328095581","1328095578","1328095574"],"photo_ids_order":["1328095572","1328095574","1328095578","1328095581"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f4e80081e182452cf30f72c4f64e56ce.jpg","text":"TemporaryFile(/tmp/multipartBody8248682732509067417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583072940,"filename":"image_11012025_09_08_02_772505_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7e156d773f92487dc1943c6532fbe040.jpg","text":"TemporaryFile(/tmp/multipartBody5690297225612001384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583072940,"filename":"image_11012025_09_09_02_441638_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/188ff1e4db1dca2978361e652fbe1640.jpg","text":"TemporaryFile(/tmp/multipartBody4595464045667462421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583072940,"filename":"image_11012025_09_09_02_441638_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c98be7bc269519cd74bb89f7b750c733.jpg","text":"TemporaryFile(/tmp/multipartBody8053456652679251508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583072940,"filename":"image_11012025_09_09_02_441638_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328095578","file1":"1328095574","file0":"1328095572","file3":"1328095581"},"map_files_photo_id_array":[{"photo_id":"1328095578","filename":"file2"},{"photo_id":"1328095574","filename":"file1"},{"photo_id":"1328095572","filename":"file0"},{"photo_id":"1328095581","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328095572":["hashtag1","hashtag2"]},{"1328095581":["hashtag1","hashtag2"]},{"1328095578":["hashtag1","hashtag2"]},{"1328095574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328095572, 1328095581, 1328095578, 1328095574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.600375175476074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:11:03.245774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/09/image_11012025_09_09_02_441638_0003.jpg', '/home/pi/Desktop/images/11012025/09/10/image_11012025_09_10_02_908887_0000.jpg', '/home/pi/Desktop/images/11012025/09/10/image_11012025_09_10_02_908887_0001.jpg', '/home/pi/Desktop/images/11012025/09/10/image_11012025_09_10_02_908887_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/09/image_11012025_09_09_02_441638_0003.jpg
/home/pi/Desktop/images/11012025/09/10/image_11012025_09_10_02_908887_0000.jpg
/home/pi/Desktop/images/11012025/09/10/image_11012025_09_10_02_908887_0001.jpg
/home/pi/Desktop/images/11012025/09/10/image_11012025_09_10_02_908887_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328095610","1328095737","1328095997","1328095871"],"photo_ids_order":["1328095610","1328095737","1328095871","1328095997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5a8b9a23d60068715949d4449a74cd4e.jpg","text":"TemporaryFile(/tmp/multipartBody7346144005651320373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583133718,"filename":"image_11012025_09_09_02_441638_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2f657d957da5a502156613a70af8d003.jpg","text":"TemporaryFile(/tmp/multipartBody2890958097201497897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583133718,"filename":"image_11012025_09_10_02_908887_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3c309f26de8a1334c23987a968cc0db6.jpg","text":"TemporaryFile(/tmp/multipartBody2629715365497216925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583133718,"filename":"image_11012025_09_10_02_908887_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/70f6416f57d9c279e1ecfc8286b2c4ef.jpg","text":"TemporaryFile(/tmp/multipartBody5809605838887431710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583133718,"filename":"image_11012025_09_10_02_908887_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328095871","file1":"1328095737","file0":"1328095610","file3":"1328095997"},"map_files_photo_id_array":[{"photo_id":"1328095871","filename":"file2"},{"photo_id":"1328095737","filename":"file1"},{"photo_id":"1328095610","filename":"file0"},{"photo_id":"1328095997","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328095610":["hashtag1","hashtag2"]},{"1328095737":["hashtag1","hashtag2"]},{"1328095997":["hashtag1","hashtag2"]},{"1328095871":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328095610, 1328095737, 1328095997, 1328095871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.423386573791504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:12:02.716699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/10/image_11012025_09_10_02_908887_0003.jpg', '/home/pi/Desktop/images/11012025/09/11/image_11012025_09_11_02_475073_0000.jpg', '/home/pi/Desktop/images/11012025/09/11/image_11012025_09_11_02_475073_0001.jpg', '/home/pi/Desktop/images/11012025/09/11/image_11012025_09_11_02_475073_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/10/image_11012025_09_10_02_908887_0003.jpg
/home/pi/Desktop/images/11012025/09/11/image_11012025_09_11_02_475073_0000.jpg
/home/pi/Desktop/images/11012025/09/11/image_11012025_09_11_02_475073_0001.jpg
/home/pi/Desktop/images/11012025/09/11/image_11012025_09_11_02_475073_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328096011","1328096019","1328096013","1328096016"],"photo_ids_order":["1328096011","1328096013","1328096016","1328096019"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/48f4823345d4f0ee73b946ca0d386f26.jpg","text":"TemporaryFile(/tmp/multipartBody9079156987377601306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583193160,"filename":"image_11012025_09_10_02_908887_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c30bb6cfd0e47429d3907066655631be.jpg","text":"TemporaryFile(/tmp/multipartBody1235633516063423812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583193160,"filename":"image_11012025_09_11_02_475073_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/af42c69598d11a1cfc8b010629e58220.jpg","text":"TemporaryFile(/tmp/multipartBody7359384936678350740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583193160,"filename":"image_11012025_09_11_02_475073_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2820b4d4d571b4346d319930ca587861.jpg","text":"TemporaryFile(/tmp/multipartBody3857965436922676055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583193160,"filename":"image_11012025_09_11_02_475073_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328096016","file1":"1328096013","file0":"1328096011","file3":"1328096019"},"map_files_photo_id_array":[{"photo_id":"1328096016","filename":"file2"},{"photo_id":"1328096013","filename":"file1"},{"photo_id":"1328096011","filename":"file0"},{"photo_id":"1328096019","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328096011":["hashtag1","hashtag2"]},{"1328096019":["hashtag1","hashtag2"]},{"1328096013":["hashtag1","hashtag2"]},{"1328096016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328096011, 1328096019, 1328096013, 1328096016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.25146174430847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:13:02.376617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/11/image_11012025_09_11_02_475073_0003.jpg', '/home/pi/Desktop/images/11012025/09/12/image_11012025_09_12_02_993742_0000.jpg', '/home/pi/Desktop/images/11012025/09/12/image_11012025_09_12_02_993742_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/11/image_11012025_09_11_02_475073_0003.jpg
/home/pi/Desktop/images/11012025/09/12/image_11012025_09_12_02_993742_0000.jpg
/home/pi/Desktop/images/11012025/09/12/image_11012025_09_12_02_993742_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328096041","1328096038","1328096026"],"photo_ids_order":["1328096026","1328096038","1328096041"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/356eec55d4a0b8a18cf9299a074b98f4.jpg","text":"TemporaryFile(/tmp/multipartBody1819300910979297444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583250487,"filename":"image_11012025_09_12_02_993742_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/da56ab6b8460664c100ddccc17d9fbce.jpg","text":"TemporaryFile(/tmp/multipartBody2962042380271907889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583250487,"filename":"image_11012025_09_12_02_993742_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f5cd452166a1df19f2f59b47bf8e7515.jpg","text":"TemporaryFile(/tmp/multipartBody771086347158060855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583250487,"filename":"image_11012025_09_11_02_475073_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328096041","file1":"1328096038","file0":"1328096026"},"map_files_photo_id_array":[{"photo_id":"1328096041","filename":"file2"},{"photo_id":"1328096038","filename":"file1"},{"photo_id":"1328096026","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328096041":["hashtag1","hashtag2"]},{"1328096038":["hashtag1","hashtag2"]},{"1328096026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328096041, 1328096038, 1328096026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.5953152179718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:14:03.009683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/12/image_11012025_09_12_02_993742_0003.jpg', '/home/pi/Desktop/images/11012025/09/13/image_11012025_09_13_02_706623_0001.jpg', '/home/pi/Desktop/images/11012025/09/13/image_11012025_09_13_02_706623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/12/image_11012025_09_12_02_993742_0003.jpg
/home/pi/Desktop/images/11012025/09/13/image_11012025_09_13_02_706623_0001.jpg
/home/pi/Desktop/images/11012025/09/13/image_11012025_09_13_02_706623_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.591294050216675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 09:14:22.584871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/12/image_11012025_09_12_02_993742_0003.jpg', '/home/pi/Desktop/images/11012025/09/13/image_11012025_09_13_02_706623_0001.jpg', '/home/pi/Desktop/images/11012025/09/13/image_11012025_09_13_02_706623_0002.jpg', '/home/pi/Desktop/images/11012025/09/13/image_11012025_09_13_02_706623_0003.jpg', '/home/pi/Desktop/images/11012025/09/14/image_11012025_09_14_02_286087_0001.jpg', '/home/pi/Desktop/images/11012025/09/14/image_11012025_09_14_02_286087_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/12/image_11012025_09_12_02_993742_0003.jpg
/home/pi/Desktop/images/11012025/09/13/image_11012025_09_13_02_706623_0001.jpg
/home/pi/Desktop/images/11012025/09/13/image_11012025_09_13_02_706623_0002.jpg
/home/pi/Desktop/images/11012025/09/13/image_11012025_09_13_02_706623_0003.jpg
/home/pi/Desktop/images/11012025/09/14/image_11012025_09_14_02_286087_0001.jpg
/home/pi/Desktop/images/11012025/09/14/image_11012025_09_14_02_286087_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328096257","1328096199","1328096262","1328096265","1328096259","1328096267"],"photo_ids_order":["1328096199","1328096257","1328096259","1328096262","1328096265","1328096267"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a1a08fcb779516653b230faa9f9ea754.jpg","text":"TemporaryFile(/tmp/multipartBody5346396321695547021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583337826,"filename":"image_11012025_09_13_02_706623_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cc625e8a33d388d4442343cc7ebd64d8.jpg","text":"TemporaryFile(/tmp/multipartBody2030677069310873696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583337826,"filename":"image_11012025_09_12_02_993742_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fc9a3d2df58dd4411fc6539a404d8c96.jpg","text":"TemporaryFile(/tmp/multipartBody3120877346804936577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583337826,"filename":"image_11012025_09_13_02_706623_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7f2e922f51de415925eee43ccc2d6240.jpg","text":"TemporaryFile(/tmp/multipartBody3875698044189289592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583337826,"filename":"image_11012025_09_14_02_286087_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/11f896fffcc1de13332bc16f016fdfb8.jpg","text":"TemporaryFile(/tmp/multipartBody594586434205983689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583337826,"filename":"image_11012025_09_13_02_706623_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/933187c69f630dceb9a3debb6c2b7bc2.jpg","text":"TemporaryFile(/tmp/multipartBody5424708889544266665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583337826,"filename":"image_11012025_09_14_02_286087_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328096259","file1":"1328096257","file0":"1328096199","file4":"1328096265","file5":"1328096267","file3":"1328096262"},"map_files_photo_id_array":[{"photo_id":"1328096267","filename":"file5"},{"photo_id":"1328096259","filename":"file2"},{"photo_id":"1328096265","filename":"file4"},{"photo_id":"1328096257","filename":"file1"},{"photo_id":"1328096199","filename":"file0"},{"photo_id":"1328096262","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328096257":["hashtag1","hashtag2"]},{"1328096199":["hashtag1","hashtag2"]},{"1328096262":["hashtag1","hashtag2"]},{"1328096265":["hashtag1","hashtag2"]},{"1328096259":["hashtag1","hashtag2"]},{"1328096267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328096257, 1328096199, 1328096262, 1328096265, 1328096259, 1328096267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.07040333747864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 09:15:22.053192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/14/image_11012025_09_14_02_286087_0003.jpg', '/home/pi/Desktop/images/11012025/09/15/image_11012025_09_15_02_905250_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/14/image_11012025_09_14_02_286087_0003.jpg
/home/pi/Desktop/images/11012025/09/15/image_11012025_09_15_02_905250_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328096314","1328096328"],"photo_ids_order":["1328096314","1328096328"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/540b28800b6402f8319a70b81e0d9208.jpg","text":"TemporaryFile(/tmp/multipartBody8048402586924064165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583387572,"filename":"image_11012025_09_14_02_286087_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cc86a830040f609a4ed44e77941cf159.jpg","text":"TemporaryFile(/tmp/multipartBody2618560604382901044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583387572,"filename":"image_11012025_09_15_02_905250_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328096328","file0":"1328096314"},"map_files_photo_id_array":[{"photo_id":"1328096328","filename":"file1"},{"photo_id":"1328096314","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328096314":["hashtag1","hashtag2"]},{"1328096328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328096314, 1328096328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.923779010772705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:16:03.021476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/44/image_09012025_23_44_02_379038_0002.jpg', '/home/pi/Desktop/images/09012025/23/44/image_09012025_23_44_02_379038_0003.jpg', '/home/pi/Desktop/images/09012025/23/45/image_09012025_23_45_02_561062_0000.jpg', '/home/pi/Desktop/images/09012025/23/45/image_09012025_23_45_02_561062_0001.jpg', '/home/pi/Desktop/images/09012025/23/45/image_09012025_23_45_02_561062_0002.jpg', '/home/pi/Desktop/images/09012025/23/45/image_09012025_23_45_02_561062_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/44/image_09012025_23_44_02_379038_0002.jpg
/home/pi/Desktop/images/09012025/23/44/image_09012025_23_44_02_379038_0003.jpg
/home/pi/Desktop/images/09012025/23/45/image_09012025_23_45_02_561062_0000.jpg
/home/pi/Desktop/images/09012025/23/45/image_09012025_23_45_02_561062_0001.jpg
/home/pi/Desktop/images/09012025/23/45/image_09012025_23_45_02_561062_0002.jpg
/home/pi/Desktop/images/09012025/23/45/image_09012025_23_45_02_561062_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328096365","1328096376","1328096381","1328096372","1328096369","1328096360"],"photo_ids_order":["1328096360","1328096365","1328096369","1328096372","1328096376","1328096381"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/19e8d409af26f9b8faa3a494b0922591.jpg","text":"TemporaryFile(/tmp/multipartBody6996100304114264720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583439131,"filename":"image_09012025_23_44_02_379038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cd17084972703e56bb2523ff94a66472.jpg","text":"TemporaryFile(/tmp/multipartBody8790707405443768389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583439131,"filename":"image_09012025_23_45_02_561062_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e924a21525189a21f06629f95ece3bb8.jpg","text":"TemporaryFile(/tmp/multipartBody5686529879231069590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583439131,"filename":"image_09012025_23_45_02_561062_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ea02646a980615d5e163bc155f814b43.jpg","text":"TemporaryFile(/tmp/multipartBody8964462416692049426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583439131,"filename":"image_09012025_23_45_02_561062_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c6de26054af9d443b6e66930fdb76bb.jpg","text":"TemporaryFile(/tmp/multipartBody5462698801563736613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583439131,"filename":"image_09012025_23_45_02_561062_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/02df7c154557c74d2690f1414c37a7c2.jpg","text":"TemporaryFile(/tmp/multipartBody6406230830953082726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583439131,"filename":"image_09012025_23_44_02_379038_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328096369","file1":"1328096365","file0":"1328096360","file4":"1328096376","file5":"1328096381","file3":"1328096372"},"map_files_photo_id_array":[{"photo_id":"1328096381","filename":"file5"},{"photo_id":"1328096369","filename":"file2"},{"photo_id":"1328096376","filename":"file4"},{"photo_id":"1328096365","filename":"file1"},{"photo_id":"1328096360","filename":"file0"},{"photo_id":"1328096372","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328096365":["hashtag1","hashtag2"]},{"1328096376":["hashtag1","hashtag2"]},{"1328096381":["hashtag1","hashtag2"]},{"1328096372":["hashtag1","hashtag2"]},{"1328096369":["hashtag1","hashtag2"]},{"1328096360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328096365, 1328096376, 1328096381, 1328096372, 1328096369, 1328096360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.6813862323761 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-11 09:17:22.194131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/15/image_11012025_09_15_02_905250_0002.jpg', '/home/pi/Desktop/images/11012025/09/16/image_11012025_09_16_02_436612_0000.jpg', '/home/pi/Desktop/images/11012025/09/16/image_11012025_09_16_02_436612_0003.jpg', '/home/pi/Desktop/images/11012025/09/17/image_11012025_09_17_02_991504_0000.jpg', '/home/pi/Desktop/images/11012025/09/17/image_11012025_09_17_02_991504_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/15/image_11012025_09_15_02_905250_0002.jpg
/home/pi/Desktop/images/11012025/09/16/image_11012025_09_16_02_436612_0000.jpg
/home/pi/Desktop/images/11012025/09/16/image_11012025_09_16_02_436612_0003.jpg
/home/pi/Desktop/images/11012025/09/17/image_11012025_09_17_02_991504_0000.jpg
/home/pi/Desktop/images/11012025/09/17/image_11012025_09_17_02_991504_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328096393","1328096406","1328096409","1328096390","1328096402"],"photo_ids_order":["1328096390","1328096393","1328096402","1328096406","1328096409"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8769973585142ef79517c3cb3ab51304.jpg","text":"TemporaryFile(/tmp/multipartBody1137966144109687005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583515055,"filename":"image_11012025_09_16_02_436612_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3f005f4b3a4a667ca742aa96d879969f.jpg","text":"TemporaryFile(/tmp/multipartBody4782886278115652702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583515055,"filename":"image_11012025_09_17_02_991504_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7856d813973ba91b9664521bd06d2f82.jpg","text":"TemporaryFile(/tmp/multipartBody3440969543040682581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583515055,"filename":"image_11012025_09_17_02_991504_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e811e72d1371fcf28a366940cbc19d93.jpg","text":"TemporaryFile(/tmp/multipartBody7233654966519698032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583515055,"filename":"image_11012025_09_15_02_905250_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a472a7d87645f7f4aa8d9a99cc5cae95.jpg","text":"TemporaryFile(/tmp/multipartBody8367877307140692936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583515055,"filename":"image_11012025_09_16_02_436612_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328096402","file1":"1328096393","file0":"1328096390","file4":"1328096409","file3":"1328096406"},"map_files_photo_id_array":[{"photo_id":"1328096402","filename":"file2"},{"photo_id":"1328096409","filename":"file4"},{"photo_id":"1328096393","filename":"file1"},{"photo_id":"1328096390","filename":"file0"},{"photo_id":"1328096406","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328096393":["hashtag1","hashtag2"]},{"1328096406":["hashtag1","hashtag2"]},{"1328096409":["hashtag1","hashtag2"]},{"1328096390":["hashtag1","hashtag2"]},{"1328096402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328096393, 1328096406, 1328096409, 1328096390, 1328096402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.55064582824707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 09:18:21.821568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/17/image_11012025_09_17_02_991504_0002.jpg', '/home/pi/Desktop/images/11012025/09/18/image_11012025_09_18_02_646557_0000.jpg', '/home/pi/Desktop/images/11012025/09/18/image_11012025_09_18_02_646557_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/17/image_11012025_09_17_02_991504_0002.jpg
/home/pi/Desktop/images/11012025/09/18/image_11012025_09_18_02_646557_0000.jpg
/home/pi/Desktop/images/11012025/09/18/image_11012025_09_18_02_646557_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.561081409454346 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:19:02.901174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/17/image_11012025_09_17_02_991504_0002.jpg', '/home/pi/Desktop/images/11012025/09/18/image_11012025_09_18_02_646557_0000.jpg', '/home/pi/Desktop/images/11012025/09/18/image_11012025_09_18_02_646557_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/17/image_11012025_09_17_02_991504_0002.jpg
/home/pi/Desktop/images/11012025/09/18/image_11012025_09_18_02_646557_0000.jpg
/home/pi/Desktop/images/11012025/09/18/image_11012025_09_18_02_646557_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328096461","1328096459","1328096473"],"photo_ids_order":["1328096459","1328096461","1328096473"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b2eb5d9fdf359b843bc731814721d52f.jpg","text":"TemporaryFile(/tmp/multipartBody212250640144827207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583610995,"filename":"image_11012025_09_18_02_646557_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/316bbacd4d31e809c7bad2efc6344c9a.jpg","text":"TemporaryFile(/tmp/multipartBody7470263098192170449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583610995,"filename":"image_11012025_09_17_02_991504_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/015c36e07d46b5361167a625d01a8cf2.jpg","text":"TemporaryFile(/tmp/multipartBody8656348919132145783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583610995,"filename":"image_11012025_09_18_02_646557_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328096473","file1":"1328096461","file0":"1328096459"},"map_files_photo_id_array":[{"photo_id":"1328096473","filename":"file2"},{"photo_id":"1328096461","filename":"file1"},{"photo_id":"1328096459","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328096461":["hashtag1","hashtag2"]},{"1328096459":["hashtag1","hashtag2"]},{"1328096473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328096461, 1328096459, 1328096473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.56838369369507 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:20:02.416424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/18/image_11012025_09_18_02_646557_0002.jpg', '/home/pi/Desktop/images/11012025/09/19/image_11012025_09_19_02_126895_0000.jpg', '/home/pi/Desktop/images/11012025/09/19/image_11012025_09_19_02_126895_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/18/image_11012025_09_18_02_646557_0002.jpg
/home/pi/Desktop/images/11012025/09/19/image_11012025_09_19_02_126895_0000.jpg
/home/pi/Desktop/images/11012025/09/19/image_11012025_09_19_02_126895_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328096497","1328096495","1328096498"],"photo_ids_order":["1328096495","1328096497","1328096498"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c6501d409aba3a4fce77b03d93570124.jpg","text":"TemporaryFile(/tmp/multipartBody548717995349744199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583670421,"filename":"image_11012025_09_19_02_126895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9ea6d961aa4411e09c3db22e57dfe433.jpg","text":"TemporaryFile(/tmp/multipartBody3743605391936348686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583670421,"filename":"image_11012025_09_18_02_646557_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6be79240f83efbc19d8e151dcfd541a2.jpg","text":"TemporaryFile(/tmp/multipartBody2082439186052614486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583670421,"filename":"image_11012025_09_19_02_126895_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328096498","file1":"1328096497","file0":"1328096495"},"map_files_photo_id_array":[{"photo_id":"1328096498","filename":"file2"},{"photo_id":"1328096497","filename":"file1"},{"photo_id":"1328096495","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328096497":["hashtag1","hashtag2"]},{"1328096495":["hashtag1","hashtag2"]},{"1328096498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328096497, 1328096495, 1328096498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.91149663925171 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:21:03.249107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/19/image_11012025_09_19_02_126895_0002.jpg', '/home/pi/Desktop/images/11012025/09/20/image_11012025_09_20_02_702731_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/19/image_11012025_09_19_02_126895_0002.jpg
/home/pi/Desktop/images/11012025/09/20/image_11012025_09_20_02_702731_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328097501","1328097496"],"photo_ids_order":["1328097496","1328097501"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b526f20eb70c5c908f5956825513f647.jpg","text":"TemporaryFile(/tmp/multipartBody4267186949087022790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583728842,"filename":"image_11012025_09_20_02_702731_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/151cdf474b278aba79a56abbfb9d9495.jpg","text":"TemporaryFile(/tmp/multipartBody819768981259904360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583728842,"filename":"image_11012025_09_19_02_126895_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328097501","file0":"1328097496"},"map_files_photo_id_array":[{"photo_id":"1328097501","filename":"file1"},{"photo_id":"1328097496","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328097501":["hashtag1","hashtag2"]},{"1328097496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328097501, 1328097496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.820062398910522 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:22:02.632090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/20/image_11012025_09_20_02_702731_0002.jpg', '/home/pi/Desktop/images/11012025/09/21/image_11012025_09_21_02_435397_0001.jpg', '/home/pi/Desktop/images/11012025/09/21/image_11012025_09_21_02_435397_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/20/image_11012025_09_20_02_702731_0002.jpg
/home/pi/Desktop/images/11012025/09/21/image_11012025_09_21_02_435397_0001.jpg
/home/pi/Desktop/images/11012025/09/21/image_11012025_09_21_02_435397_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.58124303817749 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 09:22:22.310483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/20/image_11012025_09_20_02_702731_0002.jpg', '/home/pi/Desktop/images/11012025/09/21/image_11012025_09_21_02_435397_0001.jpg', '/home/pi/Desktop/images/11012025/09/21/image_11012025_09_21_02_435397_0002.jpg', '/home/pi/Desktop/images/11012025/09/21/image_11012025_09_21_02_435397_0003.jpg', '/home/pi/Desktop/images/11012025/09/22/image_11012025_09_22_03_026266_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/20/image_11012025_09_20_02_702731_0002.jpg
/home/pi/Desktop/images/11012025/09/21/image_11012025_09_21_02_435397_0001.jpg
/home/pi/Desktop/images/11012025/09/21/image_11012025_09_21_02_435397_0002.jpg
/home/pi/Desktop/images/11012025/09/21/image_11012025_09_21_02_435397_0003.jpg
/home/pi/Desktop/images/11012025/09/22/image_11012025_09_22_03_026266_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328098047","1328098041","1328098035","1328098048","1328098045"],"photo_ids_order":["1328098035","1328098041","1328098045","1328098047","1328098048"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2805d65988922b0bb1efda534e378c12.jpg","text":"TemporaryFile(/tmp/multipartBody2076091126643311489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583815106,"filename":"image_11012025_09_21_02_435397_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e73874d38a34b3f704cc3c436b2882a4.jpg","text":"TemporaryFile(/tmp/multipartBody5767347540196682631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583815106,"filename":"image_11012025_09_21_02_435397_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/358509bef1a54016f692d2901cc15248.jpg","text":"TemporaryFile(/tmp/multipartBody9154806289745360326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583815106,"filename":"image_11012025_09_20_02_702731_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1f218edfaefba807f9456c61b1d6c8ce.jpg","text":"TemporaryFile(/tmp/multipartBody8531199384173636824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583815106,"filename":"image_11012025_09_22_03_026266_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/79f90edb8a8bba8f99899f8efc06149f.jpg","text":"TemporaryFile(/tmp/multipartBody5321350215137461182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583815106,"filename":"image_11012025_09_21_02_435397_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328098045","file1":"1328098041","file0":"1328098035","file4":"1328098048","file3":"1328098047"},"map_files_photo_id_array":[{"photo_id":"1328098045","filename":"file2"},{"photo_id":"1328098048","filename":"file4"},{"photo_id":"1328098041","filename":"file1"},{"photo_id":"1328098035","filename":"file0"},{"photo_id":"1328098047","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328098047":["hashtag1","hashtag2"]},{"1328098041":["hashtag1","hashtag2"]},{"1328098035":["hashtag1","hashtag2"]},{"1328098048":["hashtag1","hashtag2"]},{"1328098045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328098047, 1328098041, 1328098035, 1328098048, 1328098045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.983012199401855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 09:23:21.848233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/22/image_11012025_09_22_03_026266_0001.jpg', '/home/pi/Desktop/images/11012025/09/23/image_11012025_09_23_02_663267_0000.jpg', '/home/pi/Desktop/images/11012025/09/23/image_11012025_09_23_02_663267_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/22/image_11012025_09_22_03_026266_0001.jpg
/home/pi/Desktop/images/11012025/09/23/image_11012025_09_23_02_663267_0000.jpg
/home/pi/Desktop/images/11012025/09/23/image_11012025_09_23_02_663267_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328098068","1328098055","1328098070"],"photo_ids_order":["1328098055","1328098068","1328098070"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/299ddb5fc1de86516865fdf5c4928ac9.jpg","text":"TemporaryFile(/tmp/multipartBody3593146944466583344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583869833,"filename":"image_11012025_09_23_02_663267_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c62466febed36a2b2e4b2db3fd7e042b.jpg","text":"TemporaryFile(/tmp/multipartBody8863790152628383982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583869833,"filename":"image_11012025_09_22_03_026266_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c34b32541a809e7572072e2ebed1fce6.jpg","text":"TemporaryFile(/tmp/multipartBody4135026465290836721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583869833,"filename":"image_11012025_09_23_02_663267_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328098070","file1":"1328098068","file0":"1328098055"},"map_files_photo_id_array":[{"photo_id":"1328098070","filename":"file2"},{"photo_id":"1328098068","filename":"file1"},{"photo_id":"1328098055","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328098068":["hashtag1","hashtag2"]},{"1328098055":["hashtag1","hashtag2"]},{"1328098070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328098068, 1328098055, 1328098070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.52143621444702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:24:02.803813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/46/image_09012025_23_46_02_731648_0000.jpg', '/home/pi/Desktop/images/09012025/23/46/image_09012025_23_46_02_731648_0001.jpg', '/home/pi/Desktop/images/09012025/23/46/image_09012025_23_46_02_731648_0002.jpg', '/home/pi/Desktop/images/09012025/23/46/image_09012025_23_46_02_731648_0003.jpg', '/home/pi/Desktop/images/09012025/23/47/image_09012025_23_47_02_965003_0000.jpg', '/home/pi/Desktop/images/09012025/23/47/image_09012025_23_47_02_965003_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/46/image_09012025_23_46_02_731648_0000.jpg
/home/pi/Desktop/images/09012025/23/46/image_09012025_23_46_02_731648_0001.jpg
/home/pi/Desktop/images/09012025/23/46/image_09012025_23_46_02_731648_0002.jpg
/home/pi/Desktop/images/09012025/23/46/image_09012025_23_46_02_731648_0003.jpg
/home/pi/Desktop/images/09012025/23/47/image_09012025_23_47_02_965003_0000.jpg
/home/pi/Desktop/images/09012025/23/47/image_09012025_23_47_02_965003_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328098152","1328098155","1328098145","1328098147","1328098150","1328098138"],"photo_ids_order":["1328098138","1328098145","1328098147","1328098150","1328098152","1328098155"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fee79c969f34aba0ef43bc703069dd1e.jpg","text":"TemporaryFile(/tmp/multipartBody195797195701834884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583918794,"filename":"image_09012025_23_47_02_965003_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bb79867e8864321daa5e3212c90ba167.jpg","text":"TemporaryFile(/tmp/multipartBody3252452667289107467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583918794,"filename":"image_09012025_23_47_02_965003_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/73844725f1057eb6678ba6ebd7a487d2.jpg","text":"TemporaryFile(/tmp/multipartBody4701859867475159151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583918794,"filename":"image_09012025_23_46_02_731648_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/15a6cd00a587e623ce64bd185fb4a230.jpg","text":"TemporaryFile(/tmp/multipartBody1801109549395853709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583918794,"filename":"image_09012025_23_46_02_731648_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a98de47dfbabc5163d26242335954440.jpg","text":"TemporaryFile(/tmp/multipartBody5749872775298983056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583918794,"filename":"image_09012025_23_46_02_731648_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6d273b4d8865026d11b4be133fa0d220.jpg","text":"TemporaryFile(/tmp/multipartBody6382337540032528273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583918794,"filename":"image_09012025_23_46_02_731648_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328098147","file1":"1328098145","file0":"1328098138","file4":"1328098152","file5":"1328098155","file3":"1328098150"},"map_files_photo_id_array":[{"photo_id":"1328098155","filename":"file5"},{"photo_id":"1328098147","filename":"file2"},{"photo_id":"1328098152","filename":"file4"},{"photo_id":"1328098145","filename":"file1"},{"photo_id":"1328098138","filename":"file0"},{"photo_id":"1328098150","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328098152":["hashtag1","hashtag2"]},{"1328098155":["hashtag1","hashtag2"]},{"1328098145":["hashtag1","hashtag2"]},{"1328098147":["hashtag1","hashtag2"]},{"1328098150":["hashtag1","hashtag2"]},{"1328098138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328098152, 1328098155, 1328098145, 1328098147, 1328098150, 1328098138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.216854095458984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:25:02.483533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/23/image_11012025_09_23_02_663267_0002.jpg', '/home/pi/Desktop/images/11012025/09/24/image_11012025_09_24_02_271589_0000.jpg', '/home/pi/Desktop/images/11012025/09/24/image_11012025_09_24_02_271589_0001.jpg', '/home/pi/Desktop/images/11012025/09/24/image_11012025_09_24_02_271589_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/23/image_11012025_09_23_02_663267_0002.jpg
/home/pi/Desktop/images/11012025/09/24/image_11012025_09_24_02_271589_0000.jpg
/home/pi/Desktop/images/11012025/09/24/image_11012025_09_24_02_271589_0001.jpg
/home/pi/Desktop/images/11012025/09/24/image_11012025_09_24_02_271589_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328098265","1328098270","1328098264","1328098267"],"photo_ids_order":["1328098264","1328098265","1328098267","1328098270"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/81c7702ebb09c7ab48bc1c86b094cddc.jpg","text":"TemporaryFile(/tmp/multipartBody8362601239600971455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583972911,"filename":"image_11012025_09_24_02_271589_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a99132cef84313bf1c6d6a1550afac95.jpg","text":"TemporaryFile(/tmp/multipartBody670596445925477581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583972911,"filename":"image_11012025_09_24_02_271589_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8ad7a8938503ba7a6376527888bb2c59.jpg","text":"TemporaryFile(/tmp/multipartBody5161507475699473644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583972911,"filename":"image_11012025_09_23_02_663267_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/20ae5edd05a0a79907c3259f9693a58d.jpg","text":"TemporaryFile(/tmp/multipartBody7746026866048280629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736583972911,"filename":"image_11012025_09_24_02_271589_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328098267","file1":"1328098265","file0":"1328098264","file3":"1328098270"},"map_files_photo_id_array":[{"photo_id":"1328098267","filename":"file2"},{"photo_id":"1328098265","filename":"file1"},{"photo_id":"1328098264","filename":"file0"},{"photo_id":"1328098270","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328098265":["hashtag1","hashtag2"]},{"1328098270":["hashtag1","hashtag2"]},{"1328098264":["hashtag1","hashtag2"]},{"1328098267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328098265, 1328098270, 1328098264, 1328098267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.36702489852905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:26:02.818575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/24/image_11012025_09_24_02_271589_0003.jpg', '/home/pi/Desktop/images/11012025/09/25/image_11012025_09_25_02_784656_0000.jpg', '/home/pi/Desktop/images/11012025/09/25/image_11012025_09_25_02_784656_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/24/image_11012025_09_24_02_271589_0003.jpg
/home/pi/Desktop/images/11012025/09/25/image_11012025_09_25_02_784656_0000.jpg
/home/pi/Desktop/images/11012025/09/25/image_11012025_09_25_02_784656_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328098282","1328098279","1328098281"],"photo_ids_order":["1328098279","1328098281","1328098282"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c46ec24a958ff0e084b90956c7b0d060.jpg","text":"TemporaryFile(/tmp/multipartBody1326861102212765746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584030623,"filename":"image_11012025_09_25_02_784656_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4fb102f0d5a8d13974e78c141402bf4a.jpg","text":"TemporaryFile(/tmp/multipartBody416468965646091993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584030623,"filename":"image_11012025_09_24_02_271589_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f5ea40b2ae990f923c0e94d6750c7f4f.jpg","text":"TemporaryFile(/tmp/multipartBody9039816422709785062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584030623,"filename":"image_11012025_09_25_02_784656_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328098282","file1":"1328098281","file0":"1328098279"},"map_files_photo_id_array":[{"photo_id":"1328098282","filename":"file2"},{"photo_id":"1328098281","filename":"file1"},{"photo_id":"1328098279","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328098282":["hashtag1","hashtag2"]},{"1328098279":["hashtag1","hashtag2"]},{"1328098281":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328098282, 1328098279, 1328098281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.74230408668518 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:27:02.615411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/25/image_11012025_09_25_02_784656_0003.jpg', '/home/pi/Desktop/images/11012025/09/26/image_11012025_09_26_02_259962_0000.jpg', '/home/pi/Desktop/images/11012025/09/26/image_11012025_09_26_02_259962_0001.jpg', '/home/pi/Desktop/images/11012025/09/26/image_11012025_09_26_02_259962_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/25/image_11012025_09_25_02_784656_0003.jpg
/home/pi/Desktop/images/11012025/09/26/image_11012025_09_26_02_259962_0000.jpg
/home/pi/Desktop/images/11012025/09/26/image_11012025_09_26_02_259962_0001.jpg
/home/pi/Desktop/images/11012025/09/26/image_11012025_09_26_02_259962_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328098478","1328098466","1328098438","1328098441"],"photo_ids_order":["1328098438","1328098441","1328098466","1328098478"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/77b5e76a19371e8ab5047a8cf5f118a1.jpg","text":"TemporaryFile(/tmp/multipartBody7992718830507879260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584092634,"filename":"image_11012025_09_26_02_259962_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9fb46c90618d5812dbadad0373b70372.jpg","text":"TemporaryFile(/tmp/multipartBody402717562900864197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584092634,"filename":"image_11012025_09_26_02_259962_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/08dab34cf095e728ae34fffe3f5a5315.jpg","text":"TemporaryFile(/tmp/multipartBody5464075950112752465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584092634,"filename":"image_11012025_09_25_02_784656_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fa80c0c0bb3accad6c79eee81b0578da.jpg","text":"TemporaryFile(/tmp/multipartBody1794111656514895676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584092634,"filename":"image_11012025_09_26_02_259962_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328098466","file1":"1328098441","file0":"1328098438","file3":"1328098478"},"map_files_photo_id_array":[{"photo_id":"1328098466","filename":"file2"},{"photo_id":"1328098441","filename":"file1"},{"photo_id":"1328098438","filename":"file0"},{"photo_id":"1328098478","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328098478":["hashtag1","hashtag2"]},{"1328098466":["hashtag1","hashtag2"]},{"1328098438":["hashtag1","hashtag2"]},{"1328098441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328098478, 1328098466, 1328098438, 1328098441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.73163080215454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:28:03.126388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/26/image_11012025_09_26_02_259962_0003.jpg', '/home/pi/Desktop/images/11012025/09/27/image_11012025_09_27_02_843779_0000.jpg', '/home/pi/Desktop/images/11012025/09/27/image_11012025_09_27_02_843779_0001.jpg', '/home/pi/Desktop/images/11012025/09/27/image_11012025_09_27_02_843779_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/26/image_11012025_09_26_02_259962_0003.jpg
/home/pi/Desktop/images/11012025/09/27/image_11012025_09_27_02_843779_0000.jpg
/home/pi/Desktop/images/11012025/09/27/image_11012025_09_27_02_843779_0001.jpg
/home/pi/Desktop/images/11012025/09/27/image_11012025_09_27_02_843779_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.614107608795166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 09:28:22.689455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/26/image_11012025_09_26_02_259962_0003.jpg', '/home/pi/Desktop/images/11012025/09/27/image_11012025_09_27_02_843779_0000.jpg', '/home/pi/Desktop/images/11012025/09/27/image_11012025_09_27_02_843779_0001.jpg', '/home/pi/Desktop/images/11012025/09/27/image_11012025_09_27_02_843779_0002.jpg', '/home/pi/Desktop/images/11012025/09/27/image_11012025_09_27_02_843779_0003.jpg', '/home/pi/Desktop/images/11012025/09/28/image_11012025_09_28_02_373740_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/26/image_11012025_09_26_02_259962_0003.jpg
/home/pi/Desktop/images/11012025/09/27/image_11012025_09_27_02_843779_0000.jpg
/home/pi/Desktop/images/11012025/09/27/image_11012025_09_27_02_843779_0001.jpg
/home/pi/Desktop/images/11012025/09/27/image_11012025_09_27_02_843779_0002.jpg
/home/pi/Desktop/images/11012025/09/27/image_11012025_09_27_02_843779_0003.jpg
/home/pi/Desktop/images/11012025/09/28/image_11012025_09_28_02_373740_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328098569","1328098563","1328098565","1328098568","1328098573","1328098567"],"photo_ids_order":["1328098563","1328098565","1328098567","1328098568","1328098569","1328098573"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3aeb89bc20a12958f2981f831b026c58.jpg","text":"TemporaryFile(/tmp/multipartBody769893701103705352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584177370,"filename":"image_11012025_09_27_02_843779_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/440311fa6af145501c0a8f10484db747.jpg","text":"TemporaryFile(/tmp/multipartBody6498001687327636549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584177370,"filename":"image_11012025_09_26_02_259962_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7547ac25e3d27071b03f652657e478e9.jpg","text":"TemporaryFile(/tmp/multipartBody2997961612871019947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584177370,"filename":"image_11012025_09_27_02_843779_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/16443d35e5d1badc9ac438a1941d1a21.jpg","text":"TemporaryFile(/tmp/multipartBody3195573243153276950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584177370,"filename":"image_11012025_09_27_02_843779_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0c054e3c3f7e411cd84a4949d142082b.jpg","text":"TemporaryFile(/tmp/multipartBody5766366329612083551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584177370,"filename":"image_11012025_09_28_02_373740_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3d9bebf8affb0ce41a4f71737ecfe78a.jpg","text":"TemporaryFile(/tmp/multipartBody4767070766294701613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584177370,"filename":"image_11012025_09_27_02_843779_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328098567","file1":"1328098565","file0":"1328098563","file4":"1328098569","file5":"1328098573","file3":"1328098568"},"map_files_photo_id_array":[{"photo_id":"1328098573","filename":"file5"},{"photo_id":"1328098567","filename":"file2"},{"photo_id":"1328098569","filename":"file4"},{"photo_id":"1328098565","filename":"file1"},{"photo_id":"1328098563","filename":"file0"},{"photo_id":"1328098568","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328098569":["hashtag1","hashtag2"]},{"1328098563":["hashtag1","hashtag2"]},{"1328098565":["hashtag1","hashtag2"]},{"1328098568":["hashtag1","hashtag2"]},{"1328098573":["hashtag1","hashtag2"]},{"1328098567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328098569, 1328098563, 1328098565, 1328098568, 1328098573, 1328098567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.40583086013794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 09:29:22.231103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/28/image_11012025_09_28_02_373740_0001.jpg', '/home/pi/Desktop/images/11012025/09/28/image_11012025_09_28_02_373740_0002.jpg', '/home/pi/Desktop/images/11012025/09/28/image_11012025_09_28_02_373740_0003.jpg', '/home/pi/Desktop/images/11012025/09/29/image_11012025_09_29_03_132895_0000.jpg', '/home/pi/Desktop/images/11012025/09/29/image_11012025_09_29_03_132895_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/28/image_11012025_09_28_02_373740_0001.jpg
/home/pi/Desktop/images/11012025/09/28/image_11012025_09_28_02_373740_0002.jpg
/home/pi/Desktop/images/11012025/09/28/image_11012025_09_28_02_373740_0003.jpg
/home/pi/Desktop/images/11012025/09/29/image_11012025_09_29_03_132895_0000.jpg
/home/pi/Desktop/images/11012025/09/29/image_11012025_09_29_03_132895_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328098617","1328098611","1328098622","1328098619","1328098621"],"photo_ids_order":["1328098611","1328098617","1328098619","1328098621","1328098622"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ce410560b99257bc53358f78fd239f24.jpg","text":"TemporaryFile(/tmp/multipartBody6591328197695774875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584234577,"filename":"image_11012025_09_28_02_373740_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b812cefd65fe05dafeb49b64b4f58df5.jpg","text":"TemporaryFile(/tmp/multipartBody525047347163515858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584234577,"filename":"image_11012025_09_28_02_373740_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/52ab8f58161d54711c1740e5864eb773.jpg","text":"TemporaryFile(/tmp/multipartBody5634974950439275356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584234577,"filename":"image_11012025_09_29_03_132895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c2988adc1864e6d63070174705eccb6a.jpg","text":"TemporaryFile(/tmp/multipartBody8022612795991782030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584234577,"filename":"image_11012025_09_28_02_373740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/85e597d88c688d2ac4075a82fad447db.jpg","text":"TemporaryFile(/tmp/multipartBody2157770621642439867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584234577,"filename":"image_11012025_09_29_03_132895_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328098619","file1":"1328098617","file0":"1328098611","file4":"1328098622","file3":"1328098621"},"map_files_photo_id_array":[{"photo_id":"1328098619","filename":"file2"},{"photo_id":"1328098622","filename":"file4"},{"photo_id":"1328098617","filename":"file1"},{"photo_id":"1328098611","filename":"file0"},{"photo_id":"1328098621","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328098617":["hashtag1","hashtag2"]},{"1328098611":["hashtag1","hashtag2"]},{"1328098622":["hashtag1","hashtag2"]},{"1328098619":["hashtag1","hashtag2"]},{"1328098621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328098617, 1328098611, 1328098622, 1328098619, 1328098621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.845093727111816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 09:30:21.783502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/29/image_11012025_09_29_03_132895_0003.jpg', '/home/pi/Desktop/images/11012025/09/30/image_11012025_09_30_02_595816_0000.jpg', '/home/pi/Desktop/images/11012025/09/30/image_11012025_09_30_02_595816_0001.jpg', '/home/pi/Desktop/images/11012025/09/30/image_11012025_09_30_02_595816_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/29/image_11012025_09_29_03_132895_0003.jpg
/home/pi/Desktop/images/11012025/09/30/image_11012025_09_30_02_595816_0000.jpg
/home/pi/Desktop/images/11012025/09/30/image_11012025_09_30_02_595816_0001.jpg
/home/pi/Desktop/images/11012025/09/30/image_11012025_09_30_02_595816_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328098749","1328098734","1328098725","1328098719"],"photo_ids_order":["1328098719","1328098725","1328098734","1328098749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/848c732c60cb16342aa243d0e2d999b7.jpg","text":"TemporaryFile(/tmp/multipartBody9201318505633241357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584291948,"filename":"image_11012025_09_30_02_595816_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e598c9d8e6bef9737dafed8cd47db4f5.jpg","text":"TemporaryFile(/tmp/multipartBody4125409193530113112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584291948,"filename":"image_11012025_09_30_02_595816_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8b1e03fab0dbc7de2526881ae271e809.jpg","text":"TemporaryFile(/tmp/multipartBody6167441209579786404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584291948,"filename":"image_11012025_09_30_02_595816_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b0050974ab17634b0d7d6bc95bfeab48.jpg","text":"TemporaryFile(/tmp/multipartBody3623254131049694190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584291948,"filename":"image_11012025_09_29_03_132895_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328098734","file1":"1328098725","file0":"1328098719","file3":"1328098749"},"map_files_photo_id_array":[{"photo_id":"1328098734","filename":"file2"},{"photo_id":"1328098725","filename":"file1"},{"photo_id":"1328098719","filename":"file0"},{"photo_id":"1328098749","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328098749":["hashtag1","hashtag2"]},{"1328098734":["hashtag1","hashtag2"]},{"1328098725":["hashtag1","hashtag2"]},{"1328098719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328098749, 1328098734, 1328098725, 1328098719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4568350315094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:31:02.840628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/47/image_09012025_23_47_02_965003_0002.jpg', '/home/pi/Desktop/images/09012025/23/47/image_09012025_23_47_02_965003_0003.jpg', '/home/pi/Desktop/images/09012025/23/48/image_09012025_23_48_03_117010_0000.jpg', '/home/pi/Desktop/images/09012025/23/48/image_09012025_23_48_03_117010_0001.jpg', '/home/pi/Desktop/images/09012025/23/48/image_09012025_23_48_03_117010_0002.jpg', '/home/pi/Desktop/images/09012025/23/48/image_09012025_23_48_03_117010_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/47/image_09012025_23_47_02_965003_0002.jpg
/home/pi/Desktop/images/09012025/23/47/image_09012025_23_47_02_965003_0003.jpg
/home/pi/Desktop/images/09012025/23/48/image_09012025_23_48_03_117010_0000.jpg
/home/pi/Desktop/images/09012025/23/48/image_09012025_23_48_03_117010_0001.jpg
/home/pi/Desktop/images/09012025/23/48/image_09012025_23_48_03_117010_0002.jpg
/home/pi/Desktop/images/09012025/23/48/image_09012025_23_48_03_117010_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328098800","1328098757","1328098805","1328098802","1328098794","1328098797"],"photo_ids_order":["1328098757","1328098794","1328098797","1328098800","1328098802","1328098805"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/757c0b6d26419de03406f78595c3e914.jpg","text":"TemporaryFile(/tmp/multipartBody8166329239886878385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584339248,"filename":"image_09012025_23_48_03_117010_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4fd6b6e1b075bca0d30b93c17ec63e93.jpg","text":"TemporaryFile(/tmp/multipartBody303274214220939597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584339248,"filename":"image_09012025_23_47_02_965003_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/96184278c33fe0dc621802defeba6d05.jpg","text":"TemporaryFile(/tmp/multipartBody7461629679239720055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584339248,"filename":"image_09012025_23_48_03_117010_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1861534001380590cb5dd16a164fc8fd.jpg","text":"TemporaryFile(/tmp/multipartBody2447966522144709168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584339248,"filename":"image_09012025_23_48_03_117010_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d7fea3f46b7992dcb3663d86ed99f149.jpg","text":"TemporaryFile(/tmp/multipartBody1620529302300757770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584339248,"filename":"image_09012025_23_47_02_965003_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/67f33fd15220c3ce8f1c1b8804e7daa9.jpg","text":"TemporaryFile(/tmp/multipartBody6883746073983948842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584339248,"filename":"image_09012025_23_48_03_117010_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328098797","file1":"1328098794","file0":"1328098757","file4":"1328098802","file5":"1328098805","file3":"1328098800"},"map_files_photo_id_array":[{"photo_id":"1328098805","filename":"file5"},{"photo_id":"1328098797","filename":"file2"},{"photo_id":"1328098802","filename":"file4"},{"photo_id":"1328098794","filename":"file1"},{"photo_id":"1328098757","filename":"file0"},{"photo_id":"1328098800","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328098800":["hashtag1","hashtag2"]},{"1328098757":["hashtag1","hashtag2"]},{"1328098805":["hashtag1","hashtag2"]},{"1328098802":["hashtag1","hashtag2"]},{"1328098794":["hashtag1","hashtag2"]},{"1328098797":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328098800, 1328098757, 1328098805, 1328098802, 1328098794, 1328098797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.79632353782654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:32:02.131896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/30/image_11012025_09_30_02_595816_0003.jpg', '/home/pi/Desktop/images/11012025/09/31/image_11012025_09_31_02_146300_0000.jpg', '/home/pi/Desktop/images/11012025/09/31/image_11012025_09_31_02_146300_0001.jpg', '/home/pi/Desktop/images/11012025/09/31/image_11012025_09_31_02_146300_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/30/image_11012025_09_30_02_595816_0003.jpg
/home/pi/Desktop/images/11012025/09/31/image_11012025_09_31_02_146300_0000.jpg
/home/pi/Desktop/images/11012025/09/31/image_11012025_09_31_02_146300_0001.jpg
/home/pi/Desktop/images/11012025/09/31/image_11012025_09_31_02_146300_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328098808","1328098816","1328098810","1328098813"],"photo_ids_order":["1328098808","1328098810","1328098813","1328098816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/506eb67b5ae8deeb05b8d0dd25d8d526.jpg","text":"TemporaryFile(/tmp/multipartBody278501670148001691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584392290,"filename":"image_11012025_09_30_02_595816_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/61b6b2bcbcd33f311d331ed042f8a4a1.jpg","text":"TemporaryFile(/tmp/multipartBody2087235612420881628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584392290,"filename":"image_11012025_09_31_02_146300_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6f654fe716fe7ca90102d9917ff9746b.jpg","text":"TemporaryFile(/tmp/multipartBody8036383374709949478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584392290,"filename":"image_11012025_09_31_02_146300_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a6bda9c9dc08ba8dd9c09cbe033638d7.jpg","text":"TemporaryFile(/tmp/multipartBody6332803963303004700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584392290,"filename":"image_11012025_09_31_02_146300_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328098813","file1":"1328098810","file0":"1328098808","file3":"1328098816"},"map_files_photo_id_array":[{"photo_id":"1328098813","filename":"file2"},{"photo_id":"1328098810","filename":"file1"},{"photo_id":"1328098808","filename":"file0"},{"photo_id":"1328098816","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328098808":["hashtag1","hashtag2"]},{"1328098816":["hashtag1","hashtag2"]},{"1328098810":["hashtag1","hashtag2"]},{"1328098813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328098808, 1328098816, 1328098810, 1328098813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.58516812324524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:33:02.955304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/31/image_11012025_09_31_02_146300_0003.jpg', '/home/pi/Desktop/images/11012025/09/32/image_11012025_09_32_02_601078_0000.jpg', '/home/pi/Desktop/images/11012025/09/32/image_11012025_09_32_02_601078_0001.jpg', '/home/pi/Desktop/images/11012025/09/32/image_11012025_09_32_02_601078_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/31/image_11012025_09_31_02_146300_0003.jpg
/home/pi/Desktop/images/11012025/09/32/image_11012025_09_32_02_601078_0000.jpg
/home/pi/Desktop/images/11012025/09/32/image_11012025_09_32_02_601078_0001.jpg
/home/pi/Desktop/images/11012025/09/32/image_11012025_09_32_02_601078_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328098824","1328098832","1328098826","1328098828"],"photo_ids_order":["1328098824","1328098826","1328098828","1328098832"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5d494526c1a90612133d8df38b27ac57.jpg","text":"TemporaryFile(/tmp/multipartBody716342247774838588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584453116,"filename":"image_11012025_09_31_02_146300_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4cea2a0fbd68e58ce97ddd3a0cb7f501.jpg","text":"TemporaryFile(/tmp/multipartBody6551107687188171743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584453116,"filename":"image_11012025_09_32_02_601078_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b059cafdf38950360b7de733f1be0159.jpg","text":"TemporaryFile(/tmp/multipartBody3867100544861831737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584453116,"filename":"image_11012025_09_32_02_601078_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/61bf4c1aa18cd1751544dedacc9ba1d2.jpg","text":"TemporaryFile(/tmp/multipartBody626330442164783144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584453116,"filename":"image_11012025_09_32_02_601078_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328098828","file1":"1328098826","file0":"1328098824","file3":"1328098832"},"map_files_photo_id_array":[{"photo_id":"1328098828","filename":"file2"},{"photo_id":"1328098826","filename":"file1"},{"photo_id":"1328098824","filename":"file0"},{"photo_id":"1328098832","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328098824":["hashtag1","hashtag2"]},{"1328098832":["hashtag1","hashtag2"]},{"1328098826":["hashtag1","hashtag2"]},{"1328098828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328098824, 1328098832, 1328098826, 1328098828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.896695375442505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:34:02.407205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/32/image_11012025_09_32_02_601078_0003.jpg', '/home/pi/Desktop/images/11012025/09/33/image_11012025_09_33_02_203479_0000.jpg', '/home/pi/Desktop/images/11012025/09/33/image_11012025_09_33_02_203479_0001.jpg', '/home/pi/Desktop/images/11012025/09/33/image_11012025_09_33_02_203479_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/32/image_11012025_09_32_02_601078_0003.jpg
/home/pi/Desktop/images/11012025/09/33/image_11012025_09_33_02_203479_0000.jpg
/home/pi/Desktop/images/11012025/09/33/image_11012025_09_33_02_203479_0001.jpg
/home/pi/Desktop/images/11012025/09/33/image_11012025_09_33_02_203479_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328098880","1328098876","1328098884","1328098878"],"photo_ids_order":["1328098876","1328098878","1328098880","1328098884"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3f58ac9b7d5876464fb6a74590f45a4d.jpg","text":"TemporaryFile(/tmp/multipartBody4169155959726450214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584512616,"filename":"image_11012025_09_33_02_203479_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/669e4db6a233951e97b72f2bc9ce4390.jpg","text":"TemporaryFile(/tmp/multipartBody7833308435456877669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584512616,"filename":"image_11012025_09_32_02_601078_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a85f96c4ae96e0e2f05fc8a1acc7e3d3.jpg","text":"TemporaryFile(/tmp/multipartBody8730946033130854821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584512616,"filename":"image_11012025_09_33_02_203479_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e5caee932a25cb272254b8ab9128cf77.jpg","text":"TemporaryFile(/tmp/multipartBody579324724851349855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584512616,"filename":"image_11012025_09_33_02_203479_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328098880","file1":"1328098878","file0":"1328098876","file3":"1328098884"},"map_files_photo_id_array":[{"photo_id":"1328098880","filename":"file2"},{"photo_id":"1328098878","filename":"file1"},{"photo_id":"1328098876","filename":"file0"},{"photo_id":"1328098884","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328098880":["hashtag1","hashtag2"]},{"1328098876":["hashtag1","hashtag2"]},{"1328098884":["hashtag1","hashtag2"]},{"1328098878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328098880, 1328098876, 1328098884, 1328098878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.48721718788147 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:35:03.195102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/33/image_11012025_09_33_02_203479_0003.jpg', '/home/pi/Desktop/images/11012025/09/34/image_11012025_09_34_02_711002_0000.jpg', '/home/pi/Desktop/images/11012025/09/34/image_11012025_09_34_02_711002_0001.jpg', '/home/pi/Desktop/images/11012025/09/34/image_11012025_09_34_02_711002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/33/image_11012025_09_33_02_203479_0003.jpg
/home/pi/Desktop/images/11012025/09/34/image_11012025_09_34_02_711002_0000.jpg
/home/pi/Desktop/images/11012025/09/34/image_11012025_09_34_02_711002_0001.jpg
/home/pi/Desktop/images/11012025/09/34/image_11012025_09_34_02_711002_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328100036","1328100030","1328099664","1328100038"],"photo_ids_order":["1328099664","1328100030","1328100036","1328100038"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b597d3dbf800f42b9f280a0f35d77e2b.jpg","text":"TemporaryFile(/tmp/multipartBody6212235339908154659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584573370,"filename":"image_11012025_09_34_02_711002_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2cffe639fc285abba3221f1179c6785a.jpg","text":"TemporaryFile(/tmp/multipartBody3290337901780679870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584573370,"filename":"image_11012025_09_34_02_711002_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c0109552ecf78e33be238f036aeac35d.jpg","text":"TemporaryFile(/tmp/multipartBody7775019709364647653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584573370,"filename":"image_11012025_09_33_02_203479_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/93bbce90b04fbd0a491d5cd1a923c14f.jpg","text":"TemporaryFile(/tmp/multipartBody7717105706034373948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584573370,"filename":"image_11012025_09_34_02_711002_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328100036","file1":"1328100030","file0":"1328099664","file3":"1328100038"},"map_files_photo_id_array":[{"photo_id":"1328100036","filename":"file2"},{"photo_id":"1328100030","filename":"file1"},{"photo_id":"1328099664","filename":"file0"},{"photo_id":"1328100038","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328100036":["hashtag1","hashtag2"]},{"1328100030":["hashtag1","hashtag2"]},{"1328099664":["hashtag1","hashtag2"]},{"1328100038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328100036, 1328100030, 1328099664, 1328100038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.7459831237793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:36:02.634564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/34/image_11012025_09_34_02_711002_0003.jpg', '/home/pi/Desktop/images/11012025/09/35/image_11012025_09_35_02_388494_0000.jpg', '/home/pi/Desktop/images/11012025/09/35/image_11012025_09_35_02_388494_0001.jpg', '/home/pi/Desktop/images/11012025/09/35/image_11012025_09_35_02_388494_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/34/image_11012025_09_34_02_711002_0003.jpg
/home/pi/Desktop/images/11012025/09/35/image_11012025_09_35_02_388494_0000.jpg
/home/pi/Desktop/images/11012025/09/35/image_11012025_09_35_02_388494_0001.jpg
/home/pi/Desktop/images/11012025/09/35/image_11012025_09_35_02_388494_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328100051","1328100048","1328100204","1328100050"],"photo_ids_order":["1328100048","1328100050","1328100051","1328100204"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/17f7879aaf2034a8f7b518393aa9883c.jpg","text":"TemporaryFile(/tmp/multipartBody2359454810107649372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584632716,"filename":"image_11012025_09_35_02_388494_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f93ba97164eb0a16bb1ea66388927330.jpg","text":"TemporaryFile(/tmp/multipartBody2751146346306946102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584632716,"filename":"image_11012025_09_34_02_711002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e27cb9ba67549e00922e93e09473879e.jpg","text":"TemporaryFile(/tmp/multipartBody3553565819454623013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584632716,"filename":"image_11012025_09_35_02_388494_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f652cd7b012cc22d18df4a506f47afd1.jpg","text":"TemporaryFile(/tmp/multipartBody4909602154630544511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584632716,"filename":"image_11012025_09_35_02_388494_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328100051","file1":"1328100050","file0":"1328100048","file3":"1328100204"},"map_files_photo_id_array":[{"photo_id":"1328100051","filename":"file2"},{"photo_id":"1328100050","filename":"file1"},{"photo_id":"1328100048","filename":"file0"},{"photo_id":"1328100204","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328100051":["hashtag1","hashtag2"]},{"1328100048":["hashtag1","hashtag2"]},{"1328100204":["hashtag1","hashtag2"]},{"1328100050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328100051, 1328100048, 1328100204, 1328100050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.197766065597534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:37:03.334530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/35/image_11012025_09_35_02_388494_0003.jpg', '/home/pi/Desktop/images/11012025/09/36/image_11012025_09_36_02_889676_0000.jpg', '/home/pi/Desktop/images/11012025/09/36/image_11012025_09_36_02_889676_0001.jpg', '/home/pi/Desktop/images/11012025/09/36/image_11012025_09_36_02_889676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/35/image_11012025_09_35_02_388494_0003.jpg
/home/pi/Desktop/images/11012025/09/36/image_11012025_09_36_02_889676_0000.jpg
/home/pi/Desktop/images/11012025/09/36/image_11012025_09_36_02_889676_0001.jpg
/home/pi/Desktop/images/11012025/09/36/image_11012025_09_36_02_889676_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328100573","1328100567","1328100575","1328100572"],"photo_ids_order":["1328100567","1328100572","1328100573","1328100575"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/67bcadf8a8e8cfd3db0416a2ab3aeb43.jpg","text":"TemporaryFile(/tmp/multipartBody7864382380689516700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584693505,"filename":"image_11012025_09_36_02_889676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e7f6ff597668f3c87b8acd0a538d7472.jpg","text":"TemporaryFile(/tmp/multipartBody2976781636179910976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584693505,"filename":"image_11012025_09_35_02_388494_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/25dfe5c8911512c04d0e4f67be0c1a45.jpg","text":"TemporaryFile(/tmp/multipartBody2423309021596346685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584693505,"filename":"image_11012025_09_36_02_889676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/81427f1d1de1fa8874021232a372f8eb.jpg","text":"TemporaryFile(/tmp/multipartBody2564635109742951974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584693505,"filename":"image_11012025_09_36_02_889676_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328100573","file1":"1328100572","file0":"1328100567","file3":"1328100575"},"map_files_photo_id_array":[{"photo_id":"1328100573","filename":"file2"},{"photo_id":"1328100572","filename":"file1"},{"photo_id":"1328100567","filename":"file0"},{"photo_id":"1328100575","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328100573":["hashtag1","hashtag2"]},{"1328100567":["hashtag1","hashtag2"]},{"1328100575":["hashtag1","hashtag2"]},{"1328100572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328100573, 1328100567, 1328100575, 1328100572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.202715158462524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:38:02.716328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/36/image_11012025_09_36_02_889676_0003.jpg', '/home/pi/Desktop/images/11012025/09/37/image_11012025_09_37_02_526117_0000.jpg', '/home/pi/Desktop/images/11012025/09/37/image_11012025_09_37_02_526117_0001.jpg', '/home/pi/Desktop/images/11012025/09/37/image_11012025_09_37_02_526117_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/36/image_11012025_09_36_02_889676_0003.jpg
/home/pi/Desktop/images/11012025/09/37/image_11012025_09_37_02_526117_0000.jpg
/home/pi/Desktop/images/11012025/09/37/image_11012025_09_37_02_526117_0001.jpg
/home/pi/Desktop/images/11012025/09/37/image_11012025_09_37_02_526117_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328100641","1328100608","1328100634","1328100639"],"photo_ids_order":["1328100608","1328100634","1328100639","1328100641"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/650e815795d8dc390920675460d7e811.jpg","text":"TemporaryFile(/tmp/multipartBody7909520826267349812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584752983,"filename":"image_11012025_09_37_02_526117_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c0befcc7481781d9c9239441c3a217ea.jpg","text":"TemporaryFile(/tmp/multipartBody8252242945168040459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584752983,"filename":"image_11012025_09_36_02_889676_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/41ba87034c59c6ed06da1e2fd560f154.jpg","text":"TemporaryFile(/tmp/multipartBody6936995454904294317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584752983,"filename":"image_11012025_09_37_02_526117_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/da146fb580de7e9c8398f5737c4a9fc9.jpg","text":"TemporaryFile(/tmp/multipartBody478546254462087772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584752983,"filename":"image_11012025_09_37_02_526117_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328100639","file1":"1328100634","file0":"1328100608","file3":"1328100641"},"map_files_photo_id_array":[{"photo_id":"1328100639","filename":"file2"},{"photo_id":"1328100634","filename":"file1"},{"photo_id":"1328100608","filename":"file0"},{"photo_id":"1328100641","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328100641":["hashtag1","hashtag2"]},{"1328100608":["hashtag1","hashtag2"]},{"1328100634":["hashtag1","hashtag2"]},{"1328100639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328100641, 1328100608, 1328100634, 1328100639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.47117471694946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:39:02.374104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/37/image_11012025_09_37_02_526117_0003.jpg', '/home/pi/Desktop/images/11012025/09/38/image_11012025_09_38_03_019578_0000.jpg', '/home/pi/Desktop/images/11012025/09/38/image_11012025_09_38_03_019578_0001.jpg', '/home/pi/Desktop/images/11012025/09/38/image_11012025_09_38_03_019578_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/37/image_11012025_09_37_02_526117_0003.jpg
/home/pi/Desktop/images/11012025/09/38/image_11012025_09_38_03_019578_0000.jpg
/home/pi/Desktop/images/11012025/09/38/image_11012025_09_38_03_019578_0001.jpg
/home/pi/Desktop/images/11012025/09/38/image_11012025_09_38_03_019578_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328100661","1328100664","1328100665","1328100668"],"photo_ids_order":["1328100661","1328100664","1328100665","1328100668"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/39e1b5a0a77c5159c1938780fca53cb1.jpg","text":"TemporaryFile(/tmp/multipartBody491508041639191240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584812636,"filename":"image_11012025_09_37_02_526117_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a2034661e2c28682081dd02e0de946cc.jpg","text":"TemporaryFile(/tmp/multipartBody2807223567076355088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584812636,"filename":"image_11012025_09_38_03_019578_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/300b55c3c01ab5d898d1aa254f641357.jpg","text":"TemporaryFile(/tmp/multipartBody1684409333859211584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584812636,"filename":"image_11012025_09_38_03_019578_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5ffc835288e5cc24f09169ac1e66d30c.jpg","text":"TemporaryFile(/tmp/multipartBody2675218964807228762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584812636,"filename":"image_11012025_09_38_03_019578_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328100665","file1":"1328100664","file0":"1328100661","file3":"1328100668"},"map_files_photo_id_array":[{"photo_id":"1328100665","filename":"file2"},{"photo_id":"1328100664","filename":"file1"},{"photo_id":"1328100661","filename":"file0"},{"photo_id":"1328100668","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328100661":["hashtag1","hashtag2"]},{"1328100664":["hashtag1","hashtag2"]},{"1328100665":["hashtag1","hashtag2"]},{"1328100668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328100661, 1328100664, 1328100665, 1328100668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.198057413101196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:40:02.930385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/38/image_11012025_09_38_03_019578_0003.jpg', '/home/pi/Desktop/images/11012025/09/39/image_11012025_09_39_02_649099_0000.jpg', '/home/pi/Desktop/images/11012025/09/39/image_11012025_09_39_02_649099_0001.jpg', '/home/pi/Desktop/images/11012025/09/39/image_11012025_09_39_02_649099_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/38/image_11012025_09_38_03_019578_0003.jpg
/home/pi/Desktop/images/11012025/09/39/image_11012025_09_39_02_649099_0000.jpg
/home/pi/Desktop/images/11012025/09/39/image_11012025_09_39_02_649099_0001.jpg
/home/pi/Desktop/images/11012025/09/39/image_11012025_09_39_02_649099_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.786705493927002 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 09:40:22.480845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/38/image_11012025_09_38_03_019578_0003.jpg', '/home/pi/Desktop/images/11012025/09/39/image_11012025_09_39_02_649099_0000.jpg', '/home/pi/Desktop/images/11012025/09/39/image_11012025_09_39_02_649099_0001.jpg', '/home/pi/Desktop/images/11012025/09/39/image_11012025_09_39_02_649099_0002.jpg', '/home/pi/Desktop/images/11012025/09/39/image_11012025_09_39_02_649099_0003.jpg', '/home/pi/Desktop/images/11012025/09/40/image_11012025_09_40_02_226987_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/38/image_11012025_09_38_03_019578_0003.jpg
/home/pi/Desktop/images/11012025/09/39/image_11012025_09_39_02_649099_0000.jpg
/home/pi/Desktop/images/11012025/09/39/image_11012025_09_39_02_649099_0001.jpg
/home/pi/Desktop/images/11012025/09/39/image_11012025_09_39_02_649099_0002.jpg
/home/pi/Desktop/images/11012025/09/39/image_11012025_09_39_02_649099_0003.jpg
/home/pi/Desktop/images/11012025/09/40/image_11012025_09_40_02_226987_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328100733","1328100712","1328100714","1328100717","1328100731","1328100719"],"photo_ids_order":["1328100712","1328100714","1328100717","1328100719","1328100731","1328100733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3f540ce92364195bcb4d18967f51e4c3.jpg","text":"TemporaryFile(/tmp/multipartBody4753273367419371148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584897350,"filename":"image_11012025_09_40_02_226987_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aba7c30e016a04f7668e67c41adfba4c.jpg","text":"TemporaryFile(/tmp/multipartBody4090368241395414437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584897350,"filename":"image_11012025_09_38_03_019578_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/51c2ad3668298e66c48db64e75d9c748.jpg","text":"TemporaryFile(/tmp/multipartBody2311146756410462502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584897350,"filename":"image_11012025_09_39_02_649099_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5dff4472f112b22a904fd19ed9ab659a.jpg","text":"TemporaryFile(/tmp/multipartBody2583259317080842139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584897350,"filename":"image_11012025_09_39_02_649099_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/53b394bd40ebf344ca06442eea3a305c.jpg","text":"TemporaryFile(/tmp/multipartBody717566363862866888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584897350,"filename":"image_11012025_09_39_02_649099_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/406aa71d381a64c46daa2c1481f32dcd.jpg","text":"TemporaryFile(/tmp/multipartBody5111388367143760608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584897350,"filename":"image_11012025_09_39_02_649099_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328100717","file1":"1328100714","file0":"1328100712","file4":"1328100731","file5":"1328100733","file3":"1328100719"},"map_files_photo_id_array":[{"photo_id":"1328100733","filename":"file5"},{"photo_id":"1328100717","filename":"file2"},{"photo_id":"1328100731","filename":"file4"},{"photo_id":"1328100714","filename":"file1"},{"photo_id":"1328100712","filename":"file0"},{"photo_id":"1328100719","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328100733":["hashtag1","hashtag2"]},{"1328100712":["hashtag1","hashtag2"]},{"1328100714":["hashtag1","hashtag2"]},{"1328100717":["hashtag1","hashtag2"]},{"1328100731":["hashtag1","hashtag2"]},{"1328100719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328100733, 1328100712, 1328100714, 1328100717, 1328100731, 1328100719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.247620820999146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 09:41:21.960585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/40/image_11012025_09_40_02_226987_0001.jpg', '/home/pi/Desktop/images/11012025/09/40/image_11012025_09_40_02_226987_0002.jpg', '/home/pi/Desktop/images/11012025/09/40/image_11012025_09_40_02_226987_0003.jpg', '/home/pi/Desktop/images/11012025/09/41/image_11012025_09_41_02_832797_0000.jpg', '/home/pi/Desktop/images/11012025/09/41/image_11012025_09_41_02_832797_0001.jpg', '/home/pi/Desktop/images/11012025/09/41/image_11012025_09_41_02_832797_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/40/image_11012025_09_40_02_226987_0001.jpg
/home/pi/Desktop/images/11012025/09/40/image_11012025_09_40_02_226987_0002.jpg
/home/pi/Desktop/images/11012025/09/40/image_11012025_09_40_02_226987_0003.jpg
/home/pi/Desktop/images/11012025/09/41/image_11012025_09_41_02_832797_0000.jpg
/home/pi/Desktop/images/11012025/09/41/image_11012025_09_41_02_832797_0001.jpg
/home/pi/Desktop/images/11012025/09/41/image_11012025_09_41_02_832797_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328100740","1328100748","1328100750","1328100743","1328100752","1328100746"],"photo_ids_order":["1328100740","1328100743","1328100746","1328100748","1328100750","1328100752"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/417f6bbac3a2640e15b1033ecf8e5e41.jpg","text":"TemporaryFile(/tmp/multipartBody704998919970821374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584956864,"filename":"image_11012025_09_40_02_226987_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e8da32a6f0ed4ff22dd479dde47e7d91.jpg","text":"TemporaryFile(/tmp/multipartBody8884265749059713599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584956864,"filename":"image_11012025_09_41_02_832797_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1da2be1cf1447eab694ed25acc3cf6c7.jpg","text":"TemporaryFile(/tmp/multipartBody4323885347035763165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584956864,"filename":"image_11012025_09_41_02_832797_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b19ee66f6cc33e05b1271cdb0b5ac91a.jpg","text":"TemporaryFile(/tmp/multipartBody1606457542103671970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584956864,"filename":"image_11012025_09_40_02_226987_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6c9b16121520076dfda3b32ff4cd0ece.jpg","text":"TemporaryFile(/tmp/multipartBody6719665790619366144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584956864,"filename":"image_11012025_09_41_02_832797_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9a184fac54f87aae64a0da161d2ce7be.jpg","text":"TemporaryFile(/tmp/multipartBody1759449988554379776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736584956864,"filename":"image_11012025_09_40_02_226987_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328100746","file1":"1328100743","file0":"1328100740","file4":"1328100750","file5":"1328100752","file3":"1328100748"},"map_files_photo_id_array":[{"photo_id":"1328100752","filename":"file5"},{"photo_id":"1328100746","filename":"file2"},{"photo_id":"1328100750","filename":"file4"},{"photo_id":"1328100743","filename":"file1"},{"photo_id":"1328100740","filename":"file0"},{"photo_id":"1328100748","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328100740":["hashtag1","hashtag2"]},{"1328100748":["hashtag1","hashtag2"]},{"1328100750":["hashtag1","hashtag2"]},{"1328100743":["hashtag1","hashtag2"]},{"1328100752":["hashtag1","hashtag2"]},{"1328100746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328100740, 1328100748, 1328100750, 1328100743, 1328100752, 1328100746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.06285262107849 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:43:02.712208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/41/image_11012025_09_41_02_832797_0003.jpg', '/home/pi/Desktop/images/11012025/09/42/image_11012025_09_42_02_349024_0000.jpg', '/home/pi/Desktop/images/11012025/09/42/image_11012025_09_42_02_349024_0001.jpg', '/home/pi/Desktop/images/11012025/09/42/image_11012025_09_42_02_349024_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/41/image_11012025_09_41_02_832797_0003.jpg
/home/pi/Desktop/images/11012025/09/42/image_11012025_09_42_02_349024_0000.jpg
/home/pi/Desktop/images/11012025/09/42/image_11012025_09_42_02_349024_0001.jpg
/home/pi/Desktop/images/11012025/09/42/image_11012025_09_42_02_349024_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328100820","1328100823","1328100817","1328100811"],"photo_ids_order":["1328100811","1328100817","1328100820","1328100823"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/24951dbd4dac9a4bfe1965e7fa1de71c.jpg","text":"TemporaryFile(/tmp/multipartBody5619010299479336541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585053058,"filename":"image_11012025_09_42_02_349024_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7444ed400529e99331a69297559a00ff.jpg","text":"TemporaryFile(/tmp/multipartBody2320518978249560970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585053058,"filename":"image_11012025_09_42_02_349024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c76ab203ff4cd2205c435eabd635b093.jpg","text":"TemporaryFile(/tmp/multipartBody8413945816339454516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585053058,"filename":"image_11012025_09_42_02_349024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5e048f3833fcad2372e1445646008f94.jpg","text":"TemporaryFile(/tmp/multipartBody748257322994183864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585053058,"filename":"image_11012025_09_41_02_832797_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328100820","file1":"1328100817","file0":"1328100811","file3":"1328100823"},"map_files_photo_id_array":[{"photo_id":"1328100820","filename":"file2"},{"photo_id":"1328100817","filename":"file1"},{"photo_id":"1328100811","filename":"file0"},{"photo_id":"1328100823","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328100820":["hashtag1","hashtag2"]},{"1328100823":["hashtag1","hashtag2"]},{"1328100817":["hashtag1","hashtag2"]},{"1328100811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328100820, 1328100823, 1328100817, 1328100811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.865267276763916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:44:02.212575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/42/image_11012025_09_42_02_349024_0003.jpg', '/home/pi/Desktop/images/11012025/09/43/image_11012025_09_43_02_868717_0000.jpg', '/home/pi/Desktop/images/11012025/09/43/image_11012025_09_43_02_868717_0001.jpg', '/home/pi/Desktop/images/11012025/09/43/image_11012025_09_43_02_868717_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/42/image_11012025_09_42_02_349024_0003.jpg
/home/pi/Desktop/images/11012025/09/43/image_11012025_09_43_02_868717_0000.jpg
/home/pi/Desktop/images/11012025/09/43/image_11012025_09_43_02_868717_0001.jpg
/home/pi/Desktop/images/11012025/09/43/image_11012025_09_43_02_868717_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.824310779571533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 09:44:21.863657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/42/image_11012025_09_42_02_349024_0003.jpg', '/home/pi/Desktop/images/11012025/09/43/image_11012025_09_43_02_868717_0000.jpg', '/home/pi/Desktop/images/11012025/09/43/image_11012025_09_43_02_868717_0001.jpg', '/home/pi/Desktop/images/11012025/09/43/image_11012025_09_43_02_868717_0002.jpg', '/home/pi/Desktop/images/11012025/09/43/image_11012025_09_43_02_868717_0003.jpg', '/home/pi/Desktop/images/11012025/09/44/image_11012025_09_44_02_438465_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/42/image_11012025_09_42_02_349024_0003.jpg
/home/pi/Desktop/images/11012025/09/43/image_11012025_09_43_02_868717_0000.jpg
/home/pi/Desktop/images/11012025/09/43/image_11012025_09_43_02_868717_0001.jpg
/home/pi/Desktop/images/11012025/09/43/image_11012025_09_43_02_868717_0002.jpg
/home/pi/Desktop/images/11012025/09/43/image_11012025_09_43_02_868717_0003.jpg
/home/pi/Desktop/images/11012025/09/44/image_11012025_09_44_02_438465_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328101009","1328101003","1328101006","1328100999","1328101008","1328101007"],"photo_ids_order":["1328100999","1328101003","1328101006","1328101007","1328101008","1328101009"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e1c38ddbc0da4b3f98ed8f7fb11e5af8.jpg","text":"TemporaryFile(/tmp/multipartBody683927118231977949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585136679,"filename":"image_11012025_09_44_02_438465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/88549e2cf0f6bf6deff2cd860553fae3.jpg","text":"TemporaryFile(/tmp/multipartBody6798332053330414186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585136679,"filename":"image_11012025_09_43_02_868717_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/676158194a5ca27ce3ea3ef5a78c9837.jpg","text":"TemporaryFile(/tmp/multipartBody6864754819832376256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585136679,"filename":"image_11012025_09_43_02_868717_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d07d161240f765925b2160c6713be8ae.jpg","text":"TemporaryFile(/tmp/multipartBody8213650667078788737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585136679,"filename":"image_11012025_09_42_02_349024_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c2c1d0dd28527609b09e7b2028353b14.jpg","text":"TemporaryFile(/tmp/multipartBody8962536590397207150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585136679,"filename":"image_11012025_09_43_02_868717_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/92bbdac4011fc2ddfd4e19d25f4ee7fd.jpg","text":"TemporaryFile(/tmp/multipartBody5448727614795637906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585136679,"filename":"image_11012025_09_43_02_868717_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328101006","file1":"1328101003","file0":"1328100999","file4":"1328101008","file5":"1328101009","file3":"1328101007"},"map_files_photo_id_array":[{"photo_id":"1328101009","filename":"file5"},{"photo_id":"1328101006","filename":"file2"},{"photo_id":"1328101008","filename":"file4"},{"photo_id":"1328101003","filename":"file1"},{"photo_id":"1328100999","filename":"file0"},{"photo_id":"1328101007","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328101009":["hashtag1","hashtag2"]},{"1328101003":["hashtag1","hashtag2"]},{"1328101006":["hashtag1","hashtag2"]},{"1328100999":["hashtag1","hashtag2"]},{"1328101008":["hashtag1","hashtag2"]},{"1328101007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328101009, 1328101003, 1328101006, 1328100999, 1328101008, 1328101007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.11933183670044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 09:45:22.366307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/44/image_11012025_09_44_02_438465_0001.jpg', '/home/pi/Desktop/images/11012025/09/44/image_11012025_09_44_02_438465_0003.jpg', '/home/pi/Desktop/images/11012025/09/45/image_11012025_09_45_02_160807_0000.jpg', '/home/pi/Desktop/images/11012025/09/45/image_11012025_09_45_02_160807_0001.jpg', '/home/pi/Desktop/images/11012025/09/45/image_11012025_09_45_02_160807_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/44/image_11012025_09_44_02_438465_0001.jpg
/home/pi/Desktop/images/11012025/09/44/image_11012025_09_44_02_438465_0003.jpg
/home/pi/Desktop/images/11012025/09/45/image_11012025_09_45_02_160807_0000.jpg
/home/pi/Desktop/images/11012025/09/45/image_11012025_09_45_02_160807_0001.jpg
/home/pi/Desktop/images/11012025/09/45/image_11012025_09_45_02_160807_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328101045","1328101048","1328101018","1328101043","1328101025"],"photo_ids_order":["1328101018","1328101025","1328101043","1328101045","1328101048"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c0ee21d9cc9f55540457b7062d46960c.jpg","text":"TemporaryFile(/tmp/multipartBody7749763645140589339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585194797,"filename":"image_11012025_09_45_02_160807_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0e3a3031a7caf30328e5e452aee9481f.jpg","text":"TemporaryFile(/tmp/multipartBody6111655159669961124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585194797,"filename":"image_11012025_09_45_02_160807_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/020ebdfda7319485739e682333663d2b.jpg","text":"TemporaryFile(/tmp/multipartBody9201622201954436941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585194797,"filename":"image_11012025_09_44_02_438465_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d3c7ed245d7fa6d705d761509e6931b6.jpg","text":"TemporaryFile(/tmp/multipartBody3099298051668854924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585194797,"filename":"image_11012025_09_45_02_160807_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/911b5b490fe802cb5a32cf10a9aa4718.jpg","text":"TemporaryFile(/tmp/multipartBody2348328994813083632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585194797,"filename":"image_11012025_09_44_02_438465_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328101043","file1":"1328101025","file0":"1328101018","file4":"1328101048","file3":"1328101045"},"map_files_photo_id_array":[{"photo_id":"1328101043","filename":"file2"},{"photo_id":"1328101048","filename":"file4"},{"photo_id":"1328101025","filename":"file1"},{"photo_id":"1328101018","filename":"file0"},{"photo_id":"1328101045","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328101045":["hashtag1","hashtag2"]},{"1328101048":["hashtag1","hashtag2"]},{"1328101018":["hashtag1","hashtag2"]},{"1328101043":["hashtag1","hashtag2"]},{"1328101025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328101045, 1328101048, 1328101018, 1328101043, 1328101025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 51.015175342559814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 09:46:21.790380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/45/image_11012025_09_45_02_160807_0003.jpg', '/home/pi/Desktop/images/11012025/09/46/image_11012025_09_46_02_671376_0000.jpg', '/home/pi/Desktop/images/11012025/09/46/image_11012025_09_46_02_671376_0001.jpg', '/home/pi/Desktop/images/11012025/09/46/image_11012025_09_46_02_671376_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/45/image_11012025_09_45_02_160807_0003.jpg
/home/pi/Desktop/images/11012025/09/46/image_11012025_09_46_02_671376_0000.jpg
/home/pi/Desktop/images/11012025/09/46/image_11012025_09_46_02_671376_0001.jpg
/home/pi/Desktop/images/11012025/09/46/image_11012025_09_46_02_671376_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328101063","1328101057","1328101066","1328101059"],"photo_ids_order":["1328101057","1328101059","1328101063","1328101066"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5585b8066c620b3077a1eb3d257b5e5c.jpg","text":"TemporaryFile(/tmp/multipartBody7019981655847619836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585251966,"filename":"image_11012025_09_46_02_671376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6d1a8f8c81bef97579a6e2a202af666c.jpg","text":"TemporaryFile(/tmp/multipartBody7338600773595419814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585251966,"filename":"image_11012025_09_45_02_160807_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0685c30a6320e600317ce2559ba9027c.jpg","text":"TemporaryFile(/tmp/multipartBody5493589396369888875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585251966,"filename":"image_11012025_09_46_02_671376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ed43ab44ff8c92a97c98957f5abaa08b.jpg","text":"TemporaryFile(/tmp/multipartBody1203333801226996034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585251966,"filename":"image_11012025_09_46_02_671376_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328101063","file1":"1328101059","file0":"1328101057","file3":"1328101066"},"map_files_photo_id_array":[{"photo_id":"1328101063","filename":"file2"},{"photo_id":"1328101059","filename":"file1"},{"photo_id":"1328101057","filename":"file0"},{"photo_id":"1328101066","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328101063":["hashtag1","hashtag2"]},{"1328101057":["hashtag1","hashtag2"]},{"1328101066":["hashtag1","hashtag2"]},{"1328101059":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328101063, 1328101057, 1328101066, 1328101059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.89906334877014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 09:47:22.281282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/46/image_11012025_09_46_02_671376_0003.jpg', '/home/pi/Desktop/images/11012025/09/47/image_11012025_09_47_02_153195_0000.jpg', '/home/pi/Desktop/images/11012025/09/47/image_11012025_09_47_02_153195_0001.jpg', '/home/pi/Desktop/images/11012025/09/47/image_11012025_09_47_02_153195_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/46/image_11012025_09_46_02_671376_0003.jpg
/home/pi/Desktop/images/11012025/09/47/image_11012025_09_47_02_153195_0000.jpg
/home/pi/Desktop/images/11012025/09/47/image_11012025_09_47_02_153195_0001.jpg
/home/pi/Desktop/images/11012025/09/47/image_11012025_09_47_02_153195_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328101078","1328101080","1328101082","1328101085"],"photo_ids_order":["1328101078","1328101080","1328101082","1328101085"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f3d0ebad0157a72194f4f137a19b47e9.jpg","text":"TemporaryFile(/tmp/multipartBody3912061325477115068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585312247,"filename":"image_11012025_09_46_02_671376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fea083922d831913cc925fe02eafb0d7.jpg","text":"TemporaryFile(/tmp/multipartBody3421084137942524969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585312247,"filename":"image_11012025_09_47_02_153195_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/be5d042f30caf12c295b4dbc7dd442d0.jpg","text":"TemporaryFile(/tmp/multipartBody7004134246645249886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585312247,"filename":"image_11012025_09_47_02_153195_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7501095560afebca5fd38e3fb2b6778c.jpg","text":"TemporaryFile(/tmp/multipartBody6073022409109636354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585312247,"filename":"image_11012025_09_47_02_153195_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328101082","file1":"1328101080","file0":"1328101078","file3":"1328101085"},"map_files_photo_id_array":[{"photo_id":"1328101082","filename":"file2"},{"photo_id":"1328101080","filename":"file1"},{"photo_id":"1328101078","filename":"file0"},{"photo_id":"1328101085","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328101078":["hashtag1","hashtag2"]},{"1328101080":["hashtag1","hashtag2"]},{"1328101082":["hashtag1","hashtag2"]},{"1328101085":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328101078, 1328101080, 1328101082, 1328101085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.15298676490784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:48:02.247883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/49/image_09012025_23_49_02_303142_0000.jpg', '/home/pi/Desktop/images/09012025/23/49/image_09012025_23_49_02_303142_0001.jpg', '/home/pi/Desktop/images/09012025/23/49/image_09012025_23_49_02_303142_0002.jpg', '/home/pi/Desktop/images/09012025/23/49/image_09012025_23_49_02_303142_0003.jpg', '/home/pi/Desktop/images/09012025/23/50/image_09012025_23_50_02_481130_0000.jpg', '/home/pi/Desktop/images/09012025/23/50/image_09012025_23_50_02_481130_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/49/image_09012025_23_49_02_303142_0000.jpg
/home/pi/Desktop/images/09012025/23/49/image_09012025_23_49_02_303142_0001.jpg
/home/pi/Desktop/images/09012025/23/49/image_09012025_23_49_02_303142_0002.jpg
/home/pi/Desktop/images/09012025/23/49/image_09012025_23_49_02_303142_0003.jpg
/home/pi/Desktop/images/09012025/23/50/image_09012025_23_50_02_481130_0000.jpg
/home/pi/Desktop/images/09012025/23/50/image_09012025_23_50_02_481130_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328101099","1328101095","1328101097","1328101091","1328101103","1328101093"],"photo_ids_order":["1328101091","1328101093","1328101095","1328101097","1328101099","1328101103"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5070a96fc61095704c36bfcbd00cc9e5.jpg","text":"TemporaryFile(/tmp/multipartBody9088048459557564660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585358577,"filename":"image_09012025_23_50_02_481130_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1791d2828dcaa4e1407b862e29fd8734.jpg","text":"TemporaryFile(/tmp/multipartBody8140553887669496003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585358577,"filename":"image_09012025_23_49_02_303142_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/82edc7051976956c7a88ae9ce34eb41f.jpg","text":"TemporaryFile(/tmp/multipartBody1832424193513867450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585358577,"filename":"image_09012025_23_49_02_303142_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ca01741bab8501c184424a7d67f6d713.jpg","text":"TemporaryFile(/tmp/multipartBody8714778100414431107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585358577,"filename":"image_09012025_23_49_02_303142_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/15d1af5bafbb1b64c1ab01a0d607a83a.jpg","text":"TemporaryFile(/tmp/multipartBody6998084024909536384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585358577,"filename":"image_09012025_23_50_02_481130_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fcab07afd3c716d4c7ad6e3cdc8e2d1c.jpg","text":"TemporaryFile(/tmp/multipartBody2375781267162357993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585358577,"filename":"image_09012025_23_49_02_303142_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328101095","file1":"1328101093","file0":"1328101091","file4":"1328101099","file5":"1328101103","file3":"1328101097"},"map_files_photo_id_array":[{"photo_id":"1328101103","filename":"file5"},{"photo_id":"1328101095","filename":"file2"},{"photo_id":"1328101099","filename":"file4"},{"photo_id":"1328101093","filename":"file1"},{"photo_id":"1328101091","filename":"file0"},{"photo_id":"1328101097","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328101099":["hashtag1","hashtag2"]},{"1328101095":["hashtag1","hashtag2"]},{"1328101097":["hashtag1","hashtag2"]},{"1328101091":["hashtag1","hashtag2"]},{"1328101103":["hashtag1","hashtag2"]},{"1328101093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328101099, 1328101095, 1328101097, 1328101091, 1328101103, 1328101093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.55920958518982 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:49:02.882767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/47/image_11012025_09_47_02_153195_0003.jpg', '/home/pi/Desktop/images/11012025/09/48/image_11012025_09_48_02_700852_0000.jpg', '/home/pi/Desktop/images/11012025/09/48/image_11012025_09_48_02_700852_0001.jpg', '/home/pi/Desktop/images/11012025/09/48/image_11012025_09_48_02_700852_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/47/image_11012025_09_47_02_153195_0003.jpg
/home/pi/Desktop/images/11012025/09/48/image_11012025_09_48_02_700852_0000.jpg
/home/pi/Desktop/images/11012025/09/48/image_11012025_09_48_02_700852_0001.jpg
/home/pi/Desktop/images/11012025/09/48/image_11012025_09_48_02_700852_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328102110","1328102109","1328102112","1328102114"],"photo_ids_order":["1328102109","1328102110","1328102112","1328102114"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6a195486014168f61d23aeecbe20b20f.jpg","text":"TemporaryFile(/tmp/multipartBody8166624119728569351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585412904,"filename":"image_11012025_09_48_02_700852_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7a792df34c95544a6f50fcf349b39c21.jpg","text":"TemporaryFile(/tmp/multipartBody6373937754953957610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585412904,"filename":"image_11012025_09_47_02_153195_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/54163e63465cac06858df7c6bbddfce0.jpg","text":"TemporaryFile(/tmp/multipartBody583309274325713302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585412904,"filename":"image_11012025_09_48_02_700852_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b45faf156dff43ac7543c9ccaf75aa6d.jpg","text":"TemporaryFile(/tmp/multipartBody4907734457037855890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585412904,"filename":"image_11012025_09_48_02_700852_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328102112","file1":"1328102110","file0":"1328102109","file3":"1328102114"},"map_files_photo_id_array":[{"photo_id":"1328102112","filename":"file2"},{"photo_id":"1328102110","filename":"file1"},{"photo_id":"1328102109","filename":"file0"},{"photo_id":"1328102114","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328102110":["hashtag1","hashtag2"]},{"1328102109":["hashtag1","hashtag2"]},{"1328102112":["hashtag1","hashtag2"]},{"1328102114":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328102110, 1328102109, 1328102112, 1328102114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.59057402610779 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:50:02.411612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/48/image_11012025_09_48_02_700852_0003.jpg', '/home/pi/Desktop/images/11012025/09/49/image_11012025_09_49_02_211729_0000.jpg', '/home/pi/Desktop/images/11012025/09/49/image_11012025_09_49_02_211729_0001.jpg', '/home/pi/Desktop/images/11012025/09/49/image_11012025_09_49_02_211729_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/48/image_11012025_09_48_02_700852_0003.jpg
/home/pi/Desktop/images/11012025/09/49/image_11012025_09_49_02_211729_0000.jpg
/home/pi/Desktop/images/11012025/09/49/image_11012025_09_49_02_211729_0001.jpg
/home/pi/Desktop/images/11012025/09/49/image_11012025_09_49_02_211729_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328102404","1328102390","1328102381","1328102402"],"photo_ids_order":["1328102381","1328102390","1328102402","1328102404"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/245048506511b004e9ab8f01805c748e.jpg","text":"TemporaryFile(/tmp/multipartBody8198495532123927043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585472299,"filename":"image_11012025_09_49_02_211729_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/85b679e32699a31eec654be623450129.jpg","text":"TemporaryFile(/tmp/multipartBody4869175868122964689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585472299,"filename":"image_11012025_09_49_02_211729_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2776d17b25d000f9803d306e630ec5e4.jpg","text":"TemporaryFile(/tmp/multipartBody9077162229672190842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585472299,"filename":"image_11012025_09_48_02_700852_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7103343af79497821e6611f72e81b065.jpg","text":"TemporaryFile(/tmp/multipartBody4122169225049126903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585472299,"filename":"image_11012025_09_49_02_211729_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328102402","file1":"1328102390","file0":"1328102381","file3":"1328102404"},"map_files_photo_id_array":[{"photo_id":"1328102402","filename":"file2"},{"photo_id":"1328102390","filename":"file1"},{"photo_id":"1328102381","filename":"file0"},{"photo_id":"1328102404","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328102404":["hashtag1","hashtag2"]},{"1328102390":["hashtag1","hashtag2"]},{"1328102381":["hashtag1","hashtag2"]},{"1328102402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328102404, 1328102390, 1328102381, 1328102402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.19070100784302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:51:02.845874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/49/image_11012025_09_49_02_211729_0003.jpg', '/home/pi/Desktop/images/11012025/09/50/image_11012025_09_50_02_694182_0000.jpg', '/home/pi/Desktop/images/11012025/09/50/image_11012025_09_50_02_694182_0001.jpg', '/home/pi/Desktop/images/11012025/09/50/image_11012025_09_50_02_694182_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/49/image_11012025_09_49_02_211729_0003.jpg
/home/pi/Desktop/images/11012025/09/50/image_11012025_09_50_02_694182_0000.jpg
/home/pi/Desktop/images/11012025/09/50/image_11012025_09_50_02_694182_0001.jpg
/home/pi/Desktop/images/11012025/09/50/image_11012025_09_50_02_694182_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328102532","1328102529","1328102534","1328102530"],"photo_ids_order":["1328102529","1328102530","1328102532","1328102534"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/92ce92e04c82d36f49b35cf1e5328219.jpg","text":"TemporaryFile(/tmp/multipartBody2977607575540393958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585533231,"filename":"image_11012025_09_50_02_694182_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d0c74441e53580088e91e855faaabdac.jpg","text":"TemporaryFile(/tmp/multipartBody746332164278742700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585533231,"filename":"image_11012025_09_49_02_211729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eb438f48ed199df26b8f43922fbe4e1d.jpg","text":"TemporaryFile(/tmp/multipartBody7469616952076613237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585533231,"filename":"image_11012025_09_50_02_694182_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d9062739aeb2c6e46fbe438139e589ba.jpg","text":"TemporaryFile(/tmp/multipartBody839385687527013178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585533231,"filename":"image_11012025_09_50_02_694182_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328102532","file1":"1328102530","file0":"1328102529","file3":"1328102534"},"map_files_photo_id_array":[{"photo_id":"1328102532","filename":"file2"},{"photo_id":"1328102530","filename":"file1"},{"photo_id":"1328102529","filename":"file0"},{"photo_id":"1328102534","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328102532":["hashtag1","hashtag2"]},{"1328102529":["hashtag1","hashtag2"]},{"1328102534":["hashtag1","hashtag2"]},{"1328102530":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328102532, 1328102529, 1328102534, 1328102530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.985227823257446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:52:02.571984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/50/image_11012025_09_50_02_694182_0003.jpg', '/home/pi/Desktop/images/11012025/09/51/image_11012025_09_51_02_321274_0000.jpg', '/home/pi/Desktop/images/11012025/09/51/image_11012025_09_51_02_321274_0001.jpg', '/home/pi/Desktop/images/11012025/09/51/image_11012025_09_51_02_321274_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/50/image_11012025_09_50_02_694182_0003.jpg
/home/pi/Desktop/images/11012025/09/51/image_11012025_09_51_02_321274_0000.jpg
/home/pi/Desktop/images/11012025/09/51/image_11012025_09_51_02_321274_0001.jpg
/home/pi/Desktop/images/11012025/09/51/image_11012025_09_51_02_321274_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328102623","1328102625","1328102621","1328102609"],"photo_ids_order":["1328102609","1328102621","1328102623","1328102625"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ab06a38602b341e90e4c226bd04247e7.jpg","text":"TemporaryFile(/tmp/multipartBody8306006039913423023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585592931,"filename":"image_11012025_09_51_02_321274_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5e6b844697c1a99a51f31fdb0ec5a8d7.jpg","text":"TemporaryFile(/tmp/multipartBody9004781804866938860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585592931,"filename":"image_11012025_09_51_02_321274_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fe23109f20b7be704022fb93f1fd751f.jpg","text":"TemporaryFile(/tmp/multipartBody409911601871954636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585592931,"filename":"image_11012025_09_51_02_321274_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c663802426de7b4a44de936537e5ce61.jpg","text":"TemporaryFile(/tmp/multipartBody4300961137084776405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585592931,"filename":"image_11012025_09_50_02_694182_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328102623","file1":"1328102621","file0":"1328102609","file3":"1328102625"},"map_files_photo_id_array":[{"photo_id":"1328102623","filename":"file2"},{"photo_id":"1328102621","filename":"file1"},{"photo_id":"1328102609","filename":"file0"},{"photo_id":"1328102625","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328102623":["hashtag1","hashtag2"]},{"1328102625":["hashtag1","hashtag2"]},{"1328102621":["hashtag1","hashtag2"]},{"1328102609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328102623, 1328102625, 1328102621, 1328102609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.11584997177124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:53:03.306485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/51/image_11012025_09_51_02_321274_0003.jpg', '/home/pi/Desktop/images/11012025/09/52/image_11012025_09_52_02_852180_0000.jpg', '/home/pi/Desktop/images/11012025/09/52/image_11012025_09_52_02_852180_0001.jpg', '/home/pi/Desktop/images/11012025/09/52/image_11012025_09_52_02_852180_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/51/image_11012025_09_51_02_321274_0003.jpg
/home/pi/Desktop/images/11012025/09/52/image_11012025_09_52_02_852180_0000.jpg
/home/pi/Desktop/images/11012025/09/52/image_11012025_09_52_02_852180_0001.jpg
/home/pi/Desktop/images/11012025/09/52/image_11012025_09_52_02_852180_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328102641","1328102635","1328102637","1328102639"],"photo_ids_order":["1328102635","1328102637","1328102639","1328102641"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e1508f1c2edd938ac06475afd6faac55.jpg","text":"TemporaryFile(/tmp/multipartBody1203342611658213631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585653635,"filename":"image_11012025_09_52_02_852180_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/03ad0b849fc73d61b50dff98eab77d75.jpg","text":"TemporaryFile(/tmp/multipartBody8287554745123647902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585653635,"filename":"image_11012025_09_51_02_321274_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4ed40ac402388da6d1a2fb1b465ca63a.jpg","text":"TemporaryFile(/tmp/multipartBody9149746784745373393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585653635,"filename":"image_11012025_09_52_02_852180_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/84f5aec0520106afb89d21fe565c70ae.jpg","text":"TemporaryFile(/tmp/multipartBody1218798675486183737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585653635,"filename":"image_11012025_09_52_02_852180_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328102639","file1":"1328102637","file0":"1328102635","file3":"1328102641"},"map_files_photo_id_array":[{"photo_id":"1328102639","filename":"file2"},{"photo_id":"1328102637","filename":"file1"},{"photo_id":"1328102635","filename":"file0"},{"photo_id":"1328102641","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328102641":["hashtag1","hashtag2"]},{"1328102635":["hashtag1","hashtag2"]},{"1328102637":["hashtag1","hashtag2"]},{"1328102639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328102641, 1328102635, 1328102637, 1328102639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.20696783065796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:54:02.717140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/52/image_11012025_09_52_02_852180_0003.jpg', '/home/pi/Desktop/images/11012025/09/53/image_11012025_09_53_02_481243_0000.jpg', '/home/pi/Desktop/images/11012025/09/53/image_11012025_09_53_02_481243_0001.jpg', '/home/pi/Desktop/images/11012025/09/53/image_11012025_09_53_02_481243_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/52/image_11012025_09_52_02_852180_0003.jpg
/home/pi/Desktop/images/11012025/09/53/image_11012025_09_53_02_481243_0000.jpg
/home/pi/Desktop/images/11012025/09/53/image_11012025_09_53_02_481243_0001.jpg
/home/pi/Desktop/images/11012025/09/53/image_11012025_09_53_02_481243_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328102722","1328102718","1328102720","1328102705"],"photo_ids_order":["1328102705","1328102718","1328102720","1328102722"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/758473c3847ef78a2df0e0a3ef8217ed.jpg","text":"TemporaryFile(/tmp/multipartBody8626433714136213714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585713038,"filename":"image_11012025_09_53_02_481243_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/061d13450f7f8c9d255aa3a34580520b.jpg","text":"TemporaryFile(/tmp/multipartBody918025241049412207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585713038,"filename":"image_11012025_09_53_02_481243_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eba585d910213eae80522748c194f6f7.jpg","text":"TemporaryFile(/tmp/multipartBody7695733256737384551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585713038,"filename":"image_11012025_09_53_02_481243_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/84ad235ea1f4a9402e7acacb2b46b528.jpg","text":"TemporaryFile(/tmp/multipartBody6923321267896073217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585713038,"filename":"image_11012025_09_52_02_852180_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328102720","file1":"1328102718","file0":"1328102705","file3":"1328102722"},"map_files_photo_id_array":[{"photo_id":"1328102720","filename":"file2"},{"photo_id":"1328102718","filename":"file1"},{"photo_id":"1328102705","filename":"file0"},{"photo_id":"1328102722","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328102722":["hashtag1","hashtag2"]},{"1328102718":["hashtag1","hashtag2"]},{"1328102720":["hashtag1","hashtag2"]},{"1328102705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328102722, 1328102718, 1328102720, 1328102705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.17904019355774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:55:02.343542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/53/image_11012025_09_53_02_481243_0003.jpg', '/home/pi/Desktop/images/11012025/09/54/image_11012025_09_54_03_055540_0000.jpg', '/home/pi/Desktop/images/11012025/09/54/image_11012025_09_54_03_055540_0001.jpg', '/home/pi/Desktop/images/11012025/09/54/image_11012025_09_54_03_055540_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/53/image_11012025_09_53_02_481243_0003.jpg
/home/pi/Desktop/images/11012025/09/54/image_11012025_09_54_03_055540_0000.jpg
/home/pi/Desktop/images/11012025/09/54/image_11012025_09_54_03_055540_0001.jpg
/home/pi/Desktop/images/11012025/09/54/image_11012025_09_54_03_055540_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.90251111984253 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 09:55:21.810551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/53/image_11012025_09_53_02_481243_0003.jpg', '/home/pi/Desktop/images/11012025/09/54/image_11012025_09_54_03_055540_0000.jpg', '/home/pi/Desktop/images/11012025/09/54/image_11012025_09_54_03_055540_0001.jpg', '/home/pi/Desktop/images/11012025/09/54/image_11012025_09_54_03_055540_0002.jpg', '/home/pi/Desktop/images/11012025/09/54/image_11012025_09_54_03_055540_0003.jpg', '/home/pi/Desktop/images/11012025/09/55/image_11012025_09_55_02_653995_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/53/image_11012025_09_53_02_481243_0003.jpg
/home/pi/Desktop/images/11012025/09/54/image_11012025_09_54_03_055540_0000.jpg
/home/pi/Desktop/images/11012025/09/54/image_11012025_09_54_03_055540_0001.jpg
/home/pi/Desktop/images/11012025/09/54/image_11012025_09_54_03_055540_0002.jpg
/home/pi/Desktop/images/11012025/09/54/image_11012025_09_54_03_055540_0003.jpg
/home/pi/Desktop/images/11012025/09/55/image_11012025_09_55_02_653995_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328102780","1328102783","1328102756","1328102773","1328102776","1328102770"],"photo_ids_order":["1328102756","1328102770","1328102773","1328102776","1328102780","1328102783"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f9674c6fa1d911bf7fe2ef5e5a5aba8c.jpg","text":"TemporaryFile(/tmp/multipartBody6373311844629036453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585796881,"filename":"image_11012025_09_54_03_055540_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f8409387d6bf918e81612c1d5f78b2d4.jpg","text":"TemporaryFile(/tmp/multipartBody3368902645286305153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585796881,"filename":"image_11012025_09_55_02_653995_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a50159b5a87f06910c5b50fa4dc851aa.jpg","text":"TemporaryFile(/tmp/multipartBody5034730202947813352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585796881,"filename":"image_11012025_09_53_02_481243_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1473221d1476e6d5b31aa8d1488fc915.jpg","text":"TemporaryFile(/tmp/multipartBody1763863713896468892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585796881,"filename":"image_11012025_09_54_03_055540_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/259a9f860a2ad78edc7c307c1c9ac492.jpg","text":"TemporaryFile(/tmp/multipartBody2724797697823201139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585796881,"filename":"image_11012025_09_54_03_055540_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3f211de4ef64c02c0bcd690f179ba351.jpg","text":"TemporaryFile(/tmp/multipartBody1338297180450765412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585796881,"filename":"image_11012025_09_54_03_055540_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328102773","file1":"1328102770","file0":"1328102756","file4":"1328102780","file5":"1328102783","file3":"1328102776"},"map_files_photo_id_array":[{"photo_id":"1328102783","filename":"file5"},{"photo_id":"1328102773","filename":"file2"},{"photo_id":"1328102780","filename":"file4"},{"photo_id":"1328102770","filename":"file1"},{"photo_id":"1328102756","filename":"file0"},{"photo_id":"1328102776","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328102780":["hashtag1","hashtag2"]},{"1328102783":["hashtag1","hashtag2"]},{"1328102756":["hashtag1","hashtag2"]},{"1328102773":["hashtag1","hashtag2"]},{"1328102776":["hashtag1","hashtag2"]},{"1328102770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328102780, 1328102783, 1328102756, 1328102773, 1328102776, 1328102770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.154661417007446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 09:56:22.456890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/55/image_11012025_09_55_02_653995_0001.jpg', '/home/pi/Desktop/images/11012025/09/55/image_11012025_09_55_02_653995_0002.jpg', '/home/pi/Desktop/images/11012025/09/55/image_11012025_09_55_02_653995_0003.jpg', '/home/pi/Desktop/images/11012025/09/56/image_11012025_09_56_02_141672_0000.jpg', '/home/pi/Desktop/images/11012025/09/56/image_11012025_09_56_02_141672_0001.jpg', '/home/pi/Desktop/images/11012025/09/56/image_11012025_09_56_02_141672_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/55/image_11012025_09_55_02_653995_0001.jpg
/home/pi/Desktop/images/11012025/09/55/image_11012025_09_55_02_653995_0002.jpg
/home/pi/Desktop/images/11012025/09/55/image_11012025_09_55_02_653995_0003.jpg
/home/pi/Desktop/images/11012025/09/56/image_11012025_09_56_02_141672_0000.jpg
/home/pi/Desktop/images/11012025/09/56/image_11012025_09_56_02_141672_0001.jpg
/home/pi/Desktop/images/11012025/09/56/image_11012025_09_56_02_141672_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328102799","1328102802","1328102795","1328102791","1328102788","1328102797"],"photo_ids_order":["1328102788","1328102791","1328102795","1328102797","1328102799","1328102802"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/640648554986ca57d6e39366a9c598b6.jpg","text":"TemporaryFile(/tmp/multipartBody5066803308410780762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585857528,"filename":"image_11012025_09_56_02_141672_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0cda7d345329f155ca27867e61ef8c6c.jpg","text":"TemporaryFile(/tmp/multipartBody3506000503105356861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585857528,"filename":"image_11012025_09_56_02_141672_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ea1114d41d682ac54816b22234e2fcca.jpg","text":"TemporaryFile(/tmp/multipartBody6921879586838347783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585857528,"filename":"image_11012025_09_55_02_653995_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/14cc51bea2e3e9a97ca855ef2515b66d.jpg","text":"TemporaryFile(/tmp/multipartBody9096966786868123647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585857528,"filename":"image_11012025_09_55_02_653995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3f7e6c171e4015279a8e02cb33d24080.jpg","text":"TemporaryFile(/tmp/multipartBody5710420370194101778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585857528,"filename":"image_11012025_09_55_02_653995_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2bb5e0be37803684f3f6a93b56687798.jpg","text":"TemporaryFile(/tmp/multipartBody3427502421467376894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736585857528,"filename":"image_11012025_09_56_02_141672_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328102795","file1":"1328102791","file0":"1328102788","file4":"1328102799","file5":"1328102802","file3":"1328102797"},"map_files_photo_id_array":[{"photo_id":"1328102802","filename":"file5"},{"photo_id":"1328102795","filename":"file2"},{"photo_id":"1328102799","filename":"file4"},{"photo_id":"1328102791","filename":"file1"},{"photo_id":"1328102788","filename":"file0"},{"photo_id":"1328102797","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328102799":["hashtag1","hashtag2"]},{"1328102802":["hashtag1","hashtag2"]},{"1328102795":["hashtag1","hashtag2"]},{"1328102791":["hashtag1","hashtag2"]},{"1328102788":["hashtag1","hashtag2"]},{"1328102797":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328102799, 1328102802, 1328102795, 1328102791, 1328102788, 1328102797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.8243842124939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 09:57:21.971586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/56/image_11012025_09_56_02_141672_0003.jpg', '/home/pi/Desktop/images/11012025/09/57/image_11012025_09_57_02_830733_0000.jpg', '/home/pi/Desktop/images/11012025/09/57/image_11012025_09_57_02_830733_0001.jpg', '/home/pi/Desktop/images/11012025/09/57/image_11012025_09_57_02_830733_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/56/image_11012025_09_56_02_141672_0003.jpg
/home/pi/Desktop/images/11012025/09/57/image_11012025_09_57_02_830733_0000.jpg
/home/pi/Desktop/images/11012025/09/57/image_11012025_09_57_02_830733_0001.jpg
/home/pi/Desktop/images/11012025/09/57/image_11012025_09_57_02_830733_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.801655530929565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 09:59:03.216269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/56/image_11012025_09_56_02_141672_0003.jpg', '/home/pi/Desktop/images/11012025/09/57/image_11012025_09_57_02_830733_0000.jpg', '/home/pi/Desktop/images/11012025/09/57/image_11012025_09_57_02_830733_0001.jpg', '/home/pi/Desktop/images/11012025/09/57/image_11012025_09_57_02_830733_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/56/image_11012025_09_56_02_141672_0003.jpg
/home/pi/Desktop/images/11012025/09/57/image_11012025_09_57_02_830733_0000.jpg
/home/pi/Desktop/images/11012025/09/57/image_11012025_09_57_02_830733_0001.jpg
/home/pi/Desktop/images/11012025/09/57/image_11012025_09_57_02_830733_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328102850","1328102856","1328102870","1328102864"],"photo_ids_order":["1328102850","1328102856","1328102864","1328102870"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c44766d21eef38e2ac1da9134876725d.jpg","text":"TemporaryFile(/tmp/multipartBody8933538898462318956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586013466,"filename":"image_11012025_09_56_02_141672_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c71ccaf43dfed8addef790b4b6c631d7.jpg","text":"TemporaryFile(/tmp/multipartBody1290330446244346625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586013466,"filename":"image_11012025_09_57_02_830733_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c5c853b8132f98724fe06c70b6ec098b.jpg","text":"TemporaryFile(/tmp/multipartBody3448773148065448011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586013466,"filename":"image_11012025_09_57_02_830733_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/92ee00eee4dc24c298bb6eee00a76a1b.jpg","text":"TemporaryFile(/tmp/multipartBody7075490673954907148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586013466,"filename":"image_11012025_09_57_02_830733_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328102864","file1":"1328102856","file0":"1328102850","file3":"1328102870"},"map_files_photo_id_array":[{"photo_id":"1328102864","filename":"file2"},{"photo_id":"1328102856","filename":"file1"},{"photo_id":"1328102850","filename":"file0"},{"photo_id":"1328102870","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328102850":["hashtag1","hashtag2"]},{"1328102856":["hashtag1","hashtag2"]},{"1328102870":["hashtag1","hashtag2"]},{"1328102864":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328102850, 1328102856, 1328102870, 1328102864)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.22396397590637 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 09:59:52.720428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/57/image_11012025_09_57_02_830733_0003.jpg', '/home/pi/Desktop/images/11012025/09/58/image_11012025_09_58_02_364613_0000.jpg', '/home/pi/Desktop/images/11012025/09/58/image_11012025_09_58_02_364613_0001.jpg', '/home/pi/Desktop/images/11012025/09/58/image_11012025_09_58_02_364613_0002.jpg', '/home/pi/Desktop/images/11012025/09/58/image_11012025_09_58_02_364613_0003.jpg', '/home/pi/Desktop/images/11012025/09/59/image_11012025_09_59_02_905380_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/57/image_11012025_09_57_02_830733_0003.jpg
/home/pi/Desktop/images/11012025/09/58/image_11012025_09_58_02_364613_0000.jpg
/home/pi/Desktop/images/11012025/09/58/image_11012025_09_58_02_364613_0001.jpg
/home/pi/Desktop/images/11012025/09/58/image_11012025_09_58_02_364613_0002.jpg
/home/pi/Desktop/images/11012025/09/58/image_11012025_09_58_02_364613_0003.jpg
/home/pi/Desktop/images/11012025/09/59/image_11012025_09_59_02_905380_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328102914","1328102937","1328103032","1328102921","1328102909","1328102917"],"photo_ids_order":["1328102909","1328102914","1328102917","1328102921","1328102937","1328103032"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f50ccb023dc0c4f3575a0e9de77d76bd.jpg","text":"TemporaryFile(/tmp/multipartBody174465578104998661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586067849,"filename":"image_11012025_09_58_02_364613_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/93d6f1f8bf6b4be6735d6ea3877b3b9d.jpg","text":"TemporaryFile(/tmp/multipartBody752060444909200732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586067849,"filename":"image_11012025_09_58_02_364613_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ca5bce21f5795bacb26d26641f3da81d.jpg","text":"TemporaryFile(/tmp/multipartBody1766436243118717352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586067849,"filename":"image_11012025_09_59_02_905380_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f722433e46b00028420ea240a270c091.jpg","text":"TemporaryFile(/tmp/multipartBody3167909627852794578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586067849,"filename":"image_11012025_09_58_02_364613_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/191b3d7fecd1b697a1405dda749c0b75.jpg","text":"TemporaryFile(/tmp/multipartBody897121675730961649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586067849,"filename":"image_11012025_09_57_02_830733_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5deefa3f51b298a9c238e8cbf739e391.jpg","text":"TemporaryFile(/tmp/multipartBody6437499688386540053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586067849,"filename":"image_11012025_09_58_02_364613_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328102917","file1":"1328102914","file0":"1328102909","file4":"1328102937","file5":"1328103032","file3":"1328102921"},"map_files_photo_id_array":[{"photo_id":"1328103032","filename":"file5"},{"photo_id":"1328102917","filename":"file2"},{"photo_id":"1328102937","filename":"file4"},{"photo_id":"1328102914","filename":"file1"},{"photo_id":"1328102909","filename":"file0"},{"photo_id":"1328102921","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328102914":["hashtag1","hashtag2"]},{"1328102937":["hashtag1","hashtag2"]},{"1328103032":["hashtag1","hashtag2"]},{"1328102921":["hashtag1","hashtag2"]},{"1328102909":["hashtag1","hashtag2"]},{"1328102917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328102914, 1328102937, 1328103032, 1328102921, 1328102909, 1328102917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.303322553634644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 10:00:51.883274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/59/image_11012025_09_59_02_905380_0001.jpg', '/home/pi/Desktop/images/11012025/09/59/image_11012025_09_59_02_905380_0002.jpg', '/home/pi/Desktop/images/11012025/09/59/image_11012025_09_59_02_905380_0003.jpg', '/home/pi/Desktop/images/11012025/10/00/image_11012025_10_00_03_193995_0000.jpg', '/home/pi/Desktop/images/11012025/10/00/image_11012025_10_00_03_193995_0001.jpg', '/home/pi/Desktop/images/11012025/10/00/image_11012025_10_00_03_193995_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/09/59/image_11012025_09_59_02_905380_0001.jpg
/home/pi/Desktop/images/11012025/09/59/image_11012025_09_59_02_905380_0002.jpg
/home/pi/Desktop/images/11012025/09/59/image_11012025_09_59_02_905380_0003.jpg
/home/pi/Desktop/images/11012025/10/00/image_11012025_10_00_03_193995_0000.jpg
/home/pi/Desktop/images/11012025/10/00/image_11012025_10_00_03_193995_0001.jpg
/home/pi/Desktop/images/11012025/10/00/image_11012025_10_00_03_193995_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328103228","1328103230","1328103232","1328103241","1328103235","1328103238"],"photo_ids_order":["1328103228","1328103230","1328103232","1328103235","1328103238","1328103241"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/78c9d89fef7c35ae7c9dc7a64275ec10.jpg","text":"TemporaryFile(/tmp/multipartBody2717346355393815657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586126963,"filename":"image_11012025_09_59_02_905380_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7fcb0fd1bc0960d9ad8bcfbda4616965.jpg","text":"TemporaryFile(/tmp/multipartBody6164461706589690503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586126963,"filename":"image_11012025_09_59_02_905380_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/58165c7d9d64290db169696c16fecc72.jpg","text":"TemporaryFile(/tmp/multipartBody6807129842923404577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586126963,"filename":"image_11012025_09_59_02_905380_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5eefd93a262cb7f129c2e4f7345cdb99.jpg","text":"TemporaryFile(/tmp/multipartBody940906099497780718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586126963,"filename":"image_11012025_10_00_03_193995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/318eb0fffefb2d45058160f672a68fb5.jpg","text":"TemporaryFile(/tmp/multipartBody2760633592086948036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586126963,"filename":"image_11012025_10_00_03_193995_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1c6393df00a532a3bbc59e9afe8174cc.jpg","text":"TemporaryFile(/tmp/multipartBody2381338055099922345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586126963,"filename":"image_11012025_10_00_03_193995_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328103232","file1":"1328103230","file0":"1328103228","file4":"1328103238","file5":"1328103241","file3":"1328103235"},"map_files_photo_id_array":[{"photo_id":"1328103241","filename":"file5"},{"photo_id":"1328103232","filename":"file2"},{"photo_id":"1328103238","filename":"file4"},{"photo_id":"1328103230","filename":"file1"},{"photo_id":"1328103228","filename":"file0"},{"photo_id":"1328103235","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328103228":["hashtag1","hashtag2"]},{"1328103230":["hashtag1","hashtag2"]},{"1328103232":["hashtag1","hashtag2"]},{"1328103241":["hashtag1","hashtag2"]},{"1328103235":["hashtag1","hashtag2"]},{"1328103238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328103228, 1328103230, 1328103232, 1328103241, 1328103235, 1328103238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.9731559753418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 10:01:52.057449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/00/image_11012025_10_00_03_193995_0003.jpg', '/home/pi/Desktop/images/11012025/10/01/image_11012025_10_01_02_357810_0000.jpg', '/home/pi/Desktop/images/11012025/10/01/image_11012025_10_01_02_357810_0001.jpg', '/home/pi/Desktop/images/11012025/10/01/image_11012025_10_01_02_357810_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/00/image_11012025_10_00_03_193995_0003.jpg
/home/pi/Desktop/images/11012025/10/01/image_11012025_10_01_02_357810_0000.jpg
/home/pi/Desktop/images/11012025/10/01/image_11012025_10_01_02_357810_0001.jpg
/home/pi/Desktop/images/11012025/10/01/image_11012025_10_01_02_357810_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328103252","1328103251","1328103254","1328103257"],"photo_ids_order":["1328103251","1328103252","1328103254","1328103257"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a0b59e1c7306860e042d2465366cf56c.jpg","text":"TemporaryFile(/tmp/multipartBody3016228702097291857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586182234,"filename":"image_11012025_10_01_02_357810_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a83e094c5051f00db7455d92221da65c.jpg","text":"TemporaryFile(/tmp/multipartBody2612555008596732456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586182234,"filename":"image_11012025_10_00_03_193995_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fb9bdd7f8543fc5e32fb10e46bac4bb4.jpg","text":"TemporaryFile(/tmp/multipartBody1508976347249369445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586182234,"filename":"image_11012025_10_01_02_357810_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3dc751c2b749d5463cd758fe54d7cc0e.jpg","text":"TemporaryFile(/tmp/multipartBody5098769205485660766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586182234,"filename":"image_11012025_10_01_02_357810_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328103254","file1":"1328103252","file0":"1328103251","file3":"1328103257"},"map_files_photo_id_array":[{"photo_id":"1328103254","filename":"file2"},{"photo_id":"1328103252","filename":"file1"},{"photo_id":"1328103251","filename":"file0"},{"photo_id":"1328103257","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328103252":["hashtag1","hashtag2"]},{"1328103251":["hashtag1","hashtag2"]},{"1328103254":["hashtag1","hashtag2"]},{"1328103257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328103252, 1328103251, 1328103254, 1328103257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.61868381500244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 10:02:42.287193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/01/image_11012025_10_01_02_357810_0003.jpg', '/home/pi/Desktop/images/11012025/10/02/image_11012025_10_02_02_482585_0000.jpg', '/home/pi/Desktop/images/11012025/10/02/image_11012025_10_02_02_482585_0001.jpg', '/home/pi/Desktop/images/11012025/10/02/image_11012025_10_02_02_482585_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/01/image_11012025_10_01_02_357810_0003.jpg
/home/pi/Desktop/images/11012025/10/02/image_11012025_10_02_02_482585_0000.jpg
/home/pi/Desktop/images/11012025/10/02/image_11012025_10_02_02_482585_0001.jpg
/home/pi/Desktop/images/11012025/10/02/image_11012025_10_02_02_482585_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.705674886703491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:03:03.092543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/01/image_11012025_10_01_02_357810_0003.jpg', '/home/pi/Desktop/images/11012025/10/02/image_11012025_10_02_02_482585_0000.jpg', '/home/pi/Desktop/images/11012025/10/02/image_11012025_10_02_02_482585_0001.jpg', '/home/pi/Desktop/images/11012025/10/02/image_11012025_10_02_02_482585_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/01/image_11012025_10_01_02_357810_0003.jpg
/home/pi/Desktop/images/11012025/10/02/image_11012025_10_02_02_482585_0000.jpg
/home/pi/Desktop/images/11012025/10/02/image_11012025_10_02_02_482585_0001.jpg
/home/pi/Desktop/images/11012025/10/02/image_11012025_10_02_02_482585_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328103287","1328103281","1328103283","1328103285"],"photo_ids_order":["1328103281","1328103283","1328103285","1328103287"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8c0a61d5012a203477566c0580324632.jpg","text":"TemporaryFile(/tmp/multipartBody945947057804002507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586253234,"filename":"image_11012025_10_02_02_482585_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e6bf1b9e712a29b37981a3a6534ff4db.jpg","text":"TemporaryFile(/tmp/multipartBody1960892396283522625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586253234,"filename":"image_11012025_10_01_02_357810_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/27b48aa390b68800ee289e458b4bd229.jpg","text":"TemporaryFile(/tmp/multipartBody3629174749925610732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586253234,"filename":"image_11012025_10_02_02_482585_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4a0c7cf43966663c7f8630f300426f87.jpg","text":"TemporaryFile(/tmp/multipartBody4507667070780282299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586253234,"filename":"image_11012025_10_02_02_482585_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328103285","file1":"1328103283","file0":"1328103281","file3":"1328103287"},"map_files_photo_id_array":[{"photo_id":"1328103285","filename":"file2"},{"photo_id":"1328103283","filename":"file1"},{"photo_id":"1328103281","filename":"file0"},{"photo_id":"1328103287","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328103287":["hashtag1","hashtag2"]},{"1328103281":["hashtag1","hashtag2"]},{"1328103283":["hashtag1","hashtag2"]},{"1328103285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328103287, 1328103281, 1328103283, 1328103285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.45916533470154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 10:03:52.444714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/02/image_11012025_10_02_02_482585_0003.jpg', '/home/pi/Desktop/images/11012025/10/03/image_11012025_10_03_02_705387_0000.jpg', '/home/pi/Desktop/images/11012025/10/03/image_11012025_10_03_02_705387_0001.jpg', '/home/pi/Desktop/images/11012025/10/03/image_11012025_10_03_02_705387_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/02/image_11012025_10_02_02_482585_0003.jpg
/home/pi/Desktop/images/11012025/10/03/image_11012025_10_03_02_705387_0000.jpg
/home/pi/Desktop/images/11012025/10/03/image_11012025_10_03_02_705387_0001.jpg
/home/pi/Desktop/images/11012025/10/03/image_11012025_10_03_02_705387_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.804022312164307 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:04:22.631278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/02/image_11012025_10_02_02_482585_0003.jpg', '/home/pi/Desktop/images/11012025/10/03/image_11012025_10_03_02_705387_0000.jpg', '/home/pi/Desktop/images/11012025/10/03/image_11012025_10_03_02_705387_0001.jpg', '/home/pi/Desktop/images/11012025/10/03/image_11012025_10_03_02_705387_0002.jpg', '/home/pi/Desktop/images/11012025/10/03/image_11012025_10_03_02_705387_0003.jpg', '/home/pi/Desktop/images/11012025/10/04/image_11012025_10_04_02_771753_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/02/image_11012025_10_02_02_482585_0003.jpg
/home/pi/Desktop/images/11012025/10/03/image_11012025_10_03_02_705387_0000.jpg
/home/pi/Desktop/images/11012025/10/03/image_11012025_10_03_02_705387_0001.jpg
/home/pi/Desktop/images/11012025/10/03/image_11012025_10_03_02_705387_0002.jpg
/home/pi/Desktop/images/11012025/10/03/image_11012025_10_03_02_705387_0003.jpg
/home/pi/Desktop/images/11012025/10/04/image_11012025_10_04_02_771753_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328104250","1328104505","1328104223","1328104225","1328104569","1328104248"],"photo_ids_order":["1328104223","1328104225","1328104248","1328104250","1328104505","1328104569"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6eae007bc9fe633697a6363a9fc3f71c.jpg","text":"TemporaryFile(/tmp/multipartBody7155103589647325636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586337694,"filename":"image_11012025_10_03_02_705387_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0633f5b3c561f9b85fe8712d9191439d.jpg","text":"TemporaryFile(/tmp/multipartBody3561882666678737794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586337694,"filename":"image_11012025_10_03_02_705387_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/616906e455f7ae7417e6b44cb496c236.jpg","text":"TemporaryFile(/tmp/multipartBody3386093205512334140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586337694,"filename":"image_11012025_10_02_02_482585_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bfe2d34699ce2756df0a1eb007d4b208.jpg","text":"TemporaryFile(/tmp/multipartBody1719964601469337017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586337694,"filename":"image_11012025_10_03_02_705387_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/15f54a25d86b63ce4f877cff7bad315b.jpg","text":"TemporaryFile(/tmp/multipartBody2262515378826627539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586337694,"filename":"image_11012025_10_04_02_771753_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0caa3cb3fd37ccf6eef1ac577901ab66.jpg","text":"TemporaryFile(/tmp/multipartBody5498340216799181186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586337694,"filename":"image_11012025_10_03_02_705387_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328104248","file1":"1328104225","file0":"1328104223","file4":"1328104505","file5":"1328104569","file3":"1328104250"},"map_files_photo_id_array":[{"photo_id":"1328104569","filename":"file5"},{"photo_id":"1328104248","filename":"file2"},{"photo_id":"1328104505","filename":"file4"},{"photo_id":"1328104225","filename":"file1"},{"photo_id":"1328104223","filename":"file0"},{"photo_id":"1328104250","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328104250":["hashtag1","hashtag2"]},{"1328104505":["hashtag1","hashtag2"]},{"1328104223":["hashtag1","hashtag2"]},{"1328104225":["hashtag1","hashtag2"]},{"1328104569":["hashtag1","hashtag2"]},{"1328104248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328104250, 1328104505, 1328104223, 1328104225, 1328104569, 1328104248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.75603246688843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:05:21.866223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/04/image_11012025_10_04_02_771753_0001.jpg', '/home/pi/Desktop/images/11012025/10/04/image_11012025_10_04_02_771753_0002.jpg', '/home/pi/Desktop/images/11012025/10/04/image_11012025_10_04_02_771753_0003.jpg', '/home/pi/Desktop/images/11012025/10/05/image_11012025_10_05_02_942785_0000.jpg', '/home/pi/Desktop/images/11012025/10/05/image_11012025_10_05_02_942785_0001.jpg', '/home/pi/Desktop/images/11012025/10/05/image_11012025_10_05_02_942785_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/04/image_11012025_10_04_02_771753_0001.jpg
/home/pi/Desktop/images/11012025/10/04/image_11012025_10_04_02_771753_0002.jpg
/home/pi/Desktop/images/11012025/10/04/image_11012025_10_04_02_771753_0003.jpg
/home/pi/Desktop/images/11012025/10/05/image_11012025_10_05_02_942785_0000.jpg
/home/pi/Desktop/images/11012025/10/05/image_11012025_10_05_02_942785_0001.jpg
/home/pi/Desktop/images/11012025/10/05/image_11012025_10_05_02_942785_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328104707","1328104701","1328104703","1328104696","1328104705","1328104698"],"photo_ids_order":["1328104696","1328104698","1328104701","1328104703","1328104705","1328104707"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/82483cea6ed96a0420638bf5ff216d71.jpg","text":"TemporaryFile(/tmp/multipartBody7922603434296052258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586396989,"filename":"image_11012025_10_05_02_942785_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/059d1e0aeabfef4942973b6858a0726f.jpg","text":"TemporaryFile(/tmp/multipartBody2151983558511868981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586396989,"filename":"image_11012025_10_04_02_771753_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/71fcafc59ae4b2b37120197ce0c932b2.jpg","text":"TemporaryFile(/tmp/multipartBody6876617876846290693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586396989,"filename":"image_11012025_10_05_02_942785_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/72bcdd3b0741df9a9f2e5f13b0187e62.jpg","text":"TemporaryFile(/tmp/multipartBody1088875614382277067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586396989,"filename":"image_11012025_10_04_02_771753_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0d69dd81140f9f1c60a07083d962b5b1.jpg","text":"TemporaryFile(/tmp/multipartBody8905303793915885767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586396989,"filename":"image_11012025_10_05_02_942785_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ba184140f0cd07f46640d7d2849d551e.jpg","text":"TemporaryFile(/tmp/multipartBody4577734049019172405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586396989,"filename":"image_11012025_10_04_02_771753_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328104701","file1":"1328104698","file0":"1328104696","file4":"1328104705","file5":"1328104707","file3":"1328104703"},"map_files_photo_id_array":[{"photo_id":"1328104707","filename":"file5"},{"photo_id":"1328104701","filename":"file2"},{"photo_id":"1328104705","filename":"file4"},{"photo_id":"1328104698","filename":"file1"},{"photo_id":"1328104696","filename":"file0"},{"photo_id":"1328104703","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328104707":["hashtag1","hashtag2"]},{"1328104701":["hashtag1","hashtag2"]},{"1328104703":["hashtag1","hashtag2"]},{"1328104696":["hashtag1","hashtag2"]},{"1328104705":["hashtag1","hashtag2"]},{"1328104698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328104707, 1328104701, 1328104703, 1328104696, 1328104705, 1328104698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.69920992851257 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:06:22.049426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/05/image_11012025_10_05_02_942785_0003.jpg', '/home/pi/Desktop/images/11012025/10/06/image_11012025_10_06_02_139223_0000.jpg', '/home/pi/Desktop/images/11012025/10/06/image_11012025_10_06_02_139223_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/05/image_11012025_10_05_02_942785_0003.jpg
/home/pi/Desktop/images/11012025/10/06/image_11012025_10_06_02_139223_0000.jpg
/home/pi/Desktop/images/11012025/10/06/image_11012025_10_06_02_139223_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328104800","1328104823","1328104821"],"photo_ids_order":["1328104800","1328104821","1328104823"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/953e5eca2b2b5b6e85d954aa15e9d54d.jpg","text":"TemporaryFile(/tmp/multipartBody1845926883617107464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586449716,"filename":"image_11012025_10_05_02_942785_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ddfc0b708169d88b47e7fdddbda20ab5.jpg","text":"TemporaryFile(/tmp/multipartBody3413099717883846949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586449716,"filename":"image_11012025_10_06_02_139223_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6653d8a9bb04a10eb01d6b790f2bce8f.jpg","text":"TemporaryFile(/tmp/multipartBody9150724267252133466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586449716,"filename":"image_11012025_10_06_02_139223_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328104823","file1":"1328104821","file0":"1328104800"},"map_files_photo_id_array":[{"photo_id":"1328104823","filename":"file2"},{"photo_id":"1328104821","filename":"file1"},{"photo_id":"1328104800","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328104800":["hashtag1","hashtag2"]},{"1328104823":["hashtag1","hashtag2"]},{"1328104821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328104800, 1328104823, 1328104821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.001099586486816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:07:02.806002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/50/image_09012025_23_50_02_481130_0002.jpg', '/home/pi/Desktop/images/09012025/23/50/image_09012025_23_50_02_481130_0003.jpg', '/home/pi/Desktop/images/09012025/23/51/image_09012025_23_51_02_668261_0000.jpg', '/home/pi/Desktop/images/09012025/23/51/image_09012025_23_51_02_668261_0001.jpg', '/home/pi/Desktop/images/09012025/23/51/image_09012025_23_51_02_668261_0002.jpg', '/home/pi/Desktop/images/09012025/23/51/image_09012025_23_51_02_668261_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/50/image_09012025_23_50_02_481130_0002.jpg
/home/pi/Desktop/images/09012025/23/50/image_09012025_23_50_02_481130_0003.jpg
/home/pi/Desktop/images/09012025/23/51/image_09012025_23_51_02_668261_0000.jpg
/home/pi/Desktop/images/09012025/23/51/image_09012025_23_51_02_668261_0001.jpg
/home/pi/Desktop/images/09012025/23/51/image_09012025_23_51_02_668261_0002.jpg
/home/pi/Desktop/images/09012025/23/51/image_09012025_23_51_02_668261_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":["1328104880","1328104882","1328104878","1328104872","1328104875","1328104869"],"photo_ids_order":["1328104869","1328104872","1328104875","1328104878","1328104880","1328104882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f7364babec7656b208a99e4961f21ccd.jpg","text":"TemporaryFile(/tmp/multipartBody3968338734937583853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586499054,"filename":"image_09012025_23_51_02_668261_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1ce07e494eef13e29100894d00f05498.jpg","text":"TemporaryFile(/tmp/multipartBody8719628577570290035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586499054,"filename":"image_09012025_23_51_02_668261_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/55297541ba27170b83975302b4ef77e1.jpg","text":"TemporaryFile(/tmp/multipartBody8909195198931172934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586499054,"filename":"image_09012025_23_51_02_668261_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3e410aa6b17ecabc90830e406daeaa28.jpg","text":"TemporaryFile(/tmp/multipartBody6362403228676820354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586499054,"filename":"image_09012025_23_50_02_481130_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ba189448730db92ddd073200a9a6ad99.jpg","text":"TemporaryFile(/tmp/multipartBody1040596689396978925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586499054,"filename":"image_09012025_23_51_02_668261_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8cdf5c742eb555f1923af6e2f10a245d.jpg","text":"TemporaryFile(/tmp/multipartBody4429646293674099483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586499054,"filename":"image_09012025_23_50_02_481130_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328104875","file1":"1328104872","file0":"1328104869","file4":"1328104880","file5":"1328104882","file3":"1328104878"},"map_files_photo_id_array":[{"photo_id":"1328104882","filename":"file5"},{"photo_id":"1328104875","filename":"file2"},{"photo_id":"1328104880","filename":"file4"},{"photo_id":"1328104872","filename":"file1"},{"photo_id":"1328104869","filename":"file0"},{"photo_id":"1328104878","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328104880":["hashtag1","hashtag2"]},{"1328104882":["hashtag1","hashtag2"]},{"1328104878":["hashtag1","hashtag2"]},{"1328104872":["hashtag1","hashtag2"]},{"1328104875":["hashtag1","hashtag2"]},{"1328104869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328104880, 1328104882, 1328104878, 1328104872, 1328104875, 1328104869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.750770568847656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:08:02.815852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/06/image_11012025_10_06_02_139223_0003.jpg', '/home/pi/Desktop/images/11012025/10/07/image_11012025_10_07_02_364500_0000.jpg', '/home/pi/Desktop/images/11012025/10/07/image_11012025_10_07_02_364500_0001.jpg', '/home/pi/Desktop/images/11012025/10/07/image_11012025_10_07_02_364500_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/06/image_11012025_10_06_02_139223_0003.jpg
/home/pi/Desktop/images/11012025/10/07/image_11012025_10_07_02_364500_0000.jpg
/home/pi/Desktop/images/11012025/10/07/image_11012025_10_07_02_364500_0001.jpg
/home/pi/Desktop/images/11012025/10/07/image_11012025_10_07_02_364500_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.861361265182495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:08:22.450282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/06/image_11012025_10_06_02_139223_0003.jpg', '/home/pi/Desktop/images/11012025/10/07/image_11012025_10_07_02_364500_0000.jpg', '/home/pi/Desktop/images/11012025/10/07/image_11012025_10_07_02_364500_0001.jpg', '/home/pi/Desktop/images/11012025/10/07/image_11012025_10_07_02_364500_0002.jpg', '/home/pi/Desktop/images/11012025/10/07/image_11012025_10_07_02_364500_0003.jpg', '/home/pi/Desktop/images/11012025/10/08/image_11012025_10_08_02_586237_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/06/image_11012025_10_06_02_139223_0003.jpg
/home/pi/Desktop/images/11012025/10/07/image_11012025_10_07_02_364500_0000.jpg
/home/pi/Desktop/images/11012025/10/07/image_11012025_10_07_02_364500_0001.jpg
/home/pi/Desktop/images/11012025/10/07/image_11012025_10_07_02_364500_0002.jpg
/home/pi/Desktop/images/11012025/10/07/image_11012025_10_07_02_364500_0003.jpg
/home/pi/Desktop/images/11012025/10/08/image_11012025_10_08_02_586237_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328104905","1328104901","1328104904","1328104906","1328104899","1328104903"],"photo_ids_order":["1328104899","1328104901","1328104903","1328104904","1328104905","1328104906"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/977766722a64e0aaa5cb5bb4bbe21d67.jpg","text":"TemporaryFile(/tmp/multipartBody6960990053709565350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586577462,"filename":"image_11012025_10_07_02_364500_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8c9bf0a5469ff0bf93d37f0c234dccb8.jpg","text":"TemporaryFile(/tmp/multipartBody1007824198582758201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586577462,"filename":"image_11012025_10_07_02_364500_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6a45add0d00254f462bc5ae4a841f168.jpg","text":"TemporaryFile(/tmp/multipartBody7579264578635965977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586577462,"filename":"image_11012025_10_07_02_364500_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/03683c4d84d0000e59879b275b647203.jpg","text":"TemporaryFile(/tmp/multipartBody4870497880861895233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586577462,"filename":"image_11012025_10_08_02_586237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/60c4ea3f63e7dddc8c9a10c1ca1d98e4.jpg","text":"TemporaryFile(/tmp/multipartBody4523144210358144329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586577462,"filename":"image_11012025_10_06_02_139223_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9a2b1c33a9dbf0ad6d57ca658911e9ad.jpg","text":"TemporaryFile(/tmp/multipartBody2018947121350861632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586577462,"filename":"image_11012025_10_07_02_364500_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328104903","file1":"1328104901","file0":"1328104899","file4":"1328104905","file5":"1328104906","file3":"1328104904"},"map_files_photo_id_array":[{"photo_id":"1328104906","filename":"file5"},{"photo_id":"1328104903","filename":"file2"},{"photo_id":"1328104905","filename":"file4"},{"photo_id":"1328104901","filename":"file1"},{"photo_id":"1328104899","filename":"file0"},{"photo_id":"1328104904","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328104905":["hashtag1","hashtag2"]},{"1328104901":["hashtag1","hashtag2"]},{"1328104904":["hashtag1","hashtag2"]},{"1328104906":["hashtag1","hashtag2"]},{"1328104899":["hashtag1","hashtag2"]},{"1328104903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328104905, 1328104901, 1328104904, 1328104906, 1328104899, 1328104903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.8323118686676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:09:22.650398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/08/image_11012025_10_08_02_586237_0001.jpg', '/home/pi/Desktop/images/11012025/10/08/image_11012025_10_08_02_586237_0002.jpg', '/home/pi/Desktop/images/11012025/10/08/image_11012025_10_08_02_586237_0003.jpg', '/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_02_805518_0000.jpg', '/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_02_805518_0001.jpg', '/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_02_805518_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/08/image_11012025_10_08_02_586237_0001.jpg
/home/pi/Desktop/images/11012025/10/08/image_11012025_10_08_02_586237_0002.jpg
/home/pi/Desktop/images/11012025/10/08/image_11012025_10_08_02_586237_0003.jpg
/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_02_805518_0000.jpg
/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_02_805518_0001.jpg
/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_02_805518_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328104988","1328104990","1328104966","1328104945","1328104924","1328104918"],"photo_ids_order":["1328104918","1328104924","1328104945","1328104966","1328104988","1328104990"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cecbf6f69a056855bb8c2dcc13128e06.jpg","text":"TemporaryFile(/tmp/multipartBody4306558256263153846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586637646,"filename":"image_11012025_10_09_02_805518_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b1088cbc3a2f2dfff9a03e5dbe226fd5.jpg","text":"TemporaryFile(/tmp/multipartBody8360231980724886921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586637646,"filename":"image_11012025_10_09_02_805518_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6b4bb3b157d647b190dbcaa0718aad84.jpg","text":"TemporaryFile(/tmp/multipartBody3660748508363422589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586637646,"filename":"image_11012025_10_09_02_805518_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/880670e0137e74f2ab9fb9fa68254aad.jpg","text":"TemporaryFile(/tmp/multipartBody4871711295908887255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586637646,"filename":"image_11012025_10_08_02_586237_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6efe61958cc6c27b918662f72059907a.jpg","text":"TemporaryFile(/tmp/multipartBody9037157988874232443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586637646,"filename":"image_11012025_10_08_02_586237_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/160b1d234ac369b30323bd87ee5aee31.jpg","text":"TemporaryFile(/tmp/multipartBody3431775082913779005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586637646,"filename":"image_11012025_10_08_02_586237_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328104945","file1":"1328104924","file0":"1328104918","file4":"1328104988","file5":"1328104990","file3":"1328104966"},"map_files_photo_id_array":[{"photo_id":"1328104990","filename":"file5"},{"photo_id":"1328104945","filename":"file2"},{"photo_id":"1328104988","filename":"file4"},{"photo_id":"1328104924","filename":"file1"},{"photo_id":"1328104918","filename":"file0"},{"photo_id":"1328104966","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328104988":["hashtag1","hashtag2"]},{"1328104990":["hashtag1","hashtag2"]},{"1328104966":["hashtag1","hashtag2"]},{"1328104945":["hashtag1","hashtag2"]},{"1328104924":["hashtag1","hashtag2"]},{"1328104918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328104988, 1328104990, 1328104966, 1328104945, 1328104924, 1328104918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.31610345840454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:10:21.825318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_02_805518_0003.jpg', '/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_02_965770_0000.jpg', '/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_02_965770_0001.jpg', '/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_02_965770_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_02_805518_0003.jpg
/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_02_965770_0000.jpg
/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_02_965770_0001.jpg
/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_02_965770_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.896555185317993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 10:10:41.804186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_02_805518_0003.jpg', '/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_02_965770_0000.jpg', '/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_02_965770_0001.jpg', '/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_02_965770_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_02_805518_0003.jpg
/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_02_965770_0000.jpg
/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_02_965770_0001.jpg
/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_02_965770_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328105048","1328105050","1328105044","1328105046"],"photo_ids_order":["1328105044","1328105046","1328105048","1328105050"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e0f569ba8cfff6f0a80cb53a6e977ead.jpg","text":"TemporaryFile(/tmp/multipartBody964030756323867793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586711999,"filename":"image_11012025_10_10_02_965770_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c3b634443dd138f6655c5a03af277a0d.jpg","text":"TemporaryFile(/tmp/multipartBody8596884407822463471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586711999,"filename":"image_11012025_10_10_02_965770_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/21b82ad64c99d9e883b328bdc434c573.jpg","text":"TemporaryFile(/tmp/multipartBody7244926943818013559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586711999,"filename":"image_11012025_10_09_02_805518_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/68a207a4c2b01d5f31f1936af330c1fd.jpg","text":"TemporaryFile(/tmp/multipartBody3615504117832606370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586711999,"filename":"image_11012025_10_10_02_965770_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328105048","file1":"1328105046","file0":"1328105044","file3":"1328105050"},"map_files_photo_id_array":[{"photo_id":"1328105048","filename":"file2"},{"photo_id":"1328105046","filename":"file1"},{"photo_id":"1328105044","filename":"file0"},{"photo_id":"1328105050","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328105048":["hashtag1","hashtag2"]},{"1328105050":["hashtag1","hashtag2"]},{"1328105044":["hashtag1","hashtag2"]},{"1328105046":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328105048, 1328105050, 1328105044, 1328105046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.423800468444824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:11:22.108308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_02_965770_0003.jpg', '/home/pi/Desktop/images/11012025/10/11/image_11012025_10_11_02_108581_0000.jpg', '/home/pi/Desktop/images/11012025/10/11/image_11012025_10_11_02_108581_0001.jpg', '/home/pi/Desktop/images/11012025/10/11/image_11012025_10_11_02_108581_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_02_965770_0003.jpg
/home/pi/Desktop/images/11012025/10/11/image_11012025_10_11_02_108581_0000.jpg
/home/pi/Desktop/images/11012025/10/11/image_11012025_10_11_02_108581_0001.jpg
/home/pi/Desktop/images/11012025/10/11/image_11012025_10_11_02_108581_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328105057","1328105123","1328105226","1328105223"],"photo_ids_order":["1328105057","1328105123","1328105223","1328105226"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1d9d7d0908a2d64ff0557c0a6adb6e11.jpg","text":"TemporaryFile(/tmp/multipartBody9128461144963388397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586752274,"filename":"image_11012025_10_10_02_965770_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4e33c3eeef6dc3a0b0fb1b43af0f1074.jpg","text":"TemporaryFile(/tmp/multipartBody4546650614684155813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586752274,"filename":"image_11012025_10_11_02_108581_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6a6258fb9e32b0ba32dc506880a1ae46.jpg","text":"TemporaryFile(/tmp/multipartBody8148491528537432177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586752274,"filename":"image_11012025_10_11_02_108581_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c181791ebce45ded7de1b458d40143c6.jpg","text":"TemporaryFile(/tmp/multipartBody6430092245348454235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586752274,"filename":"image_11012025_10_11_02_108581_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328105223","file1":"1328105123","file0":"1328105057","file3":"1328105226"},"map_files_photo_id_array":[{"photo_id":"1328105223","filename":"file2"},{"photo_id":"1328105123","filename":"file1"},{"photo_id":"1328105057","filename":"file0"},{"photo_id":"1328105226","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328105057":["hashtag1","hashtag2"]},{"1328105123":["hashtag1","hashtag2"]},{"1328105226":["hashtag1","hashtag2"]},{"1328105223":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328105057, 1328105123, 1328105226, 1328105223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.50880193710327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:12:02.546540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/52/image_09012025_23_52_02_854615_0000.jpg', '/home/pi/Desktop/images/09012025/23/52/image_09012025_23_52_02_854615_0001.jpg', '/home/pi/Desktop/images/09012025/23/52/image_09012025_23_52_02_854615_0002.jpg', '/home/pi/Desktop/images/09012025/23/52/image_09012025_23_52_02_854615_0003.jpg', '/home/pi/Desktop/images/09012025/23/53/image_09012025_23_53_03_055640_0000.jpg', '/home/pi/Desktop/images/09012025/23/53/image_09012025_23_53_03_055640_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/52/image_09012025_23_52_02_854615_0000.jpg
/home/pi/Desktop/images/09012025/23/52/image_09012025_23_52_02_854615_0001.jpg
/home/pi/Desktop/images/09012025/23/52/image_09012025_23_52_02_854615_0002.jpg
/home/pi/Desktop/images/09012025/23/52/image_09012025_23_52_02_854615_0003.jpg
/home/pi/Desktop/images/09012025/23/53/image_09012025_23_53_03_055640_0000.jpg
/home/pi/Desktop/images/09012025/23/53/image_09012025_23_53_03_055640_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":["1328105243","1328105257","1328105277","1328105238","1328105235","1328105273"],"photo_ids_order":["1328105235","1328105238","1328105243","1328105257","1328105273","1328105277"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/67aa0d5a2af1add23615e6f15946570f.jpg","text":"TemporaryFile(/tmp/multipartBody1352263162225755205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586798775,"filename":"image_09012025_23_52_02_854615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c3e59381e92862a313006ed3b944e1ec.jpg","text":"TemporaryFile(/tmp/multipartBody6740439849210759788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586798775,"filename":"image_09012025_23_52_02_854615_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a11b5d6fe088f2e1a9eb4839d6942a66.jpg","text":"TemporaryFile(/tmp/multipartBody5575420121579226268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586798775,"filename":"image_09012025_23_53_03_055640_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/94efb2070a3f3efd5fd3ceee98f8c73e.jpg","text":"TemporaryFile(/tmp/multipartBody3678056077936877495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586798775,"filename":"image_09012025_23_52_02_854615_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5905ee25ee85a6e9b1b7fe8ce4ea5f82.jpg","text":"TemporaryFile(/tmp/multipartBody5689418349173389837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586798775,"filename":"image_09012025_23_52_02_854615_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/12c568ffc0c0f3e6432b891155fcca71.jpg","text":"TemporaryFile(/tmp/multipartBody4312571892618006082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586798775,"filename":"image_09012025_23_53_03_055640_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328105243","file1":"1328105238","file0":"1328105235","file4":"1328105273","file5":"1328105277","file3":"1328105257"},"map_files_photo_id_array":[{"photo_id":"1328105277","filename":"file5"},{"photo_id":"1328105243","filename":"file2"},{"photo_id":"1328105273","filename":"file4"},{"photo_id":"1328105238","filename":"file1"},{"photo_id":"1328105235","filename":"file0"},{"photo_id":"1328105257","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328105243":["hashtag1","hashtag2"]},{"1328105257":["hashtag1","hashtag2"]},{"1328105277":["hashtag1","hashtag2"]},{"1328105238":["hashtag1","hashtag2"]},{"1328105235":["hashtag1","hashtag2"]},{"1328105273":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328105243, 1328105257, 1328105277, 1328105238, 1328105235, 1328105273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.45617961883545 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:13:02.917729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/11/image_11012025_10_11_02_108581_0003.jpg', '/home/pi/Desktop/images/11012025/10/12/image_11012025_10_12_02_433676_0000.jpg', '/home/pi/Desktop/images/11012025/10/12/image_11012025_10_12_02_433676_0001.jpg', '/home/pi/Desktop/images/11012025/10/12/image_11012025_10_12_02_433676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/11/image_11012025_10_11_02_108581_0003.jpg
/home/pi/Desktop/images/11012025/10/12/image_11012025_10_12_02_433676_0000.jpg
/home/pi/Desktop/images/11012025/10/12/image_11012025_10_12_02_433676_0001.jpg
/home/pi/Desktop/images/11012025/10/12/image_11012025_10_12_02_433676_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.908988237380981 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:13:22.399391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/11/image_11012025_10_11_02_108581_0003.jpg', '/home/pi/Desktop/images/11012025/10/12/image_11012025_10_12_02_433676_0000.jpg', '/home/pi/Desktop/images/11012025/10/12/image_11012025_10_12_02_433676_0001.jpg', '/home/pi/Desktop/images/11012025/10/12/image_11012025_10_12_02_433676_0002.jpg', '/home/pi/Desktop/images/11012025/10/12/image_11012025_10_12_02_433676_0003.jpg', '/home/pi/Desktop/images/11012025/10/13/image_11012025_10_13_02_531045_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/11/image_11012025_10_11_02_108581_0003.jpg
/home/pi/Desktop/images/11012025/10/12/image_11012025_10_12_02_433676_0000.jpg
/home/pi/Desktop/images/11012025/10/12/image_11012025_10_12_02_433676_0001.jpg
/home/pi/Desktop/images/11012025/10/12/image_11012025_10_12_02_433676_0002.jpg
/home/pi/Desktop/images/11012025/10/12/image_11012025_10_12_02_433676_0003.jpg
/home/pi/Desktop/images/11012025/10/13/image_11012025_10_13_02_531045_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328105297","1328105308","1328105311","1328105305","1328105307","1328105301"],"photo_ids_order":["1328105297","1328105301","1328105305","1328105307","1328105308","1328105311"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5ce56b3fec503be78f5bf6903400b8ad.jpg","text":"TemporaryFile(/tmp/multipartBody2483372337613588845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586877309,"filename":"image_11012025_10_11_02_108581_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bb67ac4c1e04761a31c0ca4a9757942f.jpg","text":"TemporaryFile(/tmp/multipartBody7806124099998934738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586877309,"filename":"image_11012025_10_12_02_433676_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c2acd06e4f8ed51e4b0969d76f50cb38.jpg","text":"TemporaryFile(/tmp/multipartBody8517043783184054951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586877309,"filename":"image_11012025_10_13_02_531045_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/24af6c4b3d384ae98f4102ed2f4ca139.jpg","text":"TemporaryFile(/tmp/multipartBody2128402763145698478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586877309,"filename":"image_11012025_10_12_02_433676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0d63a699eb0080c5526dd34e281cb6c1.jpg","text":"TemporaryFile(/tmp/multipartBody7667330568562139819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586877309,"filename":"image_11012025_10_12_02_433676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9bf3376b3815945ce3718abf23f38717.jpg","text":"TemporaryFile(/tmp/multipartBody1197548153240607176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586877309,"filename":"image_11012025_10_12_02_433676_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328105305","file1":"1328105301","file0":"1328105297","file4":"1328105308","file5":"1328105311","file3":"1328105307"},"map_files_photo_id_array":[{"photo_id":"1328105311","filename":"file5"},{"photo_id":"1328105305","filename":"file2"},{"photo_id":"1328105308","filename":"file4"},{"photo_id":"1328105301","filename":"file1"},{"photo_id":"1328105297","filename":"file0"},{"photo_id":"1328105307","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328105297":["hashtag1","hashtag2"]},{"1328105308":["hashtag1","hashtag2"]},{"1328105311":["hashtag1","hashtag2"]},{"1328105305":["hashtag1","hashtag2"]},{"1328105307":["hashtag1","hashtag2"]},{"1328105301":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328105297, 1328105308, 1328105311, 1328105305, 1328105307, 1328105301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.242040395736694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:14:22.527364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/13/image_11012025_10_13_02_531045_0001.jpg', '/home/pi/Desktop/images/11012025/10/13/image_11012025_10_13_02_531045_0002.jpg', '/home/pi/Desktop/images/11012025/10/13/image_11012025_10_13_02_531045_0003.jpg', '/home/pi/Desktop/images/11012025/10/14/image_11012025_10_14_02_738575_0000.jpg', '/home/pi/Desktop/images/11012025/10/14/image_11012025_10_14_02_738575_0001.jpg', '/home/pi/Desktop/images/11012025/10/14/image_11012025_10_14_02_738575_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/13/image_11012025_10_13_02_531045_0001.jpg
/home/pi/Desktop/images/11012025/10/13/image_11012025_10_13_02_531045_0002.jpg
/home/pi/Desktop/images/11012025/10/13/image_11012025_10_13_02_531045_0003.jpg
/home/pi/Desktop/images/11012025/10/14/image_11012025_10_14_02_738575_0000.jpg
/home/pi/Desktop/images/11012025/10/14/image_11012025_10_14_02_738575_0001.jpg
/home/pi/Desktop/images/11012025/10/14/image_11012025_10_14_02_738575_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328105335","1328105343","1328105337","1328105346","1328105349","1328105340"],"photo_ids_order":["1328105335","1328105337","1328105340","1328105343","1328105346","1328105349"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1d90a935da0942f36f71d6a406e456e4.jpg","text":"TemporaryFile(/tmp/multipartBody2032842805080751231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586937441,"filename":"image_11012025_10_13_02_531045_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c6d23796ef267d6ac23b5ab79c43d075.jpg","text":"TemporaryFile(/tmp/multipartBody1961068540797619380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586937441,"filename":"image_11012025_10_14_02_738575_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c9d1a32555d70939c4ade283675faf1.jpg","text":"TemporaryFile(/tmp/multipartBody612896939881763306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586937441,"filename":"image_11012025_10_13_02_531045_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e69285b7bfbe63fa24ca336c8b05f134.jpg","text":"TemporaryFile(/tmp/multipartBody2468385091520821718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586937441,"filename":"image_11012025_10_14_02_738575_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/949ac3e5d8b744fa4ea9ad77b8ad646a.jpg","text":"TemporaryFile(/tmp/multipartBody4072053684927207035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586937441,"filename":"image_11012025_10_14_02_738575_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4e2a1b538af97378a19ed7ee2b5cb4c9.jpg","text":"TemporaryFile(/tmp/multipartBody9041436832608574361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736586937441,"filename":"image_11012025_10_13_02_531045_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328105340","file1":"1328105337","file0":"1328105335","file4":"1328105346","file5":"1328105349","file3":"1328105343"},"map_files_photo_id_array":[{"photo_id":"1328105349","filename":"file5"},{"photo_id":"1328105340","filename":"file2"},{"photo_id":"1328105346","filename":"file4"},{"photo_id":"1328105337","filename":"file1"},{"photo_id":"1328105335","filename":"file0"},{"photo_id":"1328105343","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328105335":["hashtag1","hashtag2"]},{"1328105343":["hashtag1","hashtag2"]},{"1328105337":["hashtag1","hashtag2"]},{"1328105346":["hashtag1","hashtag2"]},{"1328105349":["hashtag1","hashtag2"]},{"1328105340":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328105335, 1328105343, 1328105337, 1328105346, 1328105349, 1328105340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.381183385849 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:15:22.770773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/14/image_11012025_10_14_02_738575_0003.jpg', '/home/pi/Desktop/images/11012025/10/15/image_11012025_10_15_02_868691_0000.jpg', '/home/pi/Desktop/images/11012025/10/15/image_11012025_10_15_02_868691_0001.jpg', '/home/pi/Desktop/images/11012025/10/15/image_11012025_10_15_02_868691_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/14/image_11012025_10_14_02_738575_0003.jpg
/home/pi/Desktop/images/11012025/10/15/image_11012025_10_15_02_868691_0000.jpg
/home/pi/Desktop/images/11012025/10/15/image_11012025_10_15_02_868691_0001.jpg
/home/pi/Desktop/images/11012025/10/15/image_11012025_10_15_02_868691_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.85004448890686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 10:15:42.747560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/14/image_11012025_10_14_02_738575_0003.jpg', '/home/pi/Desktop/images/11012025/10/15/image_11012025_10_15_02_868691_0000.jpg', '/home/pi/Desktop/images/11012025/10/15/image_11012025_10_15_02_868691_0001.jpg', '/home/pi/Desktop/images/11012025/10/15/image_11012025_10_15_02_868691_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/14/image_11012025_10_14_02_738575_0003.jpg
/home/pi/Desktop/images/11012025/10/15/image_11012025_10_15_02_868691_0000.jpg
/home/pi/Desktop/images/11012025/10/15/image_11012025_10_15_02_868691_0001.jpg
/home/pi/Desktop/images/11012025/10/15/image_11012025_10_15_02_868691_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328105389","1328105410","1328105379","1328105378"],"photo_ids_order":["1328105378","1328105379","1328105389","1328105410"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/848608d2f752a2fc3dc222651f975acc.jpg","text":"TemporaryFile(/tmp/multipartBody8542376584050119972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587012993,"filename":"image_11012025_10_15_02_868691_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a2f9d758e71f61ac4d3c476518a08d21.jpg","text":"TemporaryFile(/tmp/multipartBody4071330427816040984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587012993,"filename":"image_11012025_10_15_02_868691_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/877d131271766f6746c6f59910ab7bdc.jpg","text":"TemporaryFile(/tmp/multipartBody6776110700778624189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587012993,"filename":"image_11012025_10_15_02_868691_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d5c44b7c0c573c2c6cd360a770be69d5.jpg","text":"TemporaryFile(/tmp/multipartBody4096253218713661172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587012993,"filename":"image_11012025_10_14_02_738575_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328105389","file1":"1328105379","file0":"1328105378","file3":"1328105410"},"map_files_photo_id_array":[{"photo_id":"1328105389","filename":"file2"},{"photo_id":"1328105379","filename":"file1"},{"photo_id":"1328105378","filename":"file0"},{"photo_id":"1328105410","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328105389":["hashtag1","hashtag2"]},{"1328105410":["hashtag1","hashtag2"]},{"1328105379":["hashtag1","hashtag2"]},{"1328105378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328105389, 1328105410, 1328105379, 1328105378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.14829993247986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 10:16:31.950920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/15/image_11012025_10_15_02_868691_0003.jpg', '/home/pi/Desktop/images/11012025/10/16/image_11012025_10_16_03_087175_0000.jpg', '/home/pi/Desktop/images/11012025/10/16/image_11012025_10_16_03_087175_0001.jpg', '/home/pi/Desktop/images/11012025/10/16/image_11012025_10_16_03_087175_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/15/image_11012025_10_15_02_868691_0003.jpg
/home/pi/Desktop/images/11012025/10/16/image_11012025_10_16_03_087175_0000.jpg
/home/pi/Desktop/images/11012025/10/16/image_11012025_10_16_03_087175_0001.jpg
/home/pi/Desktop/images/11012025/10/16/image_11012025_10_16_03_087175_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328106212","1328106088","1328105844","1328105967"],"photo_ids_order":["1328105844","1328105967","1328106088","1328106212"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f12f52868df0630a32c9715875a9c65b.jpg","text":"TemporaryFile(/tmp/multipartBody1866137181201209194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587062194,"filename":"image_11012025_10_16_03_087175_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/51d9f2233fdb048e06e83f188335f341.jpg","text":"TemporaryFile(/tmp/multipartBody2881488000227153611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587062194,"filename":"image_11012025_10_16_03_087175_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/21a17144868cae6f78ebaf358bd2e497.jpg","text":"TemporaryFile(/tmp/multipartBody5471673437811250245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587062194,"filename":"image_11012025_10_15_02_868691_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/843cf7dbd7ae4f862ef060b482b87b63.jpg","text":"TemporaryFile(/tmp/multipartBody568959362669272808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587062194,"filename":"image_11012025_10_16_03_087175_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328106088","file1":"1328105967","file0":"1328105844","file3":"1328106212"},"map_files_photo_id_array":[{"photo_id":"1328106088","filename":"file2"},{"photo_id":"1328105967","filename":"file1"},{"photo_id":"1328105844","filename":"file0"},{"photo_id":"1328106212","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328106212":["hashtag1","hashtag2"]},{"1328106088":["hashtag1","hashtag2"]},{"1328105844":["hashtag1","hashtag2"]},{"1328105967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328106212, 1328106088, 1328105844, 1328105967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.430499792099 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:17:22.119933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/16/image_11012025_10_16_03_087175_0003.jpg', '/home/pi/Desktop/images/11012025/10/17/image_11012025_10_17_02_325003_0000.jpg', '/home/pi/Desktop/images/11012025/10/17/image_11012025_10_17_02_325003_0001.jpg', '/home/pi/Desktop/images/11012025/10/17/image_11012025_10_17_02_325003_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/16/image_11012025_10_16_03_087175_0003.jpg
/home/pi/Desktop/images/11012025/10/17/image_11012025_10_17_02_325003_0000.jpg
/home/pi/Desktop/images/11012025/10/17/image_11012025_10_17_02_325003_0001.jpg
/home/pi/Desktop/images/11012025/10/17/image_11012025_10_17_02_325003_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328106373","1328106376","1328106378","1328106380"],"photo_ids_order":["1328106373","1328106376","1328106378","1328106380"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ab8b53a4a73126357ea400ac3ed4cd3d.jpg","text":"TemporaryFile(/tmp/multipartBody4333596067362869977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587112388,"filename":"image_11012025_10_16_03_087175_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aeb9fcc1575905c0473b4a65764b4023.jpg","text":"TemporaryFile(/tmp/multipartBody2017982755581178431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587112388,"filename":"image_11012025_10_17_02_325003_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aa802e4b9f47b2d0e429afc1b7e0090e.jpg","text":"TemporaryFile(/tmp/multipartBody9164300563052510945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587112388,"filename":"image_11012025_10_17_02_325003_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dbed373fbacafddeb8d8901414ee2bda.jpg","text":"TemporaryFile(/tmp/multipartBody6620154490863283191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587112388,"filename":"image_11012025_10_17_02_325003_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328106378","file1":"1328106376","file0":"1328106373","file3":"1328106380"},"map_files_photo_id_array":[{"photo_id":"1328106378","filename":"file2"},{"photo_id":"1328106376","filename":"file1"},{"photo_id":"1328106373","filename":"file0"},{"photo_id":"1328106380","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328106373":["hashtag1","hashtag2"]},{"1328106376":["hashtag1","hashtag2"]},{"1328106378":["hashtag1","hashtag2"]},{"1328106380":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328106373, 1328106376, 1328106378, 1328106380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.75799202919006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:18:02.695439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/53/image_09012025_23_53_03_055640_0002.jpg', '/home/pi/Desktop/images/09012025/23/53/image_09012025_23_53_03_055640_0003.jpg', '/home/pi/Desktop/images/09012025/23/54/image_09012025_23_54_02_234743_0000.jpg', '/home/pi/Desktop/images/09012025/23/54/image_09012025_23_54_02_234743_0001.jpg', '/home/pi/Desktop/images/09012025/23/54/image_09012025_23_54_02_234743_0002.jpg', '/home/pi/Desktop/images/09012025/23/54/image_09012025_23_54_02_234743_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/53/image_09012025_23_53_03_055640_0002.jpg
/home/pi/Desktop/images/09012025/23/53/image_09012025_23_53_03_055640_0003.jpg
/home/pi/Desktop/images/09012025/23/54/image_09012025_23_54_02_234743_0000.jpg
/home/pi/Desktop/images/09012025/23/54/image_09012025_23_54_02_234743_0001.jpg
/home/pi/Desktop/images/09012025/23/54/image_09012025_23_54_02_234743_0002.jpg
/home/pi/Desktop/images/09012025/23/54/image_09012025_23_54_02_234743_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.015111446380615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:18:22.302480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/17/image_11012025_10_17_02_325003_0003.jpg', '/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_02_469399_0000.jpg', '/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_02_469399_0001.jpg', '/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_02_469399_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/17/image_11012025_10_17_02_325003_0003.jpg
/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_02_469399_0000.jpg
/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_02_469399_0001.jpg
/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_02_469399_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328106925","1328106879","1328106870","1328106929"],"photo_ids_order":["1328106870","1328106879","1328106925","1328106929"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/61876aaa5b4b2c9d38799597b4f50549.jpg","text":"TemporaryFile(/tmp/multipartBody8297976876256499297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587172467,"filename":"image_11012025_10_18_02_469399_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a8317120e1e0ddd354c09645cb07306b.jpg","text":"TemporaryFile(/tmp/multipartBody4660033487056350393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587172467,"filename":"image_11012025_10_18_02_469399_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/082cd0782d03edfbca9a07179c3d8e45.jpg","text":"TemporaryFile(/tmp/multipartBody3115131422564866404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587172467,"filename":"image_11012025_10_17_02_325003_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/51e114951c02e4ea6ff382f4472753f1.jpg","text":"TemporaryFile(/tmp/multipartBody9220892146836304747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587172467,"filename":"image_11012025_10_18_02_469399_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328106925","file1":"1328106879","file0":"1328106870","file3":"1328106929"},"map_files_photo_id_array":[{"photo_id":"1328106925","filename":"file2"},{"photo_id":"1328106879","filename":"file1"},{"photo_id":"1328106870","filename":"file0"},{"photo_id":"1328106929","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328106925":["hashtag1","hashtag2"]},{"1328106879":["hashtag1","hashtag2"]},{"1328106870":["hashtag1","hashtag2"]},{"1328106929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328106925, 1328106879, 1328106870, 1328106929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.920243978500366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:19:03.029989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/53/image_09012025_23_53_03_055640_0002.jpg', '/home/pi/Desktop/images/09012025/23/53/image_09012025_23_53_03_055640_0003.jpg', '/home/pi/Desktop/images/09012025/23/54/image_09012025_23_54_02_234743_0000.jpg', '/home/pi/Desktop/images/09012025/23/54/image_09012025_23_54_02_234743_0001.jpg', '/home/pi/Desktop/images/09012025/23/54/image_09012025_23_54_02_234743_0002.jpg', '/home/pi/Desktop/images/09012025/23/54/image_09012025_23_54_02_234743_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/53/image_09012025_23_53_03_055640_0002.jpg
/home/pi/Desktop/images/09012025/23/53/image_09012025_23_53_03_055640_0003.jpg
/home/pi/Desktop/images/09012025/23/54/image_09012025_23_54_02_234743_0000.jpg
/home/pi/Desktop/images/09012025/23/54/image_09012025_23_54_02_234743_0001.jpg
/home/pi/Desktop/images/09012025/23/54/image_09012025_23_54_02_234743_0002.jpg
/home/pi/Desktop/images/09012025/23/54/image_09012025_23_54_02_234743_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":["1328107843","1328107323","1328107493","1328107628","1328107127","1328107840"],"photo_ids_order":["1328107127","1328107323","1328107493","1328107628","1328107840","1328107843"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/468fc898a119c00d92268442c1712d0f.jpg","text":"TemporaryFile(/tmp/multipartBody6676462014841686872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587219311,"filename":"image_09012025_23_54_02_234743_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/41df6e963f1acc434eeaee1f9420c587.jpg","text":"TemporaryFile(/tmp/multipartBody6785575449783423076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587219311,"filename":"image_09012025_23_53_03_055640_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/24b97b5430f8ea9b0d51fee064af7998.jpg","text":"TemporaryFile(/tmp/multipartBody4843521062836897270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587219311,"filename":"image_09012025_23_54_02_234743_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/182b4fa76bd59b0f7d539f36c784ce7f.jpg","text":"TemporaryFile(/tmp/multipartBody4400310090141831066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587219311,"filename":"image_09012025_23_54_02_234743_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/02751a340966fdada02b256579068a16.jpg","text":"TemporaryFile(/tmp/multipartBody2601297421443976242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587219311,"filename":"image_09012025_23_53_03_055640_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4019f2398b43089f3218723b87f44929.jpg","text":"TemporaryFile(/tmp/multipartBody6772184138651957310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587219311,"filename":"image_09012025_23_54_02_234743_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328107493","file1":"1328107323","file0":"1328107127","file4":"1328107840","file5":"1328107843","file3":"1328107628"},"map_files_photo_id_array":[{"photo_id":"1328107843","filename":"file5"},{"photo_id":"1328107493","filename":"file2"},{"photo_id":"1328107840","filename":"file4"},{"photo_id":"1328107323","filename":"file1"},{"photo_id":"1328107127","filename":"file0"},{"photo_id":"1328107628","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328107843":["hashtag1","hashtag2"]},{"1328107323":["hashtag1","hashtag2"]},{"1328107493":["hashtag1","hashtag2"]},{"1328107628":["hashtag1","hashtag2"]},{"1328107127":["hashtag1","hashtag2"]},{"1328107840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328107843, 1328107323, 1328107493, 1328107628, 1328107127, 1328107840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.75683331489563 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:20:02.931931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_02_469399_0003.jpg', '/home/pi/Desktop/images/11012025/10/19/image_11012025_10_19_02_625050_0000.jpg', '/home/pi/Desktop/images/11012025/10/19/image_11012025_10_19_02_625050_0001.jpg', '/home/pi/Desktop/images/11012025/10/19/image_11012025_10_19_02_625050_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_02_469399_0003.jpg
/home/pi/Desktop/images/11012025/10/19/image_11012025_10_19_02_625050_0000.jpg
/home/pi/Desktop/images/11012025/10/19/image_11012025_10_19_02_625050_0001.jpg
/home/pi/Desktop/images/11012025/10/19/image_11012025_10_19_02_625050_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328107866","1328107850","1328107981","1328107849"],"photo_ids_order":["1328107849","1328107850","1328107866","1328107981"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ee312edc9c98dfce5ff7f96e3bb1358a.jpg","text":"TemporaryFile(/tmp/multipartBody4456722432179972267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587273133,"filename":"image_11012025_10_19_02_625050_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/90d6dbe2ca7ae0115cb2d7e9377033a5.jpg","text":"TemporaryFile(/tmp/multipartBody6523272032044685847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587273133,"filename":"image_11012025_10_19_02_625050_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/33ce89376bff19b99c6453cc38947f7d.jpg","text":"TemporaryFile(/tmp/multipartBody3992573014110966120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587273133,"filename":"image_11012025_10_19_02_625050_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/30d8d3db8688b8f76ad3772fde160ec5.jpg","text":"TemporaryFile(/tmp/multipartBody4347619361869950652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587273133,"filename":"image_11012025_10_18_02_469399_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328107866","file1":"1328107850","file0":"1328107849","file3":"1328107981"},"map_files_photo_id_array":[{"photo_id":"1328107866","filename":"file2"},{"photo_id":"1328107850","filename":"file1"},{"photo_id":"1328107849","filename":"file0"},{"photo_id":"1328107981","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328107866":["hashtag1","hashtag2"]},{"1328107850":["hashtag1","hashtag2"]},{"1328107981":["hashtag1","hashtag2"]},{"1328107849":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328107866, 1328107850, 1328107981, 1328107849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.64428234100342 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 10:20:52.579546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/19/image_11012025_10_19_02_625050_0003.jpg', '/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_02_812432_0000.jpg', '/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_02_812432_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/19/image_11012025_10_19_02_625050_0003.jpg
/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_02_812432_0000.jpg
/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_02_812432_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.277975559234619 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:21:03.379695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/19/image_11012025_10_19_02_625050_0003.jpg', '/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_02_812432_0000.jpg', '/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_02_812432_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/19/image_11012025_10_19_02_625050_0003.jpg
/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_02_812432_0000.jpg
/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_02_812432_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":["1328109222","1328109221","1328109195"],"photo_ids_order":["1328109195","1328109221","1328109222"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/91954d0b466e98026d1aa4eab04ad001.jpg","text":"TemporaryFile(/tmp/multipartBody806499934509497541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587331143,"filename":"image_11012025_10_20_02_812432_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/82fe3312905c334eaf0dfe765716d102.jpg","text":"TemporaryFile(/tmp/multipartBody951254821692249969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587331143,"filename":"image_11012025_10_20_02_812432_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/97d6c01d21fa679b6955e8beed4c7c43.jpg","text":"TemporaryFile(/tmp/multipartBody6121362941633113018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587331143,"filename":"image_11012025_10_19_02_625050_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328109222","file1":"1328109221","file0":"1328109195"},"map_files_photo_id_array":[{"photo_id":"1328109222","filename":"file2"},{"photo_id":"1328109221","filename":"file1"},{"photo_id":"1328109195","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328109222":["hashtag1","hashtag2"]},{"1328109221":["hashtag1","hashtag2"]},{"1328109195":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328109222, 1328109221, 1328109195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.105350732803345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 10:21:42.767177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_02_812432_0002.jpg', '/home/pi/Desktop/images/11012025/10/21/image_11012025_10_21_02_933412_0000.jpg', '/home/pi/Desktop/images/11012025/10/21/image_11012025_10_21_02_933412_0001.jpg', '/home/pi/Desktop/images/11012025/10/21/image_11012025_10_21_02_933412_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_02_812432_0002.jpg
/home/pi/Desktop/images/11012025/10/21/image_11012025_10_21_02_933412_0000.jpg
/home/pi/Desktop/images/11012025/10/21/image_11012025_10_21_02_933412_0001.jpg
/home/pi/Desktop/images/11012025/10/21/image_11012025_10_21_02_933412_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328109315","1328109317","1328109340","1328109319"],"photo_ids_order":["1328109315","1328109317","1328109319","1328109340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cd32a3d098db0d82f80ddee6613f2a89.jpg","text":"TemporaryFile(/tmp/multipartBody6069742109347511905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587372433,"filename":"image_11012025_10_20_02_812432_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/853839fd1c0dae14598475e7c7904fe1.jpg","text":"TemporaryFile(/tmp/multipartBody4668591033473349865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587372433,"filename":"image_11012025_10_21_02_933412_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2ccb6d52692b50fc18062e0b80d4cb4e.jpg","text":"TemporaryFile(/tmp/multipartBody7747655430258393943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587372433,"filename":"image_11012025_10_21_02_933412_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/587c0eec602dee932752812d4ed4690a.jpg","text":"TemporaryFile(/tmp/multipartBody1442752488022711526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587372433,"filename":"image_11012025_10_21_02_933412_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328109319","file1":"1328109317","file0":"1328109315","file3":"1328109340"},"map_files_photo_id_array":[{"photo_id":"1328109319","filename":"file2"},{"photo_id":"1328109317","filename":"file1"},{"photo_id":"1328109315","filename":"file0"},{"photo_id":"1328109340","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328109315":["hashtag1","hashtag2"]},{"1328109317":["hashtag1","hashtag2"]},{"1328109340":["hashtag1","hashtag2"]},{"1328109319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328109315, 1328109317, 1328109340, 1328109319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.636035680770874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 10:22:31.910631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/21/image_11012025_10_21_02_933412_0003.jpg', '/home/pi/Desktop/images/11012025/10/22/image_11012025_10_22_03_202170_0001.jpg', '/home/pi/Desktop/images/11012025/10/22/image_11012025_10_22_03_202170_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/21/image_11012025_10_21_02_933412_0003.jpg
/home/pi/Desktop/images/11012025/10/22/image_11012025_10_22_03_202170_0001.jpg
/home/pi/Desktop/images/11012025/10/22/image_11012025_10_22_03_202170_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328109672","1328109703","1328109669"],"photo_ids_order":["1328109669","1328109672","1328109703"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/071e21e3ec24d4be998dddbc1382fe70.jpg","text":"TemporaryFile(/tmp/multipartBody6592104188320111880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587419668,"filename":"image_11012025_10_22_03_202170_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/823aafa1ecf1ef2a03153459e0675e93.jpg","text":"TemporaryFile(/tmp/multipartBody5356862354902806543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587419668,"filename":"image_11012025_10_22_03_202170_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e2c7986859ef43084ff641381003903b.jpg","text":"TemporaryFile(/tmp/multipartBody8987185890761995810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587419668,"filename":"image_11012025_10_21_02_933412_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328109703","file1":"1328109672","file0":"1328109669"},"map_files_photo_id_array":[{"photo_id":"1328109703","filename":"file2"},{"photo_id":"1328109672","filename":"file1"},{"photo_id":"1328109669","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328109672":["hashtag1","hashtag2"]},{"1328109703":["hashtag1","hashtag2"]},{"1328109669":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328109672, 1328109703, 1328109669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.71463418006897 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:23:22.187823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/22/image_11012025_10_22_03_202170_0003.jpg', '/home/pi/Desktop/images/11012025/10/23/image_11012025_10_23_02_267205_0000.jpg', '/home/pi/Desktop/images/11012025/10/23/image_11012025_10_23_02_267205_0001.jpg', '/home/pi/Desktop/images/11012025/10/23/image_11012025_10_23_02_267205_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/22/image_11012025_10_22_03_202170_0003.jpg
/home/pi/Desktop/images/11012025/10/23/image_11012025_10_23_02_267205_0000.jpg
/home/pi/Desktop/images/11012025/10/23/image_11012025_10_23_02_267205_0001.jpg
/home/pi/Desktop/images/11012025/10/23/image_11012025_10_23_02_267205_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328109747","1328109755","1328109751","1328109745"],"photo_ids_order":["1328109745","1328109747","1328109751","1328109755"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d127a9f6bb49f8475fa5f35d76d1dd1b.jpg","text":"TemporaryFile(/tmp/multipartBody3127612493911300218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587472496,"filename":"image_11012025_10_23_02_267205_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/82a014901a642c64cd5c9da0de2e69e9.jpg","text":"TemporaryFile(/tmp/multipartBody2189226392699073694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587472496,"filename":"image_11012025_10_23_02_267205_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0603839a34a5c197e328bd6ddc763312.jpg","text":"TemporaryFile(/tmp/multipartBody4613375189163568702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587472496,"filename":"image_11012025_10_23_02_267205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6183817319905a29e779ccd25b823fa7.jpg","text":"TemporaryFile(/tmp/multipartBody1573847994542195039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587472496,"filename":"image_11012025_10_22_03_202170_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328109751","file1":"1328109747","file0":"1328109745","file3":"1328109755"},"map_files_photo_id_array":[{"photo_id":"1328109751","filename":"file2"},{"photo_id":"1328109747","filename":"file1"},{"photo_id":"1328109745","filename":"file0"},{"photo_id":"1328109755","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328109747":["hashtag1","hashtag2"]},{"1328109755":["hashtag1","hashtag2"]},{"1328109751":["hashtag1","hashtag2"]},{"1328109745":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328109747, 1328109755, 1328109751, 1328109745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.24080967903137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:24:02.691884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/55/image_09012025_23_55_02_347076_0000.jpg', '/home/pi/Desktop/images/09012025/23/55/image_09012025_23_55_02_347076_0001.jpg', '/home/pi/Desktop/images/09012025/23/55/image_09012025_23_55_02_347076_0002.jpg', '/home/pi/Desktop/images/09012025/23/55/image_09012025_23_55_02_347076_0003.jpg', '/home/pi/Desktop/images/09012025/23/56/image_09012025_23_56_02_529270_0000.jpg', '/home/pi/Desktop/images/09012025/23/56/image_09012025_23_56_02_529270_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/55/image_09012025_23_55_02_347076_0000.jpg
/home/pi/Desktop/images/09012025/23/55/image_09012025_23_55_02_347076_0001.jpg
/home/pi/Desktop/images/09012025/23/55/image_09012025_23_55_02_347076_0002.jpg
/home/pi/Desktop/images/09012025/23/55/image_09012025_23_55_02_347076_0003.jpg
/home/pi/Desktop/images/09012025/23/56/image_09012025_23_56_02_529270_0000.jpg
/home/pi/Desktop/images/09012025/23/56/image_09012025_23_56_02_529270_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":["1328109765","1328109791","1328109788","1328109767","1328109776","1328109766"],"photo_ids_order":["1328109765","1328109766","1328109767","1328109776","1328109788","1328109791"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7acdbc70a86661abe77dd345c4a78644.jpg","text":"TemporaryFile(/tmp/multipartBody4611850083126749607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587518857,"filename":"image_09012025_23_55_02_347076_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8e1b81f9b1f763413389b9a7f7e6f2f1.jpg","text":"TemporaryFile(/tmp/multipartBody4848146058841622534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587518857,"filename":"image_09012025_23_56_02_529270_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3022714ff6e3d2144a6900895535b0b6.jpg","text":"TemporaryFile(/tmp/multipartBody6155331577289548803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587518857,"filename":"image_09012025_23_56_02_529270_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0214b50cdd02c397fb1532e54871e636.jpg","text":"TemporaryFile(/tmp/multipartBody7713664861149532431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587518857,"filename":"image_09012025_23_55_02_347076_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cfeb8e863a7fea4fdb3c97d77ecb2a06.jpg","text":"TemporaryFile(/tmp/multipartBody3114857564705719281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587518857,"filename":"image_09012025_23_55_02_347076_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9dbc06c41029257e3e8253d40419c7f7.jpg","text":"TemporaryFile(/tmp/multipartBody2507211660581264819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587518857,"filename":"image_09012025_23_55_02_347076_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328109767","file1":"1328109766","file0":"1328109765","file4":"1328109788","file5":"1328109791","file3":"1328109776"},"map_files_photo_id_array":[{"photo_id":"1328109791","filename":"file5"},{"photo_id":"1328109767","filename":"file2"},{"photo_id":"1328109788","filename":"file4"},{"photo_id":"1328109766","filename":"file1"},{"photo_id":"1328109765","filename":"file0"},{"photo_id":"1328109776","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328109765":["hashtag1","hashtag2"]},{"1328109791":["hashtag1","hashtag2"]},{"1328109788":["hashtag1","hashtag2"]},{"1328109767":["hashtag1","hashtag2"]},{"1328109776":["hashtag1","hashtag2"]},{"1328109766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328109765, 1328109791, 1328109788, 1328109767, 1328109776, 1328109766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.988627672195435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:25:03.139549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/23/image_11012025_10_23_02_267205_0003.jpg', '/home/pi/Desktop/images/11012025/10/24/image_11012025_10_24_02_470125_0000.jpg', '/home/pi/Desktop/images/11012025/10/24/image_11012025_10_24_02_470125_0001.jpg', '/home/pi/Desktop/images/11012025/10/24/image_11012025_10_24_02_470125_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/23/image_11012025_10_23_02_267205_0003.jpg
/home/pi/Desktop/images/11012025/10/24/image_11012025_10_24_02_470125_0000.jpg
/home/pi/Desktop/images/11012025/10/24/image_11012025_10_24_02_470125_0001.jpg
/home/pi/Desktop/images/11012025/10/24/image_11012025_10_24_02_470125_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328109807","1328109801","1328109803","1328109805"],"photo_ids_order":["1328109801","1328109803","1328109805","1328109807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/516b1420f91badab1b1578642ebbb672.jpg","text":"TemporaryFile(/tmp/multipartBody8333908193612836161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587573621,"filename":"image_11012025_10_24_02_470125_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4babad50878f62eaf56fc06c3d31632f.jpg","text":"TemporaryFile(/tmp/multipartBody85599171372732139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587573621,"filename":"image_11012025_10_23_02_267205_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b08753d31b96144ab19965a5397168b3.jpg","text":"TemporaryFile(/tmp/multipartBody8805080362917197795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587573621,"filename":"image_11012025_10_24_02_470125_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2263aa0068a4f451c7a9ca04a3509170.jpg","text":"TemporaryFile(/tmp/multipartBody6784708542859689084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587573621,"filename":"image_11012025_10_24_02_470125_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328109805","file1":"1328109803","file0":"1328109801","file3":"1328109807"},"map_files_photo_id_array":[{"photo_id":"1328109805","filename":"file2"},{"photo_id":"1328109803","filename":"file1"},{"photo_id":"1328109801","filename":"file0"},{"photo_id":"1328109807","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328109807":["hashtag1","hashtag2"]},{"1328109801":["hashtag1","hashtag2"]},{"1328109803":["hashtag1","hashtag2"]},{"1328109805":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328109807, 1328109801, 1328109803, 1328109805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.46808433532715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 10:25:52.431274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/24/image_11012025_10_24_02_470125_0003.jpg', '/home/pi/Desktop/images/11012025/10/25/image_11012025_10_25_02_614861_0000.jpg', '/home/pi/Desktop/images/11012025/10/25/image_11012025_10_25_02_614861_0001.jpg', '/home/pi/Desktop/images/11012025/10/25/image_11012025_10_25_02_614861_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/24/image_11012025_10_24_02_470125_0003.jpg
/home/pi/Desktop/images/11012025/10/25/image_11012025_10_25_02_614861_0000.jpg
/home/pi/Desktop/images/11012025/10/25/image_11012025_10_25_02_614861_0001.jpg
/home/pi/Desktop/images/11012025/10/25/image_11012025_10_25_02_614861_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.96780276298523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:26:22.636147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/24/image_11012025_10_24_02_470125_0003.jpg', '/home/pi/Desktop/images/11012025/10/25/image_11012025_10_25_02_614861_0000.jpg', '/home/pi/Desktop/images/11012025/10/25/image_11012025_10_25_02_614861_0001.jpg', '/home/pi/Desktop/images/11012025/10/25/image_11012025_10_25_02_614861_0002.jpg', '/home/pi/Desktop/images/11012025/10/25/image_11012025_10_25_02_614861_0003.jpg', '/home/pi/Desktop/images/11012025/10/26/image_11012025_10_26_02_778300_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/24/image_11012025_10_24_02_470125_0003.jpg
/home/pi/Desktop/images/11012025/10/25/image_11012025_10_25_02_614861_0000.jpg
/home/pi/Desktop/images/11012025/10/25/image_11012025_10_25_02_614861_0001.jpg
/home/pi/Desktop/images/11012025/10/25/image_11012025_10_25_02_614861_0002.jpg
/home/pi/Desktop/images/11012025/10/25/image_11012025_10_25_02_614861_0003.jpg
/home/pi/Desktop/images/11012025/10/26/image_11012025_10_26_02_778300_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328109842","1328109839","1328109824","1328109832","1328109835","1328109829"],"photo_ids_order":["1328109824","1328109829","1328109832","1328109835","1328109839","1328109842"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c87ed2917359f1b3833a7b8ae082e64e.jpg","text":"TemporaryFile(/tmp/multipartBody3557250113147346981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587657779,"filename":"image_11012025_10_26_02_778300_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b04f104f0d30a50098f6133906296f2f.jpg","text":"TemporaryFile(/tmp/multipartBody2255893464086872414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587657779,"filename":"image_11012025_10_25_02_614861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/218d7330ba7855b16ce1463944a148fd.jpg","text":"TemporaryFile(/tmp/multipartBody5618636412215744013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587657779,"filename":"image_11012025_10_24_02_470125_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5ce6a9de40d3348870042f4dd41f4e77.jpg","text":"TemporaryFile(/tmp/multipartBody4972145243919566320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587657779,"filename":"image_11012025_10_25_02_614861_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9bea122c642293a929a7934b23bf4732.jpg","text":"TemporaryFile(/tmp/multipartBody3948115658738205838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587657779,"filename":"image_11012025_10_25_02_614861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9082d05c37455ba15f5be24ba369772c.jpg","text":"TemporaryFile(/tmp/multipartBody7681497703864445535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587657779,"filename":"image_11012025_10_25_02_614861_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328109832","file1":"1328109829","file0":"1328109824","file4":"1328109839","file5":"1328109842","file3":"1328109835"},"map_files_photo_id_array":[{"photo_id":"1328109842","filename":"file5"},{"photo_id":"1328109832","filename":"file2"},{"photo_id":"1328109839","filename":"file4"},{"photo_id":"1328109829","filename":"file1"},{"photo_id":"1328109824","filename":"file0"},{"photo_id":"1328109835","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328109842":["hashtag1","hashtag2"]},{"1328109839":["hashtag1","hashtag2"]},{"1328109824":["hashtag1","hashtag2"]},{"1328109832":["hashtag1","hashtag2"]},{"1328109835":["hashtag1","hashtag2"]},{"1328109829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328109842, 1328109839, 1328109824, 1328109832, 1328109835, 1328109829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.678529024124146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:27:21.879417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/26/image_11012025_10_26_02_778300_0001.jpg', '/home/pi/Desktop/images/11012025/10/26/image_11012025_10_26_02_778300_0002.jpg', '/home/pi/Desktop/images/11012025/10/26/image_11012025_10_26_02_778300_0003.jpg', '/home/pi/Desktop/images/11012025/10/27/image_11012025_10_27_02_991385_0000.jpg', '/home/pi/Desktop/images/11012025/10/27/image_11012025_10_27_02_991385_0001.jpg', '/home/pi/Desktop/images/11012025/10/27/image_11012025_10_27_02_991385_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/26/image_11012025_10_26_02_778300_0001.jpg
/home/pi/Desktop/images/11012025/10/26/image_11012025_10_26_02_778300_0002.jpg
/home/pi/Desktop/images/11012025/10/26/image_11012025_10_26_02_778300_0003.jpg
/home/pi/Desktop/images/11012025/10/27/image_11012025_10_27_02_991385_0000.jpg
/home/pi/Desktop/images/11012025/10/27/image_11012025_10_27_02_991385_0001.jpg
/home/pi/Desktop/images/11012025/10/27/image_11012025_10_27_02_991385_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328109848","1328109889","1328109862","1328109886","1328109868","1328109891"],"photo_ids_order":["1328109848","1328109862","1328109868","1328109886","1328109889","1328109891"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e6551ff7de05a55d11ac3d19d7cb09e8.jpg","text":"TemporaryFile(/tmp/multipartBody521756837943126336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587716893,"filename":"image_11012025_10_26_02_778300_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fd79c48e440fc5b40b067d4410030a67.jpg","text":"TemporaryFile(/tmp/multipartBody1554850950356897960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587716893,"filename":"image_11012025_10_27_02_991385_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f9e6920648abdee4ea78b2465e5e99d2.jpg","text":"TemporaryFile(/tmp/multipartBody8128990372621501205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587716893,"filename":"image_11012025_10_26_02_778300_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ca7699f9c550effc4c53c1375e820357.jpg","text":"TemporaryFile(/tmp/multipartBody2966232737067942569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587716893,"filename":"image_11012025_10_27_02_991385_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2f01c1cdcab51c920ca6b46632eaa95b.jpg","text":"TemporaryFile(/tmp/multipartBody1856498088326651673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587716893,"filename":"image_11012025_10_26_02_778300_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/92b518acfcbc7cec44f5e8990ec2e907.jpg","text":"TemporaryFile(/tmp/multipartBody3758629049012276567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587716893,"filename":"image_11012025_10_27_02_991385_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328109868","file1":"1328109862","file0":"1328109848","file4":"1328109889","file5":"1328109891","file3":"1328109886"},"map_files_photo_id_array":[{"photo_id":"1328109891","filename":"file5"},{"photo_id":"1328109868","filename":"file2"},{"photo_id":"1328109889","filename":"file4"},{"photo_id":"1328109862","filename":"file1"},{"photo_id":"1328109848","filename":"file0"},{"photo_id":"1328109886","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328109848":["hashtag1","hashtag2"]},{"1328109889":["hashtag1","hashtag2"]},{"1328109862":["hashtag1","hashtag2"]},{"1328109886":["hashtag1","hashtag2"]},{"1328109868":["hashtag1","hashtag2"]},{"1328109891":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328109848, 1328109889, 1328109862, 1328109886, 1328109868, 1328109891)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.632988929748535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 10:28:32.019815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/27/image_11012025_10_27_02_991385_0003.jpg', '/home/pi/Desktop/images/11012025/10/28/image_11012025_10_28_02_279333_0000.jpg', '/home/pi/Desktop/images/11012025/10/28/image_11012025_10_28_02_279333_0001.jpg', '/home/pi/Desktop/images/11012025/10/28/image_11012025_10_28_02_279333_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/27/image_11012025_10_27_02_991385_0003.jpg
/home/pi/Desktop/images/11012025/10/28/image_11012025_10_28_02_279333_0000.jpg
/home/pi/Desktop/images/11012025/10/28/image_11012025_10_28_02_279333_0001.jpg
/home/pi/Desktop/images/11012025/10/28/image_11012025_10_28_02_279333_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328109903","1328109965","1328109901","1328109897"],"photo_ids_order":["1328109897","1328109901","1328109903","1328109965"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b23dbad5ca992775ea1aba5adf2db5f6.jpg","text":"TemporaryFile(/tmp/multipartBody711879835867499982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587782217,"filename":"image_11012025_10_28_02_279333_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7faaae6830b6973ffe3c7a70002abe1f.jpg","text":"TemporaryFile(/tmp/multipartBody2795554035703664320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587782217,"filename":"image_11012025_10_28_02_279333_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3f34af8dc8f30750e49a2ff614facae0.jpg","text":"TemporaryFile(/tmp/multipartBody7300365553490655082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587782217,"filename":"image_11012025_10_28_02_279333_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ddbc7577249c190296cc7b233f0145e8.jpg","text":"TemporaryFile(/tmp/multipartBody7403733686648776304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587782217,"filename":"image_11012025_10_27_02_991385_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328109903","file1":"1328109901","file0":"1328109897","file3":"1328109965"},"map_files_photo_id_array":[{"photo_id":"1328109903","filename":"file2"},{"photo_id":"1328109901","filename":"file1"},{"photo_id":"1328109897","filename":"file0"},{"photo_id":"1328109965","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328109903":["hashtag1","hashtag2"]},{"1328109965":["hashtag1","hashtag2"]},{"1328109901":["hashtag1","hashtag2"]},{"1328109897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328109903, 1328109965, 1328109901, 1328109897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.63394618034363 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:29:22.222967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/28/image_11012025_10_28_02_279333_0003.jpg', '/home/pi/Desktop/images/11012025/10/29/image_11012025_10_29_02_460352_0001.jpg', '/home/pi/Desktop/images/11012025/10/29/image_11012025_10_29_02_460352_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/28/image_11012025_10_28_02_279333_0003.jpg
/home/pi/Desktop/images/11012025/10/29/image_11012025_10_29_02_460352_0001.jpg
/home/pi/Desktop/images/11012025/10/29/image_11012025_10_29_02_460352_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328110702","1328110826","1328110957"],"photo_ids_order":["1328110702","1328110826","1328110957"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fbbf50baf63c263c9d06ac6951b90d99.jpg","text":"TemporaryFile(/tmp/multipartBody7643992805290545073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587830042,"filename":"image_11012025_10_28_02_279333_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e82ebf7daa5a89a6f110e320bdc29cfd.jpg","text":"TemporaryFile(/tmp/multipartBody1869607061780093373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587830042,"filename":"image_11012025_10_29_02_460352_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8bc7ccf2bb57c3938d50f5c85be2b87a.jpg","text":"TemporaryFile(/tmp/multipartBody2598369755379898090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587830042,"filename":"image_11012025_10_29_02_460352_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328110957","file1":"1328110826","file0":"1328110702"},"map_files_photo_id_array":[{"photo_id":"1328110957","filename":"file2"},{"photo_id":"1328110826","filename":"file1"},{"photo_id":"1328110702","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328110702":["hashtag1","hashtag2"]},{"1328110826":["hashtag1","hashtag2"]},{"1328110957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328110702, 1328110826, 1328110957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.543397188186646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:30:02.777412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/56/image_09012025_23_56_02_529270_0002.jpg', '/home/pi/Desktop/images/09012025/23/56/image_09012025_23_56_02_529270_0003.jpg', '/home/pi/Desktop/images/09012025/23/57/image_09012025_23_57_02_757696_0000.jpg', '/home/pi/Desktop/images/09012025/23/57/image_09012025_23_57_02_757696_0001.jpg', '/home/pi/Desktop/images/09012025/23/57/image_09012025_23_57_02_757696_0002.jpg', '/home/pi/Desktop/images/09012025/23/57/image_09012025_23_57_02_757696_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/56/image_09012025_23_56_02_529270_0002.jpg
/home/pi/Desktop/images/09012025/23/56/image_09012025_23_56_02_529270_0003.jpg
/home/pi/Desktop/images/09012025/23/57/image_09012025_23_57_02_757696_0000.jpg
/home/pi/Desktop/images/09012025/23/57/image_09012025_23_57_02_757696_0001.jpg
/home/pi/Desktop/images/09012025/23/57/image_09012025_23_57_02_757696_0002.jpg
/home/pi/Desktop/images/09012025/23/57/image_09012025_23_57_02_757696_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":["1328111115","1328111093","1328111087","1328111090","1328111117","1328111097"],"photo_ids_order":["1328111087","1328111090","1328111093","1328111097","1328111115","1328111117"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/10f24cec1c6f1d49e3631621cab3ab3c.jpg","text":"TemporaryFile(/tmp/multipartBody1991298886594078234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587878910,"filename":"image_09012025_23_57_02_757696_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/76d077ef87283300abfed206b36f44ce.jpg","text":"TemporaryFile(/tmp/multipartBody3588338759928308218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587878910,"filename":"image_09012025_23_57_02_757696_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b00df70b87abb673861802d939d2444d.jpg","text":"TemporaryFile(/tmp/multipartBody7796729854383151035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587878910,"filename":"image_09012025_23_56_02_529270_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2378782a00b9141f41d3ef97d64f98f4.jpg","text":"TemporaryFile(/tmp/multipartBody3569600938653480162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587878910,"filename":"image_09012025_23_56_02_529270_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/57933173f7bf7b6bef246d47fa6be0c2.jpg","text":"TemporaryFile(/tmp/multipartBody2288459564091931132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587878910,"filename":"image_09012025_23_57_02_757696_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4a9061e2ea87b1f2d9c23a6beee4e60d.jpg","text":"TemporaryFile(/tmp/multipartBody8759357458405030249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587878910,"filename":"image_09012025_23_57_02_757696_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328111093","file1":"1328111090","file0":"1328111087","file4":"1328111115","file5":"1328111117","file3":"1328111097"},"map_files_photo_id_array":[{"photo_id":"1328111117","filename":"file5"},{"photo_id":"1328111093","filename":"file2"},{"photo_id":"1328111115","filename":"file4"},{"photo_id":"1328111090","filename":"file1"},{"photo_id":"1328111087","filename":"file0"},{"photo_id":"1328111097","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328111115":["hashtag1","hashtag2"]},{"1328111093":["hashtag1","hashtag2"]},{"1328111087":["hashtag1","hashtag2"]},{"1328111090":["hashtag1","hashtag2"]},{"1328111117":["hashtag1","hashtag2"]},{"1328111097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328111115, 1328111093, 1328111087, 1328111090, 1328111117, 1328111097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.26947021484375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:31:03.368794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/29/image_11012025_10_29_02_460352_0003.jpg', '/home/pi/Desktop/images/11012025/10/30/image_11012025_10_30_02_556324_0000.jpg', '/home/pi/Desktop/images/11012025/10/30/image_11012025_10_30_02_556324_0001.jpg', '/home/pi/Desktop/images/11012025/10/30/image_11012025_10_30_02_556324_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/29/image_11012025_10_29_02_460352_0003.jpg
/home/pi/Desktop/images/11012025/10/30/image_11012025_10_30_02_556324_0000.jpg
/home/pi/Desktop/images/11012025/10/30/image_11012025_10_30_02_556324_0001.jpg
/home/pi/Desktop/images/11012025/10/30/image_11012025_10_30_02_556324_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328111492","1328111489","1328111551","1328111496"],"photo_ids_order":["1328111489","1328111492","1328111496","1328111551"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ae511dd7f6281a7f4fd3811fcbbb2125.jpg","text":"TemporaryFile(/tmp/multipartBody3213449045107290440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587933648,"filename":"image_11012025_10_30_02_556324_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/53bf23c2fb5e47d520794abfc525a92f.jpg","text":"TemporaryFile(/tmp/multipartBody4488731425726092586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587933648,"filename":"image_11012025_10_29_02_460352_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/92dd18a909036af155c6e91200677c14.jpg","text":"TemporaryFile(/tmp/multipartBody1592911190226979411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587933648,"filename":"image_11012025_10_30_02_556324_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f04d81d277c910379fa1ade9f0573f75.jpg","text":"TemporaryFile(/tmp/multipartBody65374608551825526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587933648,"filename":"image_11012025_10_30_02_556324_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328111496","file1":"1328111492","file0":"1328111489","file3":"1328111551"},"map_files_photo_id_array":[{"photo_id":"1328111496","filename":"file2"},{"photo_id":"1328111492","filename":"file1"},{"photo_id":"1328111489","filename":"file0"},{"photo_id":"1328111551","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328111492":["hashtag1","hashtag2"]},{"1328111489":["hashtag1","hashtag2"]},{"1328111551":["hashtag1","hashtag2"]},{"1328111496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328111492, 1328111489, 1328111551, 1328111496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.87185573577881 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 10:31:52.611094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/30/image_11012025_10_30_02_556324_0003.jpg', '/home/pi/Desktop/images/11012025/10/31/image_11012025_10_31_02_808078_0000.jpg', '/home/pi/Desktop/images/11012025/10/31/image_11012025_10_31_02_808078_0001.jpg', '/home/pi/Desktop/images/11012025/10/31/image_11012025_10_31_02_808078_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/30/image_11012025_10_30_02_556324_0003.jpg
/home/pi/Desktop/images/11012025/10/31/image_11012025_10_31_02_808078_0000.jpg
/home/pi/Desktop/images/11012025/10/31/image_11012025_10_31_02_808078_0001.jpg
/home/pi/Desktop/images/11012025/10/31/image_11012025_10_31_02_808078_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328111709","1328111604","1328111606","1328111602"],"photo_ids_order":["1328111602","1328111604","1328111606","1328111709"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c28fb2b606581d39e67aafa2a3511414.jpg","text":"TemporaryFile(/tmp/multipartBody7251773690950719587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587982909,"filename":"image_11012025_10_31_02_808078_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/84b3c70fcb81a8f959b0ae14eb81b27e.jpg","text":"TemporaryFile(/tmp/multipartBody4265822449803081956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587982909,"filename":"image_11012025_10_31_02_808078_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bdba789f4ec3aa237a342850dada7d28.jpg","text":"TemporaryFile(/tmp/multipartBody4454173311438376556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587982909,"filename":"image_11012025_10_31_02_808078_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/57fa082663e8ec0904af6536cbfb238c.jpg","text":"TemporaryFile(/tmp/multipartBody3171040870579977666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736587982909,"filename":"image_11012025_10_30_02_556324_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328111606","file1":"1328111604","file0":"1328111602","file3":"1328111709"},"map_files_photo_id_array":[{"photo_id":"1328111606","filename":"file2"},{"photo_id":"1328111604","filename":"file1"},{"photo_id":"1328111602","filename":"file0"},{"photo_id":"1328111709","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328111709":["hashtag1","hashtag2"]},{"1328111604":["hashtag1","hashtag2"]},{"1328111606":["hashtag1","hashtag2"]},{"1328111602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328111709, 1328111604, 1328111606, 1328111602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.519972801208496 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-11 10:32:41.830656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/31/image_11012025_10_31_02_808078_0003.jpg', '/home/pi/Desktop/images/11012025/10/32/image_11012025_10_32_02_992116_0000.jpg', '/home/pi/Desktop/images/11012025/10/32/image_11012025_10_32_02_992116_0001.jpg', '/home/pi/Desktop/images/11012025/10/32/image_11012025_10_32_02_992116_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/31/image_11012025_10_31_02_808078_0003.jpg
/home/pi/Desktop/images/11012025/10/32/image_11012025_10_32_02_992116_0000.jpg
/home/pi/Desktop/images/11012025/10/32/image_11012025_10_32_02_992116_0001.jpg
/home/pi/Desktop/images/11012025/10/32/image_11012025_10_32_02_992116_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328111724","1328111720","1328111722","1328111719"],"photo_ids_order":["1328111719","1328111720","1328111722","1328111724"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f713e983c58a21373d636ab3927bdbd5.jpg","text":"TemporaryFile(/tmp/multipartBody6501061289210287438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588032075,"filename":"image_11012025_10_32_02_992116_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/17b39267b77e4532ce639af0a9ba19f8.jpg","text":"TemporaryFile(/tmp/multipartBody8434166164460784508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588032075,"filename":"image_11012025_10_32_02_992116_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b310b49bb5e32d59a62da9de7a9ffc19.jpg","text":"TemporaryFile(/tmp/multipartBody2880787802122132461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588032075,"filename":"image_11012025_10_32_02_992116_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a432066355aff31ac4f3e7c5d29e52c8.jpg","text":"TemporaryFile(/tmp/multipartBody2104243744123029310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588032075,"filename":"image_11012025_10_31_02_808078_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328111722","file1":"1328111720","file0":"1328111719","file3":"1328111724"},"map_files_photo_id_array":[{"photo_id":"1328111722","filename":"file2"},{"photo_id":"1328111720","filename":"file1"},{"photo_id":"1328111719","filename":"file0"},{"photo_id":"1328111724","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328111724":["hashtag1","hashtag2"]},{"1328111720":["hashtag1","hashtag2"]},{"1328111722":["hashtag1","hashtag2"]},{"1328111719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328111724, 1328111720, 1328111722, 1328111719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.01507306098938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 10:33:32.010977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/32/image_11012025_10_32_02_992116_0003.jpg', '/home/pi/Desktop/images/11012025/10/33/image_11012025_10_33_02_164099_0000.jpg', '/home/pi/Desktop/images/11012025/10/33/image_11012025_10_33_02_164099_0001.jpg', '/home/pi/Desktop/images/11012025/10/33/image_11012025_10_33_02_164099_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/32/image_11012025_10_32_02_992116_0003.jpg
/home/pi/Desktop/images/11012025/10/33/image_11012025_10_33_02_164099_0000.jpg
/home/pi/Desktop/images/11012025/10/33/image_11012025_10_33_02_164099_0001.jpg
/home/pi/Desktop/images/11012025/10/33/image_11012025_10_33_02_164099_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328111754","1328111936","1328111797","1328111752"],"photo_ids_order":["1328111752","1328111754","1328111797","1328111936"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aae242cd6e487295de4f4c993c4ae6a2.jpg","text":"TemporaryFile(/tmp/multipartBody1152052047848046820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588082055,"filename":"image_11012025_10_33_02_164099_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0bf1b7c2eb1456a759b3137e993d83bb.jpg","text":"TemporaryFile(/tmp/multipartBody1846791845922004901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588082055,"filename":"image_11012025_10_33_02_164099_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/44463e0f44e8384d580460facfb242de.jpg","text":"TemporaryFile(/tmp/multipartBody88716542511178476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588082055,"filename":"image_11012025_10_33_02_164099_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/834e3b8f7dd66c025fd1afaaa48918fe.jpg","text":"TemporaryFile(/tmp/multipartBody7864144737451558687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588082055,"filename":"image_11012025_10_32_02_992116_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328111797","file1":"1328111754","file0":"1328111752","file3":"1328111936"},"map_files_photo_id_array":[{"photo_id":"1328111797","filename":"file2"},{"photo_id":"1328111754","filename":"file1"},{"photo_id":"1328111752","filename":"file0"},{"photo_id":"1328111936","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328111754":["hashtag1","hashtag2"]},{"1328111936":["hashtag1","hashtag2"]},{"1328111797":["hashtag1","hashtag2"]},{"1328111752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328111754, 1328111936, 1328111797, 1328111752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.97689723968506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:34:22.217906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/33/image_11012025_10_33_02_164099_0003.jpg', '/home/pi/Desktop/images/11012025/10/34/image_11012025_10_34_02_360002_0000.jpg', '/home/pi/Desktop/images/11012025/10/34/image_11012025_10_34_02_360002_0001.jpg', '/home/pi/Desktop/images/11012025/10/34/image_11012025_10_34_02_360002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/33/image_11012025_10_33_02_164099_0003.jpg
/home/pi/Desktop/images/11012025/10/34/image_11012025_10_34_02_360002_0000.jpg
/home/pi/Desktop/images/11012025/10/34/image_11012025_10_34_02_360002_0001.jpg
/home/pi/Desktop/images/11012025/10/34/image_11012025_10_34_02_360002_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.904255867004395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 10:34:42.251322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/33/image_11012025_10_33_02_164099_0003.jpg', '/home/pi/Desktop/images/11012025/10/34/image_11012025_10_34_02_360002_0000.jpg', '/home/pi/Desktop/images/11012025/10/34/image_11012025_10_34_02_360002_0001.jpg', '/home/pi/Desktop/images/11012025/10/34/image_11012025_10_34_02_360002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/33/image_11012025_10_33_02_164099_0003.jpg
/home/pi/Desktop/images/11012025/10/34/image_11012025_10_34_02_360002_0000.jpg
/home/pi/Desktop/images/11012025/10/34/image_11012025_10_34_02_360002_0001.jpg
/home/pi/Desktop/images/11012025/10/34/image_11012025_10_34_02_360002_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328113597","1328113537","1328113194","1328113632"],"photo_ids_order":["1328113194","1328113537","1328113597","1328113632"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/48099f72f4a95e5a5ac1224c89c914d5.jpg","text":"TemporaryFile(/tmp/multipartBody8233122316982269797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588152524,"filename":"image_11012025_10_34_02_360002_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b9ab80e48f0d2cdcc3c13b2a31d7e5a3.jpg","text":"TemporaryFile(/tmp/multipartBody5103580364572504907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588152524,"filename":"image_11012025_10_34_02_360002_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ec8eeb1d52f01200d3339541b8743ca3.jpg","text":"TemporaryFile(/tmp/multipartBody6086064946796070545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588152524,"filename":"image_11012025_10_33_02_164099_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2fbd36e4264d79d0ae8c9f30a7ab7df8.jpg","text":"TemporaryFile(/tmp/multipartBody8721332868048002046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588152524,"filename":"image_11012025_10_34_02_360002_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328113597","file1":"1328113537","file0":"1328113194","file3":"1328113632"},"map_files_photo_id_array":[{"photo_id":"1328113597","filename":"file2"},{"photo_id":"1328113537","filename":"file1"},{"photo_id":"1328113194","filename":"file0"},{"photo_id":"1328113632","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328113597":["hashtag1","hashtag2"]},{"1328113537":["hashtag1","hashtag2"]},{"1328113194":["hashtag1","hashtag2"]},{"1328113632":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328113597, 1328113537, 1328113194, 1328113632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.201661109924316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:35:22.448101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/34/image_11012025_10_34_02_360002_0003.jpg', '/home/pi/Desktop/images/11012025/10/35/image_11012025_10_35_02_536431_0000.jpg', '/home/pi/Desktop/images/11012025/10/35/image_11012025_10_35_02_536431_0001.jpg', '/home/pi/Desktop/images/11012025/10/35/image_11012025_10_35_02_536431_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/34/image_11012025_10_34_02_360002_0003.jpg
/home/pi/Desktop/images/11012025/10/35/image_11012025_10_35_02_536431_0000.jpg
/home/pi/Desktop/images/11012025/10/35/image_11012025_10_35_02_536431_0001.jpg
/home/pi/Desktop/images/11012025/10/35/image_11012025_10_35_02_536431_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328113699","1328113695","1328113697","1328113701"],"photo_ids_order":["1328113695","1328113697","1328113699","1328113701"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/40df0d8ca0fa214b71be098999ce7346.jpg","text":"TemporaryFile(/tmp/multipartBody1792204978025789905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588192606,"filename":"image_11012025_10_35_02_536431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7b98baab60756d4590d2dcb2063e798c.jpg","text":"TemporaryFile(/tmp/multipartBody1882844538866093011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588192606,"filename":"image_11012025_10_34_02_360002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/50b7492a96e6222abacad330c451a3a2.jpg","text":"TemporaryFile(/tmp/multipartBody7877643410489993942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588192606,"filename":"image_11012025_10_35_02_536431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/add3275e28fc51b45ac9af6c410bdc75.jpg","text":"TemporaryFile(/tmp/multipartBody6770903540625258181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588192606,"filename":"image_11012025_10_35_02_536431_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328113699","file1":"1328113697","file0":"1328113695","file3":"1328113701"},"map_files_photo_id_array":[{"photo_id":"1328113699","filename":"file2"},{"photo_id":"1328113697","filename":"file1"},{"photo_id":"1328113695","filename":"file0"},{"photo_id":"1328113701","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328113699":["hashtag1","hashtag2"]},{"1328113695":["hashtag1","hashtag2"]},{"1328113697":["hashtag1","hashtag2"]},{"1328113701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328113699, 1328113695, 1328113697, 1328113701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.15084457397461 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:36:02.864560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/58/image_09012025_23_58_02_963724_0000.jpg', '/home/pi/Desktop/images/09012025/23/58/image_09012025_23_58_02_963724_0001.jpg', '/home/pi/Desktop/images/09012025/23/58/image_09012025_23_58_02_963724_0002.jpg', '/home/pi/Desktop/images/09012025/23/58/image_09012025_23_58_02_963724_0003.jpg', '/home/pi/Desktop/images/09012025/23/59/image_09012025_23_59_03_110140_0000.jpg', '/home/pi/Desktop/images/09012025/23/59/image_09012025_23_59_03_110140_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/58/image_09012025_23_58_02_963724_0000.jpg
/home/pi/Desktop/images/09012025/23/58/image_09012025_23_58_02_963724_0001.jpg
/home/pi/Desktop/images/09012025/23/58/image_09012025_23_58_02_963724_0002.jpg
/home/pi/Desktop/images/09012025/23/58/image_09012025_23_58_02_963724_0003.jpg
/home/pi/Desktop/images/09012025/23/59/image_09012025_23_59_03_110140_0000.jpg
/home/pi/Desktop/images/09012025/23/59/image_09012025_23_59_03_110140_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":["1328113999","1328114113","1328114031","1328114034","1328113880","1328114105"],"photo_ids_order":["1328113880","1328113999","1328114031","1328114034","1328114105","1328114113"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6f091c4bb84d3bd3c6e8aa23364d6e50.jpg","text":"TemporaryFile(/tmp/multipartBody5440189082021980085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588239015,"filename":"image_09012025_23_58_02_963724_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0c1c9efa031298a1b3cf30cd631155cd.jpg","text":"TemporaryFile(/tmp/multipartBody1748092096249549065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588239015,"filename":"image_09012025_23_59_03_110140_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ab56a541e431f882283235af71870237.jpg","text":"TemporaryFile(/tmp/multipartBody931387493483729630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588239015,"filename":"image_09012025_23_58_02_963724_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2b4516af2f675a7893e0f2a012561722.jpg","text":"TemporaryFile(/tmp/multipartBody1370526733853217383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588239015,"filename":"image_09012025_23_58_02_963724_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ccd6072e398e80453e8e9e1ad1554778.jpg","text":"TemporaryFile(/tmp/multipartBody4863902866888557643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588239015,"filename":"image_09012025_23_58_02_963724_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4617868bfff70d6e6c86cd1b5e4c1bda.jpg","text":"TemporaryFile(/tmp/multipartBody7142417617488262690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588239015,"filename":"image_09012025_23_59_03_110140_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328114031","file1":"1328113999","file0":"1328113880","file4":"1328114105","file5":"1328114113","file3":"1328114034"},"map_files_photo_id_array":[{"photo_id":"1328114113","filename":"file5"},{"photo_id":"1328114031","filename":"file2"},{"photo_id":"1328114105","filename":"file4"},{"photo_id":"1328113999","filename":"file1"},{"photo_id":"1328113880","filename":"file0"},{"photo_id":"1328114034","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328113999":["hashtag1","hashtag2"]},{"1328114113":["hashtag1","hashtag2"]},{"1328114031":["hashtag1","hashtag2"]},{"1328114034":["hashtag1","hashtag2"]},{"1328113880":["hashtag1","hashtag2"]},{"1328114105":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328113999, 1328114113, 1328114031, 1328114034, 1328113880, 1328114105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.34154462814331 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:37:03.261897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/35/image_11012025_10_35_02_536431_0003.jpg', '/home/pi/Desktop/images/11012025/10/36/image_11012025_10_36_02_712760_0000.jpg', '/home/pi/Desktop/images/11012025/10/36/image_11012025_10_36_02_712760_0001.jpg', '/home/pi/Desktop/images/11012025/10/36/image_11012025_10_36_02_712760_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/35/image_11012025_10_35_02_536431_0003.jpg
/home/pi/Desktop/images/11012025/10/36/image_11012025_10_36_02_712760_0000.jpg
/home/pi/Desktop/images/11012025/10/36/image_11012025_10_36_02_712760_0001.jpg
/home/pi/Desktop/images/11012025/10/36/image_11012025_10_36_02_712760_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.955326557159424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:37:22.686877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/35/image_11012025_10_35_02_536431_0003.jpg', '/home/pi/Desktop/images/11012025/10/36/image_11012025_10_36_02_712760_0000.jpg', '/home/pi/Desktop/images/11012025/10/36/image_11012025_10_36_02_712760_0001.jpg', '/home/pi/Desktop/images/11012025/10/36/image_11012025_10_36_02_712760_0002.jpg', '/home/pi/Desktop/images/11012025/10/36/image_11012025_10_36_02_712760_0003.jpg', '/home/pi/Desktop/images/11012025/10/37/image_11012025_10_37_02_836359_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/35/image_11012025_10_35_02_536431_0003.jpg
/home/pi/Desktop/images/11012025/10/36/image_11012025_10_36_02_712760_0000.jpg
/home/pi/Desktop/images/11012025/10/36/image_11012025_10_36_02_712760_0001.jpg
/home/pi/Desktop/images/11012025/10/36/image_11012025_10_36_02_712760_0002.jpg
/home/pi/Desktop/images/11012025/10/36/image_11012025_10_36_02_712760_0003.jpg
/home/pi/Desktop/images/11012025/10/37/image_11012025_10_37_02_836359_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328114662","1328114664","1328114658","1328114660","1328114663","1328114666"],"photo_ids_order":["1328114658","1328114660","1328114662","1328114663","1328114664","1328114666"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/487a40e56d9ee96e352d27db210c1959.jpg","text":"TemporaryFile(/tmp/multipartBody3414938439806534363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588317730,"filename":"image_11012025_10_36_02_712760_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ddbd33ca48ddf052e89b988a5be160a0.jpg","text":"TemporaryFile(/tmp/multipartBody4358705404470755294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588317730,"filename":"image_11012025_10_36_02_712760_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d9484c0d326a97cd5cc7f7ef26424a48.jpg","text":"TemporaryFile(/tmp/multipartBody7320463394340755315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588317730,"filename":"image_11012025_10_35_02_536431_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b58864b03a1f3410e9a867067dc79c0c.jpg","text":"TemporaryFile(/tmp/multipartBody3596346150787863194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588317730,"filename":"image_11012025_10_36_02_712760_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3858d4901fbcba43aa3bc62fa2bf9ebc.jpg","text":"TemporaryFile(/tmp/multipartBody6947092212228218473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588317730,"filename":"image_11012025_10_36_02_712760_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/85ef6ee760bc5103d75102ff3d7e59f6.jpg","text":"TemporaryFile(/tmp/multipartBody3263646042968931911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588317730,"filename":"image_11012025_10_37_02_836359_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328114662","file1":"1328114660","file0":"1328114658","file4":"1328114664","file5":"1328114666","file3":"1328114663"},"map_files_photo_id_array":[{"photo_id":"1328114666","filename":"file5"},{"photo_id":"1328114662","filename":"file2"},{"photo_id":"1328114664","filename":"file4"},{"photo_id":"1328114660","filename":"file1"},{"photo_id":"1328114658","filename":"file0"},{"photo_id":"1328114663","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328114662":["hashtag1","hashtag2"]},{"1328114664":["hashtag1","hashtag2"]},{"1328114658":["hashtag1","hashtag2"]},{"1328114660":["hashtag1","hashtag2"]},{"1328114663":["hashtag1","hashtag2"]},{"1328114666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328114662, 1328114664, 1328114658, 1328114660, 1328114663, 1328114666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.742584228515625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:38:21.887263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/37/image_11012025_10_37_02_836359_0001.jpg', '/home/pi/Desktop/images/11012025/10/37/image_11012025_10_37_02_836359_0002.jpg', '/home/pi/Desktop/images/11012025/10/37/image_11012025_10_37_02_836359_0003.jpg', '/home/pi/Desktop/images/11012025/10/38/image_11012025_10_38_03_071357_0000.jpg', '/home/pi/Desktop/images/11012025/10/38/image_11012025_10_38_03_071357_0001.jpg', '/home/pi/Desktop/images/11012025/10/38/image_11012025_10_38_03_071357_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/37/image_11012025_10_37_02_836359_0001.jpg
/home/pi/Desktop/images/11012025/10/37/image_11012025_10_37_02_836359_0002.jpg
/home/pi/Desktop/images/11012025/10/37/image_11012025_10_37_02_836359_0003.jpg
/home/pi/Desktop/images/11012025/10/38/image_11012025_10_38_03_071357_0000.jpg
/home/pi/Desktop/images/11012025/10/38/image_11012025_10_38_03_071357_0001.jpg
/home/pi/Desktop/images/11012025/10/38/image_11012025_10_38_03_071357_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328114962","1328114964","1328114958","1328114960","1328114954","1328114963"],"photo_ids_order":["1328114954","1328114958","1328114960","1328114962","1328114963","1328114964"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c6a0ba3a6d0dff2c68da79fdb9b7d072.jpg","text":"TemporaryFile(/tmp/multipartBody8056704807655610880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588376813,"filename":"image_11012025_10_38_03_071357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a0eae53054314c6eb0160f9f9b0c0506.jpg","text":"TemporaryFile(/tmp/multipartBody7078835502320199114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588376813,"filename":"image_11012025_10_38_03_071357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9c0b1d113daba1099ae00ea68c353b87.jpg","text":"TemporaryFile(/tmp/multipartBody867020306326573524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588376813,"filename":"image_11012025_10_37_02_836359_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c3fdbe8bbf8d681261e6be292f127f20.jpg","text":"TemporaryFile(/tmp/multipartBody5641002980650266507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588376813,"filename":"image_11012025_10_37_02_836359_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/967aa935305eb73c23b8d79957fd2e28.jpg","text":"TemporaryFile(/tmp/multipartBody4766596609656667557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588376813,"filename":"image_11012025_10_37_02_836359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/88c9b337f187be5f0f2f768a579f53a5.jpg","text":"TemporaryFile(/tmp/multipartBody7721312337862958120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588376813,"filename":"image_11012025_10_38_03_071357_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328114960","file1":"1328114958","file0":"1328114954","file4":"1328114963","file5":"1328114964","file3":"1328114962"},"map_files_photo_id_array":[{"photo_id":"1328114964","filename":"file5"},{"photo_id":"1328114960","filename":"file2"},{"photo_id":"1328114963","filename":"file4"},{"photo_id":"1328114958","filename":"file1"},{"photo_id":"1328114954","filename":"file0"},{"photo_id":"1328114962","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328114962":["hashtag1","hashtag2"]},{"1328114964":["hashtag1","hashtag2"]},{"1328114958":["hashtag1","hashtag2"]},{"1328114960":["hashtag1","hashtag2"]},{"1328114954":["hashtag1","hashtag2"]},{"1328114963":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328114962, 1328114964, 1328114958, 1328114960, 1328114954, 1328114963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.16620445251465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:39:22.107484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/38/image_11012025_10_38_03_071357_0003.jpg', '/home/pi/Desktop/images/11012025/10/39/image_11012025_10_39_02_246703_0000.jpg', '/home/pi/Desktop/images/11012025/10/39/image_11012025_10_39_02_246703_0001.jpg', '/home/pi/Desktop/images/11012025/10/39/image_11012025_10_39_02_246703_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/38/image_11012025_10_38_03_071357_0003.jpg
/home/pi/Desktop/images/11012025/10/39/image_11012025_10_39_02_246703_0000.jpg
/home/pi/Desktop/images/11012025/10/39/image_11012025_10_39_02_246703_0001.jpg
/home/pi/Desktop/images/11012025/10/39/image_11012025_10_39_02_246703_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328114977","1328114979","1328114993","1328114981"],"photo_ids_order":["1328114977","1328114979","1328114981","1328114993"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dbc505ac25f0fd25e1b47a9537492b88.jpg","text":"TemporaryFile(/tmp/multipartBody2872329208958338694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588432219,"filename":"image_11012025_10_38_03_071357_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5c5d81818a2a55f4d34e9021c0a24375.jpg","text":"TemporaryFile(/tmp/multipartBody7286728048288824655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588432219,"filename":"image_11012025_10_39_02_246703_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/10f112c9ac92f64a87842c32372318d8.jpg","text":"TemporaryFile(/tmp/multipartBody273274212599103814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588432219,"filename":"image_11012025_10_39_02_246703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/76000e7421f885688ed83c3007c9560f.jpg","text":"TemporaryFile(/tmp/multipartBody7675334352483132526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588432219,"filename":"image_11012025_10_39_02_246703_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328114981","file1":"1328114979","file0":"1328114977","file3":"1328114993"},"map_files_photo_id_array":[{"photo_id":"1328114981","filename":"file2"},{"photo_id":"1328114979","filename":"file1"},{"photo_id":"1328114977","filename":"file0"},{"photo_id":"1328114993","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328114977":["hashtag1","hashtag2"]},{"1328114979":["hashtag1","hashtag2"]},{"1328114993":["hashtag1","hashtag2"]},{"1328114981":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328114977, 1328114979, 1328114993, 1328114981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.76978826522827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:40:02.741013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/23/59/image_09012025_23_59_03_110140_0002.jpg', '/home/pi/Desktop/images/09012025/23/59/image_09012025_23_59_03_110140_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/23/59/image_09012025_23_59_03_110140_0002.jpg
/home/pi/Desktop/images/09012025/23/59/image_09012025_23_59_03_110140_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328115007","1328115005"],"photo_ids_order":["1328115005","1328115007"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f8d21ad02d4c407087f0c5e282a1755d.jpg","text":"TemporaryFile(/tmp/multipartBody1172593250615207780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588468989,"filename":"image_09012025_23_59_03_110140_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/66728389e52bcc7d2eeb99fb080c66c6.jpg","text":"TemporaryFile(/tmp/multipartBody2567664224835698146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588468989,"filename":"image_09012025_23_59_03_110140_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328115007","file0":"1328115005"},"map_files_photo_id_array":[{"photo_id":"1328115007","filename":"file1"},{"photo_id":"1328115005","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1328115007":["hashtag1","hashtag2"]},{"1328115005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1328115007, 1328115005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.994696855545044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 10:40:32.200411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/39/image_11012025_10_39_02_246703_0003.jpg', '/home/pi/Desktop/images/11012025/10/40/image_11012025_10_40_02_422148_0000.jpg', '/home/pi/Desktop/images/11012025/10/40/image_11012025_10_40_02_422148_0001.jpg', '/home/pi/Desktop/images/11012025/10/40/image_11012025_10_40_02_422148_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/39/image_11012025_10_39_02_246703_0003.jpg
/home/pi/Desktop/images/11012025/10/40/image_11012025_10_40_02_422148_0000.jpg
/home/pi/Desktop/images/11012025/10/40/image_11012025_10_40_02_422148_0001.jpg
/home/pi/Desktop/images/11012025/10/40/image_11012025_10_40_02_422148_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328115078","1328115080","1328115076","1328115079"],"photo_ids_order":["1328115076","1328115078","1328115079","1328115080"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cb6a445aec79161490f81c34df2f80c6.jpg","text":"TemporaryFile(/tmp/multipartBody6334832588203961109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588502460,"filename":"image_11012025_10_40_02_422148_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a47ae29e5a797d25538913fb63286396.jpg","text":"TemporaryFile(/tmp/multipartBody8784869168026366911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588502460,"filename":"image_11012025_10_40_02_422148_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7a29e8f7d34ae450a59e88e3ce51b02e.jpg","text":"TemporaryFile(/tmp/multipartBody8100107202122792717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588502460,"filename":"image_11012025_10_39_02_246703_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2f2ee1af5ce15c6bf054605df72d6b2e.jpg","text":"TemporaryFile(/tmp/multipartBody2630733701391413169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588502460,"filename":"image_11012025_10_40_02_422148_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328115079","file1":"1328115078","file0":"1328115076","file3":"1328115080"},"map_files_photo_id_array":[{"photo_id":"1328115079","filename":"file2"},{"photo_id":"1328115078","filename":"file1"},{"photo_id":"1328115076","filename":"file0"},{"photo_id":"1328115080","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328115078":["hashtag1","hashtag2"]},{"1328115080":["hashtag1","hashtag2"]},{"1328115076":["hashtag1","hashtag2"]},{"1328115079":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328115078, 1328115080, 1328115076, 1328115079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.225274324417114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:41:22.493858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/40/image_11012025_10_40_02_422148_0003.jpg', '/home/pi/Desktop/images/11012025/10/41/image_11012025_10_41_02_537491_0000.jpg', '/home/pi/Desktop/images/11012025/10/41/image_11012025_10_41_02_537491_0001.jpg', '/home/pi/Desktop/images/11012025/10/41/image_11012025_10_41_02_537491_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/40/image_11012025_10_40_02_422148_0003.jpg
/home/pi/Desktop/images/11012025/10/41/image_11012025_10_41_02_537491_0000.jpg
/home/pi/Desktop/images/11012025/10/41/image_11012025_10_41_02_537491_0001.jpg
/home/pi/Desktop/images/11012025/10/41/image_11012025_10_41_02_537491_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328115090","1328115093","1328115096","1328115098"],"photo_ids_order":["1328115090","1328115093","1328115096","1328115098"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c759d5b0b121b7bbb5a548c9f7ffb2d9.jpg","text":"TemporaryFile(/tmp/multipartBody713690210906672458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588552798,"filename":"image_11012025_10_40_02_422148_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ccbff7bde4f165e6ca33f77486c72868.jpg","text":"TemporaryFile(/tmp/multipartBody2395813973501464346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588552798,"filename":"image_11012025_10_41_02_537491_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fcc7572230457931a8ac76c225dcc531.jpg","text":"TemporaryFile(/tmp/multipartBody2638975278730648880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588552798,"filename":"image_11012025_10_41_02_537491_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c036c0dc8de9789295a39d548006b136.jpg","text":"TemporaryFile(/tmp/multipartBody4134142045830258843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588552798,"filename":"image_11012025_10_41_02_537491_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328115096","file1":"1328115093","file0":"1328115090","file3":"1328115098"},"map_files_photo_id_array":[{"photo_id":"1328115096","filename":"file2"},{"photo_id":"1328115093","filename":"file1"},{"photo_id":"1328115090","filename":"file0"},{"photo_id":"1328115098","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328115090":["hashtag1","hashtag2"]},{"1328115093":["hashtag1","hashtag2"]},{"1328115096":["hashtag1","hashtag2"]},{"1328115098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328115090, 1328115093, 1328115096, 1328115098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.853517055511475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:42:02.977444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19493866
  datou_current_id : 2473779
in upload_from_sqlite, uploading in 19493866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/23/56/image_10012025_23_56_02_131634_0003.jpg', '/home/pi/Desktop/images/10012025/23/57/image_10012025_23_57_02_358633_0000.jpg', '/home/pi/Desktop/images/10012025/23/57/image_10012025_23_57_02_358633_0001.jpg', '/home/pi/Desktop/images/10012025/23/57/image_10012025_23_57_02_358633_0002.jpg', '/home/pi/Desktop/images/10012025/23/57/image_10012025_23_57_02_358633_0003.jpg', '/home/pi/Desktop/images/10012025/23/58/image_10012025_23_58_02_640440_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473779&datou=0
/home/pi/Desktop/images/10012025/23/56/image_10012025_23_56_02_131634_0003.jpg
/home/pi/Desktop/images/10012025/23/57/image_10012025_23_57_02_358633_0000.jpg
/home/pi/Desktop/images/10012025/23/57/image_10012025_23_57_02_358633_0001.jpg
/home/pi/Desktop/images/10012025/23/57/image_10012025_23_57_02_358633_0002.jpg
/home/pi/Desktop/images/10012025/23/57/image_10012025_23_57_02_358633_0003.jpg
/home/pi/Desktop/images/10012025/23/58/image_10012025_23_58_02_640440_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328115130","1328115127","1328115103","1328115113","1328115110","1328115107"],"photo_ids_order":["1328115103","1328115107","1328115110","1328115113","1328115127","1328115130"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e9fcb95c526db4dafa439aee9073ba83.jpg","text":"TemporaryFile(/tmp/multipartBody8184177248196855235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588599379,"filename":"image_10012025_23_58_02_640440_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/08718f9de3863993daa8d5fbc545e264.jpg","text":"TemporaryFile(/tmp/multipartBody7100747704176209633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588599379,"filename":"image_10012025_23_57_02_358633_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/13d79224c31ed4fa945694f784f69264.jpg","text":"TemporaryFile(/tmp/multipartBody8235085791945305726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588599379,"filename":"image_10012025_23_56_02_131634_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d659b3ac2457869917e664e697b5dceb.jpg","text":"TemporaryFile(/tmp/multipartBody6695478459116488777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588599379,"filename":"image_10012025_23_57_02_358633_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6a05d41b134d4bf2b55746378f8a8459.jpg","text":"TemporaryFile(/tmp/multipartBody970101689078107761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588599379,"filename":"image_10012025_23_57_02_358633_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/492dd482fe3a226cf0aae5a4745bc7da.jpg","text":"TemporaryFile(/tmp/multipartBody7323636618528212718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588599379,"filename":"image_10012025_23_57_02_358633_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328115110","file1":"1328115107","file0":"1328115103","file4":"1328115127","file5":"1328115130","file3":"1328115113"},"map_files_photo_id_array":[{"photo_id":"1328115130","filename":"file5"},{"photo_id":"1328115110","filename":"file2"},{"photo_id":"1328115127","filename":"file4"},{"photo_id":"1328115107","filename":"file1"},{"photo_id":"1328115103","filename":"file0"},{"photo_id":"1328115113","filename":"file3"}],"portfolio_id":19493866,"hashtag_by_photo_ids":[{"1328115130":["hashtag1","hashtag2"]},{"1328115127":["hashtag1","hashtag2"]},{"1328115103":["hashtag1","hashtag2"]},{"1328115113":["hashtag1","hashtag2"]},{"1328115110":["hashtag1","hashtag2"]},{"1328115107":["hashtag1","hashtag2"]}],"comms":"Portfolio 19493866 used, photo_id : ArrayBuffer(1328115130, 1328115127, 1328115103, 1328115113, 1328115110, 1328115107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.4463415145874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:43:02.402811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/41/image_11012025_10_41_02_537491_0003.jpg', '/home/pi/Desktop/images/11012025/10/42/image_11012025_10_42_02_781161_0000.jpg', '/home/pi/Desktop/images/11012025/10/42/image_11012025_10_42_02_781161_0001.jpg', '/home/pi/Desktop/images/11012025/10/42/image_11012025_10_42_02_781161_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/41/image_11012025_10_41_02_537491_0003.jpg
/home/pi/Desktop/images/11012025/10/42/image_11012025_10_42_02_781161_0000.jpg
/home/pi/Desktop/images/11012025/10/42/image_11012025_10_42_02_781161_0001.jpg
/home/pi/Desktop/images/11012025/10/42/image_11012025_10_42_02_781161_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328115147","1328115156","1328115159","1328115161"],"photo_ids_order":["1328115147","1328115156","1328115159","1328115161"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ef40c9b0334f67b9deaabaf37a888a8f.jpg","text":"TemporaryFile(/tmp/multipartBody8214766584640586515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588652698,"filename":"image_11012025_10_41_02_537491_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/31e6a3a4913694a006ef5af3380cda5d.jpg","text":"TemporaryFile(/tmp/multipartBody1463508337306384772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588652698,"filename":"image_11012025_10_42_02_781161_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bc9a47e2b25bb188daf2f7f1f331c02e.jpg","text":"TemporaryFile(/tmp/multipartBody358899102680311859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588652698,"filename":"image_11012025_10_42_02_781161_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bc9111a97f7ecc8054d316454d9df77b.jpg","text":"TemporaryFile(/tmp/multipartBody3061253004203012400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588652698,"filename":"image_11012025_10_42_02_781161_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328115159","file1":"1328115156","file0":"1328115147","file3":"1328115161"},"map_files_photo_id_array":[{"photo_id":"1328115159","filename":"file2"},{"photo_id":"1328115156","filename":"file1"},{"photo_id":"1328115147","filename":"file0"},{"photo_id":"1328115161","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328115147":["hashtag1","hashtag2"]},{"1328115156":["hashtag1","hashtag2"]},{"1328115159":["hashtag1","hashtag2"]},{"1328115161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328115147, 1328115156, 1328115159, 1328115161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.203866720199585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 10:43:51.792604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/42/image_11012025_10_42_02_781161_0003.jpg', '/home/pi/Desktop/images/11012025/10/43/image_11012025_10_43_03_004190_0000.jpg', '/home/pi/Desktop/images/11012025/10/43/image_11012025_10_43_03_004190_0001.jpg', '/home/pi/Desktop/images/11012025/10/43/image_11012025_10_43_03_004190_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/42/image_11012025_10_42_02_781161_0003.jpg
/home/pi/Desktop/images/11012025/10/43/image_11012025_10_43_03_004190_0000.jpg
/home/pi/Desktop/images/11012025/10/43/image_11012025_10_43_03_004190_0001.jpg
/home/pi/Desktop/images/11012025/10/43/image_11012025_10_43_03_004190_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328115172","1328115174","1328115182","1328115178"],"photo_ids_order":["1328115172","1328115174","1328115178","1328115182"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2e6b24cf39a3688417843d20876854f7.jpg","text":"TemporaryFile(/tmp/multipartBody8552124484107269789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588702013,"filename":"image_11012025_10_42_02_781161_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bf1a27d7c39289d7d12ac5b2ddca53f9.jpg","text":"TemporaryFile(/tmp/multipartBody1825327500229335744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588702013,"filename":"image_11012025_10_43_03_004190_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0183b4b4b18cd5e904f5706af3ded84a.jpg","text":"TemporaryFile(/tmp/multipartBody2571993506540404804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588702013,"filename":"image_11012025_10_43_03_004190_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/10bf21e1386636ddbbca0655e7264ea5.jpg","text":"TemporaryFile(/tmp/multipartBody6080865789965131272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588702013,"filename":"image_11012025_10_43_03_004190_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328115178","file1":"1328115174","file0":"1328115172","file3":"1328115182"},"map_files_photo_id_array":[{"photo_id":"1328115178","filename":"file2"},{"photo_id":"1328115174","filename":"file1"},{"photo_id":"1328115172","filename":"file0"},{"photo_id":"1328115182","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328115172":["hashtag1","hashtag2"]},{"1328115174":["hashtag1","hashtag2"]},{"1328115182":["hashtag1","hashtag2"]},{"1328115178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328115172, 1328115174, 1328115182, 1328115178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.85942721366882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 10:44:31.971780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/43/image_11012025_10_43_03_004190_0003.jpg', '/home/pi/Desktop/images/11012025/10/44/image_11012025_10_44_02_122796_0000.jpg', '/home/pi/Desktop/images/11012025/10/44/image_11012025_10_44_02_122796_0001.jpg', '/home/pi/Desktop/images/11012025/10/44/image_11012025_10_44_02_122796_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/43/image_11012025_10_43_03_004190_0003.jpg
/home/pi/Desktop/images/11012025/10/44/image_11012025_10_44_02_122796_0000.jpg
/home/pi/Desktop/images/11012025/10/44/image_11012025_10_44_02_122796_0001.jpg
/home/pi/Desktop/images/11012025/10/44/image_11012025_10_44_02_122796_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328115198","1328115200","1328115193","1328115196"],"photo_ids_order":["1328115193","1328115196","1328115198","1328115200"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/85e6ae15d3a23bf33f8c4bb227cd5577.jpg","text":"TemporaryFile(/tmp/multipartBody3211219584741523847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588742045,"filename":"image_11012025_10_44_02_122796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/be9df0298284df6a41b62486468e4e3b.jpg","text":"TemporaryFile(/tmp/multipartBody1402491318457735230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588742045,"filename":"image_11012025_10_44_02_122796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/143b0cb11b0c7e84940293c118d5c1aa.jpg","text":"TemporaryFile(/tmp/multipartBody107328722836402583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588742045,"filename":"image_11012025_10_43_03_004190_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f4d589caab6d8e547d0c73ea223c7f5d.jpg","text":"TemporaryFile(/tmp/multipartBody5367697850627884364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588742045,"filename":"image_11012025_10_44_02_122796_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328115198","file1":"1328115196","file0":"1328115193","file3":"1328115200"},"map_files_photo_id_array":[{"photo_id":"1328115198","filename":"file2"},{"photo_id":"1328115196","filename":"file1"},{"photo_id":"1328115193","filename":"file0"},{"photo_id":"1328115200","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328115198":["hashtag1","hashtag2"]},{"1328115200":["hashtag1","hashtag2"]},{"1328115193":["hashtag1","hashtag2"]},{"1328115196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328115198, 1328115200, 1328115193, 1328115196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.97379922866821 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:45:22.200820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/44/image_11012025_10_44_02_122796_0003.jpg', '/home/pi/Desktop/images/11012025/10/45/image_11012025_10_45_02_358561_0000.jpg', '/home/pi/Desktop/images/11012025/10/45/image_11012025_10_45_02_358561_0001.jpg', '/home/pi/Desktop/images/11012025/10/45/image_11012025_10_45_02_358561_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/44/image_11012025_10_44_02_122796_0003.jpg
/home/pi/Desktop/images/11012025/10/45/image_11012025_10_45_02_358561_0000.jpg
/home/pi/Desktop/images/11012025/10/45/image_11012025_10_45_02_358561_0001.jpg
/home/pi/Desktop/images/11012025/10/45/image_11012025_10_45_02_358561_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328115211","1328115208","1328115216","1328115213"],"photo_ids_order":["1328115208","1328115211","1328115213","1328115216"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/90d6c9bcbf73807880cf867f1a1b85de.jpg","text":"TemporaryFile(/tmp/multipartBody1989356949395599720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588792352,"filename":"image_11012025_10_45_02_358561_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f5651223453bdd368bf560d8fc9ed338.jpg","text":"TemporaryFile(/tmp/multipartBody3834664117999563592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588792352,"filename":"image_11012025_10_44_02_122796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/444072afe43b42ddca09854fdd408450.jpg","text":"TemporaryFile(/tmp/multipartBody6244999794536465160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588792352,"filename":"image_11012025_10_45_02_358561_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9085049b8ccd2a545b8f5c1c6809ad10.jpg","text":"TemporaryFile(/tmp/multipartBody1313089559195628342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588792352,"filename":"image_11012025_10_45_02_358561_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328115213","file1":"1328115211","file0":"1328115208","file3":"1328115216"},"map_files_photo_id_array":[{"photo_id":"1328115213","filename":"file2"},{"photo_id":"1328115211","filename":"file1"},{"photo_id":"1328115208","filename":"file0"},{"photo_id":"1328115216","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328115211":["hashtag1","hashtag2"]},{"1328115208":["hashtag1","hashtag2"]},{"1328115216":["hashtag1","hashtag2"]},{"1328115213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328115211, 1328115208, 1328115216, 1328115213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.0154824256897 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:46:02.843725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19493866
  datou_current_id : 2473779
in upload_from_sqlite, uploading in 19493866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/23/58/image_10012025_23_58_02_640440_0001.jpg', '/home/pi/Desktop/images/10012025/23/58/image_10012025_23_58_02_640440_0002.jpg', '/home/pi/Desktop/images/10012025/23/58/image_10012025_23_58_02_640440_0003.jpg', '/home/pi/Desktop/images/10012025/23/59/image_10012025_23_59_02_835832_0000.jpg', '/home/pi/Desktop/images/10012025/23/59/image_10012025_23_59_02_835832_0001.jpg', '/home/pi/Desktop/images/10012025/23/59/image_10012025_23_59_02_835832_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473779&datou=0
/home/pi/Desktop/images/10012025/23/58/image_10012025_23_58_02_640440_0001.jpg
/home/pi/Desktop/images/10012025/23/58/image_10012025_23_58_02_640440_0002.jpg
/home/pi/Desktop/images/10012025/23/58/image_10012025_23_58_02_640440_0003.jpg
/home/pi/Desktop/images/10012025/23/59/image_10012025_23_59_02_835832_0000.jpg
/home/pi/Desktop/images/10012025/23/59/image_10012025_23_59_02_835832_0001.jpg
/home/pi/Desktop/images/10012025/23/59/image_10012025_23_59_02_835832_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328115556","1328115463","1328115604","1328115651","1328115525","1328115551"],"photo_ids_order":["1328115463","1328115525","1328115551","1328115556","1328115604","1328115651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2b82f13a05b211abc12e40e7a7fd459d.jpg","text":"TemporaryFile(/tmp/multipartBody3713415600238280500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588838879,"filename":"image_10012025_23_59_02_835832_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/44be6d655f8a4711f0d95634fb8190d1.jpg","text":"TemporaryFile(/tmp/multipartBody4906352207640419913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588838879,"filename":"image_10012025_23_58_02_640440_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c314ed8dc82f3614ec2888467304fd83.jpg","text":"TemporaryFile(/tmp/multipartBody984289921473221343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588838879,"filename":"image_10012025_23_59_02_835832_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2a818f61001b8524acfc2a724044dbbb.jpg","text":"TemporaryFile(/tmp/multipartBody2464817989200515205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588838879,"filename":"image_10012025_23_59_02_835832_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/15d2468baae6d64d4210ee818573749f.jpg","text":"TemporaryFile(/tmp/multipartBody7630357129001643800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588838879,"filename":"image_10012025_23_58_02_640440_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/172e1a3e48caf7d70544852641a02a34.jpg","text":"TemporaryFile(/tmp/multipartBody8583387042020283189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588838879,"filename":"image_10012025_23_58_02_640440_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328115551","file1":"1328115525","file0":"1328115463","file4":"1328115604","file5":"1328115651","file3":"1328115556"},"map_files_photo_id_array":[{"photo_id":"1328115651","filename":"file5"},{"photo_id":"1328115551","filename":"file2"},{"photo_id":"1328115604","filename":"file4"},{"photo_id":"1328115525","filename":"file1"},{"photo_id":"1328115463","filename":"file0"},{"photo_id":"1328115556","filename":"file3"}],"portfolio_id":19493866,"hashtag_by_photo_ids":[{"1328115556":["hashtag1","hashtag2"]},{"1328115463":["hashtag1","hashtag2"]},{"1328115604":["hashtag1","hashtag2"]},{"1328115651":["hashtag1","hashtag2"]},{"1328115525":["hashtag1","hashtag2"]},{"1328115551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19493866 used, photo_id : ArrayBuffer(1328115556, 1328115463, 1328115604, 1328115651, 1328115525, 1328115551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.558165550231934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:47:03.256946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/45/image_11012025_10_45_02_358561_0003.jpg', '/home/pi/Desktop/images/11012025/10/46/image_11012025_10_46_02_542237_0000.jpg', '/home/pi/Desktop/images/11012025/10/46/image_11012025_10_46_02_542237_0001.jpg', '/home/pi/Desktop/images/11012025/10/46/image_11012025_10_46_02_542237_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/45/image_11012025_10_45_02_358561_0003.jpg
/home/pi/Desktop/images/11012025/10/46/image_11012025_10_46_02_542237_0000.jpg
/home/pi/Desktop/images/11012025/10/46/image_11012025_10_46_02_542237_0001.jpg
/home/pi/Desktop/images/11012025/10/46/image_11012025_10_46_02_542237_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328115700","1328115702","1328115716","1328115713"],"photo_ids_order":["1328115700","1328115702","1328115713","1328115716"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c212487fc23d7374db6f59f1b2e65e28.jpg","text":"TemporaryFile(/tmp/multipartBody2220093091592945344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588893571,"filename":"image_11012025_10_45_02_358561_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a3962c0c5e9188280bb0a71b75250d84.jpg","text":"TemporaryFile(/tmp/multipartBody7068751252182998157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588893571,"filename":"image_11012025_10_46_02_542237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7f57da9890fdffb447d213dbb53a2553.jpg","text":"TemporaryFile(/tmp/multipartBody511852282799893724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588893571,"filename":"image_11012025_10_46_02_542237_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3e7141082bb737e3b5f4444fe9fa0c02.jpg","text":"TemporaryFile(/tmp/multipartBody7703165298040784023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588893571,"filename":"image_11012025_10_46_02_542237_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328115713","file1":"1328115702","file0":"1328115700","file3":"1328115716"},"map_files_photo_id_array":[{"photo_id":"1328115713","filename":"file2"},{"photo_id":"1328115702","filename":"file1"},{"photo_id":"1328115700","filename":"file0"},{"photo_id":"1328115716","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328115700":["hashtag1","hashtag2"]},{"1328115702":["hashtag1","hashtag2"]},{"1328115716":["hashtag1","hashtag2"]},{"1328115713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328115700, 1328115702, 1328115716, 1328115713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.00069308280945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 10:47:42.587939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/46/image_11012025_10_46_02_542237_0003.jpg', '/home/pi/Desktop/images/11012025/10/47/image_11012025_10_47_02_743552_0000.jpg', '/home/pi/Desktop/images/11012025/10/47/image_11012025_10_47_02_743552_0001.jpg', '/home/pi/Desktop/images/11012025/10/47/image_11012025_10_47_02_743552_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/46/image_11012025_10_46_02_542237_0003.jpg
/home/pi/Desktop/images/11012025/10/47/image_11012025_10_47_02_743552_0000.jpg
/home/pi/Desktop/images/11012025/10/47/image_11012025_10_47_02_743552_0001.jpg
/home/pi/Desktop/images/11012025/10/47/image_11012025_10_47_02_743552_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328115744","1328115746","1328115761","1328115763"],"photo_ids_order":["1328115744","1328115746","1328115761","1328115763"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a0c2af6dcdb39bb776fdca4f8c2aa032.jpg","text":"TemporaryFile(/tmp/multipartBody2085935474911518029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588932725,"filename":"image_11012025_10_46_02_542237_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/56271ac0895bc27b5e7de41b68420771.jpg","text":"TemporaryFile(/tmp/multipartBody607919170053092846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588932725,"filename":"image_11012025_10_47_02_743552_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/544d28056a516606e9650181ec1a2ac8.jpg","text":"TemporaryFile(/tmp/multipartBody6384502492609746283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588932725,"filename":"image_11012025_10_47_02_743552_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d7afe95f284d4754ac88d2ab39ee14fb.jpg","text":"TemporaryFile(/tmp/multipartBody7239048674082199687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588932725,"filename":"image_11012025_10_47_02_743552_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328115761","file1":"1328115746","file0":"1328115744","file3":"1328115763"},"map_files_photo_id_array":[{"photo_id":"1328115761","filename":"file2"},{"photo_id":"1328115746","filename":"file1"},{"photo_id":"1328115744","filename":"file0"},{"photo_id":"1328115763","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328115744":["hashtag1","hashtag2"]},{"1328115746":["hashtag1","hashtag2"]},{"1328115761":["hashtag1","hashtag2"]},{"1328115763":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328115744, 1328115746, 1328115761, 1328115763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64922523498535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:48:22.767769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/47/image_11012025_10_47_02_743552_0003.jpg', '/home/pi/Desktop/images/11012025/10/48/image_11012025_10_48_03_036064_0000.jpg', '/home/pi/Desktop/images/11012025/10/48/image_11012025_10_48_03_036064_0001.jpg', '/home/pi/Desktop/images/11012025/10/48/image_11012025_10_48_03_036064_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/47/image_11012025_10_47_02_743552_0003.jpg
/home/pi/Desktop/images/11012025/10/48/image_11012025_10_48_03_036064_0000.jpg
/home/pi/Desktop/images/11012025/10/48/image_11012025_10_48_03_036064_0001.jpg
/home/pi/Desktop/images/11012025/10/48/image_11012025_10_48_03_036064_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.713919162750244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 10:48:42.769253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/47/image_11012025_10_47_02_743552_0003.jpg', '/home/pi/Desktop/images/11012025/10/48/image_11012025_10_48_03_036064_0000.jpg', '/home/pi/Desktop/images/11012025/10/48/image_11012025_10_48_03_036064_0001.jpg', '/home/pi/Desktop/images/11012025/10/48/image_11012025_10_48_03_036064_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/47/image_11012025_10_47_02_743552_0003.jpg
/home/pi/Desktop/images/11012025/10/48/image_11012025_10_48_03_036064_0000.jpg
/home/pi/Desktop/images/11012025/10/48/image_11012025_10_48_03_036064_0001.jpg
/home/pi/Desktop/images/11012025/10/48/image_11012025_10_48_03_036064_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328115835","1328115837","1328115821","1328115839"],"photo_ids_order":["1328115821","1328115835","1328115837","1328115839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a73361a427b942c8b84517f0926f39e9.jpg","text":"TemporaryFile(/tmp/multipartBody2444584533517368948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588992895,"filename":"image_11012025_10_48_03_036064_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f002959135607792db01d1395307c4c6.jpg","text":"TemporaryFile(/tmp/multipartBody2631540317905863673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588992895,"filename":"image_11012025_10_48_03_036064_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a414f9c15415da1809fc213adcb9972f.jpg","text":"TemporaryFile(/tmp/multipartBody6021848160525204460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588992895,"filename":"image_11012025_10_47_02_743552_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e44efaec1448686fb89cb5948e8ae8d8.jpg","text":"TemporaryFile(/tmp/multipartBody7538794817932844576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736588992895,"filename":"image_11012025_10_48_03_036064_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328115837","file1":"1328115835","file0":"1328115821","file3":"1328115839"},"map_files_photo_id_array":[{"photo_id":"1328115837","filename":"file2"},{"photo_id":"1328115835","filename":"file1"},{"photo_id":"1328115821","filename":"file0"},{"photo_id":"1328115839","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328115835":["hashtag1","hashtag2"]},{"1328115837":["hashtag1","hashtag2"]},{"1328115821":["hashtag1","hashtag2"]},{"1328115839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328115835, 1328115837, 1328115821, 1328115839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.652926206588745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:49:21.930397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/48/image_11012025_10_48_03_036064_0003.jpg', '/home/pi/Desktop/images/11012025/10/49/image_11012025_10_49_03_117561_0000.jpg', '/home/pi/Desktop/images/11012025/10/49/image_11012025_10_49_03_117561_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/48/image_11012025_10_48_03_036064_0003.jpg
/home/pi/Desktop/images/11012025/10/49/image_11012025_10_49_03_117561_0000.jpg
/home/pi/Desktop/images/11012025/10/49/image_11012025_10_49_03_117561_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":["1328115847","1328115843","1328115845"],"photo_ids_order":["1328115843","1328115845","1328115847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e5f4106f0b76c57e6caf48399f947bfd.jpg","text":"TemporaryFile(/tmp/multipartBody6064188375388223587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589029624,"filename":"image_11012025_10_49_03_117561_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/40a5d91577c7cf7539985a3540954d9b.jpg","text":"TemporaryFile(/tmp/multipartBody2388467695923089653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589029624,"filename":"image_11012025_10_48_03_036064_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eceb0f3bfeb56337d0fb765047869534.jpg","text":"TemporaryFile(/tmp/multipartBody4907255163484667531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589029624,"filename":"image_11012025_10_49_03_117561_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328115847","file1":"1328115845","file0":"1328115843"},"map_files_photo_id_array":[{"photo_id":"1328115847","filename":"file2"},{"photo_id":"1328115845","filename":"file1"},{"photo_id":"1328115843","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328115847":["hashtag1","hashtag2"]},{"1328115843":["hashtag1","hashtag2"]},{"1328115845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328115847, 1328115843, 1328115845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.459766626358032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:50:02.520157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19493866
  datou_current_id : 2473779
in upload_from_sqlite, uploading in 19493866
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/23/59/image_10012025_23_59_02_835832_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473779&datou=0
/home/pi/Desktop/images/10012025/23/59/image_10012025_23_59_02_835832_0003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328115854"],"photo_id":"1328115854","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9cbcf5f1dd78393dcb6a9462fdf6be44.jpg","text":"TemporaryFile(/tmp/multipartBody5388662587385509953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589066614,"filename":"image_10012025_23_59_02_835832_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328115854"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328115854"}],"hashtags":[],"portfolio_id":"19493866","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.99931263923645 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-11 10:50:32.144527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/49/image_11012025_10_49_03_117561_0003.jpg', '/home/pi/Desktop/images/11012025/10/50/image_11012025_10_50_02_353129_0000.jpg', '/home/pi/Desktop/images/11012025/10/50/image_11012025_10_50_02_353129_0001.jpg', '/home/pi/Desktop/images/11012025/10/50/image_11012025_10_50_02_353129_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/49/image_11012025_10_49_03_117561_0003.jpg
/home/pi/Desktop/images/11012025/10/50/image_11012025_10_50_02_353129_0000.jpg
/home/pi/Desktop/images/11012025/10/50/image_11012025_10_50_02_353129_0001.jpg
/home/pi/Desktop/images/11012025/10/50/image_11012025_10_50_02_353129_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328115870","1328115872","1328115868","1328115865"],"photo_ids_order":["1328115865","1328115868","1328115870","1328115872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dea047f3ad6686a165bbb00464bb5992.jpg","text":"TemporaryFile(/tmp/multipartBody1978407383578922996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589102367,"filename":"image_11012025_10_50_02_353129_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e774954bbe59a759d951997ac55c5dd2.jpg","text":"TemporaryFile(/tmp/multipartBody3349985946243277926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589102367,"filename":"image_11012025_10_50_02_353129_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4d5ecd5a8a09b94d20debb71e40f131d.jpg","text":"TemporaryFile(/tmp/multipartBody4662937826166184680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589102367,"filename":"image_11012025_10_50_02_353129_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d5f99b690d1fffeac9e59a5fa614f5a4.jpg","text":"TemporaryFile(/tmp/multipartBody726781215668692841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589102367,"filename":"image_11012025_10_49_03_117561_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328115870","file1":"1328115868","file0":"1328115865","file3":"1328115872"},"map_files_photo_id_array":[{"photo_id":"1328115870","filename":"file2"},{"photo_id":"1328115868","filename":"file1"},{"photo_id":"1328115865","filename":"file0"},{"photo_id":"1328115872","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328115870":["hashtag1","hashtag2"]},{"1328115872":["hashtag1","hashtag2"]},{"1328115868":["hashtag1","hashtag2"]},{"1328115865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328115870, 1328115872, 1328115868, 1328115865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.22615599632263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:51:22.279607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/50/image_11012025_10_50_02_353129_0003.jpg', '/home/pi/Desktop/images/11012025/10/51/image_11012025_10_51_02_452813_0000.jpg', '/home/pi/Desktop/images/11012025/10/51/image_11012025_10_51_02_452813_0001.jpg', '/home/pi/Desktop/images/11012025/10/51/image_11012025_10_51_02_452813_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/50/image_11012025_10_50_02_353129_0003.jpg
/home/pi/Desktop/images/11012025/10/51/image_11012025_10_51_02_452813_0000.jpg
/home/pi/Desktop/images/11012025/10/51/image_11012025_10_51_02_452813_0001.jpg
/home/pi/Desktop/images/11012025/10/51/image_11012025_10_51_02_452813_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328115946","1328115897","1328115921","1328115890"],"photo_ids_order":["1328115890","1328115897","1328115921","1328115946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3d8f7b0c8ef6a23eb382d1372a8dbc8d.jpg","text":"TemporaryFile(/tmp/multipartBody7172700803948834279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589152488,"filename":"image_11012025_10_51_02_452813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1970467d00d69d9f7b635241629a6e4e.jpg","text":"TemporaryFile(/tmp/multipartBody4329675213147676877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589152488,"filename":"image_11012025_10_51_02_452813_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/930b3b08ec25f0f8e2a050f3697df053.jpg","text":"TemporaryFile(/tmp/multipartBody4396816009278833540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589152488,"filename":"image_11012025_10_51_02_452813_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c9397fcbb66e632ceb3b71540aab7146.jpg","text":"TemporaryFile(/tmp/multipartBody7126987813811316005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589152488,"filename":"image_11012025_10_50_02_353129_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328115921","file1":"1328115897","file0":"1328115890","file3":"1328115946"},"map_files_photo_id_array":[{"photo_id":"1328115921","filename":"file2"},{"photo_id":"1328115897","filename":"file1"},{"photo_id":"1328115890","filename":"file0"},{"photo_id":"1328115946","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328115946":["hashtag1","hashtag2"]},{"1328115897":["hashtag1","hashtag2"]},{"1328115921":["hashtag1","hashtag2"]},{"1328115890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328115946, 1328115897, 1328115921, 1328115890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.7347092628479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:52:22.487248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/51/image_11012025_10_51_02_452813_0003.jpg', '/home/pi/Desktop/images/11012025/10/52/image_11012025_10_52_02_669208_0000.jpg', '/home/pi/Desktop/images/11012025/10/52/image_11012025_10_52_02_669208_0001.jpg', '/home/pi/Desktop/images/11012025/10/52/image_11012025_10_52_02_669208_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/51/image_11012025_10_51_02_452813_0003.jpg
/home/pi/Desktop/images/11012025/10/52/image_11012025_10_52_02_669208_0000.jpg
/home/pi/Desktop/images/11012025/10/52/image_11012025_10_52_02_669208_0001.jpg
/home/pi/Desktop/images/11012025/10/52/image_11012025_10_52_02_669208_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328116692","1328116937","1328116814","1328117062"],"photo_ids_order":["1328116692","1328116814","1328116937","1328117062"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1686c89cb20aa00d71f0e352d0c0e8a2.jpg","text":"TemporaryFile(/tmp/multipartBody2576851166849293808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589212670,"filename":"image_11012025_10_51_02_452813_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ebe0e58ed413db00c9818e3d689b4424.jpg","text":"TemporaryFile(/tmp/multipartBody8416461749944531811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589212670,"filename":"image_11012025_10_52_02_669208_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ada28fbd9298fd5036aed58e2d7c0f2d.jpg","text":"TemporaryFile(/tmp/multipartBody4372027408125244441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589212670,"filename":"image_11012025_10_52_02_669208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7b464ad8550d4b6e505edf5d776929e5.jpg","text":"TemporaryFile(/tmp/multipartBody7079686110024969546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589212670,"filename":"image_11012025_10_52_02_669208_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328116937","file1":"1328116814","file0":"1328116692","file3":"1328117062"},"map_files_photo_id_array":[{"photo_id":"1328116937","filename":"file2"},{"photo_id":"1328116814","filename":"file1"},{"photo_id":"1328116692","filename":"file0"},{"photo_id":"1328117062","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328116692":["hashtag1","hashtag2"]},{"1328116937":["hashtag1","hashtag2"]},{"1328116814":["hashtag1","hashtag2"]},{"1328117062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328116692, 1328116937, 1328116814, 1328117062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.08661603927612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:53:03.237362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:53:22.765423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/52/image_11012025_10_52_02_669208_0003.jpg', '/home/pi/Desktop/images/11012025/10/53/image_11012025_10_53_02_853301_0000.jpg', '/home/pi/Desktop/images/11012025/10/53/image_11012025_10_53_02_853301_0001.jpg', '/home/pi/Desktop/images/11012025/10/53/image_11012025_10_53_02_853301_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/52/image_11012025_10_52_02_669208_0003.jpg
/home/pi/Desktop/images/11012025/10/53/image_11012025_10_53_02_853301_0000.jpg
/home/pi/Desktop/images/11012025/10/53/image_11012025_10_53_02_853301_0001.jpg
/home/pi/Desktop/images/11012025/10/53/image_11012025_10_53_02_853301_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328117304","1328117307","1328117312","1328117317"],"photo_ids_order":["1328117304","1328117307","1328117312","1328117317"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6371d4d9b390e5ee7403973e31bdb881.jpg","text":"TemporaryFile(/tmp/multipartBody6488715696440145613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589272888,"filename":"image_11012025_10_52_02_669208_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/97ecf777b2d953a38fa33c9c61fbbc7a.jpg","text":"TemporaryFile(/tmp/multipartBody5410103453493674411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589272888,"filename":"image_11012025_10_53_02_853301_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d7c632963e23edaa24d62eb3094e8a2c.jpg","text":"TemporaryFile(/tmp/multipartBody8239090644584491143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589272888,"filename":"image_11012025_10_53_02_853301_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/590c383616c597a586c9b28dd88685c6.jpg","text":"TemporaryFile(/tmp/multipartBody8566937401825240421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589272888,"filename":"image_11012025_10_53_02_853301_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328117312","file1":"1328117307","file0":"1328117304","file3":"1328117317"},"map_files_photo_id_array":[{"photo_id":"1328117312","filename":"file2"},{"photo_id":"1328117307","filename":"file1"},{"photo_id":"1328117304","filename":"file0"},{"photo_id":"1328117317","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328117304":["hashtag1","hashtag2"]},{"1328117307":["hashtag1","hashtag2"]},{"1328117312":["hashtag1","hashtag2"]},{"1328117317":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328117304, 1328117307, 1328117312, 1328117317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.97001838684082 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:54:02.181078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:54:21.813239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/53/image_11012025_10_53_02_853301_0003.jpg', '/home/pi/Desktop/images/11012025/10/54/image_11012025_10_54_03_016929_0000.jpg', '/home/pi/Desktop/images/11012025/10/54/image_11012025_10_54_03_016929_0001.jpg', '/home/pi/Desktop/images/11012025/10/54/image_11012025_10_54_03_016929_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/53/image_11012025_10_53_02_853301_0003.jpg
/home/pi/Desktop/images/11012025/10/54/image_11012025_10_54_03_016929_0000.jpg
/home/pi/Desktop/images/11012025/10/54/image_11012025_10_54_03_016929_0001.jpg
/home/pi/Desktop/images/11012025/10/54/image_11012025_10_54_03_016929_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.704380512237549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 10:54:41.751504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/53/image_11012025_10_53_02_853301_0003.jpg', '/home/pi/Desktop/images/11012025/10/54/image_11012025_10_54_03_016929_0000.jpg', '/home/pi/Desktop/images/11012025/10/54/image_11012025_10_54_03_016929_0001.jpg', '/home/pi/Desktop/images/11012025/10/54/image_11012025_10_54_03_016929_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/53/image_11012025_10_53_02_853301_0003.jpg
/home/pi/Desktop/images/11012025/10/54/image_11012025_10_54_03_016929_0000.jpg
/home/pi/Desktop/images/11012025/10/54/image_11012025_10_54_03_016929_0001.jpg
/home/pi/Desktop/images/11012025/10/54/image_11012025_10_54_03_016929_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328117721","1328117902","1328118021","1328117799"],"photo_ids_order":["1328117721","1328117799","1328117902","1328118021"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e8cf3276dce65286564eed8071d15a5d.jpg","text":"TemporaryFile(/tmp/multipartBody3254559922050262588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589351872,"filename":"image_11012025_10_53_02_853301_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d56ab72c9a48db1f2aa243fb8d8a0355.jpg","text":"TemporaryFile(/tmp/multipartBody3740081951920705932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589351872,"filename":"image_11012025_10_54_03_016929_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bec9a230663dd9a594def26a100501d6.jpg","text":"TemporaryFile(/tmp/multipartBody3390131979475864767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589351872,"filename":"image_11012025_10_54_03_016929_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f842337f7945a258626466da12d6d98e.jpg","text":"TemporaryFile(/tmp/multipartBody6533958101545177159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589351872,"filename":"image_11012025_10_54_03_016929_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328117902","file1":"1328117799","file0":"1328117721","file3":"1328118021"},"map_files_photo_id_array":[{"photo_id":"1328117902","filename":"file2"},{"photo_id":"1328117799","filename":"file1"},{"photo_id":"1328117721","filename":"file0"},{"photo_id":"1328118021","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328117721":["hashtag1","hashtag2"]},{"1328117902":["hashtag1","hashtag2"]},{"1328118021":["hashtag1","hashtag2"]},{"1328117799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328117721, 1328117902, 1328118021, 1328117799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.008161783218384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:55:21.969639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/54/image_11012025_10_54_03_016929_0003.jpg', '/home/pi/Desktop/images/11012025/10/55/image_11012025_10_55_02_093283_0000.jpg', '/home/pi/Desktop/images/11012025/10/55/image_11012025_10_55_02_093283_0001.jpg', '/home/pi/Desktop/images/11012025/10/55/image_11012025_10_55_02_093283_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/54/image_11012025_10_54_03_016929_0003.jpg
/home/pi/Desktop/images/11012025/10/55/image_11012025_10_55_02_093283_0000.jpg
/home/pi/Desktop/images/11012025/10/55/image_11012025_10_55_02_093283_0001.jpg
/home/pi/Desktop/images/11012025/10/55/image_11012025_10_55_02_093283_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328118407","1328118415","1328118412","1328118409"],"photo_ids_order":["1328118407","1328118409","1328118412","1328118415"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9ee3e53db045a7b503384a6d80386483.jpg","text":"TemporaryFile(/tmp/multipartBody8980035032238419624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589392118,"filename":"image_11012025_10_54_03_016929_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/23bd736d8c9e287d18c5b21b49353e5a.jpg","text":"TemporaryFile(/tmp/multipartBody1996016789267651601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589392118,"filename":"image_11012025_10_55_02_093283_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/92254da9a3f1bccd07d92dc5ada1f98e.jpg","text":"TemporaryFile(/tmp/multipartBody4544207637633695551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589392118,"filename":"image_11012025_10_55_02_093283_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/75fb82d6bf218f1cdafbe88881bc893b.jpg","text":"TemporaryFile(/tmp/multipartBody265067241291230262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589392118,"filename":"image_11012025_10_55_02_093283_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328118412","file1":"1328118409","file0":"1328118407","file3":"1328118415"},"map_files_photo_id_array":[{"photo_id":"1328118412","filename":"file2"},{"photo_id":"1328118409","filename":"file1"},{"photo_id":"1328118407","filename":"file0"},{"photo_id":"1328118415","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328118407":["hashtag1","hashtag2"]},{"1328118415":["hashtag1","hashtag2"]},{"1328118412":["hashtag1","hashtag2"]},{"1328118409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328118407, 1328118415, 1328118412, 1328118409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.09037470817566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:56:22.101470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/55/image_11012025_10_55_02_093283_0003.jpg', '/home/pi/Desktop/images/11012025/10/56/image_11012025_10_56_02_271733_0000.jpg', '/home/pi/Desktop/images/11012025/10/56/image_11012025_10_56_02_271733_0001.jpg', '/home/pi/Desktop/images/11012025/10/56/image_11012025_10_56_02_271733_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/55/image_11012025_10_55_02_093283_0003.jpg
/home/pi/Desktop/images/11012025/10/56/image_11012025_10_56_02_271733_0000.jpg
/home/pi/Desktop/images/11012025/10/56/image_11012025_10_56_02_271733_0001.jpg
/home/pi/Desktop/images/11012025/10/56/image_11012025_10_56_02_271733_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328118689","1328118701","1328118580","1328118729"],"photo_ids_order":["1328118580","1328118689","1328118701","1328118729"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/60578346871adffa264c423c29c3ab7d.jpg","text":"TemporaryFile(/tmp/multipartBody75692423321429764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589452178,"filename":"image_11012025_10_56_02_271733_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d7c149a94b9713497bb08b5de53bfb2d.jpg","text":"TemporaryFile(/tmp/multipartBody5985432091363162252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589452178,"filename":"image_11012025_10_56_02_271733_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/57ac2d188316c661172986e421327d33.jpg","text":"TemporaryFile(/tmp/multipartBody9189975913159063529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589452178,"filename":"image_11012025_10_55_02_093283_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b2eabc2543497db40e079516902a65d1.jpg","text":"TemporaryFile(/tmp/multipartBody2269022490004916254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589452178,"filename":"image_11012025_10_56_02_271733_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328118701","file1":"1328118689","file0":"1328118580","file3":"1328118729"},"map_files_photo_id_array":[{"photo_id":"1328118701","filename":"file2"},{"photo_id":"1328118689","filename":"file1"},{"photo_id":"1328118580","filename":"file0"},{"photo_id":"1328118729","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328118689":["hashtag1","hashtag2"]},{"1328118701":["hashtag1","hashtag2"]},{"1328118580":["hashtag1","hashtag2"]},{"1328118729":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328118689, 1328118701, 1328118580, 1328118729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.4809947013855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 10:57:22.284154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/56/image_11012025_10_56_02_271733_0003.jpg', '/home/pi/Desktop/images/11012025/10/57/image_11012025_10_57_02_489462_0000.jpg', '/home/pi/Desktop/images/11012025/10/57/image_11012025_10_57_02_489462_0001.jpg', '/home/pi/Desktop/images/11012025/10/57/image_11012025_10_57_02_489462_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/56/image_11012025_10_56_02_271733_0003.jpg
/home/pi/Desktop/images/11012025/10/57/image_11012025_10_57_02_489462_0000.jpg
/home/pi/Desktop/images/11012025/10/57/image_11012025_10_57_02_489462_0001.jpg
/home/pi/Desktop/images/11012025/10/57/image_11012025_10_57_02_489462_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328118857","1328118860","1328118862","1328118864"],"photo_ids_order":["1328118857","1328118860","1328118862","1328118864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/28102ea06da03cd8e7a8d2b3a580c48f.jpg","text":"TemporaryFile(/tmp/multipartBody8266877717087951023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589512414,"filename":"image_11012025_10_56_02_271733_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/16629dd025abe1426ce52e810457d04f.jpg","text":"TemporaryFile(/tmp/multipartBody1071976840222874511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589512414,"filename":"image_11012025_10_57_02_489462_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/18f23b6964a9e405c98587fe03e51bb7.jpg","text":"TemporaryFile(/tmp/multipartBody7020222715198282422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589512414,"filename":"image_11012025_10_57_02_489462_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/044160e084da88388b91f46964d17ed5.jpg","text":"TemporaryFile(/tmp/multipartBody6988250132794210285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589512414,"filename":"image_11012025_10_57_02_489462_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328118862","file1":"1328118860","file0":"1328118857","file3":"1328118864"},"map_files_photo_id_array":[{"photo_id":"1328118862","filename":"file2"},{"photo_id":"1328118860","filename":"file1"},{"photo_id":"1328118857","filename":"file0"},{"photo_id":"1328118864","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328118857":["hashtag1","hashtag2"]},{"1328118860":["hashtag1","hashtag2"]},{"1328118862":["hashtag1","hashtag2"]},{"1328118864":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328118857, 1328118860, 1328118862, 1328118864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.04346418380737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 10:59:03.332486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/57/image_11012025_10_57_02_489462_0003.jpg', '/home/pi/Desktop/images/11012025/10/58/image_11012025_10_58_02_600917_0000.jpg', '/home/pi/Desktop/images/11012025/10/58/image_11012025_10_58_02_600917_0001.jpg', '/home/pi/Desktop/images/11012025/10/58/image_11012025_10_58_02_600917_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/57/image_11012025_10_57_02_489462_0003.jpg
/home/pi/Desktop/images/11012025/10/58/image_11012025_10_58_02_600917_0000.jpg
/home/pi/Desktop/images/11012025/10/58/image_11012025_10_58_02_600917_0001.jpg
/home/pi/Desktop/images/11012025/10/58/image_11012025_10_58_02_600917_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328118932","1328118917","1328118937","1328118925"],"photo_ids_order":["1328118917","1328118925","1328118932","1328118937"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9a99eb740cf8df17b318545439180f29.jpg","text":"TemporaryFile(/tmp/multipartBody6635681799784442127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589613564,"filename":"image_11012025_10_58_02_600917_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d091784def8c8cabe56e8452829ad435.jpg","text":"TemporaryFile(/tmp/multipartBody8140260822149879296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589613564,"filename":"image_11012025_10_57_02_489462_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a50df1a5130c62050a814516bda7f5e2.jpg","text":"TemporaryFile(/tmp/multipartBody7496246635961873100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589613564,"filename":"image_11012025_10_58_02_600917_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cfad8bc7b93c57167ee3e9c42c626e2a.jpg","text":"TemporaryFile(/tmp/multipartBody1067641740070294072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589613564,"filename":"image_11012025_10_58_02_600917_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328118932","file1":"1328118925","file0":"1328118917","file3":"1328118937"},"map_files_photo_id_array":[{"photo_id":"1328118932","filename":"file2"},{"photo_id":"1328118925","filename":"file1"},{"photo_id":"1328118917","filename":"file0"},{"photo_id":"1328118937","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328118932":["hashtag1","hashtag2"]},{"1328118917":["hashtag1","hashtag2"]},{"1328118937":["hashtag1","hashtag2"]},{"1328118925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328118932, 1328118917, 1328118937, 1328118925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.570858001708984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 10:59:52.618434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/58/image_11012025_10_58_02_600917_0003.jpg', '/home/pi/Desktop/images/11012025/10/59/image_11012025_10_59_02_833195_0000.jpg', '/home/pi/Desktop/images/11012025/10/59/image_11012025_10_59_02_833195_0001.jpg', '/home/pi/Desktop/images/11012025/10/59/image_11012025_10_59_02_833195_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/58/image_11012025_10_58_02_600917_0003.jpg
/home/pi/Desktop/images/11012025/10/59/image_11012025_10_59_02_833195_0000.jpg
/home/pi/Desktop/images/11012025/10/59/image_11012025_10_59_02_833195_0001.jpg
/home/pi/Desktop/images/11012025/10/59/image_11012025_10_59_02_833195_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328118950","1328118955","1328118964","1328118960"],"photo_ids_order":["1328118950","1328118955","1328118960","1328118964"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a6fb7ea219ca7ae321a8fc8056940fe5.jpg","text":"TemporaryFile(/tmp/multipartBody6873589743526656629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589662899,"filename":"image_11012025_10_58_02_600917_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0a8f6db280d4889dba7ce5f2f5cdc296.jpg","text":"TemporaryFile(/tmp/multipartBody5498448766334245443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589662899,"filename":"image_11012025_10_59_02_833195_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/be96b75a47f7b7509b9d4042552d0928.jpg","text":"TemporaryFile(/tmp/multipartBody6603032898250617408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589662899,"filename":"image_11012025_10_59_02_833195_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/38d28dec4d39dbc9bfec17d63fdb9e7e.jpg","text":"TemporaryFile(/tmp/multipartBody4483395104244838122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589662899,"filename":"image_11012025_10_59_02_833195_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328118960","file1":"1328118955","file0":"1328118950","file3":"1328118964"},"map_files_photo_id_array":[{"photo_id":"1328118960","filename":"file2"},{"photo_id":"1328118955","filename":"file1"},{"photo_id":"1328118950","filename":"file0"},{"photo_id":"1328118964","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328118950":["hashtag1","hashtag2"]},{"1328118955":["hashtag1","hashtag2"]},{"1328118964":["hashtag1","hashtag2"]},{"1328118960":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328118950, 1328118955, 1328118964, 1328118960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.64319038391113 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 11:00:41.856249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/59/image_11012025_10_59_02_833195_0003.jpg', '/home/pi/Desktop/images/11012025/11/00/image_11012025_11_00_03_048516_0000.jpg', '/home/pi/Desktop/images/11012025/11/00/image_11012025_11_00_03_048516_0001.jpg', '/home/pi/Desktop/images/11012025/11/00/image_11012025_11_00_03_048516_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/10/59/image_11012025_10_59_02_833195_0003.jpg
/home/pi/Desktop/images/11012025/11/00/image_11012025_11_00_03_048516_0000.jpg
/home/pi/Desktop/images/11012025/11/00/image_11012025_11_00_03_048516_0001.jpg
/home/pi/Desktop/images/11012025/11/00/image_11012025_11_00_03_048516_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328118998","1328119013","1328118985","1328118984"],"photo_ids_order":["1328118984","1328118985","1328118998","1328119013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1c627e18e23f8539968c0d4a8e4ac01c.jpg","text":"TemporaryFile(/tmp/multipartBody445129340027772757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589711859,"filename":"image_11012025_11_00_03_048516_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e29fe1b2b4b757ff0842dca1ed2a4529.jpg","text":"TemporaryFile(/tmp/multipartBody6091540050980390062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589711859,"filename":"image_11012025_11_00_03_048516_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2fa56f3aa331063c36063044e2a5f6e5.jpg","text":"TemporaryFile(/tmp/multipartBody5922296993307584827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589711859,"filename":"image_11012025_11_00_03_048516_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cf37f484990f4736169ceae42fce1125.jpg","text":"TemporaryFile(/tmp/multipartBody2749916990661298758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589711859,"filename":"image_11012025_10_59_02_833195_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328118998","file1":"1328118985","file0":"1328118984","file3":"1328119013"},"map_files_photo_id_array":[{"photo_id":"1328118998","filename":"file2"},{"photo_id":"1328118985","filename":"file1"},{"photo_id":"1328118984","filename":"file0"},{"photo_id":"1328119013","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328118998":["hashtag1","hashtag2"]},{"1328119013":["hashtag1","hashtag2"]},{"1328118985":["hashtag1","hashtag2"]},{"1328118984":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328118998, 1328119013, 1328118985, 1328118984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.2772376537323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 11:01:31.996163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/00/image_11012025_11_00_03_048516_0003.jpg', '/home/pi/Desktop/images/11012025/11/01/image_11012025_11_01_02_193415_0000.jpg', '/home/pi/Desktop/images/11012025/11/01/image_11012025_11_01_02_193415_0001.jpg', '/home/pi/Desktop/images/11012025/11/01/image_11012025_11_01_02_193415_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/00/image_11012025_11_00_03_048516_0003.jpg
/home/pi/Desktop/images/11012025/11/01/image_11012025_11_01_02_193415_0000.jpg
/home/pi/Desktop/images/11012025/11/01/image_11012025_11_01_02_193415_0001.jpg
/home/pi/Desktop/images/11012025/11/01/image_11012025_11_01_02_193415_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328119031","1328119034","1328119036","1328119038"],"photo_ids_order":["1328119031","1328119034","1328119036","1328119038"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/752d95d5ec012cf75574ee588207946e.jpg","text":"TemporaryFile(/tmp/multipartBody2883943460072027559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589762095,"filename":"image_11012025_11_00_03_048516_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3e1bdfeb2890bf9ace2c7cda00dba0a6.jpg","text":"TemporaryFile(/tmp/multipartBody6487383075442435619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589762095,"filename":"image_11012025_11_01_02_193415_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cfd94e8af7fd60267336768a065e8be9.jpg","text":"TemporaryFile(/tmp/multipartBody7457787361877825210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589762095,"filename":"image_11012025_11_01_02_193415_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/66f55cd5519641f5ad6a3a68e75826bc.jpg","text":"TemporaryFile(/tmp/multipartBody7488165352645610160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589762095,"filename":"image_11012025_11_01_02_193415_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328119036","file1":"1328119034","file0":"1328119031","file3":"1328119038"},"map_files_photo_id_array":[{"photo_id":"1328119036","filename":"file2"},{"photo_id":"1328119034","filename":"file1"},{"photo_id":"1328119031","filename":"file0"},{"photo_id":"1328119038","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328119031":["hashtag1","hashtag2"]},{"1328119034":["hashtag1","hashtag2"]},{"1328119036":["hashtag1","hashtag2"]},{"1328119038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328119031, 1328119034, 1328119036, 1328119038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.332958698272705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:02:22.207170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/01/image_11012025_11_01_02_193415_0003.jpg', '/home/pi/Desktop/images/11012025/11/02/image_11012025_11_02_02_376534_0001.jpg', '/home/pi/Desktop/images/11012025/11/02/image_11012025_11_02_02_376534_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/01/image_11012025_11_01_02_193415_0003.jpg
/home/pi/Desktop/images/11012025/11/02/image_11012025_11_02_02_376534_0001.jpg
/home/pi/Desktop/images/11012025/11/02/image_11012025_11_02_02_376534_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.38634181022644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 11:02:32.181033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/01/image_11012025_11_01_02_193415_0003.jpg', '/home/pi/Desktop/images/11012025/11/02/image_11012025_11_02_02_376534_0001.jpg', '/home/pi/Desktop/images/11012025/11/02/image_11012025_11_02_02_376534_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/01/image_11012025_11_01_02_193415_0003.jpg
/home/pi/Desktop/images/11012025/11/02/image_11012025_11_02_02_376534_0001.jpg
/home/pi/Desktop/images/11012025/11/02/image_11012025_11_02_02_376534_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328119495","1328119498","1328119501"],"photo_ids_order":["1328119495","1328119498","1328119501"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fd2a859d0b80f175ee926b0de04b4385.jpg","text":"TemporaryFile(/tmp/multipartBody6425476086278937420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589819986,"filename":"image_11012025_11_01_02_193415_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8e6095b4133da35fe560e6c788e8d8c8.jpg","text":"TemporaryFile(/tmp/multipartBody4653262642136322832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589819986,"filename":"image_11012025_11_02_02_376534_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1c6436254ccd8b83237e24988acfb270.jpg","text":"TemporaryFile(/tmp/multipartBody4114085234767128044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589819986,"filename":"image_11012025_11_02_02_376534_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328119501","file1":"1328119498","file0":"1328119495"},"map_files_photo_id_array":[{"photo_id":"1328119501","filename":"file2"},{"photo_id":"1328119498","filename":"file1"},{"photo_id":"1328119495","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328119495":["hashtag1","hashtag2"]},{"1328119498":["hashtag1","hashtag2"]},{"1328119501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328119495, 1328119498, 1328119501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.685441493988037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:03:22.385267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/02/image_11012025_11_02_02_376534_0003.jpg', '/home/pi/Desktop/images/11012025/11/03/image_11012025_11_03_02_591997_0000.jpg', '/home/pi/Desktop/images/11012025/11/03/image_11012025_11_03_02_591997_0001.jpg', '/home/pi/Desktop/images/11012025/11/03/image_11012025_11_03_02_591997_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/02/image_11012025_11_02_02_376534_0003.jpg
/home/pi/Desktop/images/11012025/11/03/image_11012025_11_03_02_591997_0000.jpg
/home/pi/Desktop/images/11012025/11/03/image_11012025_11_03_02_591997_0001.jpg
/home/pi/Desktop/images/11012025/11/03/image_11012025_11_03_02_591997_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328119726","1328119813","1328119779","1328119730"],"photo_ids_order":["1328119726","1328119730","1328119779","1328119813"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c43661781a2f1dabe2ba2d1b7720dab8.jpg","text":"TemporaryFile(/tmp/multipartBody4142005853653751880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589872552,"filename":"image_11012025_11_02_02_376534_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eff805289dadbab9ef9a5be0eb53d1c7.jpg","text":"TemporaryFile(/tmp/multipartBody3787480775361867496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589872552,"filename":"image_11012025_11_03_02_591997_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8b5d1be621d40b85cf077a5237a7dedd.jpg","text":"TemporaryFile(/tmp/multipartBody6381025054744934648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589872552,"filename":"image_11012025_11_03_02_591997_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4ff2750db06a6927a081b19734e590f5.jpg","text":"TemporaryFile(/tmp/multipartBody204065920106455105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589872552,"filename":"image_11012025_11_03_02_591997_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328119779","file1":"1328119730","file0":"1328119726","file3":"1328119813"},"map_files_photo_id_array":[{"photo_id":"1328119779","filename":"file2"},{"photo_id":"1328119730","filename":"file1"},{"photo_id":"1328119726","filename":"file0"},{"photo_id":"1328119813","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328119726":["hashtag1","hashtag2"]},{"1328119813":["hashtag1","hashtag2"]},{"1328119779":["hashtag1","hashtag2"]},{"1328119730":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328119726, 1328119813, 1328119779, 1328119730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.536582469940186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:04:03.023308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:04:22.614854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/03/image_11012025_11_03_02_591997_0003.jpg', '/home/pi/Desktop/images/11012025/11/04/image_11012025_11_04_02_794902_0000.jpg', '/home/pi/Desktop/images/11012025/11/04/image_11012025_11_04_02_794902_0001.jpg', '/home/pi/Desktop/images/11012025/11/04/image_11012025_11_04_02_794902_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/03/image_11012025_11_03_02_591997_0003.jpg
/home/pi/Desktop/images/11012025/11/04/image_11012025_11_04_02_794902_0000.jpg
/home/pi/Desktop/images/11012025/11/04/image_11012025_11_04_02_794902_0001.jpg
/home/pi/Desktop/images/11012025/11/04/image_11012025_11_04_02_794902_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328119831","1328120143","1328119827","1328120514"],"photo_ids_order":["1328119827","1328119831","1328120143","1328120514"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4f724ee1fadc986ab517198e140073c7.jpg","text":"TemporaryFile(/tmp/multipartBody6842672855263931269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589932760,"filename":"image_11012025_11_04_02_794902_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2b1bbf26d5746cb908ae21f9567c92ef.jpg","text":"TemporaryFile(/tmp/multipartBody1259253788516706115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589932760,"filename":"image_11012025_11_04_02_794902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/01782d8bdce3445ba9c96bb573c331b8.jpg","text":"TemporaryFile(/tmp/multipartBody4438375999781728410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589932760,"filename":"image_11012025_11_03_02_591997_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a13b72d5e1c76c2dad3236f45f285258.jpg","text":"TemporaryFile(/tmp/multipartBody5149701562504975462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589932760,"filename":"image_11012025_11_04_02_794902_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328120143","file1":"1328119831","file0":"1328119827","file3":"1328120514"},"map_files_photo_id_array":[{"photo_id":"1328120143","filename":"file2"},{"photo_id":"1328119831","filename":"file1"},{"photo_id":"1328119827","filename":"file0"},{"photo_id":"1328120514","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328119831":["hashtag1","hashtag2"]},{"1328120143":["hashtag1","hashtag2"]},{"1328119827":["hashtag1","hashtag2"]},{"1328120514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328119831, 1328120143, 1328119827, 1328120514)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.67705726623535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:05:22.845972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/04/image_11012025_11_04_02_794902_0003.jpg', '/home/pi/Desktop/images/11012025/11/05/image_11012025_11_05_02_987699_0000.jpg', '/home/pi/Desktop/images/11012025/11/05/image_11012025_11_05_02_987699_0001.jpg', '/home/pi/Desktop/images/11012025/11/05/image_11012025_11_05_02_987699_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/04/image_11012025_11_04_02_794902_0003.jpg
/home/pi/Desktop/images/11012025/11/05/image_11012025_11_05_02_987699_0000.jpg
/home/pi/Desktop/images/11012025/11/05/image_11012025_11_05_02_987699_0001.jpg
/home/pi/Desktop/images/11012025/11/05/image_11012025_11_05_02_987699_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328120867","1328121046","1328120880","1328120883"],"photo_ids_order":["1328120867","1328120880","1328120883","1328121046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2946460258c11ed74e79970c12457c4b.jpg","text":"TemporaryFile(/tmp/multipartBody594974159259743944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589993001,"filename":"image_11012025_11_04_02_794902_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1f21a73282fc7d09054152d64887def4.jpg","text":"TemporaryFile(/tmp/multipartBody7918537331119539602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589993001,"filename":"image_11012025_11_05_02_987699_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/09c2169e5b12c2359b569f0740ff1a0f.jpg","text":"TemporaryFile(/tmp/multipartBody253124499887847965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589993001,"filename":"image_11012025_11_05_02_987699_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/90b8ff597f3ebb4e25972f1cacb71432.jpg","text":"TemporaryFile(/tmp/multipartBody2017018478971508597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736589993001,"filename":"image_11012025_11_05_02_987699_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328120883","file1":"1328120880","file0":"1328120867","file3":"1328121046"},"map_files_photo_id_array":[{"photo_id":"1328120883","filename":"file2"},{"photo_id":"1328120880","filename":"file1"},{"photo_id":"1328120867","filename":"file0"},{"photo_id":"1328121046","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328120867":["hashtag1","hashtag2"]},{"1328121046":["hashtag1","hashtag2"]},{"1328120880":["hashtag1","hashtag2"]},{"1328120883":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328120867, 1328121046, 1328120880, 1328120883)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 38.62076687812805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:06:21.928165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/05/image_11012025_11_05_02_987699_0003.jpg', '/home/pi/Desktop/images/11012025/11/06/image_11012025_11_06_03_158703_0000.jpg', '/home/pi/Desktop/images/11012025/11/06/image_11012025_11_06_03_158703_0001.jpg', '/home/pi/Desktop/images/11012025/11/06/image_11012025_11_06_03_158703_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/05/image_11012025_11_05_02_987699_0003.jpg
/home/pi/Desktop/images/11012025/11/06/image_11012025_11_06_03_158703_0000.jpg
/home/pi/Desktop/images/11012025/11/06/image_11012025_11_06_03_158703_0001.jpg
/home/pi/Desktop/images/11012025/11/06/image_11012025_11_06_03_158703_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.645415306091309 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 11:06:41.908478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/05/image_11012025_11_05_02_987699_0003.jpg', '/home/pi/Desktop/images/11012025/11/06/image_11012025_11_06_03_158703_0000.jpg', '/home/pi/Desktop/images/11012025/11/06/image_11012025_11_06_03_158703_0001.jpg', '/home/pi/Desktop/images/11012025/11/06/image_11012025_11_06_03_158703_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/05/image_11012025_11_05_02_987699_0003.jpg
/home/pi/Desktop/images/11012025/11/06/image_11012025_11_06_03_158703_0000.jpg
/home/pi/Desktop/images/11012025/11/06/image_11012025_11_06_03_158703_0001.jpg
/home/pi/Desktop/images/11012025/11/06/image_11012025_11_06_03_158703_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328121670","1328121492","1328121624","1328121668"],"photo_ids_order":["1328121492","1328121624","1328121668","1328121670"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b4d0541fac84f28abb0e0365a3b7115b.jpg","text":"TemporaryFile(/tmp/multipartBody4030493349010737833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590071946,"filename":"image_11012025_11_06_03_158703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/33dbf33cf3f07301e052fa08348e5463.jpg","text":"TemporaryFile(/tmp/multipartBody4925794412741536051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590071946,"filename":"image_11012025_11_05_02_987699_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b934c5ffbc5a15d5a0074a65463a4d56.jpg","text":"TemporaryFile(/tmp/multipartBody6940485131859472989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590071946,"filename":"image_11012025_11_06_03_158703_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c8bc3cb8a5b43720139ab73749788411.jpg","text":"TemporaryFile(/tmp/multipartBody4636529960785712933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590071946,"filename":"image_11012025_11_06_03_158703_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328121668","file1":"1328121624","file0":"1328121492","file3":"1328121670"},"map_files_photo_id_array":[{"photo_id":"1328121668","filename":"file2"},{"photo_id":"1328121624","filename":"file1"},{"photo_id":"1328121492","filename":"file0"},{"photo_id":"1328121670","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328121670":["hashtag1","hashtag2"]},{"1328121492":["hashtag1","hashtag2"]},{"1328121624":["hashtag1","hashtag2"]},{"1328121668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328121670, 1328121492, 1328121624, 1328121668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.581066370010376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:07:22.102567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/06/image_11012025_11_06_03_158703_0003.jpg', '/home/pi/Desktop/images/11012025/11/07/image_11012025_11_07_02_274673_0000.jpg', '/home/pi/Desktop/images/11012025/11/07/image_11012025_11_07_02_274673_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/06/image_11012025_11_06_03_158703_0003.jpg
/home/pi/Desktop/images/11012025/11/07/image_11012025_11_07_02_274673_0000.jpg
/home/pi/Desktop/images/11012025/11/07/image_11012025_11_07_02_274673_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":["1328121793","1328121795","1328121774"],"photo_ids_order":["1328121774","1328121793","1328121795"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f7cff291b083426488b2441f1a9fa057.jpg","text":"TemporaryFile(/tmp/multipartBody5367430008505795966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590109683,"filename":"image_11012025_11_07_02_274673_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d347d7e927738ae59140add209e803fb.jpg","text":"TemporaryFile(/tmp/multipartBody7673985618948451221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590109683,"filename":"image_11012025_11_07_02_274673_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d889148272535ec8520974f5a9020e52.jpg","text":"TemporaryFile(/tmp/multipartBody7364957576309967331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590109683,"filename":"image_11012025_11_06_03_158703_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328121795","file1":"1328121793","file0":"1328121774"},"map_files_photo_id_array":[{"photo_id":"1328121795","filename":"file2"},{"photo_id":"1328121793","filename":"file1"},{"photo_id":"1328121774","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328121793":["hashtag1","hashtag2"]},{"1328121795":["hashtag1","hashtag2"]},{"1328121774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328121793, 1328121795, 1328121774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.027854204177856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:08:02.773285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:08:22.328911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/07/image_11012025_11_07_02_274673_0002.jpg', '/home/pi/Desktop/images/11012025/11/08/image_11012025_11_08_02_446847_0000.jpg', '/home/pi/Desktop/images/11012025/11/08/image_11012025_11_08_02_446847_0001.jpg', '/home/pi/Desktop/images/11012025/11/08/image_11012025_11_08_02_446847_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/07/image_11012025_11_07_02_274673_0002.jpg
/home/pi/Desktop/images/11012025/11/08/image_11012025_11_08_02_446847_0000.jpg
/home/pi/Desktop/images/11012025/11/08/image_11012025_11_08_02_446847_0001.jpg
/home/pi/Desktop/images/11012025/11/08/image_11012025_11_08_02_446847_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328121809","1328121811","1328121813","1328121807"],"photo_ids_order":["1328121807","1328121809","1328121811","1328121813"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f7a12c1a6035ecbf68d84ccbb67e35d1.jpg","text":"TemporaryFile(/tmp/multipartBody5074481083413135423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590172377,"filename":"image_11012025_11_08_02_446847_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b7516ac2ada5476599242face9b639fa.jpg","text":"TemporaryFile(/tmp/multipartBody2123306948239245655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590172377,"filename":"image_11012025_11_08_02_446847_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3977a854bd132863df65933a57fdb987.jpg","text":"TemporaryFile(/tmp/multipartBody3251954723005954985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590172377,"filename":"image_11012025_11_08_02_446847_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/01543d5f08b2f9b9c5b693b4665bdf26.jpg","text":"TemporaryFile(/tmp/multipartBody1056233648643458889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590172377,"filename":"image_11012025_11_07_02_274673_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328121811","file1":"1328121809","file0":"1328121807","file3":"1328121813"},"map_files_photo_id_array":[{"photo_id":"1328121811","filename":"file2"},{"photo_id":"1328121809","filename":"file1"},{"photo_id":"1328121807","filename":"file0"},{"photo_id":"1328121813","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328121809":["hashtag1","hashtag2"]},{"1328121811":["hashtag1","hashtag2"]},{"1328121813":["hashtag1","hashtag2"]},{"1328121807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328121809, 1328121811, 1328121813, 1328121807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.335010290145874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:09:22.591947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/08/image_11012025_11_08_02_446847_0003.jpg', '/home/pi/Desktop/images/11012025/11/09/image_11012025_11_09_02_661311_0000.jpg', '/home/pi/Desktop/images/11012025/11/09/image_11012025_11_09_02_661311_0001.jpg', '/home/pi/Desktop/images/11012025/11/09/image_11012025_11_09_02_661311_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/08/image_11012025_11_08_02_446847_0003.jpg
/home/pi/Desktop/images/11012025/11/09/image_11012025_11_09_02_661311_0000.jpg
/home/pi/Desktop/images/11012025/11/09/image_11012025_11_09_02_661311_0001.jpg
/home/pi/Desktop/images/11012025/11/09/image_11012025_11_09_02_661311_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328121842","1328121840","1328121869","1328121854"],"photo_ids_order":["1328121840","1328121842","1328121854","1328121869"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/557ad4ae6abfe62c35a2e6101124f5a0.jpg","text":"TemporaryFile(/tmp/multipartBody369993833248467452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590232745,"filename":"image_11012025_11_09_02_661311_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/06eb9544e644a549473c542f41291ea0.jpg","text":"TemporaryFile(/tmp/multipartBody1911116385464280343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590232745,"filename":"image_11012025_11_08_02_446847_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/719b9022df415327620c214868dcf6a0.jpg","text":"TemporaryFile(/tmp/multipartBody6810155082829026944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590232745,"filename":"image_11012025_11_09_02_661311_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d5359327df7ba7f9f5d82589dfcc1a8d.jpg","text":"TemporaryFile(/tmp/multipartBody4814338569058328575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590232745,"filename":"image_11012025_11_09_02_661311_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328121854","file1":"1328121842","file0":"1328121840","file3":"1328121869"},"map_files_photo_id_array":[{"photo_id":"1328121854","filename":"file2"},{"photo_id":"1328121842","filename":"file1"},{"photo_id":"1328121840","filename":"file0"},{"photo_id":"1328121869","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328121842":["hashtag1","hashtag2"]},{"1328121840":["hashtag1","hashtag2"]},{"1328121869":["hashtag1","hashtag2"]},{"1328121854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328121842, 1328121840, 1328121869, 1328121854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.84265470504761 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:10:22.723593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/09/image_11012025_11_09_02_661311_0003.jpg', '/home/pi/Desktop/images/11012025/11/10/image_11012025_11_10_02_919667_0000.jpg', '/home/pi/Desktop/images/11012025/11/10/image_11012025_11_10_02_919667_0001.jpg', '/home/pi/Desktop/images/11012025/11/10/image_11012025_11_10_02_919667_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/09/image_11012025_11_09_02_661311_0003.jpg
/home/pi/Desktop/images/11012025/11/10/image_11012025_11_10_02_919667_0000.jpg
/home/pi/Desktop/images/11012025/11/10/image_11012025_11_10_02_919667_0001.jpg
/home/pi/Desktop/images/11012025/11/10/image_11012025_11_10_02_919667_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328121889","1328121880","1328121883","1328121887"],"photo_ids_order":["1328121880","1328121883","1328121887","1328121889"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/02e9d0f53c5ca71b37a39d771045e168.jpg","text":"TemporaryFile(/tmp/multipartBody6985980721606696655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590292806,"filename":"image_11012025_11_10_02_919667_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e62a7da76bc2e69935944f9f09803b78.jpg","text":"TemporaryFile(/tmp/multipartBody4114670024658085311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590292806,"filename":"image_11012025_11_09_02_661311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1675123460c06763d19fdc99eced74d2.jpg","text":"TemporaryFile(/tmp/multipartBody145957866018844814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590292806,"filename":"image_11012025_11_10_02_919667_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ac407e0109ee761341b4e5fc5afe5eef.jpg","text":"TemporaryFile(/tmp/multipartBody3846298856920407911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590292806,"filename":"image_11012025_11_10_02_919667_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328121887","file1":"1328121883","file0":"1328121880","file3":"1328121889"},"map_files_photo_id_array":[{"photo_id":"1328121887","filename":"file2"},{"photo_id":"1328121883","filename":"file1"},{"photo_id":"1328121880","filename":"file0"},{"photo_id":"1328121889","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328121889":["hashtag1","hashtag2"]},{"1328121880":["hashtag1","hashtag2"]},{"1328121883":["hashtag1","hashtag2"]},{"1328121887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328121889, 1328121880, 1328121883, 1328121887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.20388078689575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:11:02.493600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:11:21.843783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/10/image_11012025_11_10_02_919667_0003.jpg', '/home/pi/Desktop/images/11012025/11/11/image_11012025_11_11_03_043254_0000.jpg', '/home/pi/Desktop/images/11012025/11/11/image_11012025_11_11_03_043254_0001.jpg', '/home/pi/Desktop/images/11012025/11/11/image_11012025_11_11_03_043254_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/10/image_11012025_11_10_02_919667_0003.jpg
/home/pi/Desktop/images/11012025/11/11/image_11012025_11_11_03_043254_0000.jpg
/home/pi/Desktop/images/11012025/11/11/image_11012025_11_11_03_043254_0001.jpg
/home/pi/Desktop/images/11012025/11/11/image_11012025_11_11_03_043254_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328121908","1328121904","1328121901","1328121906"],"photo_ids_order":["1328121901","1328121904","1328121906","1328121908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/adfd6086340d514cfe2ec97b223a7e56.jpg","text":"TemporaryFile(/tmp/multipartBody9166927083793230217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590352062,"filename":"image_11012025_11_11_03_043254_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/05d5a93d86f46ee81885c4523c02d3d1.jpg","text":"TemporaryFile(/tmp/multipartBody8777560702562823620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590352062,"filename":"image_11012025_11_11_03_043254_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1b6a14dc6251d42c26daf34eb476bbfb.jpg","text":"TemporaryFile(/tmp/multipartBody7416831596203742572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590352062,"filename":"image_11012025_11_10_02_919667_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1fa8d0a3a53804f5794decd5ed39a94c.jpg","text":"TemporaryFile(/tmp/multipartBody2576872082391799107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590352062,"filename":"image_11012025_11_11_03_043254_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328121906","file1":"1328121904","file0":"1328121901","file3":"1328121908"},"map_files_photo_id_array":[{"photo_id":"1328121906","filename":"file2"},{"photo_id":"1328121904","filename":"file1"},{"photo_id":"1328121901","filename":"file0"},{"photo_id":"1328121908","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328121908":["hashtag1","hashtag2"]},{"1328121904":["hashtag1","hashtag2"]},{"1328121901":["hashtag1","hashtag2"]},{"1328121906":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328121908, 1328121904, 1328121901, 1328121906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.12489366531372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:12:02.557179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:12:22.135520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/11/image_11012025_11_11_03_043254_0003.jpg', '/home/pi/Desktop/images/11012025/11/12/image_11012025_11_12_02_208817_0000.jpg', '/home/pi/Desktop/images/11012025/11/12/image_11012025_11_12_02_208817_0001.jpg', '/home/pi/Desktop/images/11012025/11/12/image_11012025_11_12_02_208817_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/11/image_11012025_11_11_03_043254_0003.jpg
/home/pi/Desktop/images/11012025/11/12/image_11012025_11_12_02_208817_0000.jpg
/home/pi/Desktop/images/11012025/11/12/image_11012025_11_12_02_208817_0001.jpg
/home/pi/Desktop/images/11012025/11/12/image_11012025_11_12_02_208817_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328122081","1328122068","1328122058","1328122084"],"photo_ids_order":["1328122058","1328122068","1328122081","1328122084"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3d689d455df1748a52df9ec61cdb59ea.jpg","text":"TemporaryFile(/tmp/multipartBody882526113652552977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590412292,"filename":"image_11012025_11_12_02_208817_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b6aa0267f58becbe83e169edca195a4a.jpg","text":"TemporaryFile(/tmp/multipartBody691811185935050584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590412292,"filename":"image_11012025_11_12_02_208817_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6c911aa4091b65da375456dd5a60772b.jpg","text":"TemporaryFile(/tmp/multipartBody6961347542165874435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590412292,"filename":"image_11012025_11_11_03_043254_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c2b420728b4b9c441e7304b6be874b7c.jpg","text":"TemporaryFile(/tmp/multipartBody2817319190314491193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590412292,"filename":"image_11012025_11_12_02_208817_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328122081","file1":"1328122068","file0":"1328122058","file3":"1328122084"},"map_files_photo_id_array":[{"photo_id":"1328122081","filename":"file2"},{"photo_id":"1328122068","filename":"file1"},{"photo_id":"1328122058","filename":"file0"},{"photo_id":"1328122084","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328122081":["hashtag1","hashtag2"]},{"1328122068":["hashtag1","hashtag2"]},{"1328122058":["hashtag1","hashtag2"]},{"1328122084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328122081, 1328122068, 1328122058, 1328122084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.94515514373779 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:13:02.914857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:13:22.232068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/12/image_11012025_11_12_02_208817_0003.jpg', '/home/pi/Desktop/images/11012025/11/13/image_11012025_11_13_02_423022_0000.jpg', '/home/pi/Desktop/images/11012025/11/13/image_11012025_11_13_02_423022_0001.jpg', '/home/pi/Desktop/images/11012025/11/13/image_11012025_11_13_02_423022_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/12/image_11012025_11_12_02_208817_0003.jpg
/home/pi/Desktop/images/11012025/11/13/image_11012025_11_13_02_423022_0000.jpg
/home/pi/Desktop/images/11012025/11/13/image_11012025_11_13_02_423022_0001.jpg
/home/pi/Desktop/images/11012025/11/13/image_11012025_11_13_02_423022_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328122093","1328122095","1328122101","1328122097"],"photo_ids_order":["1328122093","1328122095","1328122097","1328122101"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bee306fc0fce71ac11d7834d9bb54ad1.jpg","text":"TemporaryFile(/tmp/multipartBody1084353465277678745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590472364,"filename":"image_11012025_11_12_02_208817_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ce1dc4427ad18793fc83ce177174c3b6.jpg","text":"TemporaryFile(/tmp/multipartBody3723066932632217587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590472364,"filename":"image_11012025_11_13_02_423022_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ff543c39ea51c3578bcffda77d6ca049.jpg","text":"TemporaryFile(/tmp/multipartBody8218249801685423848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590472364,"filename":"image_11012025_11_13_02_423022_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6f39939f4599b47c83e4036830a756c0.jpg","text":"TemporaryFile(/tmp/multipartBody2959055807559860548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590472364,"filename":"image_11012025_11_13_02_423022_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328122097","file1":"1328122095","file0":"1328122093","file3":"1328122101"},"map_files_photo_id_array":[{"photo_id":"1328122097","filename":"file2"},{"photo_id":"1328122095","filename":"file1"},{"photo_id":"1328122093","filename":"file0"},{"photo_id":"1328122101","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328122093":["hashtag1","hashtag2"]},{"1328122095":["hashtag1","hashtag2"]},{"1328122101":["hashtag1","hashtag2"]},{"1328122097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328122093, 1328122095, 1328122101, 1328122097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.95469427108765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:14:22.436685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/13/image_11012025_11_13_02_423022_0003.jpg', '/home/pi/Desktop/images/11012025/11/14/image_11012025_11_14_02_574957_0000.jpg', '/home/pi/Desktop/images/11012025/11/14/image_11012025_11_14_02_574957_0001.jpg', '/home/pi/Desktop/images/11012025/11/14/image_11012025_11_14_02_574957_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/13/image_11012025_11_13_02_423022_0003.jpg
/home/pi/Desktop/images/11012025/11/14/image_11012025_11_14_02_574957_0000.jpg
/home/pi/Desktop/images/11012025/11/14/image_11012025_11_14_02_574957_0001.jpg
/home/pi/Desktop/images/11012025/11/14/image_11012025_11_14_02_574957_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328122122","1328122130","1328122124","1328122127"],"photo_ids_order":["1328122122","1328122124","1328122127","1328122130"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9d70719e73b8fd371c18c3dd27e32f96.jpg","text":"TemporaryFile(/tmp/multipartBody9144792091553871213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590532524,"filename":"image_11012025_11_13_02_423022_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/58d1c9d44f75d193cefd428e2250267f.jpg","text":"TemporaryFile(/tmp/multipartBody3727936487788903085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590532524,"filename":"image_11012025_11_14_02_574957_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/35aa0e77871546915df3b8fc701ae516.jpg","text":"TemporaryFile(/tmp/multipartBody4686103097446359380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590532524,"filename":"image_11012025_11_14_02_574957_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d4c41bc05a57c6370c4cb6fa3ab5569c.jpg","text":"TemporaryFile(/tmp/multipartBody5828523243387808640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590532524,"filename":"image_11012025_11_14_02_574957_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328122127","file1":"1328122124","file0":"1328122122","file3":"1328122130"},"map_files_photo_id_array":[{"photo_id":"1328122127","filename":"file2"},{"photo_id":"1328122124","filename":"file1"},{"photo_id":"1328122122","filename":"file0"},{"photo_id":"1328122130","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328122122":["hashtag1","hashtag2"]},{"1328122130":["hashtag1","hashtag2"]},{"1328122124":["hashtag1","hashtag2"]},{"1328122127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328122122, 1328122130, 1328122124, 1328122127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.94474530220032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:15:22.723877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/14/image_11012025_11_14_02_574957_0003.jpg', '/home/pi/Desktop/images/11012025/11/15/image_11012025_11_15_02_756993_0000.jpg', '/home/pi/Desktop/images/11012025/11/15/image_11012025_11_15_02_756993_0001.jpg', '/home/pi/Desktop/images/11012025/11/15/image_11012025_11_15_02_756993_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/14/image_11012025_11_14_02_574957_0003.jpg
/home/pi/Desktop/images/11012025/11/15/image_11012025_11_15_02_756993_0000.jpg
/home/pi/Desktop/images/11012025/11/15/image_11012025_11_15_02_756993_0001.jpg
/home/pi/Desktop/images/11012025/11/15/image_11012025_11_15_02_756993_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.776856422424316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 11:15:42.622128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/14/image_11012025_11_14_02_574957_0003.jpg', '/home/pi/Desktop/images/11012025/11/15/image_11012025_11_15_02_756993_0000.jpg', '/home/pi/Desktop/images/11012025/11/15/image_11012025_11_15_02_756993_0001.jpg', '/home/pi/Desktop/images/11012025/11/15/image_11012025_11_15_02_756993_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/14/image_11012025_11_14_02_574957_0003.jpg
/home/pi/Desktop/images/11012025/11/15/image_11012025_11_15_02_756993_0000.jpg
/home/pi/Desktop/images/11012025/11/15/image_11012025_11_15_02_756993_0001.jpg
/home/pi/Desktop/images/11012025/11/15/image_11012025_11_15_02_756993_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328122186","1328122182","1328122191","1328122178"],"photo_ids_order":["1328122178","1328122182","1328122186","1328122191"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a9b7cf52e9f7cf9b173200265d7cd1ae.jpg","text":"TemporaryFile(/tmp/multipartBody7767663643862164538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590612839,"filename":"image_11012025_11_15_02_756993_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/31cd81b294c79dbbc08a82f824e5ce70.jpg","text":"TemporaryFile(/tmp/multipartBody5681127610117927506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590612839,"filename":"image_11012025_11_15_02_756993_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6169d1118dbf588c3a990c07b31159ba.jpg","text":"TemporaryFile(/tmp/multipartBody7884686876087620399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590612839,"filename":"image_11012025_11_15_02_756993_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2d4c156b2fca84fa5fca577b2c094b06.jpg","text":"TemporaryFile(/tmp/multipartBody260505993944166613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590612839,"filename":"image_11012025_11_14_02_574957_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328122186","file1":"1328122182","file0":"1328122178","file3":"1328122191"},"map_files_photo_id_array":[{"photo_id":"1328122186","filename":"file2"},{"photo_id":"1328122182","filename":"file1"},{"photo_id":"1328122178","filename":"file0"},{"photo_id":"1328122191","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328122186":["hashtag1","hashtag2"]},{"1328122182":["hashtag1","hashtag2"]},{"1328122191":["hashtag1","hashtag2"]},{"1328122178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328122186, 1328122182, 1328122191, 1328122178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.39863586425781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 11:16:31.833445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/15/image_11012025_11_15_02_756993_0003.jpg', '/home/pi/Desktop/images/11012025/11/16/image_11012025_11_16_03_043829_0000.jpg', '/home/pi/Desktop/images/11012025/11/16/image_11012025_11_16_03_043829_0001.jpg', '/home/pi/Desktop/images/11012025/11/16/image_11012025_11_16_03_043829_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/15/image_11012025_11_15_02_756993_0003.jpg
/home/pi/Desktop/images/11012025/11/16/image_11012025_11_16_03_043829_0000.jpg
/home/pi/Desktop/images/11012025/11/16/image_11012025_11_16_03_043829_0001.jpg
/home/pi/Desktop/images/11012025/11/16/image_11012025_11_16_03_043829_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328122206","1328122199","1328122203","1328122196"],"photo_ids_order":["1328122196","1328122199","1328122203","1328122206"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/92430c961ae6710127c5deceb2999964.jpg","text":"TemporaryFile(/tmp/multipartBody9091843727479376295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590661884,"filename":"image_11012025_11_16_03_043829_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0f78b3e69f7d4c8a7ca7609bb757c23a.jpg","text":"TemporaryFile(/tmp/multipartBody4809447068937288586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590661884,"filename":"image_11012025_11_16_03_043829_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/606b93fb757637fed78107003685a2dc.jpg","text":"TemporaryFile(/tmp/multipartBody8311496923688602350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590661884,"filename":"image_11012025_11_16_03_043829_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2e5eb78f84e3c79f6e928e5abd1221c9.jpg","text":"TemporaryFile(/tmp/multipartBody6265962183813804391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590661884,"filename":"image_11012025_11_15_02_756993_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328122203","file1":"1328122199","file0":"1328122196","file3":"1328122206"},"map_files_photo_id_array":[{"photo_id":"1328122203","filename":"file2"},{"photo_id":"1328122199","filename":"file1"},{"photo_id":"1328122196","filename":"file0"},{"photo_id":"1328122206","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328122206":["hashtag1","hashtag2"]},{"1328122199":["hashtag1","hashtag2"]},{"1328122203":["hashtag1","hashtag2"]},{"1328122196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328122206, 1328122199, 1328122203, 1328122196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.66298198699951 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:17:22.047716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/16/image_11012025_11_16_03_043829_0003.jpg', '/home/pi/Desktop/images/11012025/11/17/image_11012025_11_17_02_194832_0000.jpg', '/home/pi/Desktop/images/11012025/11/17/image_11012025_11_17_02_194832_0001.jpg', '/home/pi/Desktop/images/11012025/11/17/image_11012025_11_17_02_194832_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/16/image_11012025_11_16_03_043829_0003.jpg
/home/pi/Desktop/images/11012025/11/17/image_11012025_11_17_02_194832_0000.jpg
/home/pi/Desktop/images/11012025/11/17/image_11012025_11_17_02_194832_0001.jpg
/home/pi/Desktop/images/11012025/11/17/image_11012025_11_17_02_194832_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328122225","1328122219","1328122221","1328122223"],"photo_ids_order":["1328122219","1328122221","1328122223","1328122225"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/61d2614270cd6b3572923d4c7b8ab08e.jpg","text":"TemporaryFile(/tmp/multipartBody6571371384282052615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590712205,"filename":"image_11012025_11_17_02_194832_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c05c0b8c8472173795019edd8c75d514.jpg","text":"TemporaryFile(/tmp/multipartBody3721124560518090401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590712205,"filename":"image_11012025_11_16_03_043829_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b4b0070926930521b918576772474365.jpg","text":"TemporaryFile(/tmp/multipartBody3708396578386581213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590712205,"filename":"image_11012025_11_17_02_194832_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d9d0bec647ae068c0a446a7394229394.jpg","text":"TemporaryFile(/tmp/multipartBody4348216913934340703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590712205,"filename":"image_11012025_11_17_02_194832_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328122223","file1":"1328122221","file0":"1328122219","file3":"1328122225"},"map_files_photo_id_array":[{"photo_id":"1328122223","filename":"file2"},{"photo_id":"1328122221","filename":"file1"},{"photo_id":"1328122219","filename":"file0"},{"photo_id":"1328122225","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328122225":["hashtag1","hashtag2"]},{"1328122219":["hashtag1","hashtag2"]},{"1328122221":["hashtag1","hashtag2"]},{"1328122223":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328122225, 1328122219, 1328122221, 1328122223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.98429298400879 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:18:02.657748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:18:22.133262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/17/image_11012025_11_17_02_194832_0003.jpg', '/home/pi/Desktop/images/11012025/11/18/image_11012025_11_18_02_363671_0000.jpg', '/home/pi/Desktop/images/11012025/11/18/image_11012025_11_18_02_363671_0001.jpg', '/home/pi/Desktop/images/11012025/11/18/image_11012025_11_18_02_363671_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/17/image_11012025_11_17_02_194832_0003.jpg
/home/pi/Desktop/images/11012025/11/18/image_11012025_11_18_02_363671_0000.jpg
/home/pi/Desktop/images/11012025/11/18/image_11012025_11_18_02_363671_0001.jpg
/home/pi/Desktop/images/11012025/11/18/image_11012025_11_18_02_363671_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328122881","1328123016","1328123153","1328123563"],"photo_ids_order":["1328122881","1328123016","1328123153","1328123563"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0a60f611558103f6862035997353780d.jpg","text":"TemporaryFile(/tmp/multipartBody4882224301955686556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590772285,"filename":"image_11012025_11_17_02_194832_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2e25ab81ba45f6ac98b7dcce0cf6ac3c.jpg","text":"TemporaryFile(/tmp/multipartBody4304832749698400863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590772285,"filename":"image_11012025_11_18_02_363671_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1e30a7a786f97090cfa594ca02cbff10.jpg","text":"TemporaryFile(/tmp/multipartBody4784529734056590706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590772285,"filename":"image_11012025_11_18_02_363671_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3aafca71834819f1c13be4f8af1461b5.jpg","text":"TemporaryFile(/tmp/multipartBody4460849971053550923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590772285,"filename":"image_11012025_11_18_02_363671_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328123153","file1":"1328123016","file0":"1328122881","file3":"1328123563"},"map_files_photo_id_array":[{"photo_id":"1328123153","filename":"file2"},{"photo_id":"1328123016","filename":"file1"},{"photo_id":"1328122881","filename":"file0"},{"photo_id":"1328123563","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328122881":["hashtag1","hashtag2"]},{"1328123016":["hashtag1","hashtag2"]},{"1328123153":["hashtag1","hashtag2"]},{"1328123563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328122881, 1328123016, 1328123153, 1328123563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.2663094997406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:19:02.986709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:19:22.391296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/18/image_11012025_11_18_02_363671_0003.jpg', '/home/pi/Desktop/images/11012025/11/19/image_11012025_11_19_02_625276_0000.jpg', '/home/pi/Desktop/images/11012025/11/19/image_11012025_11_19_02_625276_0001.jpg', '/home/pi/Desktop/images/11012025/11/19/image_11012025_11_19_02_625276_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/18/image_11012025_11_18_02_363671_0003.jpg
/home/pi/Desktop/images/11012025/11/19/image_11012025_11_19_02_625276_0000.jpg
/home/pi/Desktop/images/11012025/11/19/image_11012025_11_19_02_625276_0001.jpg
/home/pi/Desktop/images/11012025/11/19/image_11012025_11_19_02_625276_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328124054","1328124057","1328124302","1328124268"],"photo_ids_order":["1328124054","1328124057","1328124268","1328124302"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/88cda9f4364bdf63c3c80cede5a57e6f.jpg","text":"TemporaryFile(/tmp/multipartBody2711475777394810997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590832524,"filename":"image_11012025_11_18_02_363671_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/de6c05e754bb4f80d50af4ef21bfa1c7.jpg","text":"TemporaryFile(/tmp/multipartBody6527377638295113332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590832524,"filename":"image_11012025_11_19_02_625276_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e1bda7ded8b49e5b244cdf6af9d3c5dc.jpg","text":"TemporaryFile(/tmp/multipartBody4845005081056760292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590832524,"filename":"image_11012025_11_19_02_625276_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ae7e633f60b2fa868d6956d429321838.jpg","text":"TemporaryFile(/tmp/multipartBody946431326343659005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590832524,"filename":"image_11012025_11_19_02_625276_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328124268","file1":"1328124057","file0":"1328124054","file3":"1328124302"},"map_files_photo_id_array":[{"photo_id":"1328124268","filename":"file2"},{"photo_id":"1328124057","filename":"file1"},{"photo_id":"1328124054","filename":"file0"},{"photo_id":"1328124302","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328124054":["hashtag1","hashtag2"]},{"1328124057":["hashtag1","hashtag2"]},{"1328124302":["hashtag1","hashtag2"]},{"1328124268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328124054, 1328124057, 1328124302, 1328124268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.843955755233765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:20:03.115103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:20:22.604576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/19/image_11012025_11_19_02_625276_0003.jpg', '/home/pi/Desktop/images/11012025/11/20/image_11012025_11_20_02_702829_0000.jpg', '/home/pi/Desktop/images/11012025/11/20/image_11012025_11_20_02_702829_0001.jpg', '/home/pi/Desktop/images/11012025/11/20/image_11012025_11_20_02_702829_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/19/image_11012025_11_19_02_625276_0003.jpg
/home/pi/Desktop/images/11012025/11/20/image_11012025_11_20_02_702829_0000.jpg
/home/pi/Desktop/images/11012025/11/20/image_11012025_11_20_02_702829_0001.jpg
/home/pi/Desktop/images/11012025/11/20/image_11012025_11_20_02_702829_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328124834","1328124832","1328124802","1328124792"],"photo_ids_order":["1328124792","1328124802","1328124832","1328124834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fa7a9522f98c3c5809b02aeb0312dc66.jpg","text":"TemporaryFile(/tmp/multipartBody7827276498535233322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590892782,"filename":"image_11012025_11_20_02_702829_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/71ed8d0636fe7f30cd19fed0e072b540.jpg","text":"TemporaryFile(/tmp/multipartBody8045132313831728844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590892782,"filename":"image_11012025_11_20_02_702829_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a9ea192396ccd240ea16971bfd8b990a.jpg","text":"TemporaryFile(/tmp/multipartBody9051808816447129454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590892782,"filename":"image_11012025_11_20_02_702829_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/30e6fa2babaf69e7deba2a372de455aa.jpg","text":"TemporaryFile(/tmp/multipartBody3108898127915781322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590892782,"filename":"image_11012025_11_19_02_625276_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328124832","file1":"1328124802","file0":"1328124792","file3":"1328124834"},"map_files_photo_id_array":[{"photo_id":"1328124832","filename":"file2"},{"photo_id":"1328124802","filename":"file1"},{"photo_id":"1328124792","filename":"file0"},{"photo_id":"1328124834","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328124834":["hashtag1","hashtag2"]},{"1328124832":["hashtag1","hashtag2"]},{"1328124802":["hashtag1","hashtag2"]},{"1328124792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328124834, 1328124832, 1328124802, 1328124792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.71224331855774 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-11 11:21:22.788703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/20/image_11012025_11_20_02_702829_0003.jpg', '/home/pi/Desktop/images/11012025/11/21/image_11012025_11_21_02_958942_0000.jpg', '/home/pi/Desktop/images/11012025/11/21/image_11012025_11_21_02_958942_0001.jpg', '/home/pi/Desktop/images/11012025/11/21/image_11012025_11_21_02_958942_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/20/image_11012025_11_20_02_702829_0003.jpg
/home/pi/Desktop/images/11012025/11/21/image_11012025_11_21_02_958942_0000.jpg
/home/pi/Desktop/images/11012025/11/21/image_11012025_11_21_02_958942_0001.jpg
/home/pi/Desktop/images/11012025/11/21/image_11012025_11_21_02_958942_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.769683837890625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 11:21:42.769386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/20/image_11012025_11_20_02_702829_0003.jpg', '/home/pi/Desktop/images/11012025/11/21/image_11012025_11_21_02_958942_0000.jpg', '/home/pi/Desktop/images/11012025/11/21/image_11012025_11_21_02_958942_0001.jpg', '/home/pi/Desktop/images/11012025/11/21/image_11012025_11_21_02_958942_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/20/image_11012025_11_20_02_702829_0003.jpg
/home/pi/Desktop/images/11012025/11/21/image_11012025_11_21_02_958942_0000.jpg
/home/pi/Desktop/images/11012025/11/21/image_11012025_11_21_02_958942_0001.jpg
/home/pi/Desktop/images/11012025/11/21/image_11012025_11_21_02_958942_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328124966","1328124968","1328124970","1328124963"],"photo_ids_order":["1328124963","1328124966","1328124968","1328124970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d410bc663e19397df340a78429e1064d.jpg","text":"TemporaryFile(/tmp/multipartBody2854068904765590359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590972950,"filename":"image_11012025_11_21_02_958942_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0af101b7e5947b9baf96d4a7cb0b580a.jpg","text":"TemporaryFile(/tmp/multipartBody7065480212513383946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590972950,"filename":"image_11012025_11_21_02_958942_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/43ae484908c16ac46deab48a0e060bd4.jpg","text":"TemporaryFile(/tmp/multipartBody6395949933323665612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590972950,"filename":"image_11012025_11_21_02_958942_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d899e7692a26019466727779e5228970.jpg","text":"TemporaryFile(/tmp/multipartBody8275192968274583890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736590972950,"filename":"image_11012025_11_20_02_702829_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328124968","file1":"1328124966","file0":"1328124963","file3":"1328124970"},"map_files_photo_id_array":[{"photo_id":"1328124968","filename":"file2"},{"photo_id":"1328124966","filename":"file1"},{"photo_id":"1328124963","filename":"file0"},{"photo_id":"1328124970","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328124966":["hashtag1","hashtag2"]},{"1328124968":["hashtag1","hashtag2"]},{"1328124970":["hashtag1","hashtag2"]},{"1328124963":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328124966, 1328124968, 1328124970, 1328124963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.38298535346985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 11:22:31.898830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/21/image_11012025_11_21_02_958942_0003.jpg', '/home/pi/Desktop/images/11012025/11/22/image_11012025_11_22_03_154916_0000.jpg', '/home/pi/Desktop/images/11012025/11/22/image_11012025_11_22_03_154916_0001.jpg', '/home/pi/Desktop/images/11012025/11/22/image_11012025_11_22_03_154916_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/21/image_11012025_11_21_02_958942_0003.jpg
/home/pi/Desktop/images/11012025/11/22/image_11012025_11_22_03_154916_0000.jpg
/home/pi/Desktop/images/11012025/11/22/image_11012025_11_22_03_154916_0001.jpg
/home/pi/Desktop/images/11012025/11/22/image_11012025_11_22_03_154916_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328124980","1328124985","1328124988","1328124982"],"photo_ids_order":["1328124980","1328124982","1328124985","1328124988"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7042db62d9b08d0fe43bc61e54daac1d.jpg","text":"TemporaryFile(/tmp/multipartBody7750103247657492634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591022131,"filename":"image_11012025_11_21_02_958942_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/31bb223c4d700fff1631a58fff14d59f.jpg","text":"TemporaryFile(/tmp/multipartBody9171181279242135854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591022131,"filename":"image_11012025_11_22_03_154916_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b4a1c2ea78f673cb8c63b90a6f54be4a.jpg","text":"TemporaryFile(/tmp/multipartBody5797193506721062627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591022131,"filename":"image_11012025_11_22_03_154916_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/513cd75392c26da26b58f09867f24845.jpg","text":"TemporaryFile(/tmp/multipartBody2721510120878811680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591022131,"filename":"image_11012025_11_22_03_154916_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328124985","file1":"1328124982","file0":"1328124980","file3":"1328124988"},"map_files_photo_id_array":[{"photo_id":"1328124985","filename":"file2"},{"photo_id":"1328124982","filename":"file1"},{"photo_id":"1328124980","filename":"file0"},{"photo_id":"1328124988","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328124980":["hashtag1","hashtag2"]},{"1328124985":["hashtag1","hashtag2"]},{"1328124988":["hashtag1","hashtag2"]},{"1328124982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328124980, 1328124985, 1328124988, 1328124982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.18681478500366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:23:22.080818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/22/image_11012025_11_22_03_154916_0003.jpg', '/home/pi/Desktop/images/11012025/11/23/image_11012025_11_23_02_274367_0000.jpg', '/home/pi/Desktop/images/11012025/11/23/image_11012025_11_23_02_274367_0001.jpg', '/home/pi/Desktop/images/11012025/11/23/image_11012025_11_23_02_274367_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/22/image_11012025_11_22_03_154916_0003.jpg
/home/pi/Desktop/images/11012025/11/23/image_11012025_11_23_02_274367_0000.jpg
/home/pi/Desktop/images/11012025/11/23/image_11012025_11_23_02_274367_0001.jpg
/home/pi/Desktop/images/11012025/11/23/image_11012025_11_23_02_274367_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328125002","1328124998","1328125006","1328124996"],"photo_ids_order":["1328124996","1328124998","1328125002","1328125006"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/198adf8133d388793d783f69cbcca00e.jpg","text":"TemporaryFile(/tmp/multipartBody4393704800273393011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591072356,"filename":"image_11012025_11_23_02_274367_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f0f1389df5cdae1fdf8fff1d24099a05.jpg","text":"TemporaryFile(/tmp/multipartBody7739931079343696612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591072356,"filename":"image_11012025_11_23_02_274367_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e9f68514acf2b21aaac3c6b2276ef1ec.jpg","text":"TemporaryFile(/tmp/multipartBody4381645311462428314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591072356,"filename":"image_11012025_11_23_02_274367_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/81668d8e547e7ce0ed0b68a6f85d6894.jpg","text":"TemporaryFile(/tmp/multipartBody3870679243941620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591072356,"filename":"image_11012025_11_22_03_154916_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328125002","file1":"1328124998","file0":"1328124996","file3":"1328125006"},"map_files_photo_id_array":[{"photo_id":"1328125002","filename":"file2"},{"photo_id":"1328124998","filename":"file1"},{"photo_id":"1328124996","filename":"file0"},{"photo_id":"1328125006","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328125002":["hashtag1","hashtag2"]},{"1328124998":["hashtag1","hashtag2"]},{"1328125006":["hashtag1","hashtag2"]},{"1328124996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328125002, 1328124998, 1328125006, 1328124996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.17170572280884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:24:22.253348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/23/image_11012025_11_23_02_274367_0003.jpg', '/home/pi/Desktop/images/11012025/11/24/image_11012025_11_24_02_545717_0000.jpg', '/home/pi/Desktop/images/11012025/11/24/image_11012025_11_24_02_545717_0001.jpg', '/home/pi/Desktop/images/11012025/11/24/image_11012025_11_24_02_545717_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/23/image_11012025_11_23_02_274367_0003.jpg
/home/pi/Desktop/images/11012025/11/24/image_11012025_11_24_02_545717_0000.jpg
/home/pi/Desktop/images/11012025/11/24/image_11012025_11_24_02_545717_0001.jpg
/home/pi/Desktop/images/11012025/11/24/image_11012025_11_24_02_545717_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328125016","1328125042","1328125039","1328125027"],"photo_ids_order":["1328125016","1328125027","1328125039","1328125042"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ea0602719fa3ca6cddcbfad831ff2fe1.jpg","text":"TemporaryFile(/tmp/multipartBody5919308408759898567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591132424,"filename":"image_11012025_11_23_02_274367_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d9894e253649019e3a68b9a82f55c22a.jpg","text":"TemporaryFile(/tmp/multipartBody8423065646509044266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591132424,"filename":"image_11012025_11_24_02_545717_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/be1673bdfd7b7024943798a4dbb1d14f.jpg","text":"TemporaryFile(/tmp/multipartBody5981210800154094148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591132424,"filename":"image_11012025_11_24_02_545717_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fb4c3af584ecfbf7fb7453646f16c5b7.jpg","text":"TemporaryFile(/tmp/multipartBody5511060498721535782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591132424,"filename":"image_11012025_11_24_02_545717_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328125039","file1":"1328125027","file0":"1328125016","file3":"1328125042"},"map_files_photo_id_array":[{"photo_id":"1328125039","filename":"file2"},{"photo_id":"1328125027","filename":"file1"},{"photo_id":"1328125016","filename":"file0"},{"photo_id":"1328125042","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328125016":["hashtag1","hashtag2"]},{"1328125042":["hashtag1","hashtag2"]},{"1328125039":["hashtag1","hashtag2"]},{"1328125027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328125016, 1328125042, 1328125039, 1328125027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.857595682144165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:25:02.997883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:25:22.424103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/24/image_11012025_11_24_02_545717_0003.jpg', '/home/pi/Desktop/images/11012025/11/25/image_11012025_11_25_02_605048_0000.jpg', '/home/pi/Desktop/images/11012025/11/25/image_11012025_11_25_02_605048_0001.jpg', '/home/pi/Desktop/images/11012025/11/25/image_11012025_11_25_02_605048_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/24/image_11012025_11_24_02_545717_0003.jpg
/home/pi/Desktop/images/11012025/11/25/image_11012025_11_25_02_605048_0000.jpg
/home/pi/Desktop/images/11012025/11/25/image_11012025_11_25_02_605048_0001.jpg
/home/pi/Desktop/images/11012025/11/25/image_11012025_11_25_02_605048_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328125055","1328125064","1328125060","1328125057"],"photo_ids_order":["1328125055","1328125057","1328125060","1328125064"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/99269ef31cef752dfed0ae394ee465ba.jpg","text":"TemporaryFile(/tmp/multipartBody7315672599764981863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591192682,"filename":"image_11012025_11_24_02_545717_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ca08fd4033247c0bf31a8447a21fb5fb.jpg","text":"TemporaryFile(/tmp/multipartBody594739511159902485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591192682,"filename":"image_11012025_11_25_02_605048_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e42c774b549a7043c385474b97bee293.jpg","text":"TemporaryFile(/tmp/multipartBody6060552243401566948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591192682,"filename":"image_11012025_11_25_02_605048_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/94a435784614a20a1e469ea1068cb436.jpg","text":"TemporaryFile(/tmp/multipartBody7837222473911399465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591192682,"filename":"image_11012025_11_25_02_605048_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328125060","file1":"1328125057","file0":"1328125055","file3":"1328125064"},"map_files_photo_id_array":[{"photo_id":"1328125060","filename":"file2"},{"photo_id":"1328125057","filename":"file1"},{"photo_id":"1328125055","filename":"file0"},{"photo_id":"1328125064","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328125055":["hashtag1","hashtag2"]},{"1328125064":["hashtag1","hashtag2"]},{"1328125060":["hashtag1","hashtag2"]},{"1328125057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328125055, 1328125064, 1328125060, 1328125057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.416187047958374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:26:22.586553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/25/image_11012025_11_25_02_605048_0003.jpg', '/home/pi/Desktop/images/11012025/11/26/image_11012025_11_26_02_822782_0000.jpg', '/home/pi/Desktop/images/11012025/11/26/image_11012025_11_26_02_822782_0001.jpg', '/home/pi/Desktop/images/11012025/11/26/image_11012025_11_26_02_822782_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/25/image_11012025_11_25_02_605048_0003.jpg
/home/pi/Desktop/images/11012025/11/26/image_11012025_11_26_02_822782_0000.jpg
/home/pi/Desktop/images/11012025/11/26/image_11012025_11_26_02_822782_0001.jpg
/home/pi/Desktop/images/11012025/11/26/image_11012025_11_26_02_822782_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328125073","1328125081","1328125077","1328125071"],"photo_ids_order":["1328125071","1328125073","1328125077","1328125081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/76937935f3addd97a717792187ddc2fe.jpg","text":"TemporaryFile(/tmp/multipartBody3300856298263173772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591252933,"filename":"image_11012025_11_26_02_822782_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d1d9bbf208c660836cb56f600726e387.jpg","text":"TemporaryFile(/tmp/multipartBody3837451704114795661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591252933,"filename":"image_11012025_11_26_02_822782_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f7aef02a4f82012a180029435ca9c6f5.jpg","text":"TemporaryFile(/tmp/multipartBody7549590968436749316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591252933,"filename":"image_11012025_11_26_02_822782_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0db2b83907a6f4cb23464e14ed8f7ec7.jpg","text":"TemporaryFile(/tmp/multipartBody3524631886128329099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591252933,"filename":"image_11012025_11_25_02_605048_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328125077","file1":"1328125073","file0":"1328125071","file3":"1328125081"},"map_files_photo_id_array":[{"photo_id":"1328125077","filename":"file2"},{"photo_id":"1328125073","filename":"file1"},{"photo_id":"1328125071","filename":"file0"},{"photo_id":"1328125081","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328125073":["hashtag1","hashtag2"]},{"1328125081":["hashtag1","hashtag2"]},{"1328125077":["hashtag1","hashtag2"]},{"1328125071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328125073, 1328125081, 1328125077, 1328125071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.66748785972595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:27:22.782977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/26/image_11012025_11_26_02_822782_0003.jpg', '/home/pi/Desktop/images/11012025/11/27/image_11012025_11_27_02_987402_0000.jpg', '/home/pi/Desktop/images/11012025/11/27/image_11012025_11_27_02_987402_0001.jpg', '/home/pi/Desktop/images/11012025/11/27/image_11012025_11_27_02_987402_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/26/image_11012025_11_26_02_822782_0003.jpg
/home/pi/Desktop/images/11012025/11/27/image_11012025_11_27_02_987402_0000.jpg
/home/pi/Desktop/images/11012025/11/27/image_11012025_11_27_02_987402_0001.jpg
/home/pi/Desktop/images/11012025/11/27/image_11012025_11_27_02_987402_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328125721","1328125601","1328125837","1328125470"],"photo_ids_order":["1328125470","1328125601","1328125721","1328125837"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9485a1e4f1faebc790c3f3b4ae1de797.jpg","text":"TemporaryFile(/tmp/multipartBody9071254013506946073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591312883,"filename":"image_11012025_11_27_02_987402_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d0ef5c5fe953ae0317e7e3eb866a01d6.jpg","text":"TemporaryFile(/tmp/multipartBody3059985304922025382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591312883,"filename":"image_11012025_11_27_02_987402_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/848eaaf24cbcd5d21a0329f9b5c6dcd2.jpg","text":"TemporaryFile(/tmp/multipartBody8560635876244994853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591312883,"filename":"image_11012025_11_27_02_987402_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1afeea3863afc8784e84fe90f0ec67c5.jpg","text":"TemporaryFile(/tmp/multipartBody1797873853374988600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591312883,"filename":"image_11012025_11_26_02_822782_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328125721","file1":"1328125601","file0":"1328125470","file3":"1328125837"},"map_files_photo_id_array":[{"photo_id":"1328125721","filename":"file2"},{"photo_id":"1328125601","filename":"file1"},{"photo_id":"1328125470","filename":"file0"},{"photo_id":"1328125837","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328125721":["hashtag1","hashtag2"]},{"1328125601":["hashtag1","hashtag2"]},{"1328125837":["hashtag1","hashtag2"]},{"1328125470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328125721, 1328125601, 1328125837, 1328125470)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 38.71053409576416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:28:22.023976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/27/image_11012025_11_27_02_987402_0003.jpg', '/home/pi/Desktop/images/11012025/11/28/image_11012025_11_28_03_122559_0000.jpg', '/home/pi/Desktop/images/11012025/11/28/image_11012025_11_28_03_122559_0001.jpg', '/home/pi/Desktop/images/11012025/11/28/image_11012025_11_28_03_122559_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/27/image_11012025_11_27_02_987402_0003.jpg
/home/pi/Desktop/images/11012025/11/28/image_11012025_11_28_03_122559_0000.jpg
/home/pi/Desktop/images/11012025/11/28/image_11012025_11_28_03_122559_0001.jpg
/home/pi/Desktop/images/11012025/11/28/image_11012025_11_28_03_122559_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328126342","1328126345","1328126348","1328126340"],"photo_ids_order":["1328126340","1328126342","1328126345","1328126348"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/54d4c110237f89bdf2f1266b42f609ac.jpg","text":"TemporaryFile(/tmp/multipartBody8238952887336607179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591372313,"filename":"image_11012025_11_28_03_122559_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6d1e998bf5e498119e5d0c0c39cc424e.jpg","text":"TemporaryFile(/tmp/multipartBody5651020280986594841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591372313,"filename":"image_11012025_11_28_03_122559_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9d9b5b4b600999d9f59c67cb658f20e7.jpg","text":"TemporaryFile(/tmp/multipartBody7938737042634871418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591372313,"filename":"image_11012025_11_28_03_122559_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b568790788fcb6ddee4600e6302c8282.jpg","text":"TemporaryFile(/tmp/multipartBody3325952126493881564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591372313,"filename":"image_11012025_11_27_02_987402_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328126345","file1":"1328126342","file0":"1328126340","file3":"1328126348"},"map_files_photo_id_array":[{"photo_id":"1328126345","filename":"file2"},{"photo_id":"1328126342","filename":"file1"},{"photo_id":"1328126340","filename":"file0"},{"photo_id":"1328126348","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328126342":["hashtag1","hashtag2"]},{"1328126345":["hashtag1","hashtag2"]},{"1328126348":["hashtag1","hashtag2"]},{"1328126340":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328126342, 1328126345, 1328126348, 1328126340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.05730986595154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:29:22.201382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/28/image_11012025_11_28_03_122559_0003.jpg', '/home/pi/Desktop/images/11012025/11/29/image_11012025_11_29_02_335000_0000.jpg', '/home/pi/Desktop/images/11012025/11/29/image_11012025_11_29_02_335000_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/28/image_11012025_11_28_03_122559_0003.jpg
/home/pi/Desktop/images/11012025/11/29/image_11012025_11_29_02_335000_0000.jpg
/home/pi/Desktop/images/11012025/11/29/image_11012025_11_29_02_335000_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":["1328126673","1328126670","1328126652"],"photo_ids_order":["1328126652","1328126670","1328126673"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/22b26ecc8c2807626fd6ca9028456200.jpg","text":"TemporaryFile(/tmp/multipartBody7921411285707966209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591430066,"filename":"image_11012025_11_29_02_335000_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/86bfd97978f0bd1d2892473cead43aa3.jpg","text":"TemporaryFile(/tmp/multipartBody8836950648127282705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591430066,"filename":"image_11012025_11_29_02_335000_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/19dbb45f03930762eb89a9890a9afbfa.jpg","text":"TemporaryFile(/tmp/multipartBody7688236761713408746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591430066,"filename":"image_11012025_11_28_03_122559_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328126673","file1":"1328126670","file0":"1328126652"},"map_files_photo_id_array":[{"photo_id":"1328126673","filename":"file2"},{"photo_id":"1328126670","filename":"file1"},{"photo_id":"1328126652","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328126673":["hashtag1","hashtag2"]},{"1328126670":["hashtag1","hashtag2"]},{"1328126652":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328126673, 1328126670, 1328126652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.173073291778564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:30:02.783456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:30:22.265200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/29/image_11012025_11_29_02_335000_0002.jpg', '/home/pi/Desktop/images/11012025/11/30/image_11012025_11_30_02_452716_0000.jpg', '/home/pi/Desktop/images/11012025/11/30/image_11012025_11_30_02_452716_0001.jpg', '/home/pi/Desktop/images/11012025/11/30/image_11012025_11_30_02_452716_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/29/image_11012025_11_29_02_335000_0002.jpg
/home/pi/Desktop/images/11012025/11/30/image_11012025_11_30_02_452716_0000.jpg
/home/pi/Desktop/images/11012025/11/30/image_11012025_11_30_02_452716_0001.jpg
/home/pi/Desktop/images/11012025/11/30/image_11012025_11_30_02_452716_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328127355","1328127360","1328127339","1328127330"],"photo_ids_order":["1328127330","1328127339","1328127355","1328127360"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b3e0e2b96a7143a81d461462a25b6dc5.jpg","text":"TemporaryFile(/tmp/multipartBody4092184473178897854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591492512,"filename":"image_11012025_11_30_02_452716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/41431b0b3a86346d56eee4340f967317.jpg","text":"TemporaryFile(/tmp/multipartBody5581245593289066586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591492512,"filename":"image_11012025_11_30_02_452716_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/16e5fceb17639d32f4117622b04dadd1.jpg","text":"TemporaryFile(/tmp/multipartBody888459031400336101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591492512,"filename":"image_11012025_11_30_02_452716_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/65b390f038f198366868435ff08f8f5a.jpg","text":"TemporaryFile(/tmp/multipartBody1842868458112278852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591492512,"filename":"image_11012025_11_29_02_335000_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328127355","file1":"1328127339","file0":"1328127330","file3":"1328127360"},"map_files_photo_id_array":[{"photo_id":"1328127355","filename":"file2"},{"photo_id":"1328127339","filename":"file1"},{"photo_id":"1328127330","filename":"file0"},{"photo_id":"1328127360","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328127355":["hashtag1","hashtag2"]},{"1328127360":["hashtag1","hashtag2"]},{"1328127339":["hashtag1","hashtag2"]},{"1328127330":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328127355, 1328127360, 1328127339, 1328127330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.84363412857056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:31:02.806355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:31:22.374064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/30/image_11012025_11_30_02_452716_0003.jpg', '/home/pi/Desktop/images/11012025/11/31/image_11012025_11_31_02_642110_0000.jpg', '/home/pi/Desktop/images/11012025/11/31/image_11012025_11_31_02_642110_0001.jpg', '/home/pi/Desktop/images/11012025/11/31/image_11012025_11_31_02_642110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/30/image_11012025_11_30_02_452716_0003.jpg
/home/pi/Desktop/images/11012025/11/31/image_11012025_11_31_02_642110_0000.jpg
/home/pi/Desktop/images/11012025/11/31/image_11012025_11_31_02_642110_0001.jpg
/home/pi/Desktop/images/11012025/11/31/image_11012025_11_31_02_642110_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.803654670715332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 11:31:42.442334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/30/image_11012025_11_30_02_452716_0003.jpg', '/home/pi/Desktop/images/11012025/11/31/image_11012025_11_31_02_642110_0000.jpg', '/home/pi/Desktop/images/11012025/11/31/image_11012025_11_31_02_642110_0001.jpg', '/home/pi/Desktop/images/11012025/11/31/image_11012025_11_31_02_642110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/30/image_11012025_11_30_02_452716_0003.jpg
/home/pi/Desktop/images/11012025/11/31/image_11012025_11_31_02_642110_0000.jpg
/home/pi/Desktop/images/11012025/11/31/image_11012025_11_31_02_642110_0001.jpg
/home/pi/Desktop/images/11012025/11/31/image_11012025_11_31_02_642110_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328127816","1328127743","1328127746","1328127740"],"photo_ids_order":["1328127740","1328127743","1328127746","1328127816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bd5fcb8b7f3de88119e2348dd6bb1e6f.jpg","text":"TemporaryFile(/tmp/multipartBody7980411901210541094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591572656,"filename":"image_11012025_11_31_02_642110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4f664f4f0dc770997dc2f47efaf39fa6.jpg","text":"TemporaryFile(/tmp/multipartBody7895292851904261694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591572656,"filename":"image_11012025_11_31_02_642110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fc523d4fde7fe1e8344ddf9d7bfae35f.jpg","text":"TemporaryFile(/tmp/multipartBody4983470849629626882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591572656,"filename":"image_11012025_11_31_02_642110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5e3b75c4093dc082ed95324079ce857a.jpg","text":"TemporaryFile(/tmp/multipartBody6369101854219725861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591572656,"filename":"image_11012025_11_30_02_452716_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328127746","file1":"1328127743","file0":"1328127740","file3":"1328127816"},"map_files_photo_id_array":[{"photo_id":"1328127746","filename":"file2"},{"photo_id":"1328127743","filename":"file1"},{"photo_id":"1328127740","filename":"file0"},{"photo_id":"1328127816","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328127816":["hashtag1","hashtag2"]},{"1328127743":["hashtag1","hashtag2"]},{"1328127746":["hashtag1","hashtag2"]},{"1328127740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328127816, 1328127743, 1328127746, 1328127740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.80307626724243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:32:22.674832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/31/image_11012025_11_31_02_642110_0003.jpg', '/home/pi/Desktop/images/11012025/11/32/image_11012025_11_32_02_775074_0000.jpg', '/home/pi/Desktop/images/11012025/11/32/image_11012025_11_32_02_775074_0001.jpg', '/home/pi/Desktop/images/11012025/11/32/image_11012025_11_32_02_775074_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/31/image_11012025_11_31_02_642110_0003.jpg
/home/pi/Desktop/images/11012025/11/32/image_11012025_11_32_02_775074_0000.jpg
/home/pi/Desktop/images/11012025/11/32/image_11012025_11_32_02_775074_0001.jpg
/home/pi/Desktop/images/11012025/11/32/image_11012025_11_32_02_775074_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328127847","1328127859","1328127850","1328127854"],"photo_ids_order":["1328127847","1328127850","1328127854","1328127859"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2f4a94efe79bd746d27ad5adc786e060.jpg","text":"TemporaryFile(/tmp/multipartBody391217107687462950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591612840,"filename":"image_11012025_11_31_02_642110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bd33c8da3d84fba591dbf292e91b25b4.jpg","text":"TemporaryFile(/tmp/multipartBody223957765143370595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591612840,"filename":"image_11012025_11_32_02_775074_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/134465101bcf4f25b9b7c92da3f6e43b.jpg","text":"TemporaryFile(/tmp/multipartBody6768601805633376027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591612840,"filename":"image_11012025_11_32_02_775074_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2bce228ee72442d4b09bd93c670a784f.jpg","text":"TemporaryFile(/tmp/multipartBody1572256651703768468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591612840,"filename":"image_11012025_11_32_02_775074_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328127854","file1":"1328127850","file0":"1328127847","file3":"1328127859"},"map_files_photo_id_array":[{"photo_id":"1328127854","filename":"file2"},{"photo_id":"1328127850","filename":"file1"},{"photo_id":"1328127847","filename":"file0"},{"photo_id":"1328127859","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328127847":["hashtag1","hashtag2"]},{"1328127859":["hashtag1","hashtag2"]},{"1328127850":["hashtag1","hashtag2"]},{"1328127854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328127847, 1328127859, 1328127850, 1328127854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.03589200973511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:33:21.860466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/32/image_11012025_11_32_02_775074_0003.jpg', '/home/pi/Desktop/images/11012025/11/33/image_11012025_11_33_03_029732_0000.jpg', '/home/pi/Desktop/images/11012025/11/33/image_11012025_11_33_03_029732_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/32/image_11012025_11_32_02_775074_0003.jpg
/home/pi/Desktop/images/11012025/11/33/image_11012025_11_33_03_029732_0000.jpg
/home/pi/Desktop/images/11012025/11/33/image_11012025_11_33_03_029732_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":["1328128590","1328128608","1328128611"],"photo_ids_order":["1328128590","1328128608","1328128611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3d2e857c3cd60c6de373e190f469abe4.jpg","text":"TemporaryFile(/tmp/multipartBody3527572234435482363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591669659,"filename":"image_11012025_11_32_02_775074_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/db1931691572adfc11d56eb91871f0a6.jpg","text":"TemporaryFile(/tmp/multipartBody6042459941698558127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591669659,"filename":"image_11012025_11_33_03_029732_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c7fdcb3cee4a2ba2c48896d70451ea80.jpg","text":"TemporaryFile(/tmp/multipartBody4185437591804035787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591669659,"filename":"image_11012025_11_33_03_029732_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328128611","file1":"1328128608","file0":"1328128590"},"map_files_photo_id_array":[{"photo_id":"1328128611","filename":"file2"},{"photo_id":"1328128608","filename":"file1"},{"photo_id":"1328128590","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328128590":["hashtag1","hashtag2"]},{"1328128608":["hashtag1","hashtag2"]},{"1328128611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328128590, 1328128608, 1328128611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.645134449005127 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:34:02.461943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:34:22.076531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/33/image_11012025_11_33_03_029732_0003.jpg', '/home/pi/Desktop/images/11012025/11/34/image_11012025_11_34_02_259572_0000.jpg', '/home/pi/Desktop/images/11012025/11/34/image_11012025_11_34_02_259572_0001.jpg', '/home/pi/Desktop/images/11012025/11/34/image_11012025_11_34_02_259572_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/33/image_11012025_11_33_03_029732_0003.jpg
/home/pi/Desktop/images/11012025/11/34/image_11012025_11_34_02_259572_0000.jpg
/home/pi/Desktop/images/11012025/11/34/image_11012025_11_34_02_259572_0001.jpg
/home/pi/Desktop/images/11012025/11/34/image_11012025_11_34_02_259572_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328128954","1328129007","1328128958","1328128931"],"photo_ids_order":["1328128931","1328128954","1328128958","1328129007"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c1ee1269464e5c724749f552b81f7d55.jpg","text":"TemporaryFile(/tmp/multipartBody3183942395817359537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591732326,"filename":"image_11012025_11_34_02_259572_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4491eba0443c0bf77c9f2692dbdb3d1a.jpg","text":"TemporaryFile(/tmp/multipartBody269653782935948573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591732326,"filename":"image_11012025_11_34_02_259572_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d8c8e964cf192bbb0554b0193287ad70.jpg","text":"TemporaryFile(/tmp/multipartBody6867645009061857210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591732326,"filename":"image_11012025_11_34_02_259572_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/59203b5c30d688030ac40a5c0ddc1f8f.jpg","text":"TemporaryFile(/tmp/multipartBody3795357511684733180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591732326,"filename":"image_11012025_11_33_03_029732_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328128958","file1":"1328128954","file0":"1328128931","file3":"1328129007"},"map_files_photo_id_array":[{"photo_id":"1328128958","filename":"file2"},{"photo_id":"1328128954","filename":"file1"},{"photo_id":"1328128931","filename":"file0"},{"photo_id":"1328129007","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328128954":["hashtag1","hashtag2"]},{"1328129007":["hashtag1","hashtag2"]},{"1328128958":["hashtag1","hashtag2"]},{"1328128931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328128954, 1328129007, 1328128958, 1328128931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.59169387817383 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-11 11:35:22.328834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/34/image_11012025_11_34_02_259572_0003.jpg', '/home/pi/Desktop/images/11012025/11/35/image_11012025_11_35_02_431548_0000.jpg', '/home/pi/Desktop/images/11012025/11/35/image_11012025_11_35_02_431548_0001.jpg', '/home/pi/Desktop/images/11012025/11/35/image_11012025_11_35_02_431548_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/34/image_11012025_11_34_02_259572_0003.jpg
/home/pi/Desktop/images/11012025/11/35/image_11012025_11_35_02_431548_0000.jpg
/home/pi/Desktop/images/11012025/11/35/image_11012025_11_35_02_431548_0001.jpg
/home/pi/Desktop/images/11012025/11/35/image_11012025_11_35_02_431548_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328129017","1328129022","1328129019","1328129026"],"photo_ids_order":["1328129017","1328129019","1328129022","1328129026"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/09e78e3534641f5e1ee8d10b5afc5bd4.jpg","text":"TemporaryFile(/tmp/multipartBody5537317792093584389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591792431,"filename":"image_11012025_11_34_02_259572_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/867b7b55c0b9552412a5f6d16460a560.jpg","text":"TemporaryFile(/tmp/multipartBody1761385208454611800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591792431,"filename":"image_11012025_11_35_02_431548_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cbc29828831b2046ef2632f92db8007b.jpg","text":"TemporaryFile(/tmp/multipartBody7443394026724154325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591792431,"filename":"image_11012025_11_35_02_431548_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/83765a4c6fec907723b71971280d2afb.jpg","text":"TemporaryFile(/tmp/multipartBody5469536407304254116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591792431,"filename":"image_11012025_11_35_02_431548_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328129022","file1":"1328129019","file0":"1328129017","file3":"1328129026"},"map_files_photo_id_array":[{"photo_id":"1328129022","filename":"file2"},{"photo_id":"1328129019","filename":"file1"},{"photo_id":"1328129017","filename":"file0"},{"photo_id":"1328129026","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328129017":["hashtag1","hashtag2"]},{"1328129022":["hashtag1","hashtag2"]},{"1328129019":["hashtag1","hashtag2"]},{"1328129026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328129017, 1328129022, 1328129019, 1328129026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.60998010635376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:36:02.769734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:36:22.475105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/35/image_11012025_11_35_02_431548_0003.jpg', '/home/pi/Desktop/images/11012025/11/36/image_11012025_11_36_02_591325_0000.jpg', '/home/pi/Desktop/images/11012025/11/36/image_11012025_11_36_02_591325_0001.jpg', '/home/pi/Desktop/images/11012025/11/36/image_11012025_11_36_02_591325_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/35/image_11012025_11_35_02_431548_0003.jpg
/home/pi/Desktop/images/11012025/11/36/image_11012025_11_36_02_591325_0000.jpg
/home/pi/Desktop/images/11012025/11/36/image_11012025_11_36_02_591325_0001.jpg
/home/pi/Desktop/images/11012025/11/36/image_11012025_11_36_02_591325_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328129095","1328129062","1328129065","1328129068"],"photo_ids_order":["1328129062","1328129065","1328129068","1328129095"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dfdc47b068c1281e4dd9cd006e150bfc.jpg","text":"TemporaryFile(/tmp/multipartBody5954128682044262312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591852720,"filename":"image_11012025_11_36_02_591325_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0cddef247fcc09d48181840f65190b46.jpg","text":"TemporaryFile(/tmp/multipartBody4028720541159968968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591852720,"filename":"image_11012025_11_35_02_431548_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f95bab0312e8a80a2725693bf019b9db.jpg","text":"TemporaryFile(/tmp/multipartBody480337833023623516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591852720,"filename":"image_11012025_11_36_02_591325_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/44b16c49c092a8880b61c3116c0fbca9.jpg","text":"TemporaryFile(/tmp/multipartBody1815394113604480380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591852720,"filename":"image_11012025_11_36_02_591325_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328129068","file1":"1328129065","file0":"1328129062","file3":"1328129095"},"map_files_photo_id_array":[{"photo_id":"1328129068","filename":"file2"},{"photo_id":"1328129065","filename":"file1"},{"photo_id":"1328129062","filename":"file0"},{"photo_id":"1328129095","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328129095":["hashtag1","hashtag2"]},{"1328129062":["hashtag1","hashtag2"]},{"1328129065":["hashtag1","hashtag2"]},{"1328129068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328129095, 1328129062, 1328129065, 1328129068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.8436324596405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:37:22.655308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/36/image_11012025_11_36_02_591325_0003.jpg', '/home/pi/Desktop/images/11012025/11/37/image_11012025_11_37_02_757359_0000.jpg', '/home/pi/Desktop/images/11012025/11/37/image_11012025_11_37_02_757359_0001.jpg', '/home/pi/Desktop/images/11012025/11/37/image_11012025_11_37_02_757359_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/36/image_11012025_11_36_02_591325_0003.jpg
/home/pi/Desktop/images/11012025/11/37/image_11012025_11_37_02_757359_0000.jpg
/home/pi/Desktop/images/11012025/11/37/image_11012025_11_37_02_757359_0001.jpg
/home/pi/Desktop/images/11012025/11/37/image_11012025_11_37_02_757359_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.715304374694824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 11:37:42.596408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/36/image_11012025_11_36_02_591325_0003.jpg', '/home/pi/Desktop/images/11012025/11/37/image_11012025_11_37_02_757359_0000.jpg', '/home/pi/Desktop/images/11012025/11/37/image_11012025_11_37_02_757359_0001.jpg', '/home/pi/Desktop/images/11012025/11/37/image_11012025_11_37_02_757359_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/36/image_11012025_11_36_02_591325_0003.jpg
/home/pi/Desktop/images/11012025/11/37/image_11012025_11_37_02_757359_0000.jpg
/home/pi/Desktop/images/11012025/11/37/image_11012025_11_37_02_757359_0001.jpg
/home/pi/Desktop/images/11012025/11/37/image_11012025_11_37_02_757359_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328130253","1328130250","1328130255","1328130248"],"photo_ids_order":["1328130248","1328130250","1328130253","1328130255"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c27813944cf045ce2d11a062681a1c1d.jpg","text":"TemporaryFile(/tmp/multipartBody8298649436490466516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591932733,"filename":"image_11012025_11_37_02_757359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/075ed4282170c695c771bd704045c24a.jpg","text":"TemporaryFile(/tmp/multipartBody3204380007580952694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591932733,"filename":"image_11012025_11_37_02_757359_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/af63a7f80e6193263f44cbcac7abe1bf.jpg","text":"TemporaryFile(/tmp/multipartBody6320672240095950820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591932733,"filename":"image_11012025_11_37_02_757359_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/47ab304f56c01b3c460770916f1d0ce3.jpg","text":"TemporaryFile(/tmp/multipartBody4789562629658637432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591932733,"filename":"image_11012025_11_36_02_591325_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328130253","file1":"1328130250","file0":"1328130248","file3":"1328130255"},"map_files_photo_id_array":[{"photo_id":"1328130253","filename":"file2"},{"photo_id":"1328130250","filename":"file1"},{"photo_id":"1328130248","filename":"file0"},{"photo_id":"1328130255","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328130253":["hashtag1","hashtag2"]},{"1328130250":["hashtag1","hashtag2"]},{"1328130255":["hashtag1","hashtag2"]},{"1328130248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328130253, 1328130250, 1328130255, 1328130248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.46307396888733 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 11:38:31.873374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/37/image_11012025_11_37_02_757359_0003.jpg', '/home/pi/Desktop/images/11012025/11/38/image_11012025_11_38_02_978431_0000.jpg', '/home/pi/Desktop/images/11012025/11/38/image_11012025_11_38_02_978431_0001.jpg', '/home/pi/Desktop/images/11012025/11/38/image_11012025_11_38_02_978431_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/37/image_11012025_11_37_02_757359_0003.jpg
/home/pi/Desktop/images/11012025/11/38/image_11012025_11_38_02_978431_0000.jpg
/home/pi/Desktop/images/11012025/11/38/image_11012025_11_38_02_978431_0001.jpg
/home/pi/Desktop/images/11012025/11/38/image_11012025_11_38_02_978431_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328130427","1328130480","1328130498","1328130362"],"photo_ids_order":["1328130362","1328130427","1328130480","1328130498"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b0f838a0d5164f762887f1e34bee7cd0.jpg","text":"TemporaryFile(/tmp/multipartBody3242007487898141020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591982199,"filename":"image_11012025_11_38_02_978431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/41972dbc2a35712a9df603093fd3529a.jpg","text":"TemporaryFile(/tmp/multipartBody8899599008330474281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591982199,"filename":"image_11012025_11_38_02_978431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/80bc0dfdd3234594a9c629f78ad6d968.jpg","text":"TemporaryFile(/tmp/multipartBody2477845966589686161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591982199,"filename":"image_11012025_11_38_02_978431_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6175f9caf1d1039ed6bd2a4dfd41f28b.jpg","text":"TemporaryFile(/tmp/multipartBody2551017512794426193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736591982199,"filename":"image_11012025_11_37_02_757359_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328130480","file1":"1328130427","file0":"1328130362","file3":"1328130498"},"map_files_photo_id_array":[{"photo_id":"1328130480","filename":"file2"},{"photo_id":"1328130427","filename":"file1"},{"photo_id":"1328130362","filename":"file0"},{"photo_id":"1328130498","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328130427":["hashtag1","hashtag2"]},{"1328130480":["hashtag1","hashtag2"]},{"1328130498":["hashtag1","hashtag2"]},{"1328130362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328130427, 1328130480, 1328130498, 1328130362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.11924695968628 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:39:21.928368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/38/image_11012025_11_38_02_978431_0003.jpg', '/home/pi/Desktop/images/11012025/11/39/image_11012025_11_39_02_180676_0000.jpg', '/home/pi/Desktop/images/11012025/11/39/image_11012025_11_39_02_180676_0001.jpg', '/home/pi/Desktop/images/11012025/11/39/image_11012025_11_39_02_180676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/38/image_11012025_11_38_02_978431_0003.jpg
/home/pi/Desktop/images/11012025/11/39/image_11012025_11_39_02_180676_0000.jpg
/home/pi/Desktop/images/11012025/11/39/image_11012025_11_39_02_180676_0001.jpg
/home/pi/Desktop/images/11012025/11/39/image_11012025_11_39_02_180676_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328130585","1328130604","1328130606","1328130574"],"photo_ids_order":["1328130574","1328130585","1328130604","1328130606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/342fb1549bfdd555dffa056b10e08c4c.jpg","text":"TemporaryFile(/tmp/multipartBody6353120373038344116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592032129,"filename":"image_11012025_11_39_02_180676_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5dac6f502c23ffb96217fb19725b3e4d.jpg","text":"TemporaryFile(/tmp/multipartBody7338133874191896143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592032129,"filename":"image_11012025_11_39_02_180676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/13cfe2177846986ad63f86572bb491e9.jpg","text":"TemporaryFile(/tmp/multipartBody7622981297402954552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592032129,"filename":"image_11012025_11_39_02_180676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cbeed472f0dc3421cb9e457c06609f93.jpg","text":"TemporaryFile(/tmp/multipartBody2487508417594975166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592032129,"filename":"image_11012025_11_38_02_978431_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328130604","file1":"1328130585","file0":"1328130574","file3":"1328130606"},"map_files_photo_id_array":[{"photo_id":"1328130604","filename":"file2"},{"photo_id":"1328130585","filename":"file1"},{"photo_id":"1328130574","filename":"file0"},{"photo_id":"1328130606","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328130585":["hashtag1","hashtag2"]},{"1328130604":["hashtag1","hashtag2"]},{"1328130606":["hashtag1","hashtag2"]},{"1328130574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328130585, 1328130604, 1328130606, 1328130574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.21397376060486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:40:02.424472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:40:22.139354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/39/image_11012025_11_39_02_180676_0003.jpg', '/home/pi/Desktop/images/11012025/11/40/image_11012025_11_40_02_368188_0000.jpg', '/home/pi/Desktop/images/11012025/11/40/image_11012025_11_40_02_368188_0001.jpg', '/home/pi/Desktop/images/11012025/11/40/image_11012025_11_40_02_368188_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/39/image_11012025_11_39_02_180676_0003.jpg
/home/pi/Desktop/images/11012025/11/40/image_11012025_11_40_02_368188_0000.jpg
/home/pi/Desktop/images/11012025/11/40/image_11012025_11_40_02_368188_0001.jpg
/home/pi/Desktop/images/11012025/11/40/image_11012025_11_40_02_368188_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328131006","1328131128","1328131235","1328130890"],"photo_ids_order":["1328130890","1328131006","1328131128","1328131235"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7609e5630f38ba5e3150590ec7eced6f.jpg","text":"TemporaryFile(/tmp/multipartBody2010682441907703963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592092202,"filename":"image_11012025_11_40_02_368188_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e48ead26b6cb0505ce6319b9fa0ede72.jpg","text":"TemporaryFile(/tmp/multipartBody3031856093544284402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592092202,"filename":"image_11012025_11_40_02_368188_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a6bd4833e3fe55d324d94b576d944cf7.jpg","text":"TemporaryFile(/tmp/multipartBody1532512418839342171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592092202,"filename":"image_11012025_11_40_02_368188_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fe09c71639859b33c4295e4cf7204600.jpg","text":"TemporaryFile(/tmp/multipartBody3692640360222085005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592092202,"filename":"image_11012025_11_39_02_180676_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328131128","file1":"1328131006","file0":"1328130890","file3":"1328131235"},"map_files_photo_id_array":[{"photo_id":"1328131128","filename":"file2"},{"photo_id":"1328131006","filename":"file1"},{"photo_id":"1328130890","filename":"file0"},{"photo_id":"1328131235","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328131006":["hashtag1","hashtag2"]},{"1328131128":["hashtag1","hashtag2"]},{"1328131235":["hashtag1","hashtag2"]},{"1328130890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328131006, 1328131128, 1328131235, 1328130890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.1256537437439 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:41:02.892703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:41:22.370086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/40/image_11012025_11_40_02_368188_0003.jpg', '/home/pi/Desktop/images/11012025/11/41/image_11012025_11_41_02_541316_0000.jpg', '/home/pi/Desktop/images/11012025/11/41/image_11012025_11_41_02_541316_0001.jpg', '/home/pi/Desktop/images/11012025/11/41/image_11012025_11_41_02_541316_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/40/image_11012025_11_40_02_368188_0003.jpg
/home/pi/Desktop/images/11012025/11/41/image_11012025_11_41_02_541316_0000.jpg
/home/pi/Desktop/images/11012025/11/41/image_11012025_11_41_02_541316_0001.jpg
/home/pi/Desktop/images/11012025/11/41/image_11012025_11_41_02_541316_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328131336","1328131341","1328131343","1328131339"],"photo_ids_order":["1328131336","1328131339","1328131341","1328131343"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/805650c82ba12e5288176daaa2d376b9.jpg","text":"TemporaryFile(/tmp/multipartBody5560601521341436233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592152799,"filename":"image_11012025_11_40_02_368188_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4b6d758a2d96c8a39638530c642448e3.jpg","text":"TemporaryFile(/tmp/multipartBody8225374530006118759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592152799,"filename":"image_11012025_11_41_02_541316_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/df5226fe2050c78d862627538b3287a9.jpg","text":"TemporaryFile(/tmp/multipartBody8231050243899011275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592152799,"filename":"image_11012025_11_41_02_541316_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2575b2ad64f5f9727398f56df747a9d1.jpg","text":"TemporaryFile(/tmp/multipartBody5685383275733287528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592152799,"filename":"image_11012025_11_41_02_541316_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328131341","file1":"1328131339","file0":"1328131336","file3":"1328131343"},"map_files_photo_id_array":[{"photo_id":"1328131341","filename":"file2"},{"photo_id":"1328131339","filename":"file1"},{"photo_id":"1328131336","filename":"file0"},{"photo_id":"1328131343","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328131336":["hashtag1","hashtag2"]},{"1328131341":["hashtag1","hashtag2"]},{"1328131343":["hashtag1","hashtag2"]},{"1328131339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328131336, 1328131341, 1328131343, 1328131339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.911988973617554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:42:02.934082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:42:22.523935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/41/image_11012025_11_41_02_541316_0003.jpg', '/home/pi/Desktop/images/11012025/11/42/image_11012025_11_42_02_787783_0000.jpg', '/home/pi/Desktop/images/11012025/11/42/image_11012025_11_42_02_787783_0001.jpg', '/home/pi/Desktop/images/11012025/11/42/image_11012025_11_42_02_787783_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/41/image_11012025_11_41_02_541316_0003.jpg
/home/pi/Desktop/images/11012025/11/42/image_11012025_11_42_02_787783_0000.jpg
/home/pi/Desktop/images/11012025/11/42/image_11012025_11_42_02_787783_0001.jpg
/home/pi/Desktop/images/11012025/11/42/image_11012025_11_42_02_787783_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328131743","1328131611","1328131814","1328131780"],"photo_ids_order":["1328131611","1328131743","1328131780","1328131814"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/47552dac62b27c96f6d016c0f43938ae.jpg","text":"TemporaryFile(/tmp/multipartBody8150839234622298730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592212775,"filename":"image_11012025_11_42_02_787783_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4529ca99ff6959aae54c66430e1b7763.jpg","text":"TemporaryFile(/tmp/multipartBody8527051031334210841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592212775,"filename":"image_11012025_11_41_02_541316_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/33db4ff437bf0eaa55e438f12a6b8adf.jpg","text":"TemporaryFile(/tmp/multipartBody6649736583432334927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592212775,"filename":"image_11012025_11_42_02_787783_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cff6d0b3cd086497f76fabc45fbae9bf.jpg","text":"TemporaryFile(/tmp/multipartBody6365084553604113809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592212775,"filename":"image_11012025_11_42_02_787783_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328131780","file1":"1328131743","file0":"1328131611","file3":"1328131814"},"map_files_photo_id_array":[{"photo_id":"1328131780","filename":"file2"},{"photo_id":"1328131743","filename":"file1"},{"photo_id":"1328131611","filename":"file0"},{"photo_id":"1328131814","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328131743":["hashtag1","hashtag2"]},{"1328131611":["hashtag1","hashtag2"]},{"1328131814":["hashtag1","hashtag2"]},{"1328131780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328131743, 1328131611, 1328131814, 1328131780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.52179551124573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:43:22.711460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/42/image_11012025_11_42_02_787783_0003.jpg', '/home/pi/Desktop/images/11012025/11/43/image_11012025_11_43_02_847700_0000.jpg', '/home/pi/Desktop/images/11012025/11/43/image_11012025_11_43_02_847700_0001.jpg', '/home/pi/Desktop/images/11012025/11/43/image_11012025_11_43_02_847700_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/42/image_11012025_11_42_02_787783_0003.jpg
/home/pi/Desktop/images/11012025/11/43/image_11012025_11_43_02_847700_0000.jpg
/home/pi/Desktop/images/11012025/11/43/image_11012025_11_43_02_847700_0001.jpg
/home/pi/Desktop/images/11012025/11/43/image_11012025_11_43_02_847700_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328132093","1328131892","1328132219","1328131972"],"photo_ids_order":["1328131892","1328131972","1328132093","1328132219"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cd2aa45bfe42a15d083e4fded94fe770.jpg","text":"TemporaryFile(/tmp/multipartBody6016409470795814656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592272992,"filename":"image_11012025_11_43_02_847700_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f0d672262c8fb8c3cc68b5ad3c8d1ae4.jpg","text":"TemporaryFile(/tmp/multipartBody6194872418231045999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592272992,"filename":"image_11012025_11_42_02_787783_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c59f24369095894f6c79b01ba76f475f.jpg","text":"TemporaryFile(/tmp/multipartBody490841410642322356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592272992,"filename":"image_11012025_11_43_02_847700_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/828a4f2eefa0587e3123c2fccb91ae12.jpg","text":"TemporaryFile(/tmp/multipartBody4117166550736599709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592272992,"filename":"image_11012025_11_43_02_847700_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328132093","file1":"1328131972","file0":"1328131892","file3":"1328132219"},"map_files_photo_id_array":[{"photo_id":"1328132093","filename":"file2"},{"photo_id":"1328131972","filename":"file1"},{"photo_id":"1328131892","filename":"file0"},{"photo_id":"1328132219","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328132093":["hashtag1","hashtag2"]},{"1328131892":["hashtag1","hashtag2"]},{"1328132219":["hashtag1","hashtag2"]},{"1328131972":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328132093, 1328131892, 1328132219, 1328131972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.99822640419006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:44:02.259259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:44:21.918100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/43/image_11012025_11_43_02_847700_0003.jpg', '/home/pi/Desktop/images/11012025/11/44/image_11012025_11_44_03_063817_0000.jpg', '/home/pi/Desktop/images/11012025/11/44/image_11012025_11_44_03_063817_0001.jpg', '/home/pi/Desktop/images/11012025/11/44/image_11012025_11_44_03_063817_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/43/image_11012025_11_43_02_847700_0003.jpg
/home/pi/Desktop/images/11012025/11/44/image_11012025_11_44_03_063817_0000.jpg
/home/pi/Desktop/images/11012025/11/44/image_11012025_11_44_03_063817_0001.jpg
/home/pi/Desktop/images/11012025/11/44/image_11012025_11_44_03_063817_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328132715","1328132717","1328132842","1328132769"],"photo_ids_order":["1328132715","1328132717","1328132769","1328132842"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/64e451a25a02e3a13bd162a3c4d58c17.jpg","text":"TemporaryFile(/tmp/multipartBody7725944961449815014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592332148,"filename":"image_11012025_11_43_02_847700_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/12b48f79e8db828f8efbe0bba3e8c0b7.jpg","text":"TemporaryFile(/tmp/multipartBody5742727846940052554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592332148,"filename":"image_11012025_11_44_03_063817_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a3f1a68b1349e5fd0db0dbab87a9eedb.jpg","text":"TemporaryFile(/tmp/multipartBody4582037422110956949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592332148,"filename":"image_11012025_11_44_03_063817_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/39dd8d998e2d523fffbcd71eb2c30e26.jpg","text":"TemporaryFile(/tmp/multipartBody4807943862285951635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592332148,"filename":"image_11012025_11_44_03_063817_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328132769","file1":"1328132717","file0":"1328132715","file3":"1328132842"},"map_files_photo_id_array":[{"photo_id":"1328132769","filename":"file2"},{"photo_id":"1328132717","filename":"file1"},{"photo_id":"1328132715","filename":"file0"},{"photo_id":"1328132842","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328132715":["hashtag1","hashtag2"]},{"1328132717":["hashtag1","hashtag2"]},{"1328132842":["hashtag1","hashtag2"]},{"1328132769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328132715, 1328132717, 1328132842, 1328132769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.981412410736084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:45:02.601938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:45:22.115638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/44/image_11012025_11_44_03_063817_0003.jpg', '/home/pi/Desktop/images/11012025/11/45/image_11012025_11_45_02_147509_0000.jpg', '/home/pi/Desktop/images/11012025/11/45/image_11012025_11_45_02_147509_0001.jpg', '/home/pi/Desktop/images/11012025/11/45/image_11012025_11_45_02_147509_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/44/image_11012025_11_44_03_063817_0003.jpg
/home/pi/Desktop/images/11012025/11/45/image_11012025_11_45_02_147509_0000.jpg
/home/pi/Desktop/images/11012025/11/45/image_11012025_11_45_02_147509_0001.jpg
/home/pi/Desktop/images/11012025/11/45/image_11012025_11_45_02_147509_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328132976","1328132962","1328132950","1328132979"],"photo_ids_order":["1328132950","1328132962","1328132976","1328132979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/68f4fac2c443a2db2dae150ae117e538.jpg","text":"TemporaryFile(/tmp/multipartBody4444612981747070533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592392318,"filename":"image_11012025_11_45_02_147509_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e6fb12f5ad9117dd276840d841c88960.jpg","text":"TemporaryFile(/tmp/multipartBody7726195878960578067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592392318,"filename":"image_11012025_11_45_02_147509_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/90df287f4072441ddf0faa1af520ec8b.jpg","text":"TemporaryFile(/tmp/multipartBody2509691453892114824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592392318,"filename":"image_11012025_11_44_03_063817_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4a010f2bff2d212f6f931e0ea0186547.jpg","text":"TemporaryFile(/tmp/multipartBody6579493235581152571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592392318,"filename":"image_11012025_11_45_02_147509_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328132976","file1":"1328132962","file0":"1328132950","file3":"1328132979"},"map_files_photo_id_array":[{"photo_id":"1328132976","filename":"file2"},{"photo_id":"1328132962","filename":"file1"},{"photo_id":"1328132950","filename":"file0"},{"photo_id":"1328132979","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328132976":["hashtag1","hashtag2"]},{"1328132962":["hashtag1","hashtag2"]},{"1328132950":["hashtag1","hashtag2"]},{"1328132979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328132976, 1328132962, 1328132950, 1328132979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.24615454673767 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:46:02.658377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:46:22.202457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/45/image_11012025_11_45_02_147509_0003.jpg', '/home/pi/Desktop/images/11012025/11/46/image_11012025_11_46_02_375063_0001.jpg', '/home/pi/Desktop/images/11012025/11/46/image_11012025_11_46_02_375063_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/45/image_11012025_11_45_02_147509_0003.jpg
/home/pi/Desktop/images/11012025/11/46/image_11012025_11_46_02_375063_0001.jpg
/home/pi/Desktop/images/11012025/11/46/image_11012025_11_46_02_375063_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328132990","1328132986","1328132988"],"photo_ids_order":["1328132986","1328132988","1328132990"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c0c431035941fcbc391c6439e5d3d95f.jpg","text":"TemporaryFile(/tmp/multipartBody567038340405870608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592449962,"filename":"image_11012025_11_46_02_375063_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c50f7a90b9600d488e73fa314cda8b78.jpg","text":"TemporaryFile(/tmp/multipartBody4657757296335253818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592449962,"filename":"image_11012025_11_45_02_147509_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5784b46c69b00a0edbafcdf322f29ce3.jpg","text":"TemporaryFile(/tmp/multipartBody8511631332618407477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592449962,"filename":"image_11012025_11_46_02_375063_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328132990","file1":"1328132988","file0":"1328132986"},"map_files_photo_id_array":[{"photo_id":"1328132990","filename":"file2"},{"photo_id":"1328132988","filename":"file1"},{"photo_id":"1328132986","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328132990":["hashtag1","hashtag2"]},{"1328132986":["hashtag1","hashtag2"]},{"1328132988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328132990, 1328132986, 1328132988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.798314332962036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:47:03.085252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:47:22.459975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/46/image_11012025_11_46_02_375063_0003.jpg', '/home/pi/Desktop/images/11012025/11/47/image_11012025_11_47_02_586927_0000.jpg', '/home/pi/Desktop/images/11012025/11/47/image_11012025_11_47_02_586927_0001.jpg', '/home/pi/Desktop/images/11012025/11/47/image_11012025_11_47_02_586927_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/46/image_11012025_11_46_02_375063_0003.jpg
/home/pi/Desktop/images/11012025/11/47/image_11012025_11_47_02_586927_0000.jpg
/home/pi/Desktop/images/11012025/11/47/image_11012025_11_47_02_586927_0001.jpg
/home/pi/Desktop/images/11012025/11/47/image_11012025_11_47_02_586927_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328133614","1328133617","1328133619","1328133621"],"photo_ids_order":["1328133614","1328133617","1328133619","1328133621"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8d191d0530d6ee3919abe2e9b59dadbe.jpg","text":"TemporaryFile(/tmp/multipartBody3641954522235161526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592512869,"filename":"image_11012025_11_46_02_375063_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8363cfcf0d183d63031f68d4186d5a0d.jpg","text":"TemporaryFile(/tmp/multipartBody2074369409435164552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592512869,"filename":"image_11012025_11_47_02_586927_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bb3e4cc974446cd587a3f36c8803213b.jpg","text":"TemporaryFile(/tmp/multipartBody4178556650911746866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592512869,"filename":"image_11012025_11_47_02_586927_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1f3be16e4d6320e03aef179c70e35eb4.jpg","text":"TemporaryFile(/tmp/multipartBody1794385611665636486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592512869,"filename":"image_11012025_11_47_02_586927_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328133619","file1":"1328133617","file0":"1328133614","file3":"1328133621"},"map_files_photo_id_array":[{"photo_id":"1328133619","filename":"file2"},{"photo_id":"1328133617","filename":"file1"},{"photo_id":"1328133614","filename":"file0"},{"photo_id":"1328133621","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328133614":["hashtag1","hashtag2"]},{"1328133617":["hashtag1","hashtag2"]},{"1328133619":["hashtag1","hashtag2"]},{"1328133621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328133614, 1328133617, 1328133619, 1328133621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.27805209159851 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:48:02.919666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:48:22.600264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/47/image_11012025_11_47_02_586927_0003.jpg', '/home/pi/Desktop/images/11012025/11/48/image_11012025_11_48_02_747593_0001.jpg', '/home/pi/Desktop/images/11012025/11/48/image_11012025_11_48_02_747593_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/47/image_11012025_11_47_02_586927_0003.jpg
/home/pi/Desktop/images/11012025/11/48/image_11012025_11_48_02_747593_0001.jpg
/home/pi/Desktop/images/11012025/11/48/image_11012025_11_48_02_747593_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328133748","1328133733","1328133750"],"photo_ids_order":["1328133733","1328133748","1328133750"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/77d1dd5253877f4d4febbc42064f11b3.jpg","text":"TemporaryFile(/tmp/multipartBody209732430766938265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592570407,"filename":"image_11012025_11_48_02_747593_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1b796cc68b042324b5ae4e73bb9b53b7.jpg","text":"TemporaryFile(/tmp/multipartBody5353199751321006021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592570407,"filename":"image_11012025_11_47_02_586927_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/276e6bd224d95291bf2a61487aa8429b.jpg","text":"TemporaryFile(/tmp/multipartBody2026310068158686154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592570407,"filename":"image_11012025_11_48_02_747593_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328133750","file1":"1328133748","file0":"1328133733"},"map_files_photo_id_array":[{"photo_id":"1328133750","filename":"file2"},{"photo_id":"1328133748","filename":"file1"},{"photo_id":"1328133733","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328133748":["hashtag1","hashtag2"]},{"1328133733":["hashtag1","hashtag2"]},{"1328133750":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328133748, 1328133733, 1328133750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.664989233016968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:49:03.313274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:49:22.743510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/48/image_11012025_11_48_02_747593_0003.jpg', '/home/pi/Desktop/images/11012025/11/49/image_11012025_11_49_02_899234_0000.jpg', '/home/pi/Desktop/images/11012025/11/49/image_11012025_11_49_02_899234_0001.jpg', '/home/pi/Desktop/images/11012025/11/49/image_11012025_11_49_02_899234_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/48/image_11012025_11_48_02_747593_0003.jpg
/home/pi/Desktop/images/11012025/11/49/image_11012025_11_49_02_899234_0000.jpg
/home/pi/Desktop/images/11012025/11/49/image_11012025_11_49_02_899234_0001.jpg
/home/pi/Desktop/images/11012025/11/49/image_11012025_11_49_02_899234_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328133770","1328133764","1328133766","1328133762"],"photo_ids_order":["1328133762","1328133764","1328133766","1328133770"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4e50843c39730898abdd57b229558395.jpg","text":"TemporaryFile(/tmp/multipartBody347175628666680525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592633028,"filename":"image_11012025_11_49_02_899234_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fea1579c03d329c590f8e94c825b0858.jpg","text":"TemporaryFile(/tmp/multipartBody7003005509265519582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592633028,"filename":"image_11012025_11_49_02_899234_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3b0c913e51b70e027e8b481f11ab7b5c.jpg","text":"TemporaryFile(/tmp/multipartBody8960421187695492036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592633028,"filename":"image_11012025_11_49_02_899234_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6f2efbdec8c01bddc31642ea546714df.jpg","text":"TemporaryFile(/tmp/multipartBody2020683024646211232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592633028,"filename":"image_11012025_11_48_02_747593_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328133766","file1":"1328133764","file0":"1328133762","file3":"1328133770"},"map_files_photo_id_array":[{"photo_id":"1328133766","filename":"file2"},{"photo_id":"1328133764","filename":"file1"},{"photo_id":"1328133762","filename":"file0"},{"photo_id":"1328133770","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328133770":["hashtag1","hashtag2"]},{"1328133764":["hashtag1","hashtag2"]},{"1328133766":["hashtag1","hashtag2"]},{"1328133762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328133770, 1328133764, 1328133766, 1328133762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.2090482711792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:50:02.151359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:50:21.859751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/49/image_11012025_11_49_02_899234_0003.jpg', '/home/pi/Desktop/images/11012025/11/50/image_11012025_11_50_03_136670_0000.jpg', '/home/pi/Desktop/images/11012025/11/50/image_11012025_11_50_03_136670_0001.jpg', '/home/pi/Desktop/images/11012025/11/50/image_11012025_11_50_03_136670_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/49/image_11012025_11_49_02_899234_0003.jpg
/home/pi/Desktop/images/11012025/11/50/image_11012025_11_50_03_136670_0000.jpg
/home/pi/Desktop/images/11012025/11/50/image_11012025_11_50_03_136670_0001.jpg
/home/pi/Desktop/images/11012025/11/50/image_11012025_11_50_03_136670_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328133782","1328133779","1328133795","1328133777"],"photo_ids_order":["1328133777","1328133779","1328133782","1328133795"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4008ae55ed23cd94e796f588ba016621.jpg","text":"TemporaryFile(/tmp/multipartBody8105915150669117751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592692021,"filename":"image_11012025_11_50_03_136670_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/44bcbc5c07ba27c17abde648722b1b77.jpg","text":"TemporaryFile(/tmp/multipartBody9129663907433726182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592692021,"filename":"image_11012025_11_50_03_136670_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9f3d76a532c13ad4126a41d497a86030.jpg","text":"TemporaryFile(/tmp/multipartBody3163299261666164299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592692021,"filename":"image_11012025_11_50_03_136670_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/587d8bfae3765332b0817487761f84d6.jpg","text":"TemporaryFile(/tmp/multipartBody3209469591339619643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592692021,"filename":"image_11012025_11_49_02_899234_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328133782","file1":"1328133779","file0":"1328133777","file3":"1328133795"},"map_files_photo_id_array":[{"photo_id":"1328133782","filename":"file2"},{"photo_id":"1328133779","filename":"file1"},{"photo_id":"1328133777","filename":"file0"},{"photo_id":"1328133795","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328133782":["hashtag1","hashtag2"]},{"1328133779":["hashtag1","hashtag2"]},{"1328133795":["hashtag1","hashtag2"]},{"1328133777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328133782, 1328133779, 1328133795, 1328133777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.315927505493164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:51:22.076021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/50/image_11012025_11_50_03_136670_0003.jpg', '/home/pi/Desktop/images/11012025/11/51/image_11012025_11_51_02_245862_0000.jpg', '/home/pi/Desktop/images/11012025/11/51/image_11012025_11_51_02_245862_0001.jpg', '/home/pi/Desktop/images/11012025/11/51/image_11012025_11_51_02_245862_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/50/image_11012025_11_50_03_136670_0003.jpg
/home/pi/Desktop/images/11012025/11/51/image_11012025_11_51_02_245862_0000.jpg
/home/pi/Desktop/images/11012025/11/51/image_11012025_11_51_02_245862_0001.jpg
/home/pi/Desktop/images/11012025/11/51/image_11012025_11_51_02_245862_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328134597","1328134594","1328134586","1328134598"],"photo_ids_order":["1328134586","1328134594","1328134597","1328134598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0c381d5cdf12452b0d586bc97bd01ef4.jpg","text":"TemporaryFile(/tmp/multipartBody7302945994434161808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592752206,"filename":"image_11012025_11_51_02_245862_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0af5789a72ec000407aef2d1113a8b8c.jpg","text":"TemporaryFile(/tmp/multipartBody8513786119894347983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592752206,"filename":"image_11012025_11_51_02_245862_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f4c638b6946de7b0a8173581214df15c.jpg","text":"TemporaryFile(/tmp/multipartBody7764755560305905992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592752206,"filename":"image_11012025_11_50_03_136670_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/20521b8f075b92a5ef0da3ec39ed8699.jpg","text":"TemporaryFile(/tmp/multipartBody1063084817924098124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592752206,"filename":"image_11012025_11_51_02_245862_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328134597","file1":"1328134594","file0":"1328134586","file3":"1328134598"},"map_files_photo_id_array":[{"photo_id":"1328134597","filename":"file2"},{"photo_id":"1328134594","filename":"file1"},{"photo_id":"1328134586","filename":"file0"},{"photo_id":"1328134598","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328134597":["hashtag1","hashtag2"]},{"1328134594":["hashtag1","hashtag2"]},{"1328134586":["hashtag1","hashtag2"]},{"1328134598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328134597, 1328134594, 1328134586, 1328134598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.83190155029297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:52:22.327522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/51/image_11012025_11_51_02_245862_0003.jpg', '/home/pi/Desktop/images/11012025/11/52/image_11012025_11_52_02_409589_0000.jpg', '/home/pi/Desktop/images/11012025/11/52/image_11012025_11_52_02_409589_0001.jpg', '/home/pi/Desktop/images/11012025/11/52/image_11012025_11_52_02_409589_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/51/image_11012025_11_51_02_245862_0003.jpg
/home/pi/Desktop/images/11012025/11/52/image_11012025_11_52_02_409589_0000.jpg
/home/pi/Desktop/images/11012025/11/52/image_11012025_11_52_02_409589_0001.jpg
/home/pi/Desktop/images/11012025/11/52/image_11012025_11_52_02_409589_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328134610","1328134613","1328134607","1328134614"],"photo_ids_order":["1328134607","1328134610","1328134613","1328134614"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/349967fe419f39c83152a937152bd04b.jpg","text":"TemporaryFile(/tmp/multipartBody2271004026736209295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592812514,"filename":"image_11012025_11_52_02_409589_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3a121dab6eb516ae0f95ba91a3625e21.jpg","text":"TemporaryFile(/tmp/multipartBody1154151141758363644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592812514,"filename":"image_11012025_11_52_02_409589_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c51cac10ccd8ccbbcb841f7f9d76e922.jpg","text":"TemporaryFile(/tmp/multipartBody5271310410834024264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592812514,"filename":"image_11012025_11_51_02_245862_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f2f0f54712286a0925eba07bcbe3f6dd.jpg","text":"TemporaryFile(/tmp/multipartBody6790404656576153898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592812514,"filename":"image_11012025_11_52_02_409589_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328134613","file1":"1328134610","file0":"1328134607","file3":"1328134614"},"map_files_photo_id_array":[{"photo_id":"1328134613","filename":"file2"},{"photo_id":"1328134610","filename":"file1"},{"photo_id":"1328134607","filename":"file0"},{"photo_id":"1328134614","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328134610":["hashtag1","hashtag2"]},{"1328134613":["hashtag1","hashtag2"]},{"1328134607":["hashtag1","hashtag2"]},{"1328134614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328134610, 1328134613, 1328134607, 1328134614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.92248487472534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:53:22.510624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/52/image_11012025_11_52_02_409589_0003.jpg', '/home/pi/Desktop/images/11012025/11/53/image_11012025_11_53_02_640097_0000.jpg', '/home/pi/Desktop/images/11012025/11/53/image_11012025_11_53_02_640097_0001.jpg', '/home/pi/Desktop/images/11012025/11/53/image_11012025_11_53_02_640097_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/52/image_11012025_11_52_02_409589_0003.jpg
/home/pi/Desktop/images/11012025/11/53/image_11012025_11_53_02_640097_0000.jpg
/home/pi/Desktop/images/11012025/11/53/image_11012025_11_53_02_640097_0001.jpg
/home/pi/Desktop/images/11012025/11/53/image_11012025_11_53_02_640097_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328135488","1328135635","1328135742","1328135730"],"photo_ids_order":["1328135488","1328135635","1328135730","1328135742"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/268200ab3a8a49735018d34aaa0d6579.jpg","text":"TemporaryFile(/tmp/multipartBody7531270223354137797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592872615,"filename":"image_11012025_11_52_02_409589_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d5f56fd0128d524f3fa89f428947d6d5.jpg","text":"TemporaryFile(/tmp/multipartBody8002561787175978518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592872615,"filename":"image_11012025_11_53_02_640097_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/def6e6fec708cf284c98af283fa3b542.jpg","text":"TemporaryFile(/tmp/multipartBody5646795070177918434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592872615,"filename":"image_11012025_11_53_02_640097_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/35fb98ed42cbdb8e9b665adf4e72a17f.jpg","text":"TemporaryFile(/tmp/multipartBody8433139731581129031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592872615,"filename":"image_11012025_11_53_02_640097_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328135730","file1":"1328135635","file0":"1328135488","file3":"1328135742"},"map_files_photo_id_array":[{"photo_id":"1328135730","filename":"file2"},{"photo_id":"1328135635","filename":"file1"},{"photo_id":"1328135488","filename":"file0"},{"photo_id":"1328135742","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328135488":["hashtag1","hashtag2"]},{"1328135635":["hashtag1","hashtag2"]},{"1328135742":["hashtag1","hashtag2"]},{"1328135730":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328135488, 1328135635, 1328135742, 1328135730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.243526220321655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:54:03.007315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:54:22.592668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/53/image_11012025_11_53_02_640097_0003.jpg', '/home/pi/Desktop/images/11012025/11/54/image_11012025_11_54_02_829976_0000.jpg', '/home/pi/Desktop/images/11012025/11/54/image_11012025_11_54_02_829976_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/53/image_11012025_11_53_02_640097_0003.jpg
/home/pi/Desktop/images/11012025/11/54/image_11012025_11_54_02_829976_0000.jpg
/home/pi/Desktop/images/11012025/11/54/image_11012025_11_54_02_829976_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":["1328135887","1328136051","1328135997"],"photo_ids_order":["1328135887","1328135997","1328136051"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3dffa4934d11b72bac6b04cc67ef772b.jpg","text":"TemporaryFile(/tmp/multipartBody6702516934698191359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592930500,"filename":"image_11012025_11_53_02_640097_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8146ef160e8d4baa229d296592f07f9d.jpg","text":"TemporaryFile(/tmp/multipartBody1036456962464399176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592930500,"filename":"image_11012025_11_54_02_829976_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/74eedcee5a2982bc5865bc453ef8fedf.jpg","text":"TemporaryFile(/tmp/multipartBody8779109295260086375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592930500,"filename":"image_11012025_11_54_02_829976_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328136051","file1":"1328135997","file0":"1328135887"},"map_files_photo_id_array":[{"photo_id":"1328136051","filename":"file2"},{"photo_id":"1328135997","filename":"file1"},{"photo_id":"1328135887","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328135887":["hashtag1","hashtag2"]},{"1328136051":["hashtag1","hashtag2"]},{"1328135997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328135887, 1328136051, 1328135997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.965276956558228 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:55:02.436709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:55:21.912838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/54/image_11012025_11_54_02_829976_0002.jpg', '/home/pi/Desktop/images/11012025/11/55/image_11012025_11_55_03_041376_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/54/image_11012025_11_54_02_829976_0002.jpg
/home/pi/Desktop/images/11012025/11/55/image_11012025_11_55_03_041376_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":["1328136113","1328136116"],"photo_ids_order":["1328136113","1328136116"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3975d34b9e93bb56c341c045fdde2ee1.jpg","text":"TemporaryFile(/tmp/multipartBody1631783624764181763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592987406,"filename":"image_11012025_11_54_02_829976_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e635567b068791f7b7c4e8dc309e6048.jpg","text":"TemporaryFile(/tmp/multipartBody3603685167859177746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736592987406,"filename":"image_11012025_11_55_03_041376_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328136116","file0":"1328136113"},"map_files_photo_id_array":[{"photo_id":"1328136116","filename":"file1"},{"photo_id":"1328136113","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328136113":["hashtag1","hashtag2"]},{"1328136116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328136113, 1328136116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.928794622421265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 11:55:51.851925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 11:56:02.472810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:56:22.098341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/55/image_11012025_11_55_03_041376_0003.jpg', '/home/pi/Desktop/images/11012025/11/56/image_11012025_11_56_02_194948_0000.jpg', '/home/pi/Desktop/images/11012025/11/56/image_11012025_11_56_02_194948_0001.jpg', '/home/pi/Desktop/images/11012025/11/56/image_11012025_11_56_02_194948_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/55/image_11012025_11_55_03_041376_0003.jpg
/home/pi/Desktop/images/11012025/11/56/image_11012025_11_56_02_194948_0000.jpg
/home/pi/Desktop/images/11012025/11/56/image_11012025_11_56_02_194948_0001.jpg
/home/pi/Desktop/images/11012025/11/56/image_11012025_11_56_02_194948_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328136127","1328136135","1328136131","1328136128"],"photo_ids_order":["1328136127","1328136128","1328136131","1328136135"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/974b48a19ce283ac664c0657bf774cf2.jpg","text":"TemporaryFile(/tmp/multipartBody6324540612571638297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593052400,"filename":"image_11012025_11_55_03_041376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e55be9615e33df80d1b7224dc54626ba.jpg","text":"TemporaryFile(/tmp/multipartBody5102738065270982890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593052400,"filename":"image_11012025_11_56_02_194948_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a7b283a079792ef6727d7aa92712a78d.jpg","text":"TemporaryFile(/tmp/multipartBody3518708589552763487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593052400,"filename":"image_11012025_11_56_02_194948_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/75aacdb020c2d2adeb64babc437589d2.jpg","text":"TemporaryFile(/tmp/multipartBody335815729072418927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593052400,"filename":"image_11012025_11_56_02_194948_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328136131","file1":"1328136128","file0":"1328136127","file3":"1328136135"},"map_files_photo_id_array":[{"photo_id":"1328136131","filename":"file2"},{"photo_id":"1328136128","filename":"file1"},{"photo_id":"1328136127","filename":"file0"},{"photo_id":"1328136135","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328136127":["hashtag1","hashtag2"]},{"1328136135":["hashtag1","hashtag2"]},{"1328136131":["hashtag1","hashtag2"]},{"1328136128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328136127, 1328136135, 1328136131, 1328136128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.350125789642334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 11:57:22.238604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/56/image_11012025_11_56_02_194948_0003.jpg', '/home/pi/Desktop/images/11012025/11/57/image_11012025_11_57_02_385008_0000.jpg', '/home/pi/Desktop/images/11012025/11/57/image_11012025_11_57_02_385008_0001.jpg', '/home/pi/Desktop/images/11012025/11/57/image_11012025_11_57_02_385008_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/56/image_11012025_11_56_02_194948_0003.jpg
/home/pi/Desktop/images/11012025/11/57/image_11012025_11_57_02_385008_0000.jpg
/home/pi/Desktop/images/11012025/11/57/image_11012025_11_57_02_385008_0001.jpg
/home/pi/Desktop/images/11012025/11/57/image_11012025_11_57_02_385008_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-11 11:59:02.976791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/56/image_11012025_11_56_02_194948_0003.jpg', '/home/pi/Desktop/images/11012025/11/57/image_11012025_11_57_02_385008_0000.jpg', '/home/pi/Desktop/images/11012025/11/57/image_11012025_11_57_02_385008_0001.jpg', '/home/pi/Desktop/images/11012025/11/57/image_11012025_11_57_02_385008_0002.jpg', '/home/pi/Desktop/images/11012025/11/57/image_11012025_11_57_02_385008_0003.jpg', '/home/pi/Desktop/images/11012025/11/58/image_11012025_11_58_02_577095_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/56/image_11012025_11_56_02_194948_0003.jpg
/home/pi/Desktop/images/11012025/11/57/image_11012025_11_57_02_385008_0000.jpg
/home/pi/Desktop/images/11012025/11/57/image_11012025_11_57_02_385008_0001.jpg
/home/pi/Desktop/images/11012025/11/57/image_11012025_11_57_02_385008_0002.jpg
/home/pi/Desktop/images/11012025/11/57/image_11012025_11_57_02_385008_0003.jpg
/home/pi/Desktop/images/11012025/11/58/image_11012025_11_58_02_577095_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328136205","1328136186","1328136207","1328136206","1328136200","1328136193"],"photo_ids_order":["1328136186","1328136193","1328136200","1328136205","1328136206","1328136207"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/890fdb4b66e7440f94bd18deb0ab9253.jpg","text":"TemporaryFile(/tmp/multipartBody8420254582060425277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593218140,"filename":"image_11012025_11_57_02_385008_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/217c858e7b050e6627141f2511553aa0.jpg","text":"TemporaryFile(/tmp/multipartBody6528184899764373163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593218140,"filename":"image_11012025_11_56_02_194948_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c9e044cca5e0f46f42bc3a6f049339df.jpg","text":"TemporaryFile(/tmp/multipartBody8797132308507276194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593218140,"filename":"image_11012025_11_58_02_577095_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/727b3a46f0e8e1a2a45a44653a41cdb5.jpg","text":"TemporaryFile(/tmp/multipartBody3072837531676592706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593218140,"filename":"image_11012025_11_57_02_385008_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b9b902c7e17d04abeeb005415398ebfb.jpg","text":"TemporaryFile(/tmp/multipartBody7271502309145106979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593218140,"filename":"image_11012025_11_57_02_385008_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eb077b19675c0f2fe0baa88575e9f873.jpg","text":"TemporaryFile(/tmp/multipartBody8922411003182900674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593218140,"filename":"image_11012025_11_57_02_385008_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328136200","file1":"1328136193","file0":"1328136186","file4":"1328136206","file5":"1328136207","file3":"1328136205"},"map_files_photo_id_array":[{"photo_id":"1328136207","filename":"file5"},{"photo_id":"1328136200","filename":"file2"},{"photo_id":"1328136206","filename":"file4"},{"photo_id":"1328136193","filename":"file1"},{"photo_id":"1328136186","filename":"file0"},{"photo_id":"1328136205","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328136205":["hashtag1","hashtag2"]},{"1328136186":["hashtag1","hashtag2"]},{"1328136207":["hashtag1","hashtag2"]},{"1328136206":["hashtag1","hashtag2"]},{"1328136200":["hashtag1","hashtag2"]},{"1328136193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328136205, 1328136186, 1328136207, 1328136206, 1328136200, 1328136193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.6775803565979 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:01:20.554753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/58/image_11012025_11_58_02_577095_0002.jpg', '/home/pi/Desktop/images/11012025/11/58/image_11012025_11_58_02_577095_0003.jpg', '/home/pi/Desktop/images/11012025/11/59/image_11012025_11_59_02_739176_0000.jpg', '/home/pi/Desktop/images/11012025/11/59/image_11012025_11_59_02_739176_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/58/image_11012025_11_58_02_577095_0002.jpg
/home/pi/Desktop/images/11012025/11/58/image_11012025_11_58_02_577095_0003.jpg
/home/pi/Desktop/images/11012025/11/59/image_11012025_11_59_02_739176_0000.jpg
/home/pi/Desktop/images/11012025/11/59/image_11012025_11_59_02_739176_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328136571","1328136795","1328136686","1328136908"],"photo_ids_order":["1328136571","1328136686","1328136795","1328136908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2e842101e05f4e81ae122c6e1cb06e75.jpg","text":"TemporaryFile(/tmp/multipartBody4015388911134582447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593351816,"filename":"image_11012025_11_58_02_577095_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/81382b8cd97a4096aa08e360358e3eae.jpg","text":"TemporaryFile(/tmp/multipartBody7681246149668006916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593351816,"filename":"image_11012025_11_59_02_739176_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/298c5801f8772c3258aa72de428c8584.jpg","text":"TemporaryFile(/tmp/multipartBody4763705298849218719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593351816,"filename":"image_11012025_11_58_02_577095_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/745c4db92e3131e49551c631d8cdfc04.jpg","text":"TemporaryFile(/tmp/multipartBody5564127057505942271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593351816,"filename":"image_11012025_11_59_02_739176_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328136795","file1":"1328136686","file0":"1328136571","file3":"1328136908"},"map_files_photo_id_array":[{"photo_id":"1328136795","filename":"file2"},{"photo_id":"1328136686","filename":"file1"},{"photo_id":"1328136571","filename":"file0"},{"photo_id":"1328136908","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328136571":["hashtag1","hashtag2"]},{"1328136795":["hashtag1","hashtag2"]},{"1328136686":["hashtag1","hashtag2"]},{"1328136908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328136571, 1328136795, 1328136686, 1328136908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.127458572387695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:02:03.112882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/59/image_11012025_11_59_02_739176_0003.jpg', '/home/pi/Desktop/images/11012025/12/00/image_11012025_12_00_02_992141_0000.jpg', '/home/pi/Desktop/images/11012025/12/00/image_11012025_12_00_02_992141_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/11/59/image_11012025_11_59_02_739176_0003.jpg
/home/pi/Desktop/images/11012025/12/00/image_11012025_12_00_02_992141_0000.jpg
/home/pi/Desktop/images/11012025/12/00/image_11012025_12_00_02_992141_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":["1328137102","1328137096","1328137099"],"photo_ids_order":["1328137096","1328137099","1328137102"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f72ccc6b301ff7b940802840efabd6ca.jpg","text":"TemporaryFile(/tmp/multipartBody5828115183841807085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593391049,"filename":"image_11012025_12_00_02_992141_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6ac329f64e5e5d8e1040d3e60382ac7f.jpg","text":"TemporaryFile(/tmp/multipartBody7859181714122746739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593391049,"filename":"image_11012025_11_59_02_739176_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/60f9fe2404b653f112585db28f3bfdaa.jpg","text":"TemporaryFile(/tmp/multipartBody7978624255800468193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593391049,"filename":"image_11012025_12_00_02_992141_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328137102","file1":"1328137099","file0":"1328137096"},"map_files_photo_id_array":[{"photo_id":"1328137102","filename":"file2"},{"photo_id":"1328137099","filename":"file1"},{"photo_id":"1328137096","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328137102":["hashtag1","hashtag2"]},{"1328137096":["hashtag1","hashtag2"]},{"1328137099":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328137102, 1328137096, 1328137099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.482415676116943 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 12:02:42.740590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/00/image_11012025_12_00_02_992141_0003.jpg', '/home/pi/Desktop/images/11012025/12/02/image_11012025_12_02_18_829959_0000.jpg', '/home/pi/Desktop/images/11012025/12/02/image_11012025_12_02_18_829959_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/00/image_11012025_12_00_02_992141_0003.jpg
/home/pi/Desktop/images/11012025/12/02/image_11012025_12_02_18_829959_0000.jpg
/home/pi/Desktop/images/11012025/12/02/image_11012025_12_02_18_829959_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":["1328137117","1328137111","1328137114"],"photo_ids_order":["1328137111","1328137114","1328137117"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9cf78ee7a9949852ee678dee2bfff527.jpg","text":"TemporaryFile(/tmp/multipartBody2758625571872095325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593430571,"filename":"image_11012025_12_02_18_829959_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/984ed0c48936e9a32c3cd9d578fa8d85.jpg","text":"TemporaryFile(/tmp/multipartBody2855752028968793339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593430571,"filename":"image_11012025_12_00_02_992141_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/053f5a180fc4a462cf0f08ea95b3406f.jpg","text":"TemporaryFile(/tmp/multipartBody7546930210876044163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593430571,"filename":"image_11012025_12_02_18_829959_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328137117","file1":"1328137114","file0":"1328137111"},"map_files_photo_id_array":[{"photo_id":"1328137117","filename":"file2"},{"photo_id":"1328137114","filename":"file1"},{"photo_id":"1328137111","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328137117":["hashtag1","hashtag2"]},{"1328137111":["hashtag1","hashtag2"]},{"1328137114":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328137117, 1328137111, 1328137114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.08498573303223 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:03:21.905603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/02/image_11012025_12_02_18_829959_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/02/image_11012025_12_02_18_829959_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328137164"],"photo_id":"1328137164","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/344e3e335ad0f2c9efca74e84a9134e9.jpg","text":"TemporaryFile(/tmp/multipartBody3694466207211753234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593464965,"filename":"image_11012025_12_02_18_829959_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328137164"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328137164"}],"hashtags":[],"portfolio_id":"19511890","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.423582792282104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 12:03:41.877485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 12:03:51.876789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:04:02.474777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:04:22.048349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/02/image_11012025_12_02_18_829959_0003.jpg', '/home/pi/Desktop/images/11012025/12/04/image_11012025_12_04_02_221428_0000.jpg', '/home/pi/Desktop/images/11012025/12/04/image_11012025_12_04_02_221428_0001.jpg', '/home/pi/Desktop/images/11012025/12/04/image_11012025_12_04_02_221428_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/02/image_11012025_12_02_18_829959_0003.jpg
/home/pi/Desktop/images/11012025/12/04/image_11012025_12_04_02_221428_0000.jpg
/home/pi/Desktop/images/11012025/12/04/image_11012025_12_04_02_221428_0001.jpg
/home/pi/Desktop/images/11012025/12/04/image_11012025_12_04_02_221428_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328137731","1328137733","1328137700","1328137729"],"photo_ids_order":["1328137700","1328137729","1328137731","1328137733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/99e251ed881401c026d3263f7aeafe46.jpg","text":"TemporaryFile(/tmp/multipartBody3395509880486382037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593532118,"filename":"image_11012025_12_04_02_221428_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/37cdfe70b3ea80c711d078e4c5b97c12.jpg","text":"TemporaryFile(/tmp/multipartBody7161746297398090161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593532118,"filename":"image_11012025_12_04_02_221428_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c3b18dc4e4b2ffe105ecf291c408f871.jpg","text":"TemporaryFile(/tmp/multipartBody3141904938657057611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593532118,"filename":"image_11012025_12_02_18_829959_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fbd0c02d0acfc05ad08297d32eec7330.jpg","text":"TemporaryFile(/tmp/multipartBody3872188020807414576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593532118,"filename":"image_11012025_12_04_02_221428_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328137731","file1":"1328137729","file0":"1328137700","file3":"1328137733"},"map_files_photo_id_array":[{"photo_id":"1328137731","filename":"file2"},{"photo_id":"1328137729","filename":"file1"},{"photo_id":"1328137700","filename":"file0"},{"photo_id":"1328137733","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328137731":["hashtag1","hashtag2"]},{"1328137733":["hashtag1","hashtag2"]},{"1328137700":["hashtag1","hashtag2"]},{"1328137729":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328137731, 1328137733, 1328137700, 1328137729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.716259717941284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:05:22.252622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/04/image_11012025_12_04_02_221428_0003.jpg', '/home/pi/Desktop/images/11012025/12/05/image_11012025_12_05_02_405201_0000.jpg', '/home/pi/Desktop/images/11012025/12/05/image_11012025_12_05_02_405201_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/04/image_11012025_12_04_02_221428_0003.jpg
/home/pi/Desktop/images/11012025/12/05/image_11012025_12_05_02_405201_0000.jpg
/home/pi/Desktop/images/11012025/12/05/image_11012025_12_05_02_405201_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328137743","1328137745","1328137747"],"photo_ids_order":["1328137743","1328137745","1328137747"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/84239cb5b1bb745d74db69bb49fc73df.jpg","text":"TemporaryFile(/tmp/multipartBody1511673826135150903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593589893,"filename":"image_11012025_12_04_02_221428_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7b014af795218de0d6590ebc2554aee9.jpg","text":"TemporaryFile(/tmp/multipartBody2312634657366250511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593589893,"filename":"image_11012025_12_05_02_405201_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/01fe8563777d44965e997715e95a6ba2.jpg","text":"TemporaryFile(/tmp/multipartBody4959885530506486205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593589893,"filename":"image_11012025_12_05_02_405201_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328137747","file1":"1328137745","file0":"1328137743"},"map_files_photo_id_array":[{"photo_id":"1328137747","filename":"file2"},{"photo_id":"1328137745","filename":"file1"},{"photo_id":"1328137743","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328137743":["hashtag1","hashtag2"]},{"1328137745":["hashtag1","hashtag2"]},{"1328137747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328137743, 1328137745, 1328137747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.545077323913574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:06:02.746111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:06:22.347565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/05/image_11012025_12_05_02_405201_0003.jpg', '/home/pi/Desktop/images/11012025/12/06/image_11012025_12_06_02_604104_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/05/image_11012025_12_05_02_405201_0003.jpg
/home/pi/Desktop/images/11012025/12/06/image_11012025_12_06_02_604104_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.928086519241333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 12:06:32.339532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/05/image_11012025_12_05_02_405201_0003.jpg', '/home/pi/Desktop/images/11012025/12/06/image_11012025_12_06_02_604104_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/05/image_11012025_12_05_02_405201_0003.jpg
/home/pi/Desktop/images/11012025/12/06/image_11012025_12_06_02_604104_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328138829","1328138827"],"photo_ids_order":["1328138827","1328138829"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e1764937ad8d4786194ca730e5782a5f.jpg","text":"TemporaryFile(/tmp/multipartBody3490889790284740448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593657682,"filename":"image_11012025_12_06_02_604104_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/97bdf3b3e2765c8de7e636f5a5d197f9.jpg","text":"TemporaryFile(/tmp/multipartBody5645063260304655095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593657682,"filename":"image_11012025_12_05_02_405201_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328138829","file0":"1328138827"},"map_files_photo_id_array":[{"photo_id":"1328138829","filename":"file1"},{"photo_id":"1328138827","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328138829":["hashtag1","hashtag2"]},{"1328138827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328138829, 1328138827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.372127294540405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:07:03.034072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:07:22.596605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/06/image_11012025_12_06_02_604104_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/06/image_11012025_12_06_02_604104_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328138841"],"photo_id":"1328138841","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c123064a80516ebd7000398e981d478b.jpg","text":"TemporaryFile(/tmp/multipartBody422909951672458231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593705609,"filename":"image_11012025_12_06_02_604104_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328138841"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328138841"}],"hashtags":[],"portfolio_id":"19511890","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.756927490234375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 12:07:42.563629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 12:07:52.579591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:08:03.147975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:08:22.798438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/07/image_11012025_12_07_02_732354_0000.jpg', '/home/pi/Desktop/images/11012025/12/08/image_11012025_12_08_02_911206_0000.jpg', '/home/pi/Desktop/images/11012025/12/08/image_11012025_12_08_02_911206_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/07/image_11012025_12_07_02_732354_0000.jpg
/home/pi/Desktop/images/11012025/12/08/image_11012025_12_08_02_911206_0000.jpg
/home/pi/Desktop/images/11012025/12/08/image_11012025_12_08_02_911206_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328139266","1328139267","1328139264"],"photo_ids_order":["1328139264","1328139266","1328139267"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9b83b69cb15aa4e313999318521ba0d9.jpg","text":"TemporaryFile(/tmp/multipartBody8140403108856096875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593770476,"filename":"image_11012025_12_08_02_911206_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/015ad0df4b16b8adaff0dc429c995dbc.jpg","text":"TemporaryFile(/tmp/multipartBody7682529529520058405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593770476,"filename":"image_11012025_12_08_02_911206_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/96be602f4278cf794d927c0a22f34a1d.jpg","text":"TemporaryFile(/tmp/multipartBody444137354421835579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593770476,"filename":"image_11012025_12_07_02_732354_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328139267","file1":"1328139266","file0":"1328139264"},"map_files_photo_id_array":[{"photo_id":"1328139267","filename":"file2"},{"photo_id":"1328139266","filename":"file1"},{"photo_id":"1328139264","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328139266":["hashtag1","hashtag2"]},{"1328139267":["hashtag1","hashtag2"]},{"1328139264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328139266, 1328139267, 1328139264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.79330015182495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:09:02.599062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:09:22.062416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/08/image_11012025_12_08_02_911206_0003.jpg', '/home/pi/Desktop/images/11012025/12/09/image_11012025_12_09_03_112591_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/08/image_11012025_12_08_02_911206_0003.jpg
/home/pi/Desktop/images/11012025/12/09/image_11012025_12_09_03_112591_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":["1328139291","1328139288"],"photo_ids_order":["1328139288","1328139291"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cfebc127e29788274b28181bb07ba752.jpg","text":"TemporaryFile(/tmp/multipartBody7532907132450766549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593827374,"filename":"image_11012025_12_09_03_112591_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0df354881b92767a7f88622e7d37ae7b.jpg","text":"TemporaryFile(/tmp/multipartBody2401498036597354646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593827374,"filename":"image_11012025_12_08_02_911206_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328139291","file0":"1328139288"},"map_files_photo_id_array":[{"photo_id":"1328139291","filename":"file1"},{"photo_id":"1328139288","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328139291":["hashtag1","hashtag2"]},{"1328139288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328139291, 1328139288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 27.319117069244385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 12:09:51.951737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:10:02.642289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:10:22.162110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/09/image_11012025_12_09_03_112591_0002.jpg', '/home/pi/Desktop/images/11012025/12/10/image_11012025_12_10_02_303280_0000.jpg', '/home/pi/Desktop/images/11012025/12/10/image_11012025_12_10_02_303280_0001.jpg', '/home/pi/Desktop/images/11012025/12/10/image_11012025_12_10_02_303280_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/09/image_11012025_12_09_03_112591_0002.jpg
/home/pi/Desktop/images/11012025/12/10/image_11012025_12_10_02_303280_0000.jpg
/home/pi/Desktop/images/11012025/12/10/image_11012025_12_10_02_303280_0001.jpg
/home/pi/Desktop/images/11012025/12/10/image_11012025_12_10_02_303280_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328139347","1328139354","1328139348","1328139351"],"photo_ids_order":["1328139347","1328139348","1328139351","1328139354"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c9f1e24e6aec088fdbc5a4b239f3d536.jpg","text":"TemporaryFile(/tmp/multipartBody903823961268917196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593892147,"filename":"image_11012025_12_09_03_112591_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/461316d5a17c7ed2aca029887de97b1c.jpg","text":"TemporaryFile(/tmp/multipartBody2395171598911575203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593892147,"filename":"image_11012025_12_10_02_303280_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5ad9e31fc7160aaf1a6228167178fb74.jpg","text":"TemporaryFile(/tmp/multipartBody5879693899422967358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593892147,"filename":"image_11012025_12_10_02_303280_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a23a4f6150e9c18ee2f5ba7b10a84f21.jpg","text":"TemporaryFile(/tmp/multipartBody8734402603477602462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593892147,"filename":"image_11012025_12_10_02_303280_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328139351","file1":"1328139348","file0":"1328139347","file3":"1328139354"},"map_files_photo_id_array":[{"photo_id":"1328139351","filename":"file2"},{"photo_id":"1328139348","filename":"file1"},{"photo_id":"1328139347","filename":"file0"},{"photo_id":"1328139354","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328139347":["hashtag1","hashtag2"]},{"1328139354":["hashtag1","hashtag2"]},{"1328139348":["hashtag1","hashtag2"]},{"1328139351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328139347, 1328139354, 1328139348, 1328139351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.88785719871521 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:11:22.343989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/10/image_11012025_12_10_02_303280_0003.jpg', '/home/pi/Desktop/images/11012025/12/11/image_11012025_12_11_02_505905_0000.jpg', '/home/pi/Desktop/images/11012025/12/11/image_11012025_12_11_02_505905_0001.jpg', '/home/pi/Desktop/images/11012025/12/11/image_11012025_12_11_02_505905_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/10/image_11012025_12_10_02_303280_0003.jpg
/home/pi/Desktop/images/11012025/12/11/image_11012025_12_11_02_505905_0000.jpg
/home/pi/Desktop/images/11012025/12/11/image_11012025_12_11_02_505905_0001.jpg
/home/pi/Desktop/images/11012025/12/11/image_11012025_12_11_02_505905_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328139673","1328139667","1328139666","1328139669"],"photo_ids_order":["1328139666","1328139667","1328139669","1328139673"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6227b73c6bccdbf49133429351d680cd.jpg","text":"TemporaryFile(/tmp/multipartBody5522245276757147596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593952322,"filename":"image_11012025_12_11_02_505905_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e7368e37386c2188a61367371b4e7823.jpg","text":"TemporaryFile(/tmp/multipartBody4416981594053911187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593952322,"filename":"image_11012025_12_11_02_505905_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/73ba7bf794a2c12ec6c5f7e589ab6a56.jpg","text":"TemporaryFile(/tmp/multipartBody3118679730377217993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593952322,"filename":"image_11012025_12_10_02_303280_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/85e452a38471af5557480ff88294a8db.jpg","text":"TemporaryFile(/tmp/multipartBody477586659181422026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736593952322,"filename":"image_11012025_12_11_02_505905_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328139669","file1":"1328139667","file0":"1328139666","file3":"1328139673"},"map_files_photo_id_array":[{"photo_id":"1328139669","filename":"file2"},{"photo_id":"1328139667","filename":"file1"},{"photo_id":"1328139666","filename":"file0"},{"photo_id":"1328139673","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328139673":["hashtag1","hashtag2"]},{"1328139667":["hashtag1","hashtag2"]},{"1328139666":["hashtag1","hashtag2"]},{"1328139669":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328139673, 1328139667, 1328139666, 1328139669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.52812385559082 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:12:02.872920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:12:22.507019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/11/image_11012025_12_11_02_505905_0003.jpg', '/home/pi/Desktop/images/11012025/12/12/image_11012025_12_12_02_695055_0001.jpg', '/home/pi/Desktop/images/11012025/12/12/image_11012025_12_12_02_695055_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/11/image_11012025_12_11_02_505905_0003.jpg
/home/pi/Desktop/images/11012025/12/12/image_11012025_12_12_02_695055_0001.jpg
/home/pi/Desktop/images/11012025/12/12/image_11012025_12_12_02_695055_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328139887","1328139889","1328139879"],"photo_ids_order":["1328139879","1328139887","1328139889"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f64fe330eb4e304a18f62adf526a0f80.jpg","text":"TemporaryFile(/tmp/multipartBody5424650357199228387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594010160,"filename":"image_11012025_12_12_02_695055_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/650574c651cb837c539e1851b01e2f55.jpg","text":"TemporaryFile(/tmp/multipartBody588911592164118473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594010160,"filename":"image_11012025_12_12_02_695055_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f72979abc2fba8b1b14b630a4d5f8c88.jpg","text":"TemporaryFile(/tmp/multipartBody3944555199831172776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594010160,"filename":"image_11012025_12_11_02_505905_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328139889","file1":"1328139887","file0":"1328139879"},"map_files_photo_id_array":[{"photo_id":"1328139889","filename":"file2"},{"photo_id":"1328139887","filename":"file1"},{"photo_id":"1328139879","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328139887":["hashtag1","hashtag2"]},{"1328139889":["hashtag1","hashtag2"]},{"1328139879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328139887, 1328139889, 1328139879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.70793080329895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:13:03.329118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:13:22.715528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/12/image_11012025_12_12_02_695055_0003.jpg', '/home/pi/Desktop/images/11012025/12/13/image_11012025_12_13_02_901269_0001.jpg', '/home/pi/Desktop/images/11012025/12/13/image_11012025_12_13_02_901269_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/12/image_11012025_12_12_02_695055_0003.jpg
/home/pi/Desktop/images/11012025/12/13/image_11012025_12_13_02_901269_0001.jpg
/home/pi/Desktop/images/11012025/12/13/image_11012025_12_13_02_901269_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.283285856246948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 12:13:32.671735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/12/image_11012025_12_12_02_695055_0003.jpg', '/home/pi/Desktop/images/11012025/12/13/image_11012025_12_13_02_901269_0001.jpg', '/home/pi/Desktop/images/11012025/12/13/image_11012025_12_13_02_901269_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/12/image_11012025_12_12_02_695055_0003.jpg
/home/pi/Desktop/images/11012025/12/13/image_11012025_12_13_02_901269_0001.jpg
/home/pi/Desktop/images/11012025/12/13/image_11012025_12_13_02_901269_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328140632","1328140496","1328140364"],"photo_ids_order":["1328140364","1328140496","1328140632"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d7a5884bc2447e670d384fbec4c667d4.jpg","text":"TemporaryFile(/tmp/multipartBody4483774090156379208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594080360,"filename":"image_11012025_12_13_02_901269_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fa5a4d094ea5009af208cbb24dc5cbb6.jpg","text":"TemporaryFile(/tmp/multipartBody3142616030572855948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594080360,"filename":"image_11012025_12_13_02_901269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4e6138e5cc455f292db213bbf6e8088a.jpg","text":"TemporaryFile(/tmp/multipartBody3503928019705377433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594080360,"filename":"image_11012025_12_12_02_695055_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328140632","file1":"1328140496","file0":"1328140364"},"map_files_photo_id_array":[{"photo_id":"1328140632","filename":"file2"},{"photo_id":"1328140496","filename":"file1"},{"photo_id":"1328140364","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328140632":["hashtag1","hashtag2"]},{"1328140496":["hashtag1","hashtag2"]},{"1328140364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328140632, 1328140496, 1328140364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.030412197113037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:14:21.877865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/13/image_11012025_12_13_02_901269_0003.jpg', '/home/pi/Desktop/images/11012025/12/14/image_11012025_12_14_03_145040_0000.jpg', '/home/pi/Desktop/images/11012025/12/14/image_11012025_12_14_03_145040_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/13/image_11012025_12_13_02_901269_0003.jpg
/home/pi/Desktop/images/11012025/12/14/image_11012025_12_14_03_145040_0000.jpg
/home/pi/Desktop/images/11012025/12/14/image_11012025_12_14_03_145040_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":["1328141368","1328141370","1328141373"],"photo_ids_order":["1328141368","1328141370","1328141373"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f962719442e093dc91e672db938f559d.jpg","text":"TemporaryFile(/tmp/multipartBody5262160311302682857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594129537,"filename":"image_11012025_12_13_02_901269_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7a6d816793c008c0bd1da7802c00a904.jpg","text":"TemporaryFile(/tmp/multipartBody4699253695996542521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594129537,"filename":"image_11012025_12_14_03_145040_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5dfa67a5d38c3275568471e154aecc16.jpg","text":"TemporaryFile(/tmp/multipartBody3873653989577587496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594129537,"filename":"image_11012025_12_14_03_145040_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328141373","file1":"1328141370","file0":"1328141368"},"map_files_photo_id_array":[{"photo_id":"1328141373","filename":"file2"},{"photo_id":"1328141370","filename":"file1"},{"photo_id":"1328141368","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328141368":["hashtag1","hashtag2"]},{"1328141370":["hashtag1","hashtag2"]},{"1328141373":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328141368, 1328141370, 1328141373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.9131817817688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:15:02.740065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:15:22.069823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/14/image_11012025_12_14_03_145040_0003.jpg', '/home/pi/Desktop/images/11012025/12/15/image_11012025_12_15_02_205541_0000.jpg', '/home/pi/Desktop/images/11012025/12/15/image_11012025_12_15_02_205541_0001.jpg', '/home/pi/Desktop/images/11012025/12/15/image_11012025_12_15_02_205541_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/14/image_11012025_12_14_03_145040_0003.jpg
/home/pi/Desktop/images/11012025/12/15/image_11012025_12_15_02_205541_0000.jpg
/home/pi/Desktop/images/11012025/12/15/image_11012025_12_15_02_205541_0001.jpg
/home/pi/Desktop/images/11012025/12/15/image_11012025_12_15_02_205541_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328141549","1328141668","1328141389","1328141422"],"photo_ids_order":["1328141389","1328141422","1328141549","1328141668"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1ba592b2393708844172e98fa122f341.jpg","text":"TemporaryFile(/tmp/multipartBody3644307321773052131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594192040,"filename":"image_11012025_12_15_02_205541_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eaa91bbe9722cd639ee67fe3c79e8cff.jpg","text":"TemporaryFile(/tmp/multipartBody1895787658856584399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594192040,"filename":"image_11012025_12_15_02_205541_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d34c4a916df39a50ba3f9b97cec8f1f7.jpg","text":"TemporaryFile(/tmp/multipartBody5087294536846582357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594192040,"filename":"image_11012025_12_14_03_145040_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/51374ed1ea584b8b828da369f74ec13e.jpg","text":"TemporaryFile(/tmp/multipartBody3372513044618032016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594192040,"filename":"image_11012025_12_15_02_205541_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328141549","file1":"1328141422","file0":"1328141389","file3":"1328141668"},"map_files_photo_id_array":[{"photo_id":"1328141549","filename":"file2"},{"photo_id":"1328141422","filename":"file1"},{"photo_id":"1328141389","filename":"file0"},{"photo_id":"1328141668","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328141549":["hashtag1","hashtag2"]},{"1328141668":["hashtag1","hashtag2"]},{"1328141389":["hashtag1","hashtag2"]},{"1328141422":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328141549, 1328141668, 1328141389, 1328141422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.450522661209106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:16:02.734987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:16:22.277976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/15/image_11012025_12_15_02_205541_0003.jpg', '/home/pi/Desktop/images/11012025/12/16/image_11012025_12_16_02_406013_0000.jpg', '/home/pi/Desktop/images/11012025/12/16/image_11012025_12_16_02_406013_0001.jpg', '/home/pi/Desktop/images/11012025/12/16/image_11012025_12_16_02_406013_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/15/image_11012025_12_15_02_205541_0003.jpg
/home/pi/Desktop/images/11012025/12/16/image_11012025_12_16_02_406013_0000.jpg
/home/pi/Desktop/images/11012025/12/16/image_11012025_12_16_02_406013_0001.jpg
/home/pi/Desktop/images/11012025/12/16/image_11012025_12_16_02_406013_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328141885","1328141864","1328141901","1328141904"],"photo_ids_order":["1328141864","1328141885","1328141901","1328141904"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a79aa5201ba231bea1f5103283276a96.jpg","text":"TemporaryFile(/tmp/multipartBody3383337297898959533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594252355,"filename":"image_11012025_12_16_02_406013_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/48fc15ff5c78d2d83522dd05108e1e4a.jpg","text":"TemporaryFile(/tmp/multipartBody3105907924161949280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594252355,"filename":"image_11012025_12_15_02_205541_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ca04d27542ff5fe9d1e1fcfc0dee1699.jpg","text":"TemporaryFile(/tmp/multipartBody353697793474457047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594252355,"filename":"image_11012025_12_16_02_406013_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/083917e68c25d9b392c45605789821cc.jpg","text":"TemporaryFile(/tmp/multipartBody1724187825325325884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594252355,"filename":"image_11012025_12_16_02_406013_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328141901","file1":"1328141885","file0":"1328141864","file3":"1328141904"},"map_files_photo_id_array":[{"photo_id":"1328141901","filename":"file2"},{"photo_id":"1328141885","filename":"file1"},{"photo_id":"1328141864","filename":"file0"},{"photo_id":"1328141904","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328141885":["hashtag1","hashtag2"]},{"1328141864":["hashtag1","hashtag2"]},{"1328141901":["hashtag1","hashtag2"]},{"1328141904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328141885, 1328141864, 1328141901, 1328141904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.582175970077515 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-11 12:17:22.441998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/16/image_11012025_12_16_02_406013_0003.jpg', '/home/pi/Desktop/images/11012025/12/17/image_11012025_12_17_02_658457_0000.jpg', '/home/pi/Desktop/images/11012025/12/17/image_11012025_12_17_02_658457_0001.jpg', '/home/pi/Desktop/images/11012025/12/17/image_11012025_12_17_02_658457_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/16/image_11012025_12_16_02_406013_0003.jpg
/home/pi/Desktop/images/11012025/12/17/image_11012025_12_17_02_658457_0000.jpg
/home/pi/Desktop/images/11012025/12/17/image_11012025_12_17_02_658457_0001.jpg
/home/pi/Desktop/images/11012025/12/17/image_11012025_12_17_02_658457_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328141963","1328141983","1328141974","1328141950"],"photo_ids_order":["1328141950","1328141963","1328141974","1328141983"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a96e130d160f305a6680cff2fa311fba.jpg","text":"TemporaryFile(/tmp/multipartBody3637636788389911690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594314210,"filename":"image_11012025_12_17_02_658457_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7e15945c71a0d0737bce98dbf43bdcbf.jpg","text":"TemporaryFile(/tmp/multipartBody23228928818239716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594314210,"filename":"image_11012025_12_17_02_658457_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3e3afcccb9ed814a237291e2379acfb5.jpg","text":"TemporaryFile(/tmp/multipartBody932937450333639712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594314210,"filename":"image_11012025_12_17_02_658457_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ebd90dd1d5e4610598ae2e4f7d7582e1.jpg","text":"TemporaryFile(/tmp/multipartBody8302499174893114223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594314210,"filename":"image_11012025_12_16_02_406013_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328141974","file1":"1328141963","file0":"1328141950","file3":"1328141983"},"map_files_photo_id_array":[{"photo_id":"1328141974","filename":"file2"},{"photo_id":"1328141963","filename":"file1"},{"photo_id":"1328141950","filename":"file0"},{"photo_id":"1328141983","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328141963":["hashtag1","hashtag2"]},{"1328141983":["hashtag1","hashtag2"]},{"1328141974":["hashtag1","hashtag2"]},{"1328141950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328141963, 1328141983, 1328141974, 1328141950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.293543100357056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:18:22.610614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/17/image_11012025_12_17_02_658457_0003.jpg', '/home/pi/Desktop/images/11012025/12/18/image_11012025_12_18_02_836546_0000.jpg', '/home/pi/Desktop/images/11012025/12/18/image_11012025_12_18_02_836546_0001.jpg', '/home/pi/Desktop/images/11012025/12/18/image_11012025_12_18_02_836546_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/17/image_11012025_12_17_02_658457_0003.jpg
/home/pi/Desktop/images/11012025/12/18/image_11012025_12_18_02_836546_0000.jpg
/home/pi/Desktop/images/11012025/12/18/image_11012025_12_18_02_836546_0001.jpg
/home/pi/Desktop/images/11012025/12/18/image_11012025_12_18_02_836546_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.65716290473938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 12:18:42.615287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/17/image_11012025_12_17_02_658457_0003.jpg', '/home/pi/Desktop/images/11012025/12/18/image_11012025_12_18_02_836546_0000.jpg', '/home/pi/Desktop/images/11012025/12/18/image_11012025_12_18_02_836546_0001.jpg', '/home/pi/Desktop/images/11012025/12/18/image_11012025_12_18_02_836546_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/17/image_11012025_12_17_02_658457_0003.jpg
/home/pi/Desktop/images/11012025/12/18/image_11012025_12_18_02_836546_0000.jpg
/home/pi/Desktop/images/11012025/12/18/image_11012025_12_18_02_836546_0001.jpg
/home/pi/Desktop/images/11012025/12/18/image_11012025_12_18_02_836546_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328142560","1328142562","1328142558","1328142773"],"photo_ids_order":["1328142558","1328142560","1328142562","1328142773"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eb5156690902ce7f34cec72023a263ea.jpg","text":"TemporaryFile(/tmp/multipartBody600874753242840587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594392677,"filename":"image_11012025_12_18_02_836546_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/13af8a23cf16d795cf3c6a17ec95f84d.jpg","text":"TemporaryFile(/tmp/multipartBody1182151776727172956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594392677,"filename":"image_11012025_12_18_02_836546_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/014de5a58dbcf3c5d0c7732d42b364af.jpg","text":"TemporaryFile(/tmp/multipartBody7921861268692255619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594392677,"filename":"image_11012025_12_17_02_658457_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/28f81db6dbd6551251fe84968f088ae9.jpg","text":"TemporaryFile(/tmp/multipartBody4279641036970777934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594392677,"filename":"image_11012025_12_18_02_836546_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328142562","file1":"1328142560","file0":"1328142558","file3":"1328142773"},"map_files_photo_id_array":[{"photo_id":"1328142562","filename":"file2"},{"photo_id":"1328142560","filename":"file1"},{"photo_id":"1328142558","filename":"file0"},{"photo_id":"1328142773","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328142560":["hashtag1","hashtag2"]},{"1328142562":["hashtag1","hashtag2"]},{"1328142558":["hashtag1","hashtag2"]},{"1328142773":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328142560, 1328142562, 1328142558, 1328142773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.25810647010803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 12:19:32.868926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/18/image_11012025_12_18_02_836546_0003.jpg', '/home/pi/Desktop/images/11012025/12/19/image_11012025_12_19_02_994642_0000.jpg', '/home/pi/Desktop/images/11012025/12/19/image_11012025_12_19_02_994642_0001.jpg', '/home/pi/Desktop/images/11012025/12/19/image_11012025_12_19_02_994642_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/18/image_11012025_12_18_02_836546_0003.jpg
/home/pi/Desktop/images/11012025/12/19/image_11012025_12_19_02_994642_0000.jpg
/home/pi/Desktop/images/11012025/12/19/image_11012025_12_19_02_994642_0001.jpg
/home/pi/Desktop/images/11012025/12/19/image_11012025_12_19_02_994642_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328142833","1328142829","1328142826","1328142831"],"photo_ids_order":["1328142826","1328142829","1328142831","1328142833"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b77cccedc1108ca7ff47097b6d91e405.jpg","text":"TemporaryFile(/tmp/multipartBody5533306301894145505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594443065,"filename":"image_11012025_12_19_02_994642_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e33bdf2861c5be4729b65dc626063540.jpg","text":"TemporaryFile(/tmp/multipartBody1261550098011383385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594443065,"filename":"image_11012025_12_19_02_994642_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3c02196fe0c1f82680ffcc953fcfdc4f.jpg","text":"TemporaryFile(/tmp/multipartBody983198013687080031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594443065,"filename":"image_11012025_12_18_02_836546_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fe18252dfd0124fd3ef7c85641faaa2e.jpg","text":"TemporaryFile(/tmp/multipartBody6468457697289799928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594443065,"filename":"image_11012025_12_19_02_994642_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328142831","file1":"1328142829","file0":"1328142826","file3":"1328142833"},"map_files_photo_id_array":[{"photo_id":"1328142831","filename":"file2"},{"photo_id":"1328142829","filename":"file1"},{"photo_id":"1328142826","filename":"file0"},{"photo_id":"1328142833","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328142833":["hashtag1","hashtag2"]},{"1328142829":["hashtag1","hashtag2"]},{"1328142826":["hashtag1","hashtag2"]},{"1328142831":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328142833, 1328142829, 1328142826, 1328142831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.035451889038086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:20:21.950051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/19/image_11012025_12_19_02_994642_0003.jpg', '/home/pi/Desktop/images/11012025/12/20/image_11012025_12_20_03_116052_0000.jpg', '/home/pi/Desktop/images/11012025/12/20/image_11012025_12_20_03_116052_0001.jpg', '/home/pi/Desktop/images/11012025/12/20/image_11012025_12_20_03_116052_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/19/image_11012025_12_19_02_994642_0003.jpg
/home/pi/Desktop/images/11012025/12/20/image_11012025_12_20_03_116052_0000.jpg
/home/pi/Desktop/images/11012025/12/20/image_11012025_12_20_03_116052_0001.jpg
/home/pi/Desktop/images/11012025/12/20/image_11012025_12_20_03_116052_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328142868","1328142864","1328142866","1328142854"],"photo_ids_order":["1328142854","1328142864","1328142866","1328142868"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8e7b9e7c25d74e387367eeb268ebe754.jpg","text":"TemporaryFile(/tmp/multipartBody5284494457832389683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594492229,"filename":"image_11012025_12_20_03_116052_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1bcd8cd1fc7ab4ea5dc46f87c29f0b1e.jpg","text":"TemporaryFile(/tmp/multipartBody8150663904522064869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594492229,"filename":"image_11012025_12_20_03_116052_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2b7e469791029130b89de1d333265f90.jpg","text":"TemporaryFile(/tmp/multipartBody5255905346279733138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594492229,"filename":"image_11012025_12_20_03_116052_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/38b283e9373005d394a432a5c5607db0.jpg","text":"TemporaryFile(/tmp/multipartBody7324210890327250360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594492229,"filename":"image_11012025_12_19_02_994642_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328142866","file1":"1328142864","file0":"1328142854","file3":"1328142868"},"map_files_photo_id_array":[{"photo_id":"1328142866","filename":"file2"},{"photo_id":"1328142864","filename":"file1"},{"photo_id":"1328142854","filename":"file0"},{"photo_id":"1328142868","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328142868":["hashtag1","hashtag2"]},{"1328142864":["hashtag1","hashtag2"]},{"1328142866":["hashtag1","hashtag2"]},{"1328142854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328142868, 1328142864, 1328142866, 1328142854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.928261518478394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:21:22.240028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/20/image_11012025_12_20_03_116052_0003.jpg', '/home/pi/Desktop/images/11012025/12/21/image_11012025_12_21_02_299155_0000.jpg', '/home/pi/Desktop/images/11012025/12/21/image_11012025_12_21_02_299155_0001.jpg', '/home/pi/Desktop/images/11012025/12/21/image_11012025_12_21_02_299155_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/20/image_11012025_12_20_03_116052_0003.jpg
/home/pi/Desktop/images/11012025/12/21/image_11012025_12_21_02_299155_0000.jpg
/home/pi/Desktop/images/11012025/12/21/image_11012025_12_21_02_299155_0001.jpg
/home/pi/Desktop/images/11012025/12/21/image_11012025_12_21_02_299155_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328143189","1328143315","1328143064","1328143451"],"photo_ids_order":["1328143064","1328143189","1328143315","1328143451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/21bd3080e3295fcdf978bdf3cb742b63.jpg","text":"TemporaryFile(/tmp/multipartBody4075544846805637169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594552504,"filename":"image_11012025_12_21_02_299155_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/72b3151e77ea415041b47ad7cc7b508e.jpg","text":"TemporaryFile(/tmp/multipartBody3782420922735937008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594552504,"filename":"image_11012025_12_21_02_299155_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/60d4596eb80127e4e974355905974ad2.jpg","text":"TemporaryFile(/tmp/multipartBody6602083119038852613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594552504,"filename":"image_11012025_12_20_03_116052_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cbb0731815eb43c90c512604a4876c2e.jpg","text":"TemporaryFile(/tmp/multipartBody3130480328456542139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594552504,"filename":"image_11012025_12_21_02_299155_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328143315","file1":"1328143189","file0":"1328143064","file3":"1328143451"},"map_files_photo_id_array":[{"photo_id":"1328143315","filename":"file2"},{"photo_id":"1328143189","filename":"file1"},{"photo_id":"1328143064","filename":"file0"},{"photo_id":"1328143451","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328143189":["hashtag1","hashtag2"]},{"1328143315":["hashtag1","hashtag2"]},{"1328143064":["hashtag1","hashtag2"]},{"1328143451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328143189, 1328143315, 1328143064, 1328143451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.389593839645386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:22:02.653786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:22:22.317935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/21/image_11012025_12_21_02_299155_0003.jpg', '/home/pi/Desktop/images/11012025/12/22/image_11012025_12_22_02_568295_0000.jpg', '/home/pi/Desktop/images/11012025/12/22/image_11012025_12_22_02_568295_0001.jpg', '/home/pi/Desktop/images/11012025/12/22/image_11012025_12_22_02_568295_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/21/image_11012025_12_21_02_299155_0003.jpg
/home/pi/Desktop/images/11012025/12/22/image_11012025_12_22_02_568295_0000.jpg
/home/pi/Desktop/images/11012025/12/22/image_11012025_12_22_02_568295_0001.jpg
/home/pi/Desktop/images/11012025/12/22/image_11012025_12_22_02_568295_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328143911","1328143908","1328143913","1328143916"],"photo_ids_order":["1328143908","1328143911","1328143913","1328143916"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d97b707763b8a2a27a58968b6f286b25.jpg","text":"TemporaryFile(/tmp/multipartBody41057882026523322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594612619,"filename":"image_11012025_12_22_02_568295_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ed6a606442bc8367c1cec70438487487.jpg","text":"TemporaryFile(/tmp/multipartBody3952137744106894642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594612619,"filename":"image_11012025_12_21_02_299155_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b9ebd1d7c7e1d7aacfe2bad2ecb17dd0.jpg","text":"TemporaryFile(/tmp/multipartBody9140575677719157402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594612619,"filename":"image_11012025_12_22_02_568295_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c45490b73cb2b9e2de398ff0c8cfb8d6.jpg","text":"TemporaryFile(/tmp/multipartBody577724624345003014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594612619,"filename":"image_11012025_12_22_02_568295_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328143913","file1":"1328143911","file0":"1328143908","file3":"1328143916"},"map_files_photo_id_array":[{"photo_id":"1328143913","filename":"file2"},{"photo_id":"1328143911","filename":"file1"},{"photo_id":"1328143908","filename":"file0"},{"photo_id":"1328143916","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328143911":["hashtag1","hashtag2"]},{"1328143908":["hashtag1","hashtag2"]},{"1328143913":["hashtag1","hashtag2"]},{"1328143916":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328143911, 1328143908, 1328143913, 1328143916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.21596074104309 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:23:03.133684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:23:22.388316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/22/image_11012025_12_22_02_568295_0003.jpg', '/home/pi/Desktop/images/11012025/12/23/image_11012025_12_23_02_671134_0000.jpg', '/home/pi/Desktop/images/11012025/12/23/image_11012025_12_23_02_671134_0001.jpg', '/home/pi/Desktop/images/11012025/12/23/image_11012025_12_23_02_671134_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/22/image_11012025_12_22_02_568295_0003.jpg
/home/pi/Desktop/images/11012025/12/23/image_11012025_12_23_02_671134_0000.jpg
/home/pi/Desktop/images/11012025/12/23/image_11012025_12_23_02_671134_0001.jpg
/home/pi/Desktop/images/11012025/12/23/image_11012025_12_23_02_671134_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328144289","1328144277","1328144286","1328144291"],"photo_ids_order":["1328144277","1328144286","1328144289","1328144291"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8c560ddd47389999eea5e41bf7b75f2a.jpg","text":"TemporaryFile(/tmp/multipartBody9172137873914301521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594672546,"filename":"image_11012025_12_23_02_671134_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1cdd08c19b605cb0e37452bacc080832.jpg","text":"TemporaryFile(/tmp/multipartBody3793082185270893559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594672546,"filename":"image_11012025_12_22_02_568295_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/91e0373e2ccfd55c287b6664cb9d3379.jpg","text":"TemporaryFile(/tmp/multipartBody4839065720409752723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594672546,"filename":"image_11012025_12_23_02_671134_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/902f17a5ab60fac7ba2a44cc86177b6f.jpg","text":"TemporaryFile(/tmp/multipartBody3842669103204107327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594672546,"filename":"image_11012025_12_23_02_671134_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328144289","file1":"1328144286","file0":"1328144277","file3":"1328144291"},"map_files_photo_id_array":[{"photo_id":"1328144289","filename":"file2"},{"photo_id":"1328144286","filename":"file1"},{"photo_id":"1328144277","filename":"file0"},{"photo_id":"1328144291","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328144289":["hashtag1","hashtag2"]},{"1328144277":["hashtag1","hashtag2"]},{"1328144286":["hashtag1","hashtag2"]},{"1328144291":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328144289, 1328144277, 1328144286, 1328144291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.612547397613525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:24:03.066506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:24:22.674779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/23/image_11012025_12_23_02_671134_0003.jpg', '/home/pi/Desktop/images/11012025/12/24/image_11012025_12_24_02_720285_0000.jpg', '/home/pi/Desktop/images/11012025/12/24/image_11012025_12_24_02_720285_0001.jpg', '/home/pi/Desktop/images/11012025/12/24/image_11012025_12_24_02_720285_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/23/image_11012025_12_23_02_671134_0003.jpg
/home/pi/Desktop/images/11012025/12/24/image_11012025_12_24_02_720285_0000.jpg
/home/pi/Desktop/images/11012025/12/24/image_11012025_12_24_02_720285_0001.jpg
/home/pi/Desktop/images/11012025/12/24/image_11012025_12_24_02_720285_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328144304","1328144318","1328144306","1328144309"],"photo_ids_order":["1328144304","1328144306","1328144309","1328144318"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/84cf7115ca64a1fb3af7e84f0d7d8a34.jpg","text":"TemporaryFile(/tmp/multipartBody2538673873176210056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594732746,"filename":"image_11012025_12_23_02_671134_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d7ebc4baf7af8d3f2521e39b5ed8c271.jpg","text":"TemporaryFile(/tmp/multipartBody6508436424343892687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594732746,"filename":"image_11012025_12_24_02_720285_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fc39665b8035de2813fbb74a72f53216.jpg","text":"TemporaryFile(/tmp/multipartBody7762471162153855250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594732746,"filename":"image_11012025_12_24_02_720285_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ba91518fe98d6fd6dc6bf5a41943809c.jpg","text":"TemporaryFile(/tmp/multipartBody243028929150006550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594732746,"filename":"image_11012025_12_24_02_720285_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328144309","file1":"1328144306","file0":"1328144304","file3":"1328144318"},"map_files_photo_id_array":[{"photo_id":"1328144309","filename":"file2"},{"photo_id":"1328144306","filename":"file1"},{"photo_id":"1328144304","filename":"file0"},{"photo_id":"1328144318","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328144304":["hashtag1","hashtag2"]},{"1328144318":["hashtag1","hashtag2"]},{"1328144306":["hashtag1","hashtag2"]},{"1328144309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328144304, 1328144318, 1328144306, 1328144309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.27452325820923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:25:02.213789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:25:21.866671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/24/image_11012025_12_24_02_720285_0003.jpg', '/home/pi/Desktop/images/11012025/12/25/image_11012025_12_25_02_959487_0000.jpg', '/home/pi/Desktop/images/11012025/12/25/image_11012025_12_25_02_959487_0001.jpg', '/home/pi/Desktop/images/11012025/12/25/image_11012025_12_25_02_959487_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/24/image_11012025_12_24_02_720285_0003.jpg
/home/pi/Desktop/images/11012025/12/25/image_11012025_12_25_02_959487_0000.jpg
/home/pi/Desktop/images/11012025/12/25/image_11012025_12_25_02_959487_0001.jpg
/home/pi/Desktop/images/11012025/12/25/image_11012025_12_25_02_959487_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328144356","1328144358","1328144354","1328144362"],"photo_ids_order":["1328144354","1328144356","1328144358","1328144362"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dd4864293a2caad32db4244c7f76b055.jpg","text":"TemporaryFile(/tmp/multipartBody295911339406561507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594792068,"filename":"image_11012025_12_25_02_959487_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e237615303b52dade282a63139530c64.jpg","text":"TemporaryFile(/tmp/multipartBody1298653186906460500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594792068,"filename":"image_11012025_12_25_02_959487_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d354ccdb1a0c8a88bd489460d5e5af75.jpg","text":"TemporaryFile(/tmp/multipartBody2873219229549961796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594792068,"filename":"image_11012025_12_24_02_720285_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0a188e9e5797bfe01028b065aa0e1773.jpg","text":"TemporaryFile(/tmp/multipartBody1894525201228547007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594792068,"filename":"image_11012025_12_25_02_959487_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328144358","file1":"1328144356","file0":"1328144354","file3":"1328144362"},"map_files_photo_id_array":[{"photo_id":"1328144358","filename":"file2"},{"photo_id":"1328144356","filename":"file1"},{"photo_id":"1328144354","filename":"file0"},{"photo_id":"1328144362","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328144356":["hashtag1","hashtag2"]},{"1328144358":["hashtag1","hashtag2"]},{"1328144354":["hashtag1","hashtag2"]},{"1328144362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328144356, 1328144358, 1328144354, 1328144362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.7174654006958 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:26:02.392749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:26:22.007448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/25/image_11012025_12_25_02_959487_0003.jpg', '/home/pi/Desktop/images/11012025/12/26/image_11012025_12_26_02_191576_0000.jpg', '/home/pi/Desktop/images/11012025/12/26/image_11012025_12_26_02_191576_0001.jpg', '/home/pi/Desktop/images/11012025/12/26/image_11012025_12_26_02_191576_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/25/image_11012025_12_25_02_959487_0003.jpg
/home/pi/Desktop/images/11012025/12/26/image_11012025_12_26_02_191576_0000.jpg
/home/pi/Desktop/images/11012025/12/26/image_11012025_12_26_02_191576_0001.jpg
/home/pi/Desktop/images/11012025/12/26/image_11012025_12_26_02_191576_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328144500","1328144516","1328144519","1328144524"],"photo_ids_order":["1328144500","1328144516","1328144519","1328144524"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cb4a76847a64730c121b44d8f0f6c0e8.jpg","text":"TemporaryFile(/tmp/multipartBody1689290186200550143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594852101,"filename":"image_11012025_12_25_02_959487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/adf615c98b49e9b3b3a04748c481887d.jpg","text":"TemporaryFile(/tmp/multipartBody3099723504824602839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594852101,"filename":"image_11012025_12_26_02_191576_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/85b4b04aac1d8da0ec38e8012d947f55.jpg","text":"TemporaryFile(/tmp/multipartBody3569834231576824583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594852101,"filename":"image_11012025_12_26_02_191576_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/34a4770dd1087160a6aa3ce6cfbcd173.jpg","text":"TemporaryFile(/tmp/multipartBody7132385070526220872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594852101,"filename":"image_11012025_12_26_02_191576_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328144519","file1":"1328144516","file0":"1328144500","file3":"1328144524"},"map_files_photo_id_array":[{"photo_id":"1328144519","filename":"file2"},{"photo_id":"1328144516","filename":"file1"},{"photo_id":"1328144500","filename":"file0"},{"photo_id":"1328144524","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328144500":["hashtag1","hashtag2"]},{"1328144516":["hashtag1","hashtag2"]},{"1328144519":["hashtag1","hashtag2"]},{"1328144524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328144500, 1328144516, 1328144519, 1328144524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.92801022529602 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:27:02.770366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:27:22.082374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/26/image_11012025_12_26_02_191576_0003.jpg', '/home/pi/Desktop/images/11012025/12/27/image_11012025_12_27_02_255803_0000.jpg', '/home/pi/Desktop/images/11012025/12/27/image_11012025_12_27_02_255803_0001.jpg', '/home/pi/Desktop/images/11012025/12/27/image_11012025_12_27_02_255803_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/26/image_11012025_12_26_02_191576_0003.jpg
/home/pi/Desktop/images/11012025/12/27/image_11012025_12_27_02_255803_0000.jpg
/home/pi/Desktop/images/11012025/12/27/image_11012025_12_27_02_255803_0001.jpg
/home/pi/Desktop/images/11012025/12/27/image_11012025_12_27_02_255803_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328144556","1328144561","1328144555","1328144615"],"photo_ids_order":["1328144555","1328144556","1328144561","1328144615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/868e363c22c6b07fa665809397f6afed.jpg","text":"TemporaryFile(/tmp/multipartBody7867785354788018450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594912147,"filename":"image_11012025_12_27_02_255803_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b0bd574ac4400eaa6d7c62e798d3cba4.jpg","text":"TemporaryFile(/tmp/multipartBody4073495531508140671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594912147,"filename":"image_11012025_12_27_02_255803_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/79d098d6678d58a3663edb7487c60a82.jpg","text":"TemporaryFile(/tmp/multipartBody6977325878302067198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594912147,"filename":"image_11012025_12_26_02_191576_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cd65685409eb25aeb019aaf35cef82d8.jpg","text":"TemporaryFile(/tmp/multipartBody7850692667985528234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594912147,"filename":"image_11012025_12_27_02_255803_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328144561","file1":"1328144556","file0":"1328144555","file3":"1328144615"},"map_files_photo_id_array":[{"photo_id":"1328144561","filename":"file2"},{"photo_id":"1328144556","filename":"file1"},{"photo_id":"1328144555","filename":"file0"},{"photo_id":"1328144615","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328144556":["hashtag1","hashtag2"]},{"1328144561":["hashtag1","hashtag2"]},{"1328144555":["hashtag1","hashtag2"]},{"1328144615":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328144556, 1328144561, 1328144555, 1328144615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.50292229652405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:28:02.815358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:28:22.284738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/27/image_11012025_12_27_02_255803_0003.jpg', '/home/pi/Desktop/images/11012025/12/28/image_11012025_12_28_02_472133_0000.jpg', '/home/pi/Desktop/images/11012025/12/28/image_11012025_12_28_02_472133_0001.jpg', '/home/pi/Desktop/images/11012025/12/28/image_11012025_12_28_02_472133_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/27/image_11012025_12_27_02_255803_0003.jpg
/home/pi/Desktop/images/11012025/12/28/image_11012025_12_28_02_472133_0000.jpg
/home/pi/Desktop/images/11012025/12/28/image_11012025_12_28_02_472133_0001.jpg
/home/pi/Desktop/images/11012025/12/28/image_11012025_12_28_02_472133_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328144632","1328144637","1328144631","1328144633"],"photo_ids_order":["1328144631","1328144632","1328144633","1328144637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/69f5924118a63fa67c9ac8e34c229fa2.jpg","text":"TemporaryFile(/tmp/multipartBody6041461668610433841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594972386,"filename":"image_11012025_12_28_02_472133_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/39351e2d9bade3c0130ba78bc2208e57.jpg","text":"TemporaryFile(/tmp/multipartBody3879218635638435008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594972386,"filename":"image_11012025_12_28_02_472133_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ab04b1cf4b97203b05d3547edb3721c7.jpg","text":"TemporaryFile(/tmp/multipartBody8064131774200865410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594972386,"filename":"image_11012025_12_27_02_255803_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/50baefb25cf517c3397ab00dcb2a54bc.jpg","text":"TemporaryFile(/tmp/multipartBody3013672623756110555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736594972386,"filename":"image_11012025_12_28_02_472133_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328144633","file1":"1328144632","file0":"1328144631","file3":"1328144637"},"map_files_photo_id_array":[{"photo_id":"1328144633","filename":"file2"},{"photo_id":"1328144632","filename":"file1"},{"photo_id":"1328144631","filename":"file0"},{"photo_id":"1328144637","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328144632":["hashtag1","hashtag2"]},{"1328144637":["hashtag1","hashtag2"]},{"1328144631":["hashtag1","hashtag2"]},{"1328144633":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328144632, 1328144637, 1328144631, 1328144633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.12807893753052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:29:03.141475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:29:22.527379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/28/image_11012025_12_28_02_472133_0003.jpg', '/home/pi/Desktop/images/11012025/12/29/image_11012025_12_29_02_722303_0000.jpg', '/home/pi/Desktop/images/11012025/12/29/image_11012025_12_29_02_722303_0001.jpg', '/home/pi/Desktop/images/11012025/12/29/image_11012025_12_29_02_722303_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/28/image_11012025_12_28_02_472133_0003.jpg
/home/pi/Desktop/images/11012025/12/29/image_11012025_12_29_02_722303_0000.jpg
/home/pi/Desktop/images/11012025/12/29/image_11012025_12_29_02_722303_0001.jpg
/home/pi/Desktop/images/11012025/12/29/image_11012025_12_29_02_722303_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328144673","1328144706","1328144675","1328144674"],"photo_ids_order":["1328144673","1328144674","1328144675","1328144706"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5f588fed87278d1f2518f8acc2b6c4b4.jpg","text":"TemporaryFile(/tmp/multipartBody5244423143300882151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595032666,"filename":"image_11012025_12_28_02_472133_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b2a3a21cb4ae3ddd7afd64b2a37ca801.jpg","text":"TemporaryFile(/tmp/multipartBody4157113996439323746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595032666,"filename":"image_11012025_12_29_02_722303_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ac2eb2cca08434f5da2b2b6f3544e1c6.jpg","text":"TemporaryFile(/tmp/multipartBody5079351249480115217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595032666,"filename":"image_11012025_12_29_02_722303_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dda3a4a38a992cd5a95e02b2966b175d.jpg","text":"TemporaryFile(/tmp/multipartBody2907938908725380905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595032666,"filename":"image_11012025_12_29_02_722303_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328144675","file1":"1328144674","file0":"1328144673","file3":"1328144706"},"map_files_photo_id_array":[{"photo_id":"1328144675","filename":"file2"},{"photo_id":"1328144674","filename":"file1"},{"photo_id":"1328144673","filename":"file0"},{"photo_id":"1328144706","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328144673":["hashtag1","hashtag2"]},{"1328144706":["hashtag1","hashtag2"]},{"1328144675":["hashtag1","hashtag2"]},{"1328144674":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328144673, 1328144706, 1328144675, 1328144674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.553354024887085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:30:03.111306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:30:22.679297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/29/image_11012025_12_29_02_722303_0003.jpg', '/home/pi/Desktop/images/11012025/12/30/image_11012025_12_30_02_839884_0000.jpg', '/home/pi/Desktop/images/11012025/12/30/image_11012025_12_30_02_839884_0001.jpg', '/home/pi/Desktop/images/11012025/12/30/image_11012025_12_30_02_839884_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/29/image_11012025_12_29_02_722303_0003.jpg
/home/pi/Desktop/images/11012025/12/30/image_11012025_12_30_02_839884_0000.jpg
/home/pi/Desktop/images/11012025/12/30/image_11012025_12_30_02_839884_0001.jpg
/home/pi/Desktop/images/11012025/12/30/image_11012025_12_30_02_839884_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328144731","1328144734","1328144728","1328144726"],"photo_ids_order":["1328144726","1328144728","1328144731","1328144734"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a8a915a4ca8a75c5b54cb9c643f8e991.jpg","text":"TemporaryFile(/tmp/multipartBody3135429437239072899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595092781,"filename":"image_11012025_12_30_02_839884_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f8bc30d6994b5e7e8208454216a69a12.jpg","text":"TemporaryFile(/tmp/multipartBody4448089076554505484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595092781,"filename":"image_11012025_12_30_02_839884_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4400e51af4c95dd42b64ba0639fb9a98.jpg","text":"TemporaryFile(/tmp/multipartBody3550604682470768577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595092781,"filename":"image_11012025_12_30_02_839884_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3b1fddd8c5f68f4e1682e033929a73d7.jpg","text":"TemporaryFile(/tmp/multipartBody8466151732013331124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595092781,"filename":"image_11012025_12_29_02_722303_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328144731","file1":"1328144728","file0":"1328144726","file3":"1328144734"},"map_files_photo_id_array":[{"photo_id":"1328144731","filename":"file2"},{"photo_id":"1328144728","filename":"file1"},{"photo_id":"1328144726","filename":"file0"},{"photo_id":"1328144734","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328144731":["hashtag1","hashtag2"]},{"1328144734":["hashtag1","hashtag2"]},{"1328144728":["hashtag1","hashtag2"]},{"1328144726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328144731, 1328144734, 1328144728, 1328144726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.592331409454346 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-11 12:31:21.898952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/30/image_11012025_12_30_02_839884_0003.jpg', '/home/pi/Desktop/images/11012025/12/31/image_11012025_12_31_03_018720_0000.jpg', '/home/pi/Desktop/images/11012025/12/31/image_11012025_12_31_03_018720_0001.jpg', '/home/pi/Desktop/images/11012025/12/31/image_11012025_12_31_03_018720_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/30/image_11012025_12_30_02_839884_0003.jpg
/home/pi/Desktop/images/11012025/12/31/image_11012025_12_31_03_018720_0000.jpg
/home/pi/Desktop/images/11012025/12/31/image_11012025_12_31_03_018720_0001.jpg
/home/pi/Desktop/images/11012025/12/31/image_11012025_12_31_03_018720_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328144763","1328144769","1328144765","1328144767"],"photo_ids_order":["1328144763","1328144765","1328144767","1328144769"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/993e8731bba1e45440e143d8f3c449dd.jpg","text":"TemporaryFile(/tmp/multipartBody7401983607513430767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595151990,"filename":"image_11012025_12_30_02_839884_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/15df7fd838dcdbce96da6758ad653660.jpg","text":"TemporaryFile(/tmp/multipartBody2861911949898857938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595151990,"filename":"image_11012025_12_31_03_018720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/23125405c2d6532e4ccb05bfc413012e.jpg","text":"TemporaryFile(/tmp/multipartBody4312372182314294833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595151990,"filename":"image_11012025_12_31_03_018720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4ed5f85c37d7e67874025e6e1d919921.jpg","text":"TemporaryFile(/tmp/multipartBody3501898746107227381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595151990,"filename":"image_11012025_12_31_03_018720_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328144767","file1":"1328144765","file0":"1328144763","file3":"1328144769"},"map_files_photo_id_array":[{"photo_id":"1328144767","filename":"file2"},{"photo_id":"1328144765","filename":"file1"},{"photo_id":"1328144763","filename":"file0"},{"photo_id":"1328144769","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328144763":["hashtag1","hashtag2"]},{"1328144769":["hashtag1","hashtag2"]},{"1328144765":["hashtag1","hashtag2"]},{"1328144767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328144763, 1328144769, 1328144765, 1328144767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13037300109863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:32:22.070157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/31/image_11012025_12_31_03_018720_0003.jpg', '/home/pi/Desktop/images/11012025/12/32/image_11012025_12_32_02_257579_0000.jpg', '/home/pi/Desktop/images/11012025/12/32/image_11012025_12_32_02_257579_0001.jpg', '/home/pi/Desktop/images/11012025/12/32/image_11012025_12_32_02_257579_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/31/image_11012025_12_31_03_018720_0003.jpg
/home/pi/Desktop/images/11012025/12/32/image_11012025_12_32_02_257579_0000.jpg
/home/pi/Desktop/images/11012025/12/32/image_11012025_12_32_02_257579_0001.jpg
/home/pi/Desktop/images/11012025/12/32/image_11012025_12_32_02_257579_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328144781","1328144783","1328144785","1328144788"],"photo_ids_order":["1328144781","1328144783","1328144785","1328144788"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9f115bda626b907abcdcbd6c283fe0b8.jpg","text":"TemporaryFile(/tmp/multipartBody22935061566380217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595212258,"filename":"image_11012025_12_31_03_018720_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4e8e57adab6403f8498377bd27838b5a.jpg","text":"TemporaryFile(/tmp/multipartBody6793758241221808154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595212258,"filename":"image_11012025_12_32_02_257579_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3b6ede1b51fdf1953186328e16bda061.jpg","text":"TemporaryFile(/tmp/multipartBody8092055650570248524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595212258,"filename":"image_11012025_12_32_02_257579_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a64095ceb3f9a2d1a7ce06419251095e.jpg","text":"TemporaryFile(/tmp/multipartBody6817025932413729687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595212258,"filename":"image_11012025_12_32_02_257579_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328144785","file1":"1328144783","file0":"1328144781","file3":"1328144788"},"map_files_photo_id_array":[{"photo_id":"1328144785","filename":"file2"},{"photo_id":"1328144783","filename":"file1"},{"photo_id":"1328144781","filename":"file0"},{"photo_id":"1328144788","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328144781":["hashtag1","hashtag2"]},{"1328144783":["hashtag1","hashtag2"]},{"1328144785":["hashtag1","hashtag2"]},{"1328144788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328144781, 1328144783, 1328144785, 1328144788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.1793897151947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:33:02.930704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:33:22.167319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/32/image_11012025_12_32_02_257579_0003.jpg', '/home/pi/Desktop/images/11012025/12/33/image_11012025_12_33_02_369805_0000.jpg', '/home/pi/Desktop/images/11012025/12/33/image_11012025_12_33_02_369805_0001.jpg', '/home/pi/Desktop/images/11012025/12/33/image_11012025_12_33_02_369805_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/32/image_11012025_12_32_02_257579_0003.jpg
/home/pi/Desktop/images/11012025/12/33/image_11012025_12_33_02_369805_0000.jpg
/home/pi/Desktop/images/11012025/12/33/image_11012025_12_33_02_369805_0001.jpg
/home/pi/Desktop/images/11012025/12/33/image_11012025_12_33_02_369805_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328144812","1328144799","1328144826","1328144797"],"photo_ids_order":["1328144797","1328144799","1328144812","1328144826"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e7c341ea3ff5e52a22e1e52d9de67dbf.jpg","text":"TemporaryFile(/tmp/multipartBody1178470140168113837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595272321,"filename":"image_11012025_12_33_02_369805_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/03ddc340b7149193fb343072c3af860b.jpg","text":"TemporaryFile(/tmp/multipartBody1580366279529901875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595272321,"filename":"image_11012025_12_33_02_369805_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a41d5da3145bb8f9633cee905dcb3eb0.jpg","text":"TemporaryFile(/tmp/multipartBody2623919334423510695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595272321,"filename":"image_11012025_12_33_02_369805_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/48f11257292800ec8fe429359125cf6c.jpg","text":"TemporaryFile(/tmp/multipartBody4903421289712899338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595272321,"filename":"image_11012025_12_32_02_257579_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328144812","file1":"1328144799","file0":"1328144797","file3":"1328144826"},"map_files_photo_id_array":[{"photo_id":"1328144812","filename":"file2"},{"photo_id":"1328144799","filename":"file1"},{"photo_id":"1328144797","filename":"file0"},{"photo_id":"1328144826","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328144812":["hashtag1","hashtag2"]},{"1328144799":["hashtag1","hashtag2"]},{"1328144826":["hashtag1","hashtag2"]},{"1328144797":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328144812, 1328144799, 1328144826, 1328144797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.242589473724365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:34:02.800115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:34:22.392461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/33/image_11012025_12_33_02_369805_0003.jpg', '/home/pi/Desktop/images/11012025/12/34/image_11012025_12_34_02_562477_0001.jpg', '/home/pi/Desktop/images/11012025/12/34/image_11012025_12_34_02_562477_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/33/image_11012025_12_33_02_369805_0003.jpg
/home/pi/Desktop/images/11012025/12/34/image_11012025_12_34_02_562477_0001.jpg
/home/pi/Desktop/images/11012025/12/34/image_11012025_12_34_02_562477_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328144889","1328145009","1328144837"],"photo_ids_order":["1328144837","1328144889","1328145009"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/77fa188cd53caf55c24c5409acea8c25.jpg","text":"TemporaryFile(/tmp/multipartBody8706242442879535383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595330152,"filename":"image_11012025_12_34_02_562477_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a6c0b1eb9eacdbb569a767584e461c12.jpg","text":"TemporaryFile(/tmp/multipartBody3975046745525037401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595330152,"filename":"image_11012025_12_34_02_562477_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4d6aa1942de6275b04aab56184b84e4b.jpg","text":"TemporaryFile(/tmp/multipartBody898026398881254999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595330152,"filename":"image_11012025_12_33_02_369805_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328145009","file1":"1328144889","file0":"1328144837"},"map_files_photo_id_array":[{"photo_id":"1328145009","filename":"file2"},{"photo_id":"1328144889","filename":"file1"},{"photo_id":"1328144837","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328144889":["hashtag1","hashtag2"]},{"1328145009":["hashtag1","hashtag2"]},{"1328144837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328144889, 1328145009, 1328144837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.341346740722656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:35:03.185454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:35:22.613966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/34/image_11012025_12_34_02_562477_0003.jpg', '/home/pi/Desktop/images/11012025/12/35/image_11012025_12_35_02_738520_0000.jpg', '/home/pi/Desktop/images/11012025/12/35/image_11012025_12_35_02_738520_0001.jpg', '/home/pi/Desktop/images/11012025/12/35/image_11012025_12_35_02_738520_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/34/image_11012025_12_34_02_562477_0003.jpg
/home/pi/Desktop/images/11012025/12/35/image_11012025_12_35_02_738520_0000.jpg
/home/pi/Desktop/images/11012025/12/35/image_11012025_12_35_02_738520_0001.jpg
/home/pi/Desktop/images/11012025/12/35/image_11012025_12_35_02_738520_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328145969","1328145945","1328145938","1328145952"],"photo_ids_order":["1328145938","1328145945","1328145952","1328145969"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eb264fe20bb6ded60d7397f3baddecab.jpg","text":"TemporaryFile(/tmp/multipartBody5279592101002198662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595392848,"filename":"image_11012025_12_35_02_738520_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a50c9ca90971758b701d964f8c72aa8a.jpg","text":"TemporaryFile(/tmp/multipartBody4880954378773041803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595392848,"filename":"image_11012025_12_35_02_738520_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9ae95e254415255cfd8ef6dd9dcb359e.jpg","text":"TemporaryFile(/tmp/multipartBody2743952387940189216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595392848,"filename":"image_11012025_12_34_02_562477_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/df02da62da04f2ec46263380aee85b4c.jpg","text":"TemporaryFile(/tmp/multipartBody8775303935038767038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595392848,"filename":"image_11012025_12_35_02_738520_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328145952","file1":"1328145945","file0":"1328145938","file3":"1328145969"},"map_files_photo_id_array":[{"photo_id":"1328145952","filename":"file2"},{"photo_id":"1328145945","filename":"file1"},{"photo_id":"1328145938","filename":"file0"},{"photo_id":"1328145969","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328145969":["hashtag1","hashtag2"]},{"1328145945":["hashtag1","hashtag2"]},{"1328145938":["hashtag1","hashtag2"]},{"1328145952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328145969, 1328145945, 1328145938, 1328145952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.30720663070679 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:36:03.276122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:36:22.762791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/35/image_11012025_12_35_02_738520_0003.jpg', '/home/pi/Desktop/images/11012025/12/36/image_11012025_12_36_02_945974_0000.jpg', '/home/pi/Desktop/images/11012025/12/36/image_11012025_12_36_02_945974_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/35/image_11012025_12_35_02_738520_0003.jpg
/home/pi/Desktop/images/11012025/12/36/image_11012025_12_36_02_945974_0000.jpg
/home/pi/Desktop/images/11012025/12/36/image_11012025_12_36_02_945974_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.463769435882568 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 12:36:32.744020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/35/image_11012025_12_35_02_738520_0003.jpg', '/home/pi/Desktop/images/11012025/12/36/image_11012025_12_36_02_945974_0000.jpg', '/home/pi/Desktop/images/11012025/12/36/image_11012025_12_36_02_945974_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/35/image_11012025_12_35_02_738520_0003.jpg
/home/pi/Desktop/images/11012025/12/36/image_11012025_12_36_02_945974_0000.jpg
/home/pi/Desktop/images/11012025/12/36/image_11012025_12_36_02_945974_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":["1328146358","1328146384","1328146380"],"photo_ids_order":["1328146358","1328146380","1328146384"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dbaadd580a859331f3fecfba9a3218d2.jpg","text":"TemporaryFile(/tmp/multipartBody7630280089083631630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595460623,"filename":"image_11012025_12_35_02_738520_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5a28995dd0ee132363059b071a84591c.jpg","text":"TemporaryFile(/tmp/multipartBody5008680344498840172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595460623,"filename":"image_11012025_12_36_02_945974_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dd9482f1c82f5f74029e1e32d288a712.jpg","text":"TemporaryFile(/tmp/multipartBody2661360896733018426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595460623,"filename":"image_11012025_12_36_02_945974_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328146384","file1":"1328146380","file0":"1328146358"},"map_files_photo_id_array":[{"photo_id":"1328146384","filename":"file2"},{"photo_id":"1328146380","filename":"file1"},{"photo_id":"1328146358","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328146358":["hashtag1","hashtag2"]},{"1328146384":["hashtag1","hashtag2"]},{"1328146380":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328146358, 1328146384, 1328146380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.88825035095215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:37:22.056300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/36/image_11012025_12_36_02_945974_0002.jpg', '/home/pi/Desktop/images/11012025/12/37/image_11012025_12_37_03_104976_0000.jpg', '/home/pi/Desktop/images/11012025/12/37/image_11012025_12_37_03_104976_0001.jpg', '/home/pi/Desktop/images/11012025/12/37/image_11012025_12_37_03_104976_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/36/image_11012025_12_36_02_945974_0002.jpg
/home/pi/Desktop/images/11012025/12/37/image_11012025_12_37_03_104976_0000.jpg
/home/pi/Desktop/images/11012025/12/37/image_11012025_12_37_03_104976_0001.jpg
/home/pi/Desktop/images/11012025/12/37/image_11012025_12_37_03_104976_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328146437","1328146448","1328146435","1328146516"],"photo_ids_order":["1328146435","1328146437","1328146448","1328146516"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/295b564dcfb18d520c1f4a0a377d7d6f.jpg","text":"TemporaryFile(/tmp/multipartBody498464483648788439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595512139,"filename":"image_11012025_12_37_03_104976_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a66197281e86c372522179314393010c.jpg","text":"TemporaryFile(/tmp/multipartBody6182571099942278343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595512139,"filename":"image_11012025_12_37_03_104976_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4962666799726f6e02ad7cb567ff2610.jpg","text":"TemporaryFile(/tmp/multipartBody6728586174362479146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595512139,"filename":"image_11012025_12_36_02_945974_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aadee8e280c2b5f834ecdb4aa6d206df.jpg","text":"TemporaryFile(/tmp/multipartBody1636855413352686852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595512139,"filename":"image_11012025_12_37_03_104976_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328146448","file1":"1328146437","file0":"1328146435","file3":"1328146516"},"map_files_photo_id_array":[{"photo_id":"1328146448","filename":"file2"},{"photo_id":"1328146437","filename":"file1"},{"photo_id":"1328146435","filename":"file0"},{"photo_id":"1328146516","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328146437":["hashtag1","hashtag2"]},{"1328146448":["hashtag1","hashtag2"]},{"1328146435":["hashtag1","hashtag2"]},{"1328146516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328146437, 1328146448, 1328146435, 1328146516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.77163243293762 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:38:02.584875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:38:22.165577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/37/image_11012025_12_37_03_104976_0003.jpg', '/home/pi/Desktop/images/11012025/12/38/image_11012025_12_38_02_388264_0000.jpg', '/home/pi/Desktop/images/11012025/12/38/image_11012025_12_38_02_388264_0001.jpg', '/home/pi/Desktop/images/11012025/12/38/image_11012025_12_38_02_388264_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/37/image_11012025_12_37_03_104976_0003.jpg
/home/pi/Desktop/images/11012025/12/38/image_11012025_12_38_02_388264_0000.jpg
/home/pi/Desktop/images/11012025/12/38/image_11012025_12_38_02_388264_0001.jpg
/home/pi/Desktop/images/11012025/12/38/image_11012025_12_38_02_388264_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328146955","1328146949","1328146990","1328146947"],"photo_ids_order":["1328146947","1328146949","1328146955","1328146990"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a1c4d5b87aa342f0d1e00b45774ae090.jpg","text":"TemporaryFile(/tmp/multipartBody7873500813368496440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595572229,"filename":"image_11012025_12_38_02_388264_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8ae2ea47ad77b2185c62c7eda6de3034.jpg","text":"TemporaryFile(/tmp/multipartBody5030167687732282552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595572229,"filename":"image_11012025_12_38_02_388264_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/583dcdb93a6e384ff9ea9d576158989d.jpg","text":"TemporaryFile(/tmp/multipartBody7476328148556318049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595572229,"filename":"image_11012025_12_38_02_388264_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c7ac19c5591d486b43ed1b582831a9c4.jpg","text":"TemporaryFile(/tmp/multipartBody2535549920801311908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595572229,"filename":"image_11012025_12_37_03_104976_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328146955","file1":"1328146949","file0":"1328146947","file3":"1328146990"},"map_files_photo_id_array":[{"photo_id":"1328146955","filename":"file2"},{"photo_id":"1328146949","filename":"file1"},{"photo_id":"1328146947","filename":"file0"},{"photo_id":"1328146990","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328146955":["hashtag1","hashtag2"]},{"1328146949":["hashtag1","hashtag2"]},{"1328146990":["hashtag1","hashtag2"]},{"1328146947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328146955, 1328146949, 1328146990, 1328146947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.507811546325684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:39:02.869554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:39:22.373527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/38/image_11012025_12_38_02_388264_0003.jpg', '/home/pi/Desktop/images/11012025/12/39/image_11012025_12_39_02_488482_0000.jpg', '/home/pi/Desktop/images/11012025/12/39/image_11012025_12_39_02_488482_0001.jpg', '/home/pi/Desktop/images/11012025/12/39/image_11012025_12_39_02_488482_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/38/image_11012025_12_38_02_388264_0003.jpg
/home/pi/Desktop/images/11012025/12/39/image_11012025_12_39_02_488482_0000.jpg
/home/pi/Desktop/images/11012025/12/39/image_11012025_12_39_02_488482_0001.jpg
/home/pi/Desktop/images/11012025/12/39/image_11012025_12_39_02_488482_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328148274","1328148687","1328148554","1328148398"],"photo_ids_order":["1328148274","1328148398","1328148554","1328148687"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d6eff55d65e5c6a26fc3be4f845c3401.jpg","text":"TemporaryFile(/tmp/multipartBody5913381520446606216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595632563,"filename":"image_11012025_12_38_02_388264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/50c2a2c0176bdba39747688382d6e056.jpg","text":"TemporaryFile(/tmp/multipartBody4321252705339099451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595632563,"filename":"image_11012025_12_39_02_488482_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ed33b7ffa44de8821de534011d7e2457.jpg","text":"TemporaryFile(/tmp/multipartBody8078560677219163713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595632563,"filename":"image_11012025_12_39_02_488482_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0e1a20c6227fa94e3144543d602bae79.jpg","text":"TemporaryFile(/tmp/multipartBody620341796365171713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595632563,"filename":"image_11012025_12_39_02_488482_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328148554","file1":"1328148398","file0":"1328148274","file3":"1328148687"},"map_files_photo_id_array":[{"photo_id":"1328148554","filename":"file2"},{"photo_id":"1328148398","filename":"file1"},{"photo_id":"1328148274","filename":"file0"},{"photo_id":"1328148687","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328148274":["hashtag1","hashtag2"]},{"1328148687":["hashtag1","hashtag2"]},{"1328148554":["hashtag1","hashtag2"]},{"1328148398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328148274, 1328148687, 1328148554, 1328148398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.65585231781006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:40:22.457975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/39/image_11012025_12_39_02_488482_0003.jpg', '/home/pi/Desktop/images/11012025/12/40/image_11012025_12_40_02_789024_0000.jpg', '/home/pi/Desktop/images/11012025/12/40/image_11012025_12_40_02_789024_0001.jpg', '/home/pi/Desktop/images/11012025/12/40/image_11012025_12_40_02_789024_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/39/image_11012025_12_39_02_488482_0003.jpg
/home/pi/Desktop/images/11012025/12/40/image_11012025_12_40_02_789024_0000.jpg
/home/pi/Desktop/images/11012025/12/40/image_11012025_12_40_02_789024_0001.jpg
/home/pi/Desktop/images/11012025/12/40/image_11012025_12_40_02_789024_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328148886","1328148888","1328148882","1328148884"],"photo_ids_order":["1328148882","1328148884","1328148886","1328148888"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/87d6d5bc981cab827f4c1446e84013c0.jpg","text":"TemporaryFile(/tmp/multipartBody3469916221468557490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595692739,"filename":"image_11012025_12_40_02_789024_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e05caa783a06164782bc5c998bb54515.jpg","text":"TemporaryFile(/tmp/multipartBody7779335129678206974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595692739,"filename":"image_11012025_12_40_02_789024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/869d2decaec2c2b97166a8f525c24ce8.jpg","text":"TemporaryFile(/tmp/multipartBody44857274439541270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595692739,"filename":"image_11012025_12_39_02_488482_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c22a2a16c298fe3cb80db3b1a45de487.jpg","text":"TemporaryFile(/tmp/multipartBody7817814657467404567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595692739,"filename":"image_11012025_12_40_02_789024_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328148886","file1":"1328148884","file0":"1328148882","file3":"1328148888"},"map_files_photo_id_array":[{"photo_id":"1328148886","filename":"file2"},{"photo_id":"1328148884","filename":"file1"},{"photo_id":"1328148882","filename":"file0"},{"photo_id":"1328148888","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328148886":["hashtag1","hashtag2"]},{"1328148888":["hashtag1","hashtag2"]},{"1328148882":["hashtag1","hashtag2"]},{"1328148884":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328148886, 1328148888, 1328148882, 1328148884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.0902202129364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:41:03.268612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:41:22.616503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/40/image_11012025_12_40_02_789024_0003.jpg', '/home/pi/Desktop/images/11012025/12/41/image_11012025_12_41_02_836138_0000.jpg', '/home/pi/Desktop/images/11012025/12/41/image_11012025_12_41_02_836138_0001.jpg', '/home/pi/Desktop/images/11012025/12/41/image_11012025_12_41_02_836138_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/40/image_11012025_12_40_02_789024_0003.jpg
/home/pi/Desktop/images/11012025/12/41/image_11012025_12_41_02_836138_0000.jpg
/home/pi/Desktop/images/11012025/12/41/image_11012025_12_41_02_836138_0001.jpg
/home/pi/Desktop/images/11012025/12/41/image_11012025_12_41_02_836138_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328149321","1328149327","1328149268","1328149148"],"photo_ids_order":["1328149148","1328149268","1328149321","1328149327"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/730769a9e1172081f224f9a88b559ca6.jpg","text":"TemporaryFile(/tmp/multipartBody3159536196113171839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595752836,"filename":"image_11012025_12_41_02_836138_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8c3faf0f9051108d1e137b0d8103c651.jpg","text":"TemporaryFile(/tmp/multipartBody4216142383448085460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595752836,"filename":"image_11012025_12_41_02_836138_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/db1b90a8630334cfa2f294c4039d695e.jpg","text":"TemporaryFile(/tmp/multipartBody1021523049539448802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595752836,"filename":"image_11012025_12_41_02_836138_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8f58898a0d2760befcf771a15dd37cd8.jpg","text":"TemporaryFile(/tmp/multipartBody490755217957918504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595752836,"filename":"image_11012025_12_40_02_789024_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328149321","file1":"1328149268","file0":"1328149148","file3":"1328149327"},"map_files_photo_id_array":[{"photo_id":"1328149321","filename":"file2"},{"photo_id":"1328149268","filename":"file1"},{"photo_id":"1328149148","filename":"file0"},{"photo_id":"1328149327","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328149321":["hashtag1","hashtag2"]},{"1328149327":["hashtag1","hashtag2"]},{"1328149268":["hashtag1","hashtag2"]},{"1328149148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328149321, 1328149327, 1328149268, 1328149148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.512691497802734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:42:21.911890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/41/image_11012025_12_41_02_836138_0003.jpg', '/home/pi/Desktop/images/11012025/12/42/image_11012025_12_42_03_034042_0000.jpg', '/home/pi/Desktop/images/11012025/12/42/image_11012025_12_42_03_034042_0001.jpg', '/home/pi/Desktop/images/11012025/12/42/image_11012025_12_42_03_034042_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/41/image_11012025_12_41_02_836138_0003.jpg
/home/pi/Desktop/images/11012025/12/42/image_11012025_12_42_03_034042_0000.jpg
/home/pi/Desktop/images/11012025/12/42/image_11012025_12_42_03_034042_0001.jpg
/home/pi/Desktop/images/11012025/12/42/image_11012025_12_42_03_034042_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328149629","1328149620","1328149622","1328149625"],"photo_ids_order":["1328149620","1328149622","1328149625","1328149629"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5ed66b9a745c910dabf707a1ef3c3320.jpg","text":"TemporaryFile(/tmp/multipartBody977767614114629107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595811895,"filename":"image_11012025_12_42_03_034042_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a6a5a7848c7f3839b1673b9997baae1f.jpg","text":"TemporaryFile(/tmp/multipartBody9092919692881840237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595811895,"filename":"image_11012025_12_41_02_836138_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7ddea2277187b15f04acef66604f88a2.jpg","text":"TemporaryFile(/tmp/multipartBody3603410800934369059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595811895,"filename":"image_11012025_12_42_03_034042_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e104874113fbb438e8289a47538e6590.jpg","text":"TemporaryFile(/tmp/multipartBody1646446153342305416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595811895,"filename":"image_11012025_12_42_03_034042_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328149625","file1":"1328149622","file0":"1328149620","file3":"1328149629"},"map_files_photo_id_array":[{"photo_id":"1328149625","filename":"file2"},{"photo_id":"1328149622","filename":"file1"},{"photo_id":"1328149620","filename":"file0"},{"photo_id":"1328149629","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328149629":["hashtag1","hashtag2"]},{"1328149620":["hashtag1","hashtag2"]},{"1328149622":["hashtag1","hashtag2"]},{"1328149625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328149629, 1328149620, 1328149622, 1328149625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.69673228263855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:43:02.633290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:43:21.950643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/42/image_11012025_12_42_03_034042_0003.jpg', '/home/pi/Desktop/images/11012025/12/43/image_11012025_12_43_02_135796_0000.jpg', '/home/pi/Desktop/images/11012025/12/43/image_11012025_12_43_02_135796_0001.jpg', '/home/pi/Desktop/images/11012025/12/43/image_11012025_12_43_02_135796_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/42/image_11012025_12_42_03_034042_0003.jpg
/home/pi/Desktop/images/11012025/12/43/image_11012025_12_43_02_135796_0000.jpg
/home/pi/Desktop/images/11012025/12/43/image_11012025_12_43_02_135796_0001.jpg
/home/pi/Desktop/images/11012025/12/43/image_11012025_12_43_02_135796_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328149642","1328149645","1328149639","1328149640"],"photo_ids_order":["1328149639","1328149640","1328149642","1328149645"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/11cbf443f494fb021efcbb2afc7cc644.jpg","text":"TemporaryFile(/tmp/multipartBody4350783590292405740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595871997,"filename":"image_11012025_12_43_02_135796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9133479222a3ecec80afccbf0cc18250.jpg","text":"TemporaryFile(/tmp/multipartBody6148523084877207920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595871997,"filename":"image_11012025_12_43_02_135796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/61ff22b046dccdb755a3795ed119de54.jpg","text":"TemporaryFile(/tmp/multipartBody8147480946854471040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595871997,"filename":"image_11012025_12_42_03_034042_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4277c103a705156bac2fa9f7c25f6a78.jpg","text":"TemporaryFile(/tmp/multipartBody6059576939405766492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595871997,"filename":"image_11012025_12_43_02_135796_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328149642","file1":"1328149640","file0":"1328149639","file3":"1328149645"},"map_files_photo_id_array":[{"photo_id":"1328149642","filename":"file2"},{"photo_id":"1328149640","filename":"file1"},{"photo_id":"1328149639","filename":"file0"},{"photo_id":"1328149645","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328149642":["hashtag1","hashtag2"]},{"1328149645":["hashtag1","hashtag2"]},{"1328149639":["hashtag1","hashtag2"]},{"1328149640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328149642, 1328149645, 1328149639, 1328149640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.4762077331543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:44:22.097183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/43/image_11012025_12_43_02_135796_0003.jpg', '/home/pi/Desktop/images/11012025/12/44/image_11012025_12_44_02_279208_0000.jpg', '/home/pi/Desktop/images/11012025/12/44/image_11012025_12_44_02_279208_0001.jpg', '/home/pi/Desktop/images/11012025/12/44/image_11012025_12_44_02_279208_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/43/image_11012025_12_43_02_135796_0003.jpg
/home/pi/Desktop/images/11012025/12/44/image_11012025_12_44_02_279208_0000.jpg
/home/pi/Desktop/images/11012025/12/44/image_11012025_12_44_02_279208_0001.jpg
/home/pi/Desktop/images/11012025/12/44/image_11012025_12_44_02_279208_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.628588914871216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 12:44:42.083327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/43/image_11012025_12_43_02_135796_0003.jpg', '/home/pi/Desktop/images/11012025/12/44/image_11012025_12_44_02_279208_0000.jpg', '/home/pi/Desktop/images/11012025/12/44/image_11012025_12_44_02_279208_0001.jpg', '/home/pi/Desktop/images/11012025/12/44/image_11012025_12_44_02_279208_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/43/image_11012025_12_43_02_135796_0003.jpg
/home/pi/Desktop/images/11012025/12/44/image_11012025_12_44_02_279208_0000.jpg
/home/pi/Desktop/images/11012025/12/44/image_11012025_12_44_02_279208_0001.jpg
/home/pi/Desktop/images/11012025/12/44/image_11012025_12_44_02_279208_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328149672","1328149680","1328149676","1328149685"],"photo_ids_order":["1328149672","1328149676","1328149680","1328149685"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/de5cfa6670cfdc5357b2ba8e1cacde99.jpg","text":"TemporaryFile(/tmp/multipartBody666422723376614615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595952103,"filename":"image_11012025_12_43_02_135796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4ad8e27cff751cbc367a833dda1f2c2b.jpg","text":"TemporaryFile(/tmp/multipartBody2364727629845148781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595952103,"filename":"image_11012025_12_44_02_279208_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8836da0cf4ac31073a1dbb5b872fc652.jpg","text":"TemporaryFile(/tmp/multipartBody8218725633260751362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595952103,"filename":"image_11012025_12_44_02_279208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c224b98242276b4265a2158ca93c5294.jpg","text":"TemporaryFile(/tmp/multipartBody7543362005709316591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595952103,"filename":"image_11012025_12_44_02_279208_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328149680","file1":"1328149676","file0":"1328149672","file3":"1328149685"},"map_files_photo_id_array":[{"photo_id":"1328149680","filename":"file2"},{"photo_id":"1328149676","filename":"file1"},{"photo_id":"1328149672","filename":"file0"},{"photo_id":"1328149685","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328149672":["hashtag1","hashtag2"]},{"1328149680":["hashtag1","hashtag2"]},{"1328149676":["hashtag1","hashtag2"]},{"1328149685":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328149672, 1328149680, 1328149676, 1328149685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.911563873291016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:45:22.365179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/44/image_11012025_12_44_02_279208_0003.jpg', '/home/pi/Desktop/images/11012025/12/45/image_11012025_12_45_02_532859_0000.jpg', '/home/pi/Desktop/images/11012025/12/45/image_11012025_12_45_02_532859_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/44/image_11012025_12_44_02_279208_0003.jpg
/home/pi/Desktop/images/11012025/12/45/image_11012025_12_45_02_532859_0000.jpg
/home/pi/Desktop/images/11012025/12/45/image_11012025_12_45_02_532859_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":["1328149695","1328149691","1328149706"],"photo_ids_order":["1328149691","1328149695","1328149706"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0ce725fff7e610d2c50a10976a045448.jpg","text":"TemporaryFile(/tmp/multipartBody2280270486758556638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595990294,"filename":"image_11012025_12_45_02_532859_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/950239a991057a2bb28b9057a44355d2.jpg","text":"TemporaryFile(/tmp/multipartBody5690364512121381049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595990294,"filename":"image_11012025_12_44_02_279208_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d7e91fa85abb6ad2e715b783cc5b8661.jpg","text":"TemporaryFile(/tmp/multipartBody8715284967662636364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736595990294,"filename":"image_11012025_12_45_02_532859_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328149706","file1":"1328149695","file0":"1328149691"},"map_files_photo_id_array":[{"photo_id":"1328149706","filename":"file2"},{"photo_id":"1328149695","filename":"file1"},{"photo_id":"1328149691","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328149695":["hashtag1","hashtag2"]},{"1328149691":["hashtag1","hashtag2"]},{"1328149706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328149695, 1328149691, 1328149706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.46867871284485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:46:02.898031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:46:22.439955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/45/image_11012025_12_45_02_532859_0003.jpg', '/home/pi/Desktop/images/11012025/12/46/image_11012025_12_46_02_729803_0000.jpg', '/home/pi/Desktop/images/11012025/12/46/image_11012025_12_46_02_729803_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/45/image_11012025_12_45_02_532859_0003.jpg
/home/pi/Desktop/images/11012025/12/46/image_11012025_12_46_02_729803_0000.jpg
/home/pi/Desktop/images/11012025/12/46/image_11012025_12_46_02_729803_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":["1328149870","1328150131","1328149941"],"photo_ids_order":["1328149870","1328149941","1328150131"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b6d6e19da3b368c2416788bc63cc7665.jpg","text":"TemporaryFile(/tmp/multipartBody1534009557741848223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596050332,"filename":"image_11012025_12_45_02_532859_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7fd647670bfea0999f359e6861c5d628.jpg","text":"TemporaryFile(/tmp/multipartBody423263532867350803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596050332,"filename":"image_11012025_12_46_02_729803_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3d413892b90df42470cc038fe8319c5e.jpg","text":"TemporaryFile(/tmp/multipartBody8428697729971670766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596050332,"filename":"image_11012025_12_46_02_729803_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328150131","file1":"1328149941","file0":"1328149870"},"map_files_photo_id_array":[{"photo_id":"1328150131","filename":"file2"},{"photo_id":"1328149941","filename":"file1"},{"photo_id":"1328149870","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328149870":["hashtag1","hashtag2"]},{"1328150131":["hashtag1","hashtag2"]},{"1328149941":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328149870, 1328150131, 1328149941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.76065540313721 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:47:03.214131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:47:22.664424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/46/image_11012025_12_46_02_729803_0003.jpg', '/home/pi/Desktop/images/11012025/12/47/image_11012025_12_47_02_919569_0001.jpg', '/home/pi/Desktop/images/11012025/12/47/image_11012025_12_47_02_919569_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/46/image_11012025_12_46_02_729803_0003.jpg
/home/pi/Desktop/images/11012025/12/47/image_11012025_12_47_02_919569_0001.jpg
/home/pi/Desktop/images/11012025/12/47/image_11012025_12_47_02_919569_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328150296","1328150562","1328150420"],"photo_ids_order":["1328150296","1328150420","1328150562"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/09324fd06356275d7db4770239021f2d.jpg","text":"TemporaryFile(/tmp/multipartBody1612740636313746162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596110548,"filename":"image_11012025_12_46_02_729803_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f25b040f19dcea64671afec00079edf1.jpg","text":"TemporaryFile(/tmp/multipartBody1427285195367278485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596110548,"filename":"image_11012025_12_47_02_919569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b25543a832988313d807932156d1fa45.jpg","text":"TemporaryFile(/tmp/multipartBody8530232625909080648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596110548,"filename":"image_11012025_12_47_02_919569_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328150562","file1":"1328150420","file0":"1328150296"},"map_files_photo_id_array":[{"photo_id":"1328150562","filename":"file2"},{"photo_id":"1328150420","filename":"file1"},{"photo_id":"1328150296","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328150296":["hashtag1","hashtag2"]},{"1328150562":["hashtag1","hashtag2"]},{"1328150420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328150296, 1328150562, 1328150420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.16253328323364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:48:02.346729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:48:21.866994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/47/image_11012025_12_47_02_919569_0003.jpg', '/home/pi/Desktop/images/11012025/12/48/image_11012025_12_48_03_028104_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/47/image_11012025_12_47_02_919569_0003.jpg
/home/pi/Desktop/images/11012025/12/48/image_11012025_12_48_03_028104_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":["1328151477","1328151479"],"photo_ids_order":["1328151477","1328151479"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9bc583342530a56d82430600ec6f44d7.jpg","text":"TemporaryFile(/tmp/multipartBody7186441883805653545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596167385,"filename":"image_11012025_12_47_02_919569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6630ade2e0bd08cd3d599ba5135f54a8.jpg","text":"TemporaryFile(/tmp/multipartBody1591692412947239601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596167385,"filename":"image_11012025_12_48_03_028104_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328151479","file0":"1328151477"},"map_files_photo_id_array":[{"photo_id":"1328151479","filename":"file1"},{"photo_id":"1328151477","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328151477":["hashtag1","hashtag2"]},{"1328151479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328151477, 1328151479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.763762712478638 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 12:48:51.851118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:49:02.491927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:49:22.059097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/48/image_11012025_12_48_03_028104_0003.jpg', '/home/pi/Desktop/images/11012025/12/49/image_11012025_12_49_02_251185_0000.jpg', '/home/pi/Desktop/images/11012025/12/49/image_11012025_12_49_02_251185_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/48/image_11012025_12_48_03_028104_0003.jpg
/home/pi/Desktop/images/11012025/12/49/image_11012025_12_49_02_251185_0000.jpg
/home/pi/Desktop/images/11012025/12/49/image_11012025_12_49_02_251185_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":["1328151514","1328151663","1328151542"],"photo_ids_order":["1328151514","1328151542","1328151663"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/24f60feb59e1c4243c7a4a96eb2f299e.jpg","text":"TemporaryFile(/tmp/multipartBody7403193520427443551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596229945,"filename":"image_11012025_12_48_03_028104_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/041932c723cd2a076e8dc13bb21f2bff.jpg","text":"TemporaryFile(/tmp/multipartBody9161088310567431718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596229945,"filename":"image_11012025_12_49_02_251185_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c6522de7ca008de0f4d660f296f05d4.jpg","text":"TemporaryFile(/tmp/multipartBody613832349299860687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596229945,"filename":"image_11012025_12_49_02_251185_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328151663","file1":"1328151542","file0":"1328151514"},"map_files_photo_id_array":[{"photo_id":"1328151663","filename":"file2"},{"photo_id":"1328151542","filename":"file1"},{"photo_id":"1328151514","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328151514":["hashtag1","hashtag2"]},{"1328151663":["hashtag1","hashtag2"]},{"1328151542":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328151514, 1328151663, 1328151542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.221896171569824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:50:02.576524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:50:22.269481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/49/image_11012025_12_49_02_251185_0002.jpg', '/home/pi/Desktop/images/11012025/12/50/image_11012025_12_50_02_420343_0000.jpg', '/home/pi/Desktop/images/11012025/12/50/image_11012025_12_50_02_420343_0001.jpg', '/home/pi/Desktop/images/11012025/12/50/image_11012025_12_50_02_420343_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/49/image_11012025_12_49_02_251185_0002.jpg
/home/pi/Desktop/images/11012025/12/50/image_11012025_12_50_02_420343_0000.jpg
/home/pi/Desktop/images/11012025/12/50/image_11012025_12_50_02_420343_0001.jpg
/home/pi/Desktop/images/11012025/12/50/image_11012025_12_50_02_420343_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328151993","1328151996","1328151998","1328151994"],"photo_ids_order":["1328151993","1328151994","1328151996","1328151998"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/23429e619de600a1b0c1a7263e2431bb.jpg","text":"TemporaryFile(/tmp/multipartBody8599397904171549486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596292588,"filename":"image_11012025_12_49_02_251185_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/830574038a780da9b131db5a95a60cea.jpg","text":"TemporaryFile(/tmp/multipartBody7191371756944845892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596292588,"filename":"image_11012025_12_50_02_420343_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7fac8ca26a600cc4444dba21efeca6a7.jpg","text":"TemporaryFile(/tmp/multipartBody547963329605902233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596292588,"filename":"image_11012025_12_50_02_420343_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/38b4f8a83e835cc694352e1199b12986.jpg","text":"TemporaryFile(/tmp/multipartBody131789870534946693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596292588,"filename":"image_11012025_12_50_02_420343_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328151996","file1":"1328151994","file0":"1328151993","file3":"1328151998"},"map_files_photo_id_array":[{"photo_id":"1328151996","filename":"file2"},{"photo_id":"1328151994","filename":"file1"},{"photo_id":"1328151993","filename":"file0"},{"photo_id":"1328151998","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328151993":["hashtag1","hashtag2"]},{"1328151996":["hashtag1","hashtag2"]},{"1328151998":["hashtag1","hashtag2"]},{"1328151994":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328151993, 1328151996, 1328151998, 1328151994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.0470654964447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:51:02.852405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:51:22.400958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/50/image_11012025_12_50_02_420343_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/50/image_11012025_12_50_02_420343_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328152188"],"photo_id":"1328152188","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8d702d70ea13500e1b6463ca50018003.jpg","text":"TemporaryFile(/tmp/multipartBody7129717891672086731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596345478,"filename":"image_11012025_12_50_02_420343_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328152188"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328152188"}],"hashtags":[],"portfolio_id":"19511890","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.837885618209839 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 12:51:42.357438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 12:51:52.371694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:52:02.999898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:52:22.579013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/51/image_11012025_12_51_02_612250_0002.jpg', '/home/pi/Desktop/images/11012025/12/52/image_11012025_12_52_02_738101_0000.jpg', '/home/pi/Desktop/images/11012025/12/52/image_11012025_12_52_02_738101_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/51/image_11012025_12_51_02_612250_0002.jpg
/home/pi/Desktop/images/11012025/12/52/image_11012025_12_52_02_738101_0000.jpg
/home/pi/Desktop/images/11012025/12/52/image_11012025_12_52_02_738101_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":["1328152890","1328152893","1328152895"],"photo_ids_order":["1328152890","1328152893","1328152895"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/761bbd6c48fb472ef45e444d479fad78.jpg","text":"TemporaryFile(/tmp/multipartBody7189621395989077528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596410489,"filename":"image_11012025_12_51_02_612250_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/be1008547ab0563bd2bb928bcdd2f311.jpg","text":"TemporaryFile(/tmp/multipartBody4022145974043747600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596410489,"filename":"image_11012025_12_52_02_738101_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f14effda86b2a9c70c4a70631d7290f4.jpg","text":"TemporaryFile(/tmp/multipartBody5773213443967807019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596410489,"filename":"image_11012025_12_52_02_738101_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328152895","file1":"1328152893","file0":"1328152890"},"map_files_photo_id_array":[{"photo_id":"1328152895","filename":"file2"},{"photo_id":"1328152893","filename":"file1"},{"photo_id":"1328152890","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328152890":["hashtag1","hashtag2"]},{"1328152893":["hashtag1","hashtag2"]},{"1328152895":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328152890, 1328152893, 1328152895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.015555381774902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:53:03.347160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:53:22.870107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/52/image_11012025_12_52_02_738101_0003.jpg', '/home/pi/Desktop/images/11012025/12/53/image_11012025_12_53_02_982469_0000.jpg', '/home/pi/Desktop/images/11012025/12/53/image_11012025_12_53_02_982469_0001.jpg', '/home/pi/Desktop/images/11012025/12/53/image_11012025_12_53_02_982469_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/52/image_11012025_12_52_02_738101_0003.jpg
/home/pi/Desktop/images/11012025/12/53/image_11012025_12_53_02_982469_0000.jpg
/home/pi/Desktop/images/11012025/12/53/image_11012025_12_53_02_982469_0001.jpg
/home/pi/Desktop/images/11012025/12/53/image_11012025_12_53_02_982469_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328153285","1328153153","1328153282","1328153272"],"photo_ids_order":["1328153153","1328153272","1328153282","1328153285"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/86e2f3906be408a78f6ddc530124e021.jpg","text":"TemporaryFile(/tmp/multipartBody1613764835069182274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596473175,"filename":"image_11012025_12_53_02_982469_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/547026186df8b163e8b3ad9e667073eb.jpg","text":"TemporaryFile(/tmp/multipartBody5710061131943712930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596473175,"filename":"image_11012025_12_52_02_738101_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c4e3a7edece7602ed4ce60b1a0942620.jpg","text":"TemporaryFile(/tmp/multipartBody5160032315684272070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596473175,"filename":"image_11012025_12_53_02_982469_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b96a11907bf8711c8b3c0ea7e9c3aad5.jpg","text":"TemporaryFile(/tmp/multipartBody5485020554352932691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596473175,"filename":"image_11012025_12_53_02_982469_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328153282","file1":"1328153272","file0":"1328153153","file3":"1328153285"},"map_files_photo_id_array":[{"photo_id":"1328153282","filename":"file2"},{"photo_id":"1328153272","filename":"file1"},{"photo_id":"1328153153","filename":"file0"},{"photo_id":"1328153285","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328153285":["hashtag1","hashtag2"]},{"1328153153":["hashtag1","hashtag2"]},{"1328153282":["hashtag1","hashtag2"]},{"1328153272":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328153285, 1328153153, 1328153282, 1328153272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.4001407623291 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:54:02.468288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:54:21.988666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/53/image_11012025_12_53_02_982469_0003.jpg', '/home/pi/Desktop/images/11012025/12/54/image_11012025_12_54_03_148193_0000.jpg', '/home/pi/Desktop/images/11012025/12/54/image_11012025_12_54_03_148193_0001.jpg', '/home/pi/Desktop/images/11012025/12/54/image_11012025_12_54_03_148193_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/53/image_11012025_12_53_02_982469_0003.jpg
/home/pi/Desktop/images/11012025/12/54/image_11012025_12_54_03_148193_0000.jpg
/home/pi/Desktop/images/11012025/12/54/image_11012025_12_54_03_148193_0001.jpg
/home/pi/Desktop/images/11012025/12/54/image_11012025_12_54_03_148193_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328153481","1328153477","1328153476","1328153478"],"photo_ids_order":["1328153476","1328153477","1328153478","1328153481"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/960fa8a7ccf64df7fdc328927cb3f22d.jpg","text":"TemporaryFile(/tmp/multipartBody1740314970154906839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596532309,"filename":"image_11012025_12_54_03_148193_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f987466264392cd67c218b02b983f9d1.jpg","text":"TemporaryFile(/tmp/multipartBody5614112003330083236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596532309,"filename":"image_11012025_12_54_03_148193_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/332b6b6dc13cb82446addf1740781061.jpg","text":"TemporaryFile(/tmp/multipartBody7945801574719877449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596532309,"filename":"image_11012025_12_53_02_982469_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a9a9c229fc71c32106d7aa892f6b4520.jpg","text":"TemporaryFile(/tmp/multipartBody6069830090524640364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596532309,"filename":"image_11012025_12_54_03_148193_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328153478","file1":"1328153477","file0":"1328153476","file3":"1328153481"},"map_files_photo_id_array":[{"photo_id":"1328153478","filename":"file2"},{"photo_id":"1328153477","filename":"file1"},{"photo_id":"1328153476","filename":"file0"},{"photo_id":"1328153481","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328153481":["hashtag1","hashtag2"]},{"1328153477":["hashtag1","hashtag2"]},{"1328153476":["hashtag1","hashtag2"]},{"1328153478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328153481, 1328153477, 1328153476, 1328153478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.41576313972473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:55:02.628574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:55:22.155834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/54/image_11012025_12_54_03_148193_0003.jpg', '/home/pi/Desktop/images/11012025/12/55/image_11012025_12_55_02_292146_0000.jpg', '/home/pi/Desktop/images/11012025/12/55/image_11012025_12_55_02_292146_0001.jpg', '/home/pi/Desktop/images/11012025/12/55/image_11012025_12_55_02_292146_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/54/image_11012025_12_54_03_148193_0003.jpg
/home/pi/Desktop/images/11012025/12/55/image_11012025_12_55_02_292146_0000.jpg
/home/pi/Desktop/images/11012025/12/55/image_11012025_12_55_02_292146_0001.jpg
/home/pi/Desktop/images/11012025/12/55/image_11012025_12_55_02_292146_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328153514","1328153513","1328153519","1328153512"],"photo_ids_order":["1328153512","1328153513","1328153514","1328153519"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7f76aca62ffddd7ca8663f334deb1bc4.jpg","text":"TemporaryFile(/tmp/multipartBody7410660228601067851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596592495,"filename":"image_11012025_12_55_02_292146_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/55000fb5f3821299e56cb70fb85186bf.jpg","text":"TemporaryFile(/tmp/multipartBody3329123191759808853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596592495,"filename":"image_11012025_12_55_02_292146_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a1deb45dc9041b0fc4bb2e87dfa7afad.jpg","text":"TemporaryFile(/tmp/multipartBody8602848077478025236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596592495,"filename":"image_11012025_12_55_02_292146_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a8059a965b4145e57f1a0969eda8beb4.jpg","text":"TemporaryFile(/tmp/multipartBody8869754551365775621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596592495,"filename":"image_11012025_12_54_03_148193_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328153514","file1":"1328153513","file0":"1328153512","file3":"1328153519"},"map_files_photo_id_array":[{"photo_id":"1328153514","filename":"file2"},{"photo_id":"1328153513","filename":"file1"},{"photo_id":"1328153512","filename":"file0"},{"photo_id":"1328153519","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328153514":["hashtag1","hashtag2"]},{"1328153513":["hashtag1","hashtag2"]},{"1328153519":["hashtag1","hashtag2"]},{"1328153512":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328153514, 1328153513, 1328153519, 1328153512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.171854734420776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:56:22.342863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/55/image_11012025_12_55_02_292146_0003.jpg', '/home/pi/Desktop/images/11012025/12/56/image_11012025_12_56_02_567010_0000.jpg', '/home/pi/Desktop/images/11012025/12/56/image_11012025_12_56_02_567010_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/55/image_11012025_12_55_02_292146_0003.jpg
/home/pi/Desktop/images/11012025/12/56/image_11012025_12_56_02_567010_0000.jpg
/home/pi/Desktop/images/11012025/12/56/image_11012025_12_56_02_567010_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328153538","1328153528","1328153539"],"photo_ids_order":["1328153528","1328153538","1328153539"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7bb614740f52290f4333bad6cb32fe1c.jpg","text":"TemporaryFile(/tmp/multipartBody1625082474237878932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596650240,"filename":"image_11012025_12_56_02_567010_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/76d6a5d0ece9de80f8fcd93338ef937d.jpg","text":"TemporaryFile(/tmp/multipartBody8187273649400036296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596650240,"filename":"image_11012025_12_55_02_292146_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9a4b0d19ee043c80b06192cbcce4f268.jpg","text":"TemporaryFile(/tmp/multipartBody2860396381268482409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596650240,"filename":"image_11012025_12_56_02_567010_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328153539","file1":"1328153538","file0":"1328153528"},"map_files_photo_id_array":[{"photo_id":"1328153539","filename":"file2"},{"photo_id":"1328153538","filename":"file1"},{"photo_id":"1328153528","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328153538":["hashtag1","hashtag2"]},{"1328153528":["hashtag1","hashtag2"]},{"1328153539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328153538, 1328153528, 1328153539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.60912036895752 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 12:57:03.259335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 12:57:22.515353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/56/image_11012025_12_56_02_567010_0003.jpg', '/home/pi/Desktop/images/11012025/12/57/image_11012025_12_57_02_682991_0000.jpg', '/home/pi/Desktop/images/11012025/12/57/image_11012025_12_57_02_682991_0001.jpg', '/home/pi/Desktop/images/11012025/12/57/image_11012025_12_57_02_682991_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/56/image_11012025_12_56_02_567010_0003.jpg
/home/pi/Desktop/images/11012025/12/57/image_11012025_12_57_02_682991_0000.jpg
/home/pi/Desktop/images/11012025/12/57/image_11012025_12_57_02_682991_0001.jpg
/home/pi/Desktop/images/11012025/12/57/image_11012025_12_57_02_682991_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-11 12:59:02.541333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/56/image_11012025_12_56_02_567010_0003.jpg', '/home/pi/Desktop/images/11012025/12/57/image_11012025_12_57_02_682991_0000.jpg', '/home/pi/Desktop/images/11012025/12/57/image_11012025_12_57_02_682991_0001.jpg', '/home/pi/Desktop/images/11012025/12/57/image_11012025_12_57_02_682991_0002.jpg', '/home/pi/Desktop/images/11012025/12/57/image_11012025_12_57_02_682991_0003.jpg', '/home/pi/Desktop/images/11012025/12/58/image_11012025_12_58_02_824035_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/56/image_11012025_12_56_02_567010_0003.jpg
/home/pi/Desktop/images/11012025/12/57/image_11012025_12_57_02_682991_0000.jpg
/home/pi/Desktop/images/11012025/12/57/image_11012025_12_57_02_682991_0001.jpg
/home/pi/Desktop/images/11012025/12/57/image_11012025_12_57_02_682991_0002.jpg
/home/pi/Desktop/images/11012025/12/57/image_11012025_12_57_02_682991_0003.jpg
/home/pi/Desktop/images/11012025/12/58/image_11012025_12_58_02_824035_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328153667","1328153649","1328153663","1328153654","1328153665","1328153659"],"photo_ids_order":["1328153649","1328153654","1328153659","1328153663","1328153665","1328153667"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3848551106fef313aae080ac4087b7bd.jpg","text":"TemporaryFile(/tmp/multipartBody7939186936918844519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596817730,"filename":"image_11012025_12_58_02_824035_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8ac7634ee37cc73d5c1d41186ca6cc70.jpg","text":"TemporaryFile(/tmp/multipartBody6993643888585417147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596817730,"filename":"image_11012025_12_56_02_567010_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d8d7980b1824074488b3614a2c0e0f70.jpg","text":"TemporaryFile(/tmp/multipartBody5746322361418599158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596817730,"filename":"image_11012025_12_57_02_682991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a6fc974d5d02f976680c890d2a19e30d.jpg","text":"TemporaryFile(/tmp/multipartBody1163362748659684752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596817730,"filename":"image_11012025_12_57_02_682991_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d769fe18104f4cc8de29ab4a6d61ac51.jpg","text":"TemporaryFile(/tmp/multipartBody8007659923718068680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596817730,"filename":"image_11012025_12_57_02_682991_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/87bdbd747894899d4f5cf29ac9d58f5b.jpg","text":"TemporaryFile(/tmp/multipartBody7546214684439180047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596817730,"filename":"image_11012025_12_57_02_682991_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328153659","file1":"1328153654","file0":"1328153649","file4":"1328153665","file5":"1328153667","file3":"1328153663"},"map_files_photo_id_array":[{"photo_id":"1328153667","filename":"file5"},{"photo_id":"1328153659","filename":"file2"},{"photo_id":"1328153665","filename":"file4"},{"photo_id":"1328153654","filename":"file1"},{"photo_id":"1328153649","filename":"file0"},{"photo_id":"1328153663","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328153667":["hashtag1","hashtag2"]},{"1328153649":["hashtag1","hashtag2"]},{"1328153663":["hashtag1","hashtag2"]},{"1328153654":["hashtag1","hashtag2"]},{"1328153665":["hashtag1","hashtag2"]},{"1328153659":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328153667, 1328153649, 1328153663, 1328153654, 1328153665, 1328153659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.1440589427948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:00:02.339557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/58/image_11012025_12_58_02_824035_0001.jpg', '/home/pi/Desktop/images/11012025/12/58/image_11012025_12_58_02_824035_0002.jpg', '/home/pi/Desktop/images/11012025/12/58/image_11012025_12_58_02_824035_0003.jpg', '/home/pi/Desktop/images/11012025/12/59/image_11012025_12_59_03_101577_0000.jpg', '/home/pi/Desktop/images/11012025/12/59/image_11012025_12_59_03_101577_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/58/image_11012025_12_58_02_824035_0001.jpg
/home/pi/Desktop/images/11012025/12/58/image_11012025_12_58_02_824035_0002.jpg
/home/pi/Desktop/images/11012025/12/58/image_11012025_12_58_02_824035_0003.jpg
/home/pi/Desktop/images/11012025/12/59/image_11012025_12_59_03_101577_0000.jpg
/home/pi/Desktop/images/11012025/12/59/image_11012025_12_59_03_101577_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":["1328153681","1328153684","1328153678","1328153686","1328153676"],"photo_ids_order":["1328153676","1328153678","1328153681","1328153684","1328153686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5ae76cb25eed2438ec9fedd814301e40.jpg","text":"TemporaryFile(/tmp/multipartBody4036408915843921273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596875087,"filename":"image_11012025_12_58_02_824035_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d2bc15ec4fb90ce5becaf1e745ad52b5.jpg","text":"TemporaryFile(/tmp/multipartBody7857469177694542900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596875087,"filename":"image_11012025_12_59_03_101577_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b97f233ce0146b7a4846d5d88ae62e11.jpg","text":"TemporaryFile(/tmp/multipartBody4061548202316245405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596875087,"filename":"image_11012025_12_58_02_824035_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4749ef24874141c8ff4a3d5756fedafc.jpg","text":"TemporaryFile(/tmp/multipartBody5570966065910574062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596875087,"filename":"image_11012025_12_59_03_101577_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/90845dc3dc1866515e541200e0fc187e.jpg","text":"TemporaryFile(/tmp/multipartBody7532805835748017143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596875087,"filename":"image_11012025_12_58_02_824035_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328153681","file1":"1328153678","file0":"1328153676","file4":"1328153686","file3":"1328153684"},"map_files_photo_id_array":[{"photo_id":"1328153681","filename":"file2"},{"photo_id":"1328153686","filename":"file4"},{"photo_id":"1328153678","filename":"file1"},{"photo_id":"1328153676","filename":"file0"},{"photo_id":"1328153684","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328153681":["hashtag1","hashtag2"]},{"1328153684":["hashtag1","hashtag2"]},{"1328153678":["hashtag1","hashtag2"]},{"1328153686":["hashtag1","hashtag2"]},{"1328153676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328153681, 1328153684, 1328153678, 1328153686, 1328153676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.30566453933716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 13:00:52.027623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/59/image_11012025_12_59_03_101577_0003.jpg', '/home/pi/Desktop/images/11012025/13/00/image_11012025_13_00_02_243814_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/12/59/image_11012025_12_59_03_101577_0003.jpg
/home/pi/Desktop/images/11012025/13/00/image_11012025_13_00_02_243814_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328153690","1328153691"],"photo_ids_order":["1328153690","1328153691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ee389e7893fa6239c9b4ba88d2087732.jpg","text":"TemporaryFile(/tmp/multipartBody6058616926913022733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596917535,"filename":"image_11012025_12_59_03_101577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/81bffee2a47cc362e64c4d35be4d8807.jpg","text":"TemporaryFile(/tmp/multipartBody559525455949009263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596917535,"filename":"image_11012025_13_00_02_243814_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328153691","file0":"1328153690"},"map_files_photo_id_array":[{"photo_id":"1328153691","filename":"file1"},{"photo_id":"1328153690","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328153690":["hashtag1","hashtag2"]},{"1328153691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328153690, 1328153691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.511518955230713 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:01:22.262607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/00/image_11012025_13_00_02_243814_0002.jpg', '/home/pi/Desktop/images/11012025/13/01/image_11012025_13_01_02_319097_0000.jpg', '/home/pi/Desktop/images/11012025/13/01/image_11012025_13_01_02_319097_0001.jpg', '/home/pi/Desktop/images/11012025/13/01/image_11012025_13_01_02_319097_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/00/image_11012025_13_00_02_243814_0002.jpg
/home/pi/Desktop/images/11012025/13/01/image_11012025_13_01_02_319097_0000.jpg
/home/pi/Desktop/images/11012025/13/01/image_11012025_13_01_02_319097_0001.jpg
/home/pi/Desktop/images/11012025/13/01/image_11012025_13_01_02_319097_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328153709","1328153711","1328153713","1328153707"],"photo_ids_order":["1328153707","1328153709","1328153711","1328153713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f42c6d1756ae3d36f83183926caba21e.jpg","text":"TemporaryFile(/tmp/multipartBody6547575067534388687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596952578,"filename":"image_11012025_13_01_02_319097_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3e481584b37e9b561fd0256349df51e4.jpg","text":"TemporaryFile(/tmp/multipartBody4737393928727665714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596952578,"filename":"image_11012025_13_01_02_319097_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/230a6fb48dde4ee51932c56d16668e2c.jpg","text":"TemporaryFile(/tmp/multipartBody1357995939862893733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596952578,"filename":"image_11012025_13_01_02_319097_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6d5035d10ebccb06c524bbfce40413e7.jpg","text":"TemporaryFile(/tmp/multipartBody3405027483193517958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736596952578,"filename":"image_11012025_13_00_02_243814_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328153711","file1":"1328153709","file0":"1328153707","file3":"1328153713"},"map_files_photo_id_array":[{"photo_id":"1328153711","filename":"file2"},{"photo_id":"1328153709","filename":"file1"},{"photo_id":"1328153707","filename":"file0"},{"photo_id":"1328153713","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328153709":["hashtag1","hashtag2"]},{"1328153711":["hashtag1","hashtag2"]},{"1328153713":["hashtag1","hashtag2"]},{"1328153707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328153709, 1328153711, 1328153713, 1328153707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.98807239532471 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:02:22.388043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/01/image_11012025_13_01_02_319097_0003.jpg', '/home/pi/Desktop/images/11012025/13/02/image_11012025_13_02_02_553568_0000.jpg', '/home/pi/Desktop/images/11012025/13/02/image_11012025_13_02_02_553568_0001.jpg', '/home/pi/Desktop/images/11012025/13/02/image_11012025_13_02_02_553568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/01/image_11012025_13_01_02_319097_0003.jpg
/home/pi/Desktop/images/11012025/13/02/image_11012025_13_02_02_553568_0000.jpg
/home/pi/Desktop/images/11012025/13/02/image_11012025_13_02_02_553568_0001.jpg
/home/pi/Desktop/images/11012025/13/02/image_11012025_13_02_02_553568_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328153751","1328153748","1328153732","1328153734"],"photo_ids_order":["1328153732","1328153734","1328153748","1328153751"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0a345b0bb1766ca1c14b10b1630a80fd.jpg","text":"TemporaryFile(/tmp/multipartBody1801722758845545773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597012415,"filename":"image_11012025_13_02_02_553568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/81ad2f0055d2a06fbcee9405526effb0.jpg","text":"TemporaryFile(/tmp/multipartBody4632234531717746848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597012415,"filename":"image_11012025_13_02_02_553568_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/214efdd2d5587adf7b01d7ca7045fdc8.jpg","text":"TemporaryFile(/tmp/multipartBody7964219862638122654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597012415,"filename":"image_11012025_13_01_02_319097_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/773d78e9af7b64d0cbac0d6d45807353.jpg","text":"TemporaryFile(/tmp/multipartBody8780565386360269507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597012415,"filename":"image_11012025_13_02_02_553568_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328153748","file1":"1328153734","file0":"1328153732","file3":"1328153751"},"map_files_photo_id_array":[{"photo_id":"1328153748","filename":"file2"},{"photo_id":"1328153734","filename":"file1"},{"photo_id":"1328153732","filename":"file0"},{"photo_id":"1328153751","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328153751":["hashtag1","hashtag2"]},{"1328153748":["hashtag1","hashtag2"]},{"1328153732":["hashtag1","hashtag2"]},{"1328153734":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328153751, 1328153748, 1328153732, 1328153734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.586068630218506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:03:22.537717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/02/image_11012025_13_02_02_553568_0003.jpg', '/home/pi/Desktop/images/11012025/13/03/image_11012025_13_03_02_805065_0000.jpg', '/home/pi/Desktop/images/11012025/13/03/image_11012025_13_03_02_805065_0001.jpg', '/home/pi/Desktop/images/11012025/13/03/image_11012025_13_03_02_805065_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/02/image_11012025_13_02_02_553568_0003.jpg
/home/pi/Desktop/images/11012025/13/03/image_11012025_13_03_02_805065_0000.jpg
/home/pi/Desktop/images/11012025/13/03/image_11012025_13_03_02_805065_0001.jpg
/home/pi/Desktop/images/11012025/13/03/image_11012025_13_03_02_805065_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328154488","1328154799","1328154669","1328154933"],"photo_ids_order":["1328154488","1328154669","1328154799","1328154933"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5d0de6441f6caa6780556b7fbc5f92aa.jpg","text":"TemporaryFile(/tmp/multipartBody8821489962733605028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597072568,"filename":"image_11012025_13_02_02_553568_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/13e8ca79b3498ec3fe447980af83290f.jpg","text":"TemporaryFile(/tmp/multipartBody1832664801110471883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597072568,"filename":"image_11012025_13_03_02_805065_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fb86c8a6afedcffb0ce40af8c8304a97.jpg","text":"TemporaryFile(/tmp/multipartBody5438343169039374736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597072568,"filename":"image_11012025_13_03_02_805065_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/85db0b07cfb920efad6db697426f4135.jpg","text":"TemporaryFile(/tmp/multipartBody9177808757879949941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597072568,"filename":"image_11012025_13_03_02_805065_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328154799","file1":"1328154669","file0":"1328154488","file3":"1328154933"},"map_files_photo_id_array":[{"photo_id":"1328154799","filename":"file2"},{"photo_id":"1328154669","filename":"file1"},{"photo_id":"1328154488","filename":"file0"},{"photo_id":"1328154933","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328154488":["hashtag1","hashtag2"]},{"1328154799":["hashtag1","hashtag2"]},{"1328154669":["hashtag1","hashtag2"]},{"1328154933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328154488, 1328154799, 1328154669, 1328154933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.14417552947998 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:04:21.850138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/03/image_11012025_13_03_02_805065_0003.jpg', '/home/pi/Desktop/images/11012025/13/04/image_11012025_13_04_03_016419_0000.jpg', '/home/pi/Desktop/images/11012025/13/04/image_11012025_13_04_03_016419_0001.jpg', '/home/pi/Desktop/images/11012025/13/04/image_11012025_13_04_03_016419_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/03/image_11012025_13_03_02_805065_0003.jpg
/home/pi/Desktop/images/11012025/13/04/image_11012025_13_04_03_016419_0000.jpg
/home/pi/Desktop/images/11012025/13/04/image_11012025_13_04_03_016419_0001.jpg
/home/pi/Desktop/images/11012025/13/04/image_11012025_13_04_03_016419_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328155672","1328155597","1328155886","1328155401"],"photo_ids_order":["1328155401","1328155597","1328155672","1328155886"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a099aab0916970f956322017cdb35137.jpg","text":"TemporaryFile(/tmp/multipartBody7943971460018356379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597132183,"filename":"image_11012025_13_04_03_016419_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/384606d54ff228ad9f5a67e7a0bf8730.jpg","text":"TemporaryFile(/tmp/multipartBody9052755665217221040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597132183,"filename":"image_11012025_13_04_03_016419_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6e2a8eed99ba92bf6b9f0ad1a51e670c.jpg","text":"TemporaryFile(/tmp/multipartBody3918469049374980673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597132183,"filename":"image_11012025_13_04_03_016419_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/66e54f4475e14a64da56a0b2dff22388.jpg","text":"TemporaryFile(/tmp/multipartBody4160871112130046547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597132183,"filename":"image_11012025_13_03_02_805065_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328155672","file1":"1328155597","file0":"1328155401","file3":"1328155886"},"map_files_photo_id_array":[{"photo_id":"1328155672","filename":"file2"},{"photo_id":"1328155597","filename":"file1"},{"photo_id":"1328155401","filename":"file0"},{"photo_id":"1328155886","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328155672":["hashtag1","hashtag2"]},{"1328155597":["hashtag1","hashtag2"]},{"1328155886":["hashtag1","hashtag2"]},{"1328155401":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328155672, 1328155597, 1328155886, 1328155401)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.74000287055969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:05:21.978359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/04/image_11012025_13_04_03_016419_0003.jpg', '/home/pi/Desktop/images/11012025/13/05/image_11012025_13_05_02_191258_0000.jpg', '/home/pi/Desktop/images/11012025/13/05/image_11012025_13_05_02_191258_0001.jpg', '/home/pi/Desktop/images/11012025/13/05/image_11012025_13_05_02_191258_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/04/image_11012025_13_04_03_016419_0003.jpg
/home/pi/Desktop/images/11012025/13/05/image_11012025_13_05_02_191258_0000.jpg
/home/pi/Desktop/images/11012025/13/05/image_11012025_13_05_02_191258_0001.jpg
/home/pi/Desktop/images/11012025/13/05/image_11012025_13_05_02_191258_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328156944","1328156946","1328156786","1328156939"],"photo_ids_order":["1328156786","1328156939","1328156944","1328156946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/09af1ac6005cd636d6809933e3da0f3b.jpg","text":"TemporaryFile(/tmp/multipartBody8048117502222592306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597192201,"filename":"image_11012025_13_05_02_191258_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/68955fb778efa8304c0fcae94034a777.jpg","text":"TemporaryFile(/tmp/multipartBody8954051295572028960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597192201,"filename":"image_11012025_13_05_02_191258_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1c92b97032f72f545126434cd466e96f.jpg","text":"TemporaryFile(/tmp/multipartBody8372962728420509092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597192201,"filename":"image_11012025_13_04_03_016419_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/184d292c81ff7c2471669fefb468f796.jpg","text":"TemporaryFile(/tmp/multipartBody6682174505575607596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597192201,"filename":"image_11012025_13_05_02_191258_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328156944","file1":"1328156939","file0":"1328156786","file3":"1328156946"},"map_files_photo_id_array":[{"photo_id":"1328156944","filename":"file2"},{"photo_id":"1328156939","filename":"file1"},{"photo_id":"1328156786","filename":"file0"},{"photo_id":"1328156946","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328156944":["hashtag1","hashtag2"]},{"1328156946":["hashtag1","hashtag2"]},{"1328156786":["hashtag1","hashtag2"]},{"1328156939":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328156944, 1328156946, 1328156786, 1328156939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.54529881477356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:06:22.139010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/05/image_11012025_13_05_02_191258_0003.jpg', '/home/pi/Desktop/images/11012025/13/06/image_11012025_13_06_02_352152_0000.jpg', '/home/pi/Desktop/images/11012025/13/06/image_11012025_13_06_02_352152_0001.jpg', '/home/pi/Desktop/images/11012025/13/06/image_11012025_13_06_02_352152_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/05/image_11012025_13_05_02_191258_0003.jpg
/home/pi/Desktop/images/11012025/13/06/image_11012025_13_06_02_352152_0000.jpg
/home/pi/Desktop/images/11012025/13/06/image_11012025_13_06_02_352152_0001.jpg
/home/pi/Desktop/images/11012025/13/06/image_11012025_13_06_02_352152_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328158281","1328158278","1328158107","1328157982"],"photo_ids_order":["1328157982","1328158107","1328158278","1328158281"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1924a5c0114b893e5941e51cc8c80131.jpg","text":"TemporaryFile(/tmp/multipartBody956376897771428685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597252121,"filename":"image_11012025_13_06_02_352152_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/656673e01709fefa67fad8a5e6446553.jpg","text":"TemporaryFile(/tmp/multipartBody1237111599282101108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597252121,"filename":"image_11012025_13_06_02_352152_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/081b81df20fde21d6bf571fc229b47d1.jpg","text":"TemporaryFile(/tmp/multipartBody2091288308101583372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597252121,"filename":"image_11012025_13_06_02_352152_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/57ab114a3167def7b01c8bcffc4e5fb8.jpg","text":"TemporaryFile(/tmp/multipartBody6540070757455120821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597252121,"filename":"image_11012025_13_05_02_191258_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328158278","file1":"1328158107","file0":"1328157982","file3":"1328158281"},"map_files_photo_id_array":[{"photo_id":"1328158278","filename":"file2"},{"photo_id":"1328158107","filename":"file1"},{"photo_id":"1328157982","filename":"file0"},{"photo_id":"1328158281","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328158281":["hashtag1","hashtag2"]},{"1328158278":["hashtag1","hashtag2"]},{"1328158107":["hashtag1","hashtag2"]},{"1328157982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328158281, 1328158278, 1328158107, 1328157982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.0534782409668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:07:02.969167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:07:22.439568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/06/image_11012025_13_06_02_352152_0003.jpg', '/home/pi/Desktop/images/11012025/13/07/image_11012025_13_07_02_491750_0001.jpg', '/home/pi/Desktop/images/11012025/13/07/image_11012025_13_07_02_491750_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/06/image_11012025_13_06_02_352152_0003.jpg
/home/pi/Desktop/images/11012025/13/07/image_11012025_13_07_02_491750_0001.jpg
/home/pi/Desktop/images/11012025/13/07/image_11012025_13_07_02_491750_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328158608","1328158598","1328158596"],"photo_ids_order":["1328158596","1328158598","1328158608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b96131a5f708a8dcfdd8342392c7e994.jpg","text":"TemporaryFile(/tmp/multipartBody12873117817563236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597310164,"filename":"image_11012025_13_07_02_491750_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e4b3376a8f503e53889e49db7e3ac30f.jpg","text":"TemporaryFile(/tmp/multipartBody2278109254520645162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597310164,"filename":"image_11012025_13_07_02_491750_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1d45c40beec3bfb6d258ab5c3ae7dfb3.jpg","text":"TemporaryFile(/tmp/multipartBody7359983317742817920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597310164,"filename":"image_11012025_13_06_02_352152_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328158608","file1":"1328158598","file0":"1328158596"},"map_files_photo_id_array":[{"photo_id":"1328158608","filename":"file2"},{"photo_id":"1328158598","filename":"file1"},{"photo_id":"1328158596","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328158608":["hashtag1","hashtag2"]},{"1328158598":["hashtag1","hashtag2"]},{"1328158596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328158608, 1328158598, 1328158596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.065644025802612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:08:03.035947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:08:22.554716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/07/image_11012025_13_07_02_491750_0003.jpg', '/home/pi/Desktop/images/11012025/13/08/image_11012025_13_08_02_681794_0000.jpg', '/home/pi/Desktop/images/11012025/13/08/image_11012025_13_08_02_681794_0001.jpg', '/home/pi/Desktop/images/11012025/13/08/image_11012025_13_08_02_681794_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/07/image_11012025_13_07_02_491750_0003.jpg
/home/pi/Desktop/images/11012025/13/08/image_11012025_13_08_02_681794_0000.jpg
/home/pi/Desktop/images/11012025/13/08/image_11012025_13_08_02_681794_0001.jpg
/home/pi/Desktop/images/11012025/13/08/image_11012025_13_08_02_681794_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328158686","1328158799","1328158688","1328158706"],"photo_ids_order":["1328158686","1328158688","1328158706","1328158799"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3b78b90287d18ecd5a396ab6b32c62ea.jpg","text":"TemporaryFile(/tmp/multipartBody5072716753927627777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597372614,"filename":"image_11012025_13_07_02_491750_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eed8ed1dcd28b92aa06c4b51ce0d7210.jpg","text":"TemporaryFile(/tmp/multipartBody3869079868327506806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597372614,"filename":"image_11012025_13_08_02_681794_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1ef5daeed2d717435bf0d3b1b270dd9e.jpg","text":"TemporaryFile(/tmp/multipartBody7764594624244921973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597372614,"filename":"image_11012025_13_08_02_681794_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ec285a6f44e1dca02a2c4f717fa874be.jpg","text":"TemporaryFile(/tmp/multipartBody5257546780923023900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597372614,"filename":"image_11012025_13_08_02_681794_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328158706","file1":"1328158688","file0":"1328158686","file3":"1328158799"},"map_files_photo_id_array":[{"photo_id":"1328158706","filename":"file2"},{"photo_id":"1328158688","filename":"file1"},{"photo_id":"1328158686","filename":"file0"},{"photo_id":"1328158799","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328158686":["hashtag1","hashtag2"]},{"1328158799":["hashtag1","hashtag2"]},{"1328158688":["hashtag1","hashtag2"]},{"1328158706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328158686, 1328158799, 1328158688, 1328158706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.16000723838806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:09:03.137305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:09:22.647406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/08/image_11012025_13_08_02_681794_0003.jpg', '/home/pi/Desktop/images/11012025/13/09/image_11012025_13_09_02_886624_0000.jpg', '/home/pi/Desktop/images/11012025/13/09/image_11012025_13_09_02_886624_0001.jpg', '/home/pi/Desktop/images/11012025/13/09/image_11012025_13_09_02_886624_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/08/image_11012025_13_08_02_681794_0003.jpg
/home/pi/Desktop/images/11012025/13/09/image_11012025_13_09_02_886624_0000.jpg
/home/pi/Desktop/images/11012025/13/09/image_11012025_13_09_02_886624_0001.jpg
/home/pi/Desktop/images/11012025/13/09/image_11012025_13_09_02_886624_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328159553","1328159573","1328159576","1328159549"],"photo_ids_order":["1328159549","1328159553","1328159573","1328159576"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/97c31130ddc227aa40b2ba551357f3b2.jpg","text":"TemporaryFile(/tmp/multipartBody3899794843195528610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597432716,"filename":"image_11012025_13_09_02_886624_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/943a83ff79ad891bca85f95cb36967aa.jpg","text":"TemporaryFile(/tmp/multipartBody4338464957457940317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597432716,"filename":"image_11012025_13_09_02_886624_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a2212256ba073c9cde6fbe7a4491832d.jpg","text":"TemporaryFile(/tmp/multipartBody9197168616176710898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597432716,"filename":"image_11012025_13_09_02_886624_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9e4b7d704607322e6b4a99799ad15314.jpg","text":"TemporaryFile(/tmp/multipartBody2634095427716364174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597432716,"filename":"image_11012025_13_08_02_681794_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328159573","file1":"1328159553","file0":"1328159549","file3":"1328159576"},"map_files_photo_id_array":[{"photo_id":"1328159573","filename":"file2"},{"photo_id":"1328159553","filename":"file1"},{"photo_id":"1328159549","filename":"file0"},{"photo_id":"1328159576","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328159553":["hashtag1","hashtag2"]},{"1328159573":["hashtag1","hashtag2"]},{"1328159576":["hashtag1","hashtag2"]},{"1328159549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328159553, 1328159573, 1328159576, 1328159549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.05255389213562 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:10:21.834664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/09/image_11012025_13_09_02_886624_0003.jpg', '/home/pi/Desktop/images/11012025/13/10/image_11012025_13_10_02_991627_0000.jpg', '/home/pi/Desktop/images/11012025/13/10/image_11012025_13_10_02_991627_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/09/image_11012025_13_09_02_886624_0003.jpg
/home/pi/Desktop/images/11012025/13/10/image_11012025_13_10_02_991627_0000.jpg
/home/pi/Desktop/images/11012025/13/10/image_11012025_13_10_02_991627_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":["1328159820","1328159675","1328159731"],"photo_ids_order":["1328159675","1328159731","1328159820"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/17f3e6536810e8a9f5f638d4c0d6157c.jpg","text":"TemporaryFile(/tmp/multipartBody116779135680210561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597489474,"filename":"image_11012025_13_10_02_991627_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/90429429a7ceb75e6f72f5d3cd25a15a.jpg","text":"TemporaryFile(/tmp/multipartBody4763363879405449322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597489474,"filename":"image_11012025_13_09_02_886624_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/35d23c800dc8d4474619784ca4a38c44.jpg","text":"TemporaryFile(/tmp/multipartBody1045744574073670447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597489474,"filename":"image_11012025_13_10_02_991627_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328159820","file1":"1328159731","file0":"1328159675"},"map_files_photo_id_array":[{"photo_id":"1328159820","filename":"file2"},{"photo_id":"1328159731","filename":"file1"},{"photo_id":"1328159675","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328159820":["hashtag1","hashtag2"]},{"1328159675":["hashtag1","hashtag2"]},{"1328159731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328159820, 1328159675, 1328159731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.89918565750122 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:11:02.600083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:11:22.073202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/10/image_11012025_13_10_02_991627_0003.jpg', '/home/pi/Desktop/images/11012025/13/11/image_11012025_13_11_02_202386_0000.jpg', '/home/pi/Desktop/images/11012025/13/11/image_11012025_13_11_02_202386_0001.jpg', '/home/pi/Desktop/images/11012025/13/11/image_11012025_13_11_02_202386_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/10/image_11012025_13_10_02_991627_0003.jpg
/home/pi/Desktop/images/11012025/13/11/image_11012025_13_11_02_202386_0000.jpg
/home/pi/Desktop/images/11012025/13/11/image_11012025_13_11_02_202386_0001.jpg
/home/pi/Desktop/images/11012025/13/11/image_11012025_13_11_02_202386_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328159990","1328159993","1328159987","1328159985"],"photo_ids_order":["1328159985","1328159987","1328159990","1328159993"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/20d3dc42411bdf67e353609c64425879.jpg","text":"TemporaryFile(/tmp/multipartBody8248515650384191799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597552057,"filename":"image_11012025_13_11_02_202386_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e36fa25adb22c3ac6b5c56f09467a1e8.jpg","text":"TemporaryFile(/tmp/multipartBody7417186989567588062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597552057,"filename":"image_11012025_13_11_02_202386_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d3ba65b159beb69f37962350163c65b8.jpg","text":"TemporaryFile(/tmp/multipartBody3027443783423022853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597552057,"filename":"image_11012025_13_11_02_202386_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c88a56a713cbbafae230c717de0162f8.jpg","text":"TemporaryFile(/tmp/multipartBody7025776991308439158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597552057,"filename":"image_11012025_13_10_02_991627_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328159990","file1":"1328159987","file0":"1328159985","file3":"1328159993"},"map_files_photo_id_array":[{"photo_id":"1328159990","filename":"file2"},{"photo_id":"1328159987","filename":"file1"},{"photo_id":"1328159985","filename":"file0"},{"photo_id":"1328159993","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328159990":["hashtag1","hashtag2"]},{"1328159993":["hashtag1","hashtag2"]},{"1328159987":["hashtag1","hashtag2"]},{"1328159985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328159990, 1328159993, 1328159987, 1328159985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.455602169036865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:12:02.699294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:12:22.247609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/11/image_11012025_13_11_02_202386_0003.jpg', '/home/pi/Desktop/images/11012025/13/12/image_11012025_13_12_02_407567_0000.jpg', '/home/pi/Desktop/images/11012025/13/12/image_11012025_13_12_02_407567_0001.jpg', '/home/pi/Desktop/images/11012025/13/12/image_11012025_13_12_02_407567_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/11/image_11012025_13_11_02_202386_0003.jpg
/home/pi/Desktop/images/11012025/13/12/image_11012025_13_12_02_407567_0000.jpg
/home/pi/Desktop/images/11012025/13/12/image_11012025_13_12_02_407567_0001.jpg
/home/pi/Desktop/images/11012025/13/12/image_11012025_13_12_02_407567_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328160006","1328160000","1328160014","1328160002"],"photo_ids_order":["1328160000","1328160002","1328160006","1328160014"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a72d3d226eecb6c0bb04f5ab28c32632.jpg","text":"TemporaryFile(/tmp/multipartBody8670684089572809169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597612486,"filename":"image_11012025_13_12_02_407567_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5ebd88e0aaec9afabcb71f93551ce4d5.jpg","text":"TemporaryFile(/tmp/multipartBody7278955404257523037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597612486,"filename":"image_11012025_13_11_02_202386_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c81496876060288fcbc46dad39911d10.jpg","text":"TemporaryFile(/tmp/multipartBody2778422924517620492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597612486,"filename":"image_11012025_13_12_02_407567_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/507c50276dcf5d3f155b5e98a2649f6a.jpg","text":"TemporaryFile(/tmp/multipartBody3814883667125215073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597612486,"filename":"image_11012025_13_12_02_407567_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328160006","file1":"1328160002","file0":"1328160000","file3":"1328160014"},"map_files_photo_id_array":[{"photo_id":"1328160006","filename":"file2"},{"photo_id":"1328160002","filename":"file1"},{"photo_id":"1328160000","filename":"file0"},{"photo_id":"1328160014","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328160006":["hashtag1","hashtag2"]},{"1328160000":["hashtag1","hashtag2"]},{"1328160014":["hashtag1","hashtag2"]},{"1328160002":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328160006, 1328160000, 1328160014, 1328160002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.151164054870605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:13:02.981487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:13:22.397954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/12/image_11012025_13_12_02_407567_0003.jpg', '/home/pi/Desktop/images/11012025/13/13/image_11012025_13_13_02_559382_0000.jpg', '/home/pi/Desktop/images/11012025/13/13/image_11012025_13_13_02_559382_0001.jpg', '/home/pi/Desktop/images/11012025/13/13/image_11012025_13_13_02_559382_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/12/image_11012025_13_12_02_407567_0003.jpg
/home/pi/Desktop/images/11012025/13/13/image_11012025_13_13_02_559382_0000.jpg
/home/pi/Desktop/images/11012025/13/13/image_11012025_13_13_02_559382_0001.jpg
/home/pi/Desktop/images/11012025/13/13/image_11012025_13_13_02_559382_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328160050","1328160047","1328160073","1328160043"],"photo_ids_order":["1328160043","1328160047","1328160050","1328160073"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3b609798d7482fbc009b747ae8fe3c3f.jpg","text":"TemporaryFile(/tmp/multipartBody2723400860156424613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597672570,"filename":"image_11012025_13_13_02_559382_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/842474a2e52d56dc75b4310691c4d0f5.jpg","text":"TemporaryFile(/tmp/multipartBody5156849412767762872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597672570,"filename":"image_11012025_13_13_02_559382_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6c1e3e0f318f65487b3b6e4cef38f4d9.jpg","text":"TemporaryFile(/tmp/multipartBody7609526403098885215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597672570,"filename":"image_11012025_13_13_02_559382_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4c486024af3650d2e9caf2b8108851ab.jpg","text":"TemporaryFile(/tmp/multipartBody3389945811069466613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597672570,"filename":"image_11012025_13_12_02_407567_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328160050","file1":"1328160047","file0":"1328160043","file3":"1328160073"},"map_files_photo_id_array":[{"photo_id":"1328160050","filename":"file2"},{"photo_id":"1328160047","filename":"file1"},{"photo_id":"1328160043","filename":"file0"},{"photo_id":"1328160073","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328160050":["hashtag1","hashtag2"]},{"1328160047":["hashtag1","hashtag2"]},{"1328160073":["hashtag1","hashtag2"]},{"1328160043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328160050, 1328160047, 1328160073, 1328160043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.316922426223755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:14:02.931137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:14:22.528042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/13/image_11012025_13_13_02_559382_0003.jpg', '/home/pi/Desktop/images/11012025/13/14/image_11012025_13_14_02_687019_0000.jpg', '/home/pi/Desktop/images/11012025/13/14/image_11012025_13_14_02_687019_0001.jpg', '/home/pi/Desktop/images/11012025/13/14/image_11012025_13_14_02_687019_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/13/image_11012025_13_13_02_559382_0003.jpg
/home/pi/Desktop/images/11012025/13/14/image_11012025_13_14_02_687019_0000.jpg
/home/pi/Desktop/images/11012025/13/14/image_11012025_13_14_02_687019_0001.jpg
/home/pi/Desktop/images/11012025/13/14/image_11012025_13_14_02_687019_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328160100","1328160103","1328160094","1328160097"],"photo_ids_order":["1328160094","1328160097","1328160100","1328160103"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/623bfada95f46942c59a34eed87a779e.jpg","text":"TemporaryFile(/tmp/multipartBody1958932221091764685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597732728,"filename":"image_11012025_13_14_02_687019_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fd8dedb4f0c02f78b3edc3abacee4f80.jpg","text":"TemporaryFile(/tmp/multipartBody5825353524703297764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597732728,"filename":"image_11012025_13_14_02_687019_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/54f974986a84f938d81a7e9bf4e2e385.jpg","text":"TemporaryFile(/tmp/multipartBody3043313466359145622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597732728,"filename":"image_11012025_13_13_02_559382_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a977e63bd132fb9dd7594a549021098e.jpg","text":"TemporaryFile(/tmp/multipartBody1851762765557990289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597732728,"filename":"image_11012025_13_14_02_687019_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328160100","file1":"1328160097","file0":"1328160094","file3":"1328160103"},"map_files_photo_id_array":[{"photo_id":"1328160100","filename":"file2"},{"photo_id":"1328160097","filename":"file1"},{"photo_id":"1328160094","filename":"file0"},{"photo_id":"1328160103","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328160100":["hashtag1","hashtag2"]},{"1328160103":["hashtag1","hashtag2"]},{"1328160094":["hashtag1","hashtag2"]},{"1328160097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328160100, 1328160103, 1328160094, 1328160097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.467397689819336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:15:03.309124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:15:22.702884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/14/image_11012025_13_14_02_687019_0003.jpg', '/home/pi/Desktop/images/11012025/13/15/image_11012025_13_15_02_980002_0000.jpg', '/home/pi/Desktop/images/11012025/13/15/image_11012025_13_15_02_980002_0001.jpg', '/home/pi/Desktop/images/11012025/13/15/image_11012025_13_15_02_980002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/14/image_11012025_13_14_02_687019_0003.jpg
/home/pi/Desktop/images/11012025/13/15/image_11012025_13_15_02_980002_0000.jpg
/home/pi/Desktop/images/11012025/13/15/image_11012025_13_15_02_980002_0001.jpg
/home/pi/Desktop/images/11012025/13/15/image_11012025_13_15_02_980002_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328160121","1328160129","1328160124","1328160118"],"photo_ids_order":["1328160118","1328160121","1328160124","1328160129"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c89a5a4e0fff2e9c78cb7b028d745211.jpg","text":"TemporaryFile(/tmp/multipartBody6276977804601705282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597792787,"filename":"image_11012025_13_15_02_980002_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/64cbd59972d03f65b7387a4b2714287f.jpg","text":"TemporaryFile(/tmp/multipartBody5425778793253181418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597792787,"filename":"image_11012025_13_15_02_980002_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7f9a62b29baaf29fb8668582a8322b97.jpg","text":"TemporaryFile(/tmp/multipartBody9039176704292780422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597792787,"filename":"image_11012025_13_15_02_980002_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/335832f51e034392c92c8e2c399ce98b.jpg","text":"TemporaryFile(/tmp/multipartBody1612628359696560789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597792787,"filename":"image_11012025_13_14_02_687019_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328160124","file1":"1328160121","file0":"1328160118","file3":"1328160129"},"map_files_photo_id_array":[{"photo_id":"1328160124","filename":"file2"},{"photo_id":"1328160121","filename":"file1"},{"photo_id":"1328160118","filename":"file0"},{"photo_id":"1328160129","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328160121":["hashtag1","hashtag2"]},{"1328160129":["hashtag1","hashtag2"]},{"1328160124":["hashtag1","hashtag2"]},{"1328160118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328160121, 1328160129, 1328160124, 1328160118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.42255091667175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:16:02.453670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:16:21.981445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/15/image_11012025_13_15_02_980002_0003.jpg', '/home/pi/Desktop/images/11012025/13/16/image_11012025_13_16_03_151954_0000.jpg', '/home/pi/Desktop/images/11012025/13/16/image_11012025_13_16_03_151954_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/15/image_11012025_13_15_02_980002_0003.jpg
/home/pi/Desktop/images/11012025/13/16/image_11012025_13_16_03_151954_0000.jpg
/home/pi/Desktop/images/11012025/13/16/image_11012025_13_16_03_151954_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":["1328160161","1328160160","1328160163"],"photo_ids_order":["1328160160","1328160161","1328160163"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5a7ab845d4016b61a8a116918549d184.jpg","text":"TemporaryFile(/tmp/multipartBody6351577754801014896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597849654,"filename":"image_11012025_13_16_03_151954_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2115279f39f2267a4689c14234245781.jpg","text":"TemporaryFile(/tmp/multipartBody9042051081239581917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597849654,"filename":"image_11012025_13_15_02_980002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dde064dc72a3eeb4d5b3dcf76e6408bf.jpg","text":"TemporaryFile(/tmp/multipartBody1189056346292395512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597849654,"filename":"image_11012025_13_16_03_151954_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328160163","file1":"1328160161","file0":"1328160160"},"map_files_photo_id_array":[{"photo_id":"1328160163","filename":"file2"},{"photo_id":"1328160161","filename":"file1"},{"photo_id":"1328160160","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328160161":["hashtag1","hashtag2"]},{"1328160160":["hashtag1","hashtag2"]},{"1328160163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328160161, 1328160160, 1328160163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.283029317855835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:17:02.758071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:17:22.109094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/16/image_11012025_13_16_03_151954_0002.jpg', '/home/pi/Desktop/images/11012025/13/17/image_11012025_13_17_02_379340_0000.jpg', '/home/pi/Desktop/images/11012025/13/17/image_11012025_13_17_02_379340_0001.jpg', '/home/pi/Desktop/images/11012025/13/17/image_11012025_13_17_02_379340_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/16/image_11012025_13_16_03_151954_0002.jpg
/home/pi/Desktop/images/11012025/13/17/image_11012025_13_17_02_379340_0000.jpg
/home/pi/Desktop/images/11012025/13/17/image_11012025_13_17_02_379340_0001.jpg
/home/pi/Desktop/images/11012025/13/17/image_11012025_13_17_02_379340_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328160177","1328160185","1328160181","1328160175"],"photo_ids_order":["1328160175","1328160177","1328160181","1328160185"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/13a42e608fba90c4ebe55a83d7fd96f8.jpg","text":"TemporaryFile(/tmp/multipartBody2548332777041261981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597912129,"filename":"image_11012025_13_17_02_379340_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e1d32cb53fb75a68f65cf95cbc6e93f5.jpg","text":"TemporaryFile(/tmp/multipartBody8033123687011891675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597912129,"filename":"image_11012025_13_17_02_379340_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/290ab3a8417703100d630fca3f402d93.jpg","text":"TemporaryFile(/tmp/multipartBody1344381373201985073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597912129,"filename":"image_11012025_13_17_02_379340_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0ca9d0d580e0a1b86c50fc7181273715.jpg","text":"TemporaryFile(/tmp/multipartBody5610103413918929324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597912129,"filename":"image_11012025_13_16_03_151954_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328160181","file1":"1328160177","file0":"1328160175","file3":"1328160185"},"map_files_photo_id_array":[{"photo_id":"1328160181","filename":"file2"},{"photo_id":"1328160177","filename":"file1"},{"photo_id":"1328160175","filename":"file0"},{"photo_id":"1328160185","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328160177":["hashtag1","hashtag2"]},{"1328160185":["hashtag1","hashtag2"]},{"1328160181":["hashtag1","hashtag2"]},{"1328160175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328160177, 1328160185, 1328160181, 1328160175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.74191617965698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:18:02.695705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:18:22.270723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/17/image_11012025_13_17_02_379340_0003.jpg', '/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_02_452466_0000.jpg', '/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_02_452466_0001.jpg', '/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_02_452466_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/17/image_11012025_13_17_02_379340_0003.jpg
/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_02_452466_0000.jpg
/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_02_452466_0001.jpg
/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_02_452466_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.630427598953247 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 13:18:42.245752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/17/image_11012025_13_17_02_379340_0003.jpg', '/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_02_452466_0000.jpg', '/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_02_452466_0001.jpg', '/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_02_452466_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/17/image_11012025_13_17_02_379340_0003.jpg
/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_02_452466_0000.jpg
/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_02_452466_0001.jpg
/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_02_452466_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328160843","1328160845","1328160841","1328160847"],"photo_ids_order":["1328160841","1328160843","1328160845","1328160847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a913a989d54b8f16d3d728dbb5004612.jpg","text":"TemporaryFile(/tmp/multipartBody6433847014742012054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597992302,"filename":"image_11012025_13_18_02_452466_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/14c3f5acae298d80189b544ea5ae68ba.jpg","text":"TemporaryFile(/tmp/multipartBody372729876360755417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597992302,"filename":"image_11012025_13_18_02_452466_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6d8dfb1050d7d8ffcf37fbc4ba660c44.jpg","text":"TemporaryFile(/tmp/multipartBody7345588632828252626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597992302,"filename":"image_11012025_13_17_02_379340_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a159fb8a4ddf59fa5a206989d217a1a3.jpg","text":"TemporaryFile(/tmp/multipartBody7532295249667343585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736597992302,"filename":"image_11012025_13_18_02_452466_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328160845","file1":"1328160843","file0":"1328160841","file3":"1328160847"},"map_files_photo_id_array":[{"photo_id":"1328160845","filename":"file2"},{"photo_id":"1328160843","filename":"file1"},{"photo_id":"1328160841","filename":"file0"},{"photo_id":"1328160847","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328160843":["hashtag1","hashtag2"]},{"1328160845":["hashtag1","hashtag2"]},{"1328160841":["hashtag1","hashtag2"]},{"1328160847":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328160843, 1328160845, 1328160841, 1328160847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.842366218566895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:19:22.593475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_02_452466_0003.jpg', '/home/pi/Desktop/images/11012025/13/19/image_11012025_13_19_02_602423_0000.jpg', '/home/pi/Desktop/images/11012025/13/19/image_11012025_13_19_02_602423_0001.jpg', '/home/pi/Desktop/images/11012025/13/19/image_11012025_13_19_02_602423_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_02_452466_0003.jpg
/home/pi/Desktop/images/11012025/13/19/image_11012025_13_19_02_602423_0000.jpg
/home/pi/Desktop/images/11012025/13/19/image_11012025_13_19_02_602423_0001.jpg
/home/pi/Desktop/images/11012025/13/19/image_11012025_13_19_02_602423_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328161199","1328161190","1328161260","1328161257"],"photo_ids_order":["1328161190","1328161199","1328161257","1328161260"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6bb7641809e4c80f1d49d54be82e2163.jpg","text":"TemporaryFile(/tmp/multipartBody192590092520300467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598032738,"filename":"image_11012025_13_19_02_602423_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/09576eed93e108a0c7fa1582cf1dba2a.jpg","text":"TemporaryFile(/tmp/multipartBody4233719889016185103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598032738,"filename":"image_11012025_13_18_02_452466_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3d9632364336971a416494c2d4a60c41.jpg","text":"TemporaryFile(/tmp/multipartBody4712597129564946599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598032738,"filename":"image_11012025_13_19_02_602423_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ae4c2b248f05b41fc07ab907953cdf9c.jpg","text":"TemporaryFile(/tmp/multipartBody4652262490673775973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598032738,"filename":"image_11012025_13_19_02_602423_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328161257","file1":"1328161199","file0":"1328161190","file3":"1328161260"},"map_files_photo_id_array":[{"photo_id":"1328161257","filename":"file2"},{"photo_id":"1328161199","filename":"file1"},{"photo_id":"1328161190","filename":"file0"},{"photo_id":"1328161260","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328161199":["hashtag1","hashtag2"]},{"1328161190":["hashtag1","hashtag2"]},{"1328161260":["hashtag1","hashtag2"]},{"1328161257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328161199, 1328161190, 1328161260, 1328161257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.15070962905884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:20:02.889556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:20:22.658608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/19/image_11012025_13_19_02_602423_0003.jpg', '/home/pi/Desktop/images/11012025/13/20/image_11012025_13_20_02_787847_0000.jpg', '/home/pi/Desktop/images/11012025/13/20/image_11012025_13_20_02_787847_0001.jpg', '/home/pi/Desktop/images/11012025/13/20/image_11012025_13_20_02_787847_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/19/image_11012025_13_19_02_602423_0003.jpg
/home/pi/Desktop/images/11012025/13/20/image_11012025_13_20_02_787847_0000.jpg
/home/pi/Desktop/images/11012025/13/20/image_11012025_13_20_02_787847_0001.jpg
/home/pi/Desktop/images/11012025/13/20/image_11012025_13_20_02_787847_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328161304","1328161294","1328161297","1328161301"],"photo_ids_order":["1328161294","1328161297","1328161301","1328161304"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/380cbdedae24d5c95431a15111d29649.jpg","text":"TemporaryFile(/tmp/multipartBody8293344697399261686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598092779,"filename":"image_11012025_13_20_02_787847_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/23d1eb5938dbde83321145299737645e.jpg","text":"TemporaryFile(/tmp/multipartBody3121999750936403172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598092779,"filename":"image_11012025_13_19_02_602423_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a32b21d789c0fed176454dfc527fed1a.jpg","text":"TemporaryFile(/tmp/multipartBody2058541272733991024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598092779,"filename":"image_11012025_13_20_02_787847_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a4cd0473085e06b23941b5b6c8dd03c5.jpg","text":"TemporaryFile(/tmp/multipartBody1047934973266253731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598092779,"filename":"image_11012025_13_20_02_787847_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328161301","file1":"1328161297","file0":"1328161294","file3":"1328161304"},"map_files_photo_id_array":[{"photo_id":"1328161301","filename":"file2"},{"photo_id":"1328161297","filename":"file1"},{"photo_id":"1328161294","filename":"file0"},{"photo_id":"1328161304","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328161304":["hashtag1","hashtag2"]},{"1328161294":["hashtag1","hashtag2"]},{"1328161297":["hashtag1","hashtag2"]},{"1328161301":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328161304, 1328161294, 1328161297, 1328161301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.37295627593994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:21:21.824414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/20/image_11012025_13_20_02_787847_0003.jpg', '/home/pi/Desktop/images/11012025/13/21/image_11012025_13_21_02_941757_0001.jpg', '/home/pi/Desktop/images/11012025/13/21/image_11012025_13_21_02_941757_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/20/image_11012025_13_20_02_787847_0003.jpg
/home/pi/Desktop/images/11012025/13/21/image_11012025_13_21_02_941757_0001.jpg
/home/pi/Desktop/images/11012025/13/21/image_11012025_13_21_02_941757_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328161562","1328161532","1328161564"],"photo_ids_order":["1328161532","1328161562","1328161564"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1ab396ddf5ca6f999fdf89dda6311245.jpg","text":"TemporaryFile(/tmp/multipartBody4252726358526175357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598149533,"filename":"image_11012025_13_21_02_941757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/438715803c905e477fe8af2d0ffebd16.jpg","text":"TemporaryFile(/tmp/multipartBody3497135118492632610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598149533,"filename":"image_11012025_13_20_02_787847_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8b756f1a1695d072b0ee3186b8be4d6d.jpg","text":"TemporaryFile(/tmp/multipartBody7844219443504168133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598149533,"filename":"image_11012025_13_21_02_941757_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328161564","file1":"1328161562","file0":"1328161532"},"map_files_photo_id_array":[{"photo_id":"1328161564","filename":"file2"},{"photo_id":"1328161562","filename":"file1"},{"photo_id":"1328161532","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328161562":["hashtag1","hashtag2"]},{"1328161532":["hashtag1","hashtag2"]},{"1328161564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328161562, 1328161532, 1328161564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.1321496963501 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:22:02.330165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:22:22.004800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/21/image_11012025_13_21_02_941757_0003.jpg', '/home/pi/Desktop/images/11012025/13/22/image_11012025_13_22_02_147905_0000.jpg', '/home/pi/Desktop/images/11012025/13/22/image_11012025_13_22_02_147905_0001.jpg', '/home/pi/Desktop/images/11012025/13/22/image_11012025_13_22_02_147905_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/21/image_11012025_13_21_02_941757_0003.jpg
/home/pi/Desktop/images/11012025/13/22/image_11012025_13_22_02_147905_0000.jpg
/home/pi/Desktop/images/11012025/13/22/image_11012025_13_22_02_147905_0001.jpg
/home/pi/Desktop/images/11012025/13/22/image_11012025_13_22_02_147905_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328161761","1328161757","1328161754","1328161759"],"photo_ids_order":["1328161754","1328161757","1328161759","1328161761"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8d0ebd7214719f8fde5fbb9de6f6eeb6.jpg","text":"TemporaryFile(/tmp/multipartBody5443224103641023680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598212181,"filename":"image_11012025_13_22_02_147905_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dbc07338e523b197dfd3cbfe4e48a7b1.jpg","text":"TemporaryFile(/tmp/multipartBody4854298643211574968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598212181,"filename":"image_11012025_13_22_02_147905_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/12bac50135ae05d533cb3f2d432a498f.jpg","text":"TemporaryFile(/tmp/multipartBody282643373496922680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598212181,"filename":"image_11012025_13_21_02_941757_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9399afa8831fd2d57da0b11a911be06d.jpg","text":"TemporaryFile(/tmp/multipartBody1560462483488947311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598212181,"filename":"image_11012025_13_22_02_147905_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328161759","file1":"1328161757","file0":"1328161754","file3":"1328161761"},"map_files_photo_id_array":[{"photo_id":"1328161759","filename":"file2"},{"photo_id":"1328161757","filename":"file1"},{"photo_id":"1328161754","filename":"file0"},{"photo_id":"1328161761","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328161761":["hashtag1","hashtag2"]},{"1328161757":["hashtag1","hashtag2"]},{"1328161754":["hashtag1","hashtag2"]},{"1328161759":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328161761, 1328161757, 1328161754, 1328161759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.165112018585205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:23:02.680211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:23:22.050500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/22/image_11012025_13_22_02_147905_0003.jpg', '/home/pi/Desktop/images/11012025/13/23/image_11012025_13_23_02_282227_0000.jpg', '/home/pi/Desktop/images/11012025/13/23/image_11012025_13_23_02_282227_0001.jpg', '/home/pi/Desktop/images/11012025/13/23/image_11012025_13_23_02_282227_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/22/image_11012025_13_22_02_147905_0003.jpg
/home/pi/Desktop/images/11012025/13/23/image_11012025_13_23_02_282227_0000.jpg
/home/pi/Desktop/images/11012025/13/23/image_11012025_13_23_02_282227_0001.jpg
/home/pi/Desktop/images/11012025/13/23/image_11012025_13_23_02_282227_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328162633","1328162884","1328163007","1328162514"],"photo_ids_order":["1328162514","1328162633","1328162884","1328163007"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7da23a68a6ed6c943cfc4e05cb5cd251.jpg","text":"TemporaryFile(/tmp/multipartBody8824492645577793022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598272285,"filename":"image_11012025_13_23_02_282227_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ddebc177d4de1f0304262e381e60f828.jpg","text":"TemporaryFile(/tmp/multipartBody6485187137411209493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598272285,"filename":"image_11012025_13_23_02_282227_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6e02de1b701e1855568bf1b85239fe1a.jpg","text":"TemporaryFile(/tmp/multipartBody8343508590650791160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598272285,"filename":"image_11012025_13_23_02_282227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3c91df8fdbb7607e9ddda337b47323c2.jpg","text":"TemporaryFile(/tmp/multipartBody2675930803914846662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598272285,"filename":"image_11012025_13_22_02_147905_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328162884","file1":"1328162633","file0":"1328162514","file3":"1328163007"},"map_files_photo_id_array":[{"photo_id":"1328162884","filename":"file2"},{"photo_id":"1328162633","filename":"file1"},{"photo_id":"1328162514","filename":"file0"},{"photo_id":"1328163007","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328162633":["hashtag1","hashtag2"]},{"1328162884":["hashtag1","hashtag2"]},{"1328163007":["hashtag1","hashtag2"]},{"1328162514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328162633, 1328162884, 1328163007, 1328162514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.396312952041626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:24:02.745868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:24:22.333103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/23/image_11012025_13_23_02_282227_0003.jpg', '/home/pi/Desktop/images/11012025/13/24/image_11012025_13_24_02_453472_0000.jpg', '/home/pi/Desktop/images/11012025/13/24/image_11012025_13_24_02_453472_0001.jpg', '/home/pi/Desktop/images/11012025/13/24/image_11012025_13_24_02_453472_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/23/image_11012025_13_23_02_282227_0003.jpg
/home/pi/Desktop/images/11012025/13/24/image_11012025_13_24_02_453472_0000.jpg
/home/pi/Desktop/images/11012025/13/24/image_11012025_13_24_02_453472_0001.jpg
/home/pi/Desktop/images/11012025/13/24/image_11012025_13_24_02_453472_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328163196","1328163183","1328163171","1328163197"],"photo_ids_order":["1328163171","1328163183","1328163196","1328163197"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f3be6da0b606bf27c7b6229d39a27441.jpg","text":"TemporaryFile(/tmp/multipartBody3975683177215712815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598332518,"filename":"image_11012025_13_24_02_453472_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4d027e4664c2204959d8cd39ff5b3dc1.jpg","text":"TemporaryFile(/tmp/multipartBody1825046442345788635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598332518,"filename":"image_11012025_13_24_02_453472_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3dc8fa285e8b6bdd7043038b55a7a5ef.jpg","text":"TemporaryFile(/tmp/multipartBody7133979598589289147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598332518,"filename":"image_11012025_13_23_02_282227_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0dd5506cac0c55f3d1724a6f3af6e59d.jpg","text":"TemporaryFile(/tmp/multipartBody4994301750191159040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598332518,"filename":"image_11012025_13_24_02_453472_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328163196","file1":"1328163183","file0":"1328163171","file3":"1328163197"},"map_files_photo_id_array":[{"photo_id":"1328163196","filename":"file2"},{"photo_id":"1328163183","filename":"file1"},{"photo_id":"1328163171","filename":"file0"},{"photo_id":"1328163197","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328163196":["hashtag1","hashtag2"]},{"1328163183":["hashtag1","hashtag2"]},{"1328163171":["hashtag1","hashtag2"]},{"1328163197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328163196, 1328163183, 1328163171, 1328163197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.220229387283325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:25:03.098353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:25:22.524033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/24/image_11012025_13_24_02_453472_0003.jpg', '/home/pi/Desktop/images/11012025/13/25/image_11012025_13_25_02_631885_0000.jpg', '/home/pi/Desktop/images/11012025/13/25/image_11012025_13_25_02_631885_0001.jpg', '/home/pi/Desktop/images/11012025/13/25/image_11012025_13_25_02_631885_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/24/image_11012025_13_24_02_453472_0003.jpg
/home/pi/Desktop/images/11012025/13/25/image_11012025_13_25_02_631885_0000.jpg
/home/pi/Desktop/images/11012025/13/25/image_11012025_13_25_02_631885_0001.jpg
/home/pi/Desktop/images/11012025/13/25/image_11012025_13_25_02_631885_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328163583","1328163592","1328163493","1328163590"],"photo_ids_order":["1328163493","1328163583","1328163590","1328163592"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e16151acd037318d89085ad6e15d0eb8.jpg","text":"TemporaryFile(/tmp/multipartBody5505017187408216031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598392601,"filename":"image_11012025_13_25_02_631885_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/be6687f37c20f4f016d930e43d085ab6.jpg","text":"TemporaryFile(/tmp/multipartBody2190970743961603064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598392601,"filename":"image_11012025_13_25_02_631885_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/779ed85afd178b188eac0e44e185a8e0.jpg","text":"TemporaryFile(/tmp/multipartBody8152228943926596955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598392601,"filename":"image_11012025_13_24_02_453472_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e67143aad2bed667116e3cbf5a9fa9cf.jpg","text":"TemporaryFile(/tmp/multipartBody560298997530067970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598392601,"filename":"image_11012025_13_25_02_631885_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328163590","file1":"1328163583","file0":"1328163493","file3":"1328163592"},"map_files_photo_id_array":[{"photo_id":"1328163590","filename":"file2"},{"photo_id":"1328163583","filename":"file1"},{"photo_id":"1328163493","filename":"file0"},{"photo_id":"1328163592","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328163583":["hashtag1","hashtag2"]},{"1328163592":["hashtag1","hashtag2"]},{"1328163493":["hashtag1","hashtag2"]},{"1328163590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328163583, 1328163592, 1328163493, 1328163590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.06097865104675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:26:03.234369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:26:22.685327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/25/image_11012025_13_25_02_631885_0003.jpg', '/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_02_951582_0000.jpg', '/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_02_951582_0001.jpg', '/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_02_951582_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/25/image_11012025_13_25_02_631885_0003.jpg
/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_02_951582_0000.jpg
/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_02_951582_0001.jpg
/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_02_951582_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.715900897979736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 13:26:42.691982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/25/image_11012025_13_25_02_631885_0003.jpg', '/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_02_951582_0000.jpg', '/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_02_951582_0001.jpg', '/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_02_951582_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/25/image_11012025_13_25_02_631885_0003.jpg
/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_02_951582_0000.jpg
/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_02_951582_0001.jpg
/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_02_951582_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328163734","1328163730","1328163732","1328163731"],"photo_ids_order":["1328163730","1328163731","1328163732","1328163734"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2637eb9a4bb03b5aae8c3ae2ccac22fc.jpg","text":"TemporaryFile(/tmp/multipartBody5524330698483181757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598472803,"filename":"image_11012025_13_26_02_951582_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1323ed50337fef64daff91a9f5ba48c8.jpg","text":"TemporaryFile(/tmp/multipartBody1084728885556298597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598472803,"filename":"image_11012025_13_25_02_631885_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4495dfd4eb12cd41992da2aa5953ef6f.jpg","text":"TemporaryFile(/tmp/multipartBody8326753405085422143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598472803,"filename":"image_11012025_13_26_02_951582_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e3c30be73fa5afd027030418cd04375a.jpg","text":"TemporaryFile(/tmp/multipartBody2631217753763033285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598472803,"filename":"image_11012025_13_26_02_951582_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328163732","file1":"1328163731","file0":"1328163730","file3":"1328163734"},"map_files_photo_id_array":[{"photo_id":"1328163732","filename":"file2"},{"photo_id":"1328163731","filename":"file1"},{"photo_id":"1328163730","filename":"file0"},{"photo_id":"1328163734","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328163734":["hashtag1","hashtag2"]},{"1328163730":["hashtag1","hashtag2"]},{"1328163732":["hashtag1","hashtag2"]},{"1328163731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328163734, 1328163730, 1328163732, 1328163731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01168155670166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 13:27:31.868913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_02_951582_0003.jpg', '/home/pi/Desktop/images/11012025/13/27/image_11012025_13_27_03_136170_0000.jpg', '/home/pi/Desktop/images/11012025/13/27/image_11012025_13_27_03_136170_0001.jpg', '/home/pi/Desktop/images/11012025/13/27/image_11012025_13_27_03_136170_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_02_951582_0003.jpg
/home/pi/Desktop/images/11012025/13/27/image_11012025_13_27_03_136170_0000.jpg
/home/pi/Desktop/images/11012025/13/27/image_11012025_13_27_03_136170_0001.jpg
/home/pi/Desktop/images/11012025/13/27/image_11012025_13_27_03_136170_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328163815","1328163816","1328163801","1328163813"],"photo_ids_order":["1328163801","1328163813","1328163815","1328163816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/02c07934a687528c6c0a82d64fd64c09.jpg","text":"TemporaryFile(/tmp/multipartBody6741105504882749160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598522013,"filename":"image_11012025_13_27_03_136170_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/229212ba7549c28b1f6a5742089a5154.jpg","text":"TemporaryFile(/tmp/multipartBody5511954305878626335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598522013,"filename":"image_11012025_13_27_03_136170_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c2d49dd3170373beb01ee2b48e5a20c9.jpg","text":"TemporaryFile(/tmp/multipartBody3571036298405091497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598522013,"filename":"image_11012025_13_26_02_951582_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f26d9e5ae53d327bd2e38fbe991f60a4.jpg","text":"TemporaryFile(/tmp/multipartBody5016232312454398489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598522013,"filename":"image_11012025_13_27_03_136170_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328163815","file1":"1328163813","file0":"1328163801","file3":"1328163816"},"map_files_photo_id_array":[{"photo_id":"1328163815","filename":"file2"},{"photo_id":"1328163813","filename":"file1"},{"photo_id":"1328163801","filename":"file0"},{"photo_id":"1328163816","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328163815":["hashtag1","hashtag2"]},{"1328163816":["hashtag1","hashtag2"]},{"1328163801":["hashtag1","hashtag2"]},{"1328163813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328163815, 1328163816, 1328163801, 1328163813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.8521614074707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:28:22.148675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/27/image_11012025_13_27_03_136170_0003.jpg', '/home/pi/Desktop/images/11012025/13/28/image_11012025_13_28_02_234475_0000.jpg', '/home/pi/Desktop/images/11012025/13/28/image_11012025_13_28_02_234475_0001.jpg', '/home/pi/Desktop/images/11012025/13/28/image_11012025_13_28_02_234475_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/27/image_11012025_13_27_03_136170_0003.jpg
/home/pi/Desktop/images/11012025/13/28/image_11012025_13_28_02_234475_0000.jpg
/home/pi/Desktop/images/11012025/13/28/image_11012025_13_28_02_234475_0001.jpg
/home/pi/Desktop/images/11012025/13/28/image_11012025_13_28_02_234475_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328163827","1328163829","1328163825","1328163830"],"photo_ids_order":["1328163825","1328163827","1328163829","1328163830"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0253d64e8fd1d4ee6e275287ee0a251b.jpg","text":"TemporaryFile(/tmp/multipartBody2856697579587274301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598572378,"filename":"image_11012025_13_28_02_234475_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a1cd3b68f6daf52222c567f71764974b.jpg","text":"TemporaryFile(/tmp/multipartBody3564356198376376552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598572378,"filename":"image_11012025_13_28_02_234475_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/57fa2ffbaffc1cfdb641cd17fd9ba0aa.jpg","text":"TemporaryFile(/tmp/multipartBody2557302320517111357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598572378,"filename":"image_11012025_13_27_03_136170_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/540ad56de8f8aca494d9f7a57af4e397.jpg","text":"TemporaryFile(/tmp/multipartBody791125216568122128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598572378,"filename":"image_11012025_13_28_02_234475_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328163829","file1":"1328163827","file0":"1328163825","file3":"1328163830"},"map_files_photo_id_array":[{"photo_id":"1328163829","filename":"file2"},{"photo_id":"1328163827","filename":"file1"},{"photo_id":"1328163825","filename":"file0"},{"photo_id":"1328163830","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328163827":["hashtag1","hashtag2"]},{"1328163829":["hashtag1","hashtag2"]},{"1328163825":["hashtag1","hashtag2"]},{"1328163830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328163827, 1328163829, 1328163825, 1328163830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.97652316093445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:29:22.300284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/28/image_11012025_13_28_02_234475_0003.jpg', '/home/pi/Desktop/images/11012025/13/29/image_11012025_13_29_02_425353_0000.jpg', '/home/pi/Desktop/images/11012025/13/29/image_11012025_13_29_02_425353_0001.jpg', '/home/pi/Desktop/images/11012025/13/29/image_11012025_13_29_02_425353_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/28/image_11012025_13_28_02_234475_0003.jpg
/home/pi/Desktop/images/11012025/13/29/image_11012025_13_29_02_425353_0000.jpg
/home/pi/Desktop/images/11012025/13/29/image_11012025_13_29_02_425353_0001.jpg
/home/pi/Desktop/images/11012025/13/29/image_11012025_13_29_02_425353_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328163854","1328163850","1328163847","1328163852"],"photo_ids_order":["1328163847","1328163850","1328163852","1328163854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7cf4e7bb6ca3f87f32745ed2a44f9ac6.jpg","text":"TemporaryFile(/tmp/multipartBody5504655235250314058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598632530,"filename":"image_11012025_13_29_02_425353_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/28cc259f454fc08cfa46e40b4391ca1b.jpg","text":"TemporaryFile(/tmp/multipartBody1116067301713000029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598632530,"filename":"image_11012025_13_29_02_425353_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2d86da3a5d0bc138822113807d44cfdc.jpg","text":"TemporaryFile(/tmp/multipartBody6243690217662991949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598632530,"filename":"image_11012025_13_28_02_234475_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2b592904bcb9f8d057dd20abccec97f1.jpg","text":"TemporaryFile(/tmp/multipartBody4596377111411917013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598632530,"filename":"image_11012025_13_29_02_425353_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328163852","file1":"1328163850","file0":"1328163847","file3":"1328163854"},"map_files_photo_id_array":[{"photo_id":"1328163852","filename":"file2"},{"photo_id":"1328163850","filename":"file1"},{"photo_id":"1328163847","filename":"file0"},{"photo_id":"1328163854","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328163854":["hashtag1","hashtag2"]},{"1328163850":["hashtag1","hashtag2"]},{"1328163847":["hashtag1","hashtag2"]},{"1328163852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328163854, 1328163850, 1328163847, 1328163852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.77963185310364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:30:22.353251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/29/image_11012025_13_29_02_425353_0003.jpg', '/home/pi/Desktop/images/11012025/13/30/image_11012025_13_30_02_567565_0000.jpg', '/home/pi/Desktop/images/11012025/13/30/image_11012025_13_30_02_567565_0001.jpg', '/home/pi/Desktop/images/11012025/13/30/image_11012025_13_30_02_567565_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/29/image_11012025_13_29_02_425353_0003.jpg
/home/pi/Desktop/images/11012025/13/30/image_11012025_13_30_02_567565_0000.jpg
/home/pi/Desktop/images/11012025/13/30/image_11012025_13_30_02_567565_0001.jpg
/home/pi/Desktop/images/11012025/13/30/image_11012025_13_30_02_567565_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328163882","1328163876","1328163872","1328163866"],"photo_ids_order":["1328163866","1328163872","1328163876","1328163882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ea6577291b5eb4d09c5c128185d0c27d.jpg","text":"TemporaryFile(/tmp/multipartBody2078027397516130764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598692573,"filename":"image_11012025_13_30_02_567565_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a31ac645ba018fce41e6f048ebcadc94.jpg","text":"TemporaryFile(/tmp/multipartBody1254539392247688027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598692573,"filename":"image_11012025_13_30_02_567565_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7e3a7c18e3773ec3fe80603a2effc2c8.jpg","text":"TemporaryFile(/tmp/multipartBody8049565856740995033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598692573,"filename":"image_11012025_13_30_02_567565_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1b2f6b6309c02d4215d84ce7bccd2f65.jpg","text":"TemporaryFile(/tmp/multipartBody6709045680225767160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598692573,"filename":"image_11012025_13_29_02_425353_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328163876","file1":"1328163872","file0":"1328163866","file3":"1328163882"},"map_files_photo_id_array":[{"photo_id":"1328163876","filename":"file2"},{"photo_id":"1328163872","filename":"file1"},{"photo_id":"1328163866","filename":"file0"},{"photo_id":"1328163882","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328163882":["hashtag1","hashtag2"]},{"1328163876":["hashtag1","hashtag2"]},{"1328163872":["hashtag1","hashtag2"]},{"1328163866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328163882, 1328163876, 1328163872, 1328163866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.55236506462097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:31:03.101306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:31:22.558613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/30/image_11012025_13_30_02_567565_0003.jpg', '/home/pi/Desktop/images/11012025/13/31/image_11012025_13_31_02_683531_0000.jpg', '/home/pi/Desktop/images/11012025/13/31/image_11012025_13_31_02_683531_0001.jpg', '/home/pi/Desktop/images/11012025/13/31/image_11012025_13_31_02_683531_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/30/image_11012025_13_30_02_567565_0003.jpg
/home/pi/Desktop/images/11012025/13/31/image_11012025_13_31_02_683531_0000.jpg
/home/pi/Desktop/images/11012025/13/31/image_11012025_13_31_02_683531_0001.jpg
/home/pi/Desktop/images/11012025/13/31/image_11012025_13_31_02_683531_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328163934","1328163931","1328163925","1328163927"],"photo_ids_order":["1328163925","1328163927","1328163931","1328163934"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/070e8cfaf8562846147204a9f69d80fd.jpg","text":"TemporaryFile(/tmp/multipartBody2178709054717962230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598752742,"filename":"image_11012025_13_31_02_683531_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/73f1d6ae8bf4d46239ddaccdb53d449f.jpg","text":"TemporaryFile(/tmp/multipartBody1407412324235407299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598752742,"filename":"image_11012025_13_31_02_683531_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7f416aa2f41a27588acaf99f3fa62741.jpg","text":"TemporaryFile(/tmp/multipartBody4735233527369470192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598752742,"filename":"image_11012025_13_30_02_567565_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0bf8a1ba65e5576ede3f1f4d5f376701.jpg","text":"TemporaryFile(/tmp/multipartBody7107780201088842765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598752742,"filename":"image_11012025_13_31_02_683531_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328163931","file1":"1328163927","file0":"1328163925","file3":"1328163934"},"map_files_photo_id_array":[{"photo_id":"1328163931","filename":"file2"},{"photo_id":"1328163927","filename":"file1"},{"photo_id":"1328163925","filename":"file0"},{"photo_id":"1328163934","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328163934":["hashtag1","hashtag2"]},{"1328163931":["hashtag1","hashtag2"]},{"1328163925":["hashtag1","hashtag2"]},{"1328163927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328163934, 1328163931, 1328163925, 1328163927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.12967896461487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:32:22.770464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/31/image_11012025_13_31_02_683531_0003.jpg', '/home/pi/Desktop/images/11012025/13/32/image_11012025_13_32_02_880614_0000.jpg', '/home/pi/Desktop/images/11012025/13/32/image_11012025_13_32_02_880614_0001.jpg', '/home/pi/Desktop/images/11012025/13/32/image_11012025_13_32_02_880614_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/31/image_11012025_13_31_02_683531_0003.jpg
/home/pi/Desktop/images/11012025/13/32/image_11012025_13_32_02_880614_0000.jpg
/home/pi/Desktop/images/11012025/13/32/image_11012025_13_32_02_880614_0001.jpg
/home/pi/Desktop/images/11012025/13/32/image_11012025_13_32_02_880614_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328163953","1328163955","1328163948","1328163950"],"photo_ids_order":["1328163948","1328163950","1328163953","1328163955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ea6cde7cdba2a67b90600e1e9b1c9f1f.jpg","text":"TemporaryFile(/tmp/multipartBody1673852955157042444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598812892,"filename":"image_11012025_13_32_02_880614_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/420eea153ab66a2da29d46952e61c743.jpg","text":"TemporaryFile(/tmp/multipartBody1087395309588941859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598812892,"filename":"image_11012025_13_32_02_880614_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/97d2635e6a40421a5877ce9bcd5cbb24.jpg","text":"TemporaryFile(/tmp/multipartBody4178306479847670268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598812892,"filename":"image_11012025_13_31_02_683531_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0095b01f59c13a8a34947668e43b2faf.jpg","text":"TemporaryFile(/tmp/multipartBody4044577995388790763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598812892,"filename":"image_11012025_13_32_02_880614_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328163953","file1":"1328163950","file0":"1328163948","file3":"1328163955"},"map_files_photo_id_array":[{"photo_id":"1328163953","filename":"file2"},{"photo_id":"1328163950","filename":"file1"},{"photo_id":"1328163948","filename":"file0"},{"photo_id":"1328163955","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328163953":["hashtag1","hashtag2"]},{"1328163955":["hashtag1","hashtag2"]},{"1328163948":["hashtag1","hashtag2"]},{"1328163950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328163953, 1328163955, 1328163948, 1328163950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.92799711227417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:33:02.444017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:33:21.853485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/32/image_11012025_13_32_02_880614_0003.jpg', '/home/pi/Desktop/images/11012025/13/33/image_11012025_13_33_03_065460_0000.jpg', '/home/pi/Desktop/images/11012025/13/33/image_11012025_13_33_03_065460_0001.jpg', '/home/pi/Desktop/images/11012025/13/33/image_11012025_13_33_03_065460_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/32/image_11012025_13_32_02_880614_0003.jpg
/home/pi/Desktop/images/11012025/13/33/image_11012025_13_33_03_065460_0000.jpg
/home/pi/Desktop/images/11012025/13/33/image_11012025_13_33_03_065460_0001.jpg
/home/pi/Desktop/images/11012025/13/33/image_11012025_13_33_03_065460_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328164146","1328163972","1328164019","1328163983"],"photo_ids_order":["1328163972","1328163983","1328164019","1328164146"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fb868bfc32c044d890fc7268d4f22844.jpg","text":"TemporaryFile(/tmp/multipartBody3418209921209667052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598872067,"filename":"image_11012025_13_33_03_065460_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/350603e63294afb97fc043f1efaa71a4.jpg","text":"TemporaryFile(/tmp/multipartBody5489714381544112998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598872067,"filename":"image_11012025_13_32_02_880614_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9642932f77128efa9fcf72be9b22b7a9.jpg","text":"TemporaryFile(/tmp/multipartBody5292414265913079489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598872067,"filename":"image_11012025_13_33_03_065460_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/271204f5965fb23ff3c2dec75af61795.jpg","text":"TemporaryFile(/tmp/multipartBody6518377445594364671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598872067,"filename":"image_11012025_13_33_03_065460_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328164019","file1":"1328163983","file0":"1328163972","file3":"1328164146"},"map_files_photo_id_array":[{"photo_id":"1328164019","filename":"file2"},{"photo_id":"1328163983","filename":"file1"},{"photo_id":"1328163972","filename":"file0"},{"photo_id":"1328164146","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328164146":["hashtag1","hashtag2"]},{"1328163972":["hashtag1","hashtag2"]},{"1328164019":["hashtag1","hashtag2"]},{"1328163983":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328164146, 1328163972, 1328164019, 1328163983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.616132974624634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:34:22.200713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/33/image_11012025_13_33_03_065460_0003.jpg', '/home/pi/Desktop/images/11012025/13/34/image_11012025_13_34_02_249172_0000.jpg', '/home/pi/Desktop/images/11012025/13/34/image_11012025_13_34_02_249172_0001.jpg', '/home/pi/Desktop/images/11012025/13/34/image_11012025_13_34_02_249172_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/33/image_11012025_13_33_03_065460_0003.jpg
/home/pi/Desktop/images/11012025/13/34/image_11012025_13_34_02_249172_0000.jpg
/home/pi/Desktop/images/11012025/13/34/image_11012025_13_34_02_249172_0001.jpg
/home/pi/Desktop/images/11012025/13/34/image_11012025_13_34_02_249172_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328165311","1328165308","1328165084","1328165191"],"photo_ids_order":["1328165084","1328165191","1328165308","1328165311"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e9637792dda19610e347fb8a80f30ed6.jpg","text":"TemporaryFile(/tmp/multipartBody3585006846661520980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598932504,"filename":"image_11012025_13_34_02_249172_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/05277c2c2b4ef30a262f3678f1c6b119.jpg","text":"TemporaryFile(/tmp/multipartBody1509800380127052225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598932504,"filename":"image_11012025_13_34_02_249172_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/83feea398a35baab2142a4050f2cb151.jpg","text":"TemporaryFile(/tmp/multipartBody1669762911742028074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598932504,"filename":"image_11012025_13_33_03_065460_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/42d55591a3e3a805f0a17efd569d3265.jpg","text":"TemporaryFile(/tmp/multipartBody7886079248678861313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598932504,"filename":"image_11012025_13_34_02_249172_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328165308","file1":"1328165191","file0":"1328165084","file3":"1328165311"},"map_files_photo_id_array":[{"photo_id":"1328165308","filename":"file2"},{"photo_id":"1328165191","filename":"file1"},{"photo_id":"1328165084","filename":"file0"},{"photo_id":"1328165311","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328165311":["hashtag1","hashtag2"]},{"1328165308":["hashtag1","hashtag2"]},{"1328165084":["hashtag1","hashtag2"]},{"1328165191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328165311, 1328165308, 1328165084, 1328165191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62861204147339 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:35:02.821998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:35:22.229218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/34/image_11012025_13_34_02_249172_0003.jpg', '/home/pi/Desktop/images/11012025/13/35/image_11012025_13_35_02_511716_0000.jpg', '/home/pi/Desktop/images/11012025/13/35/image_11012025_13_35_02_511716_0001.jpg', '/home/pi/Desktop/images/11012025/13/35/image_11012025_13_35_02_511716_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/34/image_11012025_13_34_02_249172_0003.jpg
/home/pi/Desktop/images/11012025/13/35/image_11012025_13_35_02_511716_0000.jpg
/home/pi/Desktop/images/11012025/13/35/image_11012025_13_35_02_511716_0001.jpg
/home/pi/Desktop/images/11012025/13/35/image_11012025_13_35_02_511716_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328165323","1328165328","1328165325","1328165330"],"photo_ids_order":["1328165323","1328165325","1328165328","1328165330"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ba11bee89a7e1ab16ed385dcf2c8324f.jpg","text":"TemporaryFile(/tmp/multipartBody5649269116386729048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598992467,"filename":"image_11012025_13_34_02_249172_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1c6add9497979008b7c6a3edfc91ecb5.jpg","text":"TemporaryFile(/tmp/multipartBody8636732805324964745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598992467,"filename":"image_11012025_13_35_02_511716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/add66c7e9420380f995835baf2d06b6d.jpg","text":"TemporaryFile(/tmp/multipartBody6607181730466072549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598992467,"filename":"image_11012025_13_35_02_511716_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c5fcda65991336674f7bd194cfbf7db.jpg","text":"TemporaryFile(/tmp/multipartBody1068464915157373074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736598992467,"filename":"image_11012025_13_35_02_511716_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328165328","file1":"1328165325","file0":"1328165323","file3":"1328165330"},"map_files_photo_id_array":[{"photo_id":"1328165328","filename":"file2"},{"photo_id":"1328165325","filename":"file1"},{"photo_id":"1328165323","filename":"file0"},{"photo_id":"1328165330","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328165323":["hashtag1","hashtag2"]},{"1328165328":["hashtag1","hashtag2"]},{"1328165325":["hashtag1","hashtag2"]},{"1328165330":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328165323, 1328165328, 1328165325, 1328165330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.56581211090088 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:36:22.441887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/35/image_11012025_13_35_02_511716_0003.jpg', '/home/pi/Desktop/images/11012025/13/36/image_11012025_13_36_02_552449_0000.jpg', '/home/pi/Desktop/images/11012025/13/36/image_11012025_13_36_02_552449_0001.jpg', '/home/pi/Desktop/images/11012025/13/36/image_11012025_13_36_02_552449_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/35/image_11012025_13_35_02_511716_0003.jpg
/home/pi/Desktop/images/11012025/13/36/image_11012025_13_36_02_552449_0000.jpg
/home/pi/Desktop/images/11012025/13/36/image_11012025_13_36_02_552449_0001.jpg
/home/pi/Desktop/images/11012025/13/36/image_11012025_13_36_02_552449_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328167010","1328166617","1328166217","1328167242"],"photo_ids_order":["1328166217","1328166617","1328167010","1328167242"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1ebd926a0e968c0e7ace5898abe91f59.jpg","text":"TemporaryFile(/tmp/multipartBody1266236767236878790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599052694,"filename":"image_11012025_13_36_02_552449_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e5999e828c78795827b45b7b188b0073.jpg","text":"TemporaryFile(/tmp/multipartBody300596059725416201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599052694,"filename":"image_11012025_13_36_02_552449_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/708d20955b4f08f44d3141188e8af9ca.jpg","text":"TemporaryFile(/tmp/multipartBody4780086277553714977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599052694,"filename":"image_11012025_13_35_02_511716_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/67b267590bd2422419f14bac6258e08e.jpg","text":"TemporaryFile(/tmp/multipartBody4866519834611850650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599052694,"filename":"image_11012025_13_36_02_552449_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328167010","file1":"1328166617","file0":"1328166217","file3":"1328167242"},"map_files_photo_id_array":[{"photo_id":"1328167010","filename":"file2"},{"photo_id":"1328166617","filename":"file1"},{"photo_id":"1328166217","filename":"file0"},{"photo_id":"1328167242","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328167010":["hashtag1","hashtag2"]},{"1328166617":["hashtag1","hashtag2"]},{"1328166217":["hashtag1","hashtag2"]},{"1328167242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328167010, 1328166617, 1328166217, 1328167242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.386183977127075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:37:03.353615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:37:22.587675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/36/image_11012025_13_36_02_552449_0003.jpg', '/home/pi/Desktop/images/11012025/13/37/image_11012025_13_37_02_812275_0000.jpg', '/home/pi/Desktop/images/11012025/13/37/image_11012025_13_37_02_812275_0001.jpg', '/home/pi/Desktop/images/11012025/13/37/image_11012025_13_37_02_812275_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/36/image_11012025_13_36_02_552449_0003.jpg
/home/pi/Desktop/images/11012025/13/37/image_11012025_13_37_02_812275_0000.jpg
/home/pi/Desktop/images/11012025/13/37/image_11012025_13_37_02_812275_0001.jpg
/home/pi/Desktop/images/11012025/13/37/image_11012025_13_37_02_812275_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328167472","1328167373","1328167718","1328167600"],"photo_ids_order":["1328167373","1328167472","1328167600","1328167718"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4fe8918fe8aac7cb9e7fd442b32f55a6.jpg","text":"TemporaryFile(/tmp/multipartBody8502061065764669600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599112792,"filename":"image_11012025_13_37_02_812275_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/358dc23355ffbc940faab474687293c2.jpg","text":"TemporaryFile(/tmp/multipartBody5715119298452322126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599112792,"filename":"image_11012025_13_36_02_552449_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/16790c36059b02403ad2b61ac7ff7247.jpg","text":"TemporaryFile(/tmp/multipartBody125882982436850517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599112792,"filename":"image_11012025_13_37_02_812275_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cab6e7a5e4bc109bf8e75a0158da8f75.jpg","text":"TemporaryFile(/tmp/multipartBody3221812122108430391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599112792,"filename":"image_11012025_13_37_02_812275_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328167600","file1":"1328167472","file0":"1328167373","file3":"1328167718"},"map_files_photo_id_array":[{"photo_id":"1328167600","filename":"file2"},{"photo_id":"1328167472","filename":"file1"},{"photo_id":"1328167373","filename":"file0"},{"photo_id":"1328167718","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328167472":["hashtag1","hashtag2"]},{"1328167373":["hashtag1","hashtag2"]},{"1328167718":["hashtag1","hashtag2"]},{"1328167600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328167472, 1328167373, 1328167718, 1328167600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.38698959350586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:38:03.173223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:38:22.770337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/37/image_11012025_13_37_02_812275_0003.jpg', '/home/pi/Desktop/images/11012025/13/38/image_11012025_13_38_02_941639_0000.jpg', '/home/pi/Desktop/images/11012025/13/38/image_11012025_13_38_02_941639_0001.jpg', '/home/pi/Desktop/images/11012025/13/38/image_11012025_13_38_02_941639_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/37/image_11012025_13_37_02_812275_0003.jpg
/home/pi/Desktop/images/11012025/13/38/image_11012025_13_38_02_941639_0000.jpg
/home/pi/Desktop/images/11012025/13/38/image_11012025_13_38_02_941639_0001.jpg
/home/pi/Desktop/images/11012025/13/38/image_11012025_13_38_02_941639_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.756350994110107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 13:38:42.765059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/37/image_11012025_13_37_02_812275_0003.jpg', '/home/pi/Desktop/images/11012025/13/38/image_11012025_13_38_02_941639_0000.jpg', '/home/pi/Desktop/images/11012025/13/38/image_11012025_13_38_02_941639_0001.jpg', '/home/pi/Desktop/images/11012025/13/38/image_11012025_13_38_02_941639_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/37/image_11012025_13_37_02_812275_0003.jpg
/home/pi/Desktop/images/11012025/13/38/image_11012025_13_38_02_941639_0000.jpg
/home/pi/Desktop/images/11012025/13/38/image_11012025_13_38_02_941639_0001.jpg
/home/pi/Desktop/images/11012025/13/38/image_11012025_13_38_02_941639_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328168513","1328168653","1328168458","1328168466"],"photo_ids_order":["1328168458","1328168466","1328168513","1328168653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4d9f145676a85fba6659f05b9520a5b0.jpg","text":"TemporaryFile(/tmp/multipartBody4355665964945734480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599192953,"filename":"image_11012025_13_38_02_941639_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/10782ee2cf91c25805b4d009d346066e.jpg","text":"TemporaryFile(/tmp/multipartBody5921908407215359632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599192953,"filename":"image_11012025_13_38_02_941639_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/671d3cf410b71329c30fc29d5e71ed51.jpg","text":"TemporaryFile(/tmp/multipartBody7052908950691441114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599192953,"filename":"image_11012025_13_37_02_812275_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2a92a74b88225df9649ae05ab84298e9.jpg","text":"TemporaryFile(/tmp/multipartBody4957195520518204605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599192953,"filename":"image_11012025_13_38_02_941639_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328168513","file1":"1328168466","file0":"1328168458","file3":"1328168653"},"map_files_photo_id_array":[{"photo_id":"1328168513","filename":"file2"},{"photo_id":"1328168466","filename":"file1"},{"photo_id":"1328168458","filename":"file0"},{"photo_id":"1328168653","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328168513":["hashtag1","hashtag2"]},{"1328168653":["hashtag1","hashtag2"]},{"1328168458":["hashtag1","hashtag2"]},{"1328168466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328168513, 1328168653, 1328168458, 1328168466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.93287777900696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 13:39:32.047857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/38/image_11012025_13_38_02_941639_0003.jpg', '/home/pi/Desktop/images/11012025/13/39/image_11012025_13_39_03_163849_0000.jpg', '/home/pi/Desktop/images/11012025/13/39/image_11012025_13_39_03_163849_0001.jpg', '/home/pi/Desktop/images/11012025/13/39/image_11012025_13_39_03_163849_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/38/image_11012025_13_38_02_941639_0003.jpg
/home/pi/Desktop/images/11012025/13/39/image_11012025_13_39_03_163849_0000.jpg
/home/pi/Desktop/images/11012025/13/39/image_11012025_13_39_03_163849_0001.jpg
/home/pi/Desktop/images/11012025/13/39/image_11012025_13_39_03_163849_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328169002","1328168998","1328169001","1328169003"],"photo_ids_order":["1328168998","1328169001","1328169002","1328169003"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a2989b34ea38c5b65dea9798930a197f.jpg","text":"TemporaryFile(/tmp/multipartBody5482042551546592273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599242228,"filename":"image_11012025_13_39_03_163849_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d52bfee2cf624ea8d068a60d9795c69a.jpg","text":"TemporaryFile(/tmp/multipartBody4105130225864050140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599242228,"filename":"image_11012025_13_38_02_941639_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7cf30954b7ee58c350d60013f603b3bd.jpg","text":"TemporaryFile(/tmp/multipartBody1325202781533075121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599242228,"filename":"image_11012025_13_39_03_163849_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7da0ec00fded5b067292e1fcac351063.jpg","text":"TemporaryFile(/tmp/multipartBody460864927589172785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599242228,"filename":"image_11012025_13_39_03_163849_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328169002","file1":"1328169001","file0":"1328168998","file3":"1328169003"},"map_files_photo_id_array":[{"photo_id":"1328169002","filename":"file2"},{"photo_id":"1328169001","filename":"file1"},{"photo_id":"1328168998","filename":"file0"},{"photo_id":"1328169003","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328169002":["hashtag1","hashtag2"]},{"1328168998":["hashtag1","hashtag2"]},{"1328169001":["hashtag1","hashtag2"]},{"1328169003":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328169002, 1328168998, 1328169001, 1328169003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.137123346328735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:40:22.088899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/39/image_11012025_13_39_03_163849_0003.jpg', '/home/pi/Desktop/images/11012025/13/40/image_11012025_13_40_02_343173_0000.jpg', '/home/pi/Desktop/images/11012025/13/40/image_11012025_13_40_02_343173_0001.jpg', '/home/pi/Desktop/images/11012025/13/40/image_11012025_13_40_02_343173_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/39/image_11012025_13_39_03_163849_0003.jpg
/home/pi/Desktop/images/11012025/13/40/image_11012025_13_40_02_343173_0000.jpg
/home/pi/Desktop/images/11012025/13/40/image_11012025_13_40_02_343173_0001.jpg
/home/pi/Desktop/images/11012025/13/40/image_11012025_13_40_02_343173_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328169011","1328169013","1328169007","1328169009"],"photo_ids_order":["1328169007","1328169009","1328169011","1328169013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4a6c54fb9447bf9a1d68ecf6b980b5bc.jpg","text":"TemporaryFile(/tmp/multipartBody4778542013722673088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599292293,"filename":"image_11012025_13_40_02_343173_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5070870bd979356e5736fb65341b53fc.jpg","text":"TemporaryFile(/tmp/multipartBody5807951304369419731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599292293,"filename":"image_11012025_13_40_02_343173_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6d58f408d9a530269e8673dc2e4bc016.jpg","text":"TemporaryFile(/tmp/multipartBody3020262185531854223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599292293,"filename":"image_11012025_13_39_03_163849_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1c780fdbd01643e4bef4e42ae529787f.jpg","text":"TemporaryFile(/tmp/multipartBody3301053906965271828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599292293,"filename":"image_11012025_13_40_02_343173_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328169011","file1":"1328169009","file0":"1328169007","file3":"1328169013"},"map_files_photo_id_array":[{"photo_id":"1328169011","filename":"file2"},{"photo_id":"1328169009","filename":"file1"},{"photo_id":"1328169007","filename":"file0"},{"photo_id":"1328169013","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328169011":["hashtag1","hashtag2"]},{"1328169013":["hashtag1","hashtag2"]},{"1328169007":["hashtag1","hashtag2"]},{"1328169009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328169011, 1328169013, 1328169007, 1328169009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.98123264312744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:41:22.384507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/40/image_11012025_13_40_02_343173_0003.jpg', '/home/pi/Desktop/images/11012025/13/41/image_11012025_13_41_02_438720_0000.jpg', '/home/pi/Desktop/images/11012025/13/41/image_11012025_13_41_02_438720_0001.jpg', '/home/pi/Desktop/images/11012025/13/41/image_11012025_13_41_02_438720_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/40/image_11012025_13_40_02_343173_0003.jpg
/home/pi/Desktop/images/11012025/13/41/image_11012025_13_41_02_438720_0000.jpg
/home/pi/Desktop/images/11012025/13/41/image_11012025_13_41_02_438720_0001.jpg
/home/pi/Desktop/images/11012025/13/41/image_11012025_13_41_02_438720_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328169041","1328169034","1328169036","1328169039"],"photo_ids_order":["1328169034","1328169036","1328169039","1328169041"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c9ecefe53e76ab1c093d210c63ef1ec4.jpg","text":"TemporaryFile(/tmp/multipartBody7162450986817687090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599352498,"filename":"image_11012025_13_41_02_438720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cb67a2b9a62420bacff7cfaab72e2da8.jpg","text":"TemporaryFile(/tmp/multipartBody6925435610282232472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599352498,"filename":"image_11012025_13_40_02_343173_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c6f690b4209d3ecc2f9712fb49c8112a.jpg","text":"TemporaryFile(/tmp/multipartBody4484570852944805205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599352498,"filename":"image_11012025_13_41_02_438720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c03bc74ca91aed435654a33b1aeb6158.jpg","text":"TemporaryFile(/tmp/multipartBody4284228796300772618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599352498,"filename":"image_11012025_13_41_02_438720_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328169039","file1":"1328169036","file0":"1328169034","file3":"1328169041"},"map_files_photo_id_array":[{"photo_id":"1328169039","filename":"file2"},{"photo_id":"1328169036","filename":"file1"},{"photo_id":"1328169034","filename":"file0"},{"photo_id":"1328169041","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328169041":["hashtag1","hashtag2"]},{"1328169034":["hashtag1","hashtag2"]},{"1328169036":["hashtag1","hashtag2"]},{"1328169039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328169041, 1328169034, 1328169036, 1328169039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.437782526016235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:42:22.445751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/41/image_11012025_13_41_02_438720_0003.jpg', '/home/pi/Desktop/images/11012025/13/42/image_11012025_13_42_02_756839_0000.jpg', '/home/pi/Desktop/images/11012025/13/42/image_11012025_13_42_02_756839_0001.jpg', '/home/pi/Desktop/images/11012025/13/42/image_11012025_13_42_02_756839_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/41/image_11012025_13_41_02_438720_0003.jpg
/home/pi/Desktop/images/11012025/13/42/image_11012025_13_42_02_756839_0000.jpg
/home/pi/Desktop/images/11012025/13/42/image_11012025_13_42_02_756839_0001.jpg
/home/pi/Desktop/images/11012025/13/42/image_11012025_13_42_02_756839_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328169079","1328169082","1328169055","1328169050"],"photo_ids_order":["1328169050","1328169055","1328169079","1328169082"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/833f0693bf22a8bb09b67fc1a8d8b152.jpg","text":"TemporaryFile(/tmp/multipartBody6293816990760535772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599412595,"filename":"image_11012025_13_42_02_756839_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/28c23259223845ab11de32478f13d8c2.jpg","text":"TemporaryFile(/tmp/multipartBody2455228747886958789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599412595,"filename":"image_11012025_13_42_02_756839_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/81a9ca3c271843e11d57c8fcf8342316.jpg","text":"TemporaryFile(/tmp/multipartBody1790296230279502197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599412595,"filename":"image_11012025_13_42_02_756839_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/58e3b6d2c70fca069660f2138038cb29.jpg","text":"TemporaryFile(/tmp/multipartBody2082738240072736718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599412595,"filename":"image_11012025_13_41_02_438720_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328169079","file1":"1328169055","file0":"1328169050","file3":"1328169082"},"map_files_photo_id_array":[{"photo_id":"1328169079","filename":"file2"},{"photo_id":"1328169055","filename":"file1"},{"photo_id":"1328169050","filename":"file0"},{"photo_id":"1328169082","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328169079":["hashtag1","hashtag2"]},{"1328169082":["hashtag1","hashtag2"]},{"1328169055":["hashtag1","hashtag2"]},{"1328169050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328169079, 1328169082, 1328169055, 1328169050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.819835901260376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:43:22.585172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/42/image_11012025_13_42_02_756839_0003.jpg', '/home/pi/Desktop/images/11012025/13/43/image_11012025_13_43_02_783087_0000.jpg', '/home/pi/Desktop/images/11012025/13/43/image_11012025_13_43_02_783087_0001.jpg', '/home/pi/Desktop/images/11012025/13/43/image_11012025_13_43_02_783087_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/42/image_11012025_13_42_02_756839_0003.jpg
/home/pi/Desktop/images/11012025/13/43/image_11012025_13_43_02_783087_0000.jpg
/home/pi/Desktop/images/11012025/13/43/image_11012025_13_43_02_783087_0001.jpg
/home/pi/Desktop/images/11012025/13/43/image_11012025_13_43_02_783087_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328169096","1328169099","1328169093","1328169092"],"photo_ids_order":["1328169092","1328169093","1328169096","1328169099"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c6eda2a5778c3b72684c06c776eef339.jpg","text":"TemporaryFile(/tmp/multipartBody3949133935332374060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599473180,"filename":"image_11012025_13_43_02_783087_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0551e8807cbf5a2b78ea87829128b8fb.jpg","text":"TemporaryFile(/tmp/multipartBody2339371936758126384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599473180,"filename":"image_11012025_13_43_02_783087_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bb1b719eb91e542656b25fa84fa63dd0.jpg","text":"TemporaryFile(/tmp/multipartBody2394769787501802531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599473180,"filename":"image_11012025_13_43_02_783087_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4f1a7362d65e4bad085c43cca6663ab9.jpg","text":"TemporaryFile(/tmp/multipartBody1302907731707754736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599473180,"filename":"image_11012025_13_42_02_756839_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328169096","file1":"1328169093","file0":"1328169092","file3":"1328169099"},"map_files_photo_id_array":[{"photo_id":"1328169096","filename":"file2"},{"photo_id":"1328169093","filename":"file1"},{"photo_id":"1328169092","filename":"file0"},{"photo_id":"1328169099","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328169096":["hashtag1","hashtag2"]},{"1328169099":["hashtag1","hashtag2"]},{"1328169093":["hashtag1","hashtag2"]},{"1328169092":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328169096, 1328169099, 1328169093, 1328169092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.82024121284485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:44:22.841321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/43/image_11012025_13_43_02_783087_0003.jpg', '/home/pi/Desktop/images/11012025/13/44/image_11012025_13_44_02_913015_0000.jpg', '/home/pi/Desktop/images/11012025/13/44/image_11012025_13_44_02_913015_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/43/image_11012025_13_43_02_783087_0003.jpg
/home/pi/Desktop/images/11012025/13/44/image_11012025_13_44_02_913015_0000.jpg
/home/pi/Desktop/images/11012025/13/44/image_11012025_13_44_02_913015_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328169116","1328169175","1328169117"],"photo_ids_order":["1328169116","1328169117","1328169175"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/016c268dea25ba733ed0db194e35ae7c.jpg","text":"TemporaryFile(/tmp/multipartBody8744208721633906096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599530599,"filename":"image_11012025_13_43_02_783087_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4a8ae5eb06afcbdcbced982e86a27ac6.jpg","text":"TemporaryFile(/tmp/multipartBody672959284171631794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599530599,"filename":"image_11012025_13_44_02_913015_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/92ab92ca095a3cac093012a2b05d5748.jpg","text":"TemporaryFile(/tmp/multipartBody6395861718930731151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599530599,"filename":"image_11012025_13_44_02_913015_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328169175","file1":"1328169117","file0":"1328169116"},"map_files_photo_id_array":[{"photo_id":"1328169175","filename":"file2"},{"photo_id":"1328169117","filename":"file1"},{"photo_id":"1328169116","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328169116":["hashtag1","hashtag2"]},{"1328169175":["hashtag1","hashtag2"]},{"1328169117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328169116, 1328169175, 1328169117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.38148069381714 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:45:02.675733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:45:21.962042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/44/image_11012025_13_44_02_913015_0003.jpg', '/home/pi/Desktop/images/11012025/13/45/image_11012025_13_45_03_172238_0000.jpg', '/home/pi/Desktop/images/11012025/13/45/image_11012025_13_45_03_172238_0001.jpg', '/home/pi/Desktop/images/11012025/13/45/image_11012025_13_45_03_172238_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/44/image_11012025_13_44_02_913015_0003.jpg
/home/pi/Desktop/images/11012025/13/45/image_11012025_13_45_03_172238_0000.jpg
/home/pi/Desktop/images/11012025/13/45/image_11012025_13_45_03_172238_0001.jpg
/home/pi/Desktop/images/11012025/13/45/image_11012025_13_45_03_172238_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.741699934005737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 13:45:41.980088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/44/image_11012025_13_44_02_913015_0003.jpg', '/home/pi/Desktop/images/11012025/13/45/image_11012025_13_45_03_172238_0000.jpg', '/home/pi/Desktop/images/11012025/13/45/image_11012025_13_45_03_172238_0001.jpg', '/home/pi/Desktop/images/11012025/13/45/image_11012025_13_45_03_172238_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/44/image_11012025_13_44_02_913015_0003.jpg
/home/pi/Desktop/images/11012025/13/45/image_11012025_13_45_03_172238_0000.jpg
/home/pi/Desktop/images/11012025/13/45/image_11012025_13_45_03_172238_0001.jpg
/home/pi/Desktop/images/11012025/13/45/image_11012025_13_45_03_172238_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328169277","1328169270","1328169273","1328169275"],"photo_ids_order":["1328169270","1328169273","1328169275","1328169277"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/56ead64d308a7986a79e36e2366557e1.jpg","text":"TemporaryFile(/tmp/multipartBody8048827237860986916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599612147,"filename":"image_11012025_13_45_03_172238_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1aff00899da47c0b17b6c36cf7ecd460.jpg","text":"TemporaryFile(/tmp/multipartBody5471963365265242214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599612147,"filename":"image_11012025_13_44_02_913015_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2767460f02b1a6184d3b4804814ac8fb.jpg","text":"TemporaryFile(/tmp/multipartBody7241215277654270652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599612147,"filename":"image_11012025_13_45_03_172238_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/985129431e04afac6d508815f7681935.jpg","text":"TemporaryFile(/tmp/multipartBody2301864956352473061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599612147,"filename":"image_11012025_13_45_03_172238_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328169275","file1":"1328169273","file0":"1328169270","file3":"1328169277"},"map_files_photo_id_array":[{"photo_id":"1328169275","filename":"file2"},{"photo_id":"1328169273","filename":"file1"},{"photo_id":"1328169270","filename":"file0"},{"photo_id":"1328169277","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328169277":["hashtag1","hashtag2"]},{"1328169270":["hashtag1","hashtag2"]},{"1328169273":["hashtag1","hashtag2"]},{"1328169275":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328169277, 1328169270, 1328169273, 1328169275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.585715532302856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:46:22.242397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/45/image_11012025_13_45_03_172238_0003.jpg', '/home/pi/Desktop/images/11012025/13/46/image_11012025_13_46_02_299192_0000.jpg', '/home/pi/Desktop/images/11012025/13/46/image_11012025_13_46_02_299192_0001.jpg', '/home/pi/Desktop/images/11012025/13/46/image_11012025_13_46_02_299192_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/45/image_11012025_13_45_03_172238_0003.jpg
/home/pi/Desktop/images/11012025/13/46/image_11012025_13_46_02_299192_0000.jpg
/home/pi/Desktop/images/11012025/13/46/image_11012025_13_46_02_299192_0001.jpg
/home/pi/Desktop/images/11012025/13/46/image_11012025_13_46_02_299192_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328169283","1328169286","1328169290","1328169281"],"photo_ids_order":["1328169281","1328169283","1328169286","1328169290"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c689638ddecb79d9d332b46693f862e5.jpg","text":"TemporaryFile(/tmp/multipartBody2227219847871821248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599652355,"filename":"image_11012025_13_46_02_299192_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/757c533b8483c61d9fa3b08705559a6b.jpg","text":"TemporaryFile(/tmp/multipartBody7521870951544172234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599652355,"filename":"image_11012025_13_46_02_299192_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/66d30653e68c7a8220c668ad53820eca.jpg","text":"TemporaryFile(/tmp/multipartBody218884340581415702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599652355,"filename":"image_11012025_13_46_02_299192_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d24e1c7731f2a96e46878cf0af08fd97.jpg","text":"TemporaryFile(/tmp/multipartBody2851278540929963358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599652355,"filename":"image_11012025_13_45_03_172238_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328169286","file1":"1328169283","file0":"1328169281","file3":"1328169290"},"map_files_photo_id_array":[{"photo_id":"1328169286","filename":"file2"},{"photo_id":"1328169283","filename":"file1"},{"photo_id":"1328169281","filename":"file0"},{"photo_id":"1328169290","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328169283":["hashtag1","hashtag2"]},{"1328169286":["hashtag1","hashtag2"]},{"1328169290":["hashtag1","hashtag2"]},{"1328169281":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328169283, 1328169286, 1328169290, 1328169281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.86041307449341 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:47:02.781609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:47:22.261576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/46/image_11012025_13_46_02_299192_0003.jpg', '/home/pi/Desktop/images/11012025/13/47/image_11012025_13_47_02_467732_0000.jpg', '/home/pi/Desktop/images/11012025/13/47/image_11012025_13_47_02_467732_0001.jpg', '/home/pi/Desktop/images/11012025/13/47/image_11012025_13_47_02_467732_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/46/image_11012025_13_46_02_299192_0003.jpg
/home/pi/Desktop/images/11012025/13/47/image_11012025_13_47_02_467732_0000.jpg
/home/pi/Desktop/images/11012025/13/47/image_11012025_13_47_02_467732_0001.jpg
/home/pi/Desktop/images/11012025/13/47/image_11012025_13_47_02_467732_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328169301","1328169307","1328169300","1328169303"],"photo_ids_order":["1328169300","1328169301","1328169303","1328169307"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0a8b23240f5010d21e98324cda1a3c2d.jpg","text":"TemporaryFile(/tmp/multipartBody8247859805637671729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599712430,"filename":"image_11012025_13_47_02_467732_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/17a6ffc8e58742484c300a4dfc678fcf.jpg","text":"TemporaryFile(/tmp/multipartBody8052041287576497783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599712430,"filename":"image_11012025_13_47_02_467732_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b8b6b3ec7e002b1031c36a964d8c86e2.jpg","text":"TemporaryFile(/tmp/multipartBody1764848730545566996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599712430,"filename":"image_11012025_13_46_02_299192_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8e66c90da8caf53113f07e69742b51f3.jpg","text":"TemporaryFile(/tmp/multipartBody5245064290784999921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599712430,"filename":"image_11012025_13_47_02_467732_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328169303","file1":"1328169301","file0":"1328169300","file3":"1328169307"},"map_files_photo_id_array":[{"photo_id":"1328169303","filename":"file2"},{"photo_id":"1328169301","filename":"file1"},{"photo_id":"1328169300","filename":"file0"},{"photo_id":"1328169307","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328169301":["hashtag1","hashtag2"]},{"1328169307":["hashtag1","hashtag2"]},{"1328169300":["hashtag1","hashtag2"]},{"1328169303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328169301, 1328169307, 1328169300, 1328169303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.826958417892456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:48:22.476080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/47/image_11012025_13_47_02_467732_0003.jpg', '/home/pi/Desktop/images/11012025/13/48/image_11012025_13_48_02_607357_0000.jpg', '/home/pi/Desktop/images/11012025/13/48/image_11012025_13_48_02_607357_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/47/image_11012025_13_47_02_467732_0003.jpg
/home/pi/Desktop/images/11012025/13/48/image_11012025_13_48_02_607357_0000.jpg
/home/pi/Desktop/images/11012025/13/48/image_11012025_13_48_02_607357_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328169322","1328169324","1328169321"],"photo_ids_order":["1328169321","1328169322","1328169324"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8afda06573a08b723e8391257a3c27a0.jpg","text":"TemporaryFile(/tmp/multipartBody7845152666597776058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599770223,"filename":"image_11012025_13_48_02_607357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9538487bd7bdbc44afdaa54060274f56.jpg","text":"TemporaryFile(/tmp/multipartBody8980961226371734977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599770223,"filename":"image_11012025_13_48_02_607357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/26e63af530deae57d38fab1a400bdfe0.jpg","text":"TemporaryFile(/tmp/multipartBody309807308667005008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599770223,"filename":"image_11012025_13_47_02_467732_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328169324","file1":"1328169322","file0":"1328169321"},"map_files_photo_id_array":[{"photo_id":"1328169324","filename":"file2"},{"photo_id":"1328169322","filename":"file1"},{"photo_id":"1328169321","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328169322":["hashtag1","hashtag2"]},{"1328169324":["hashtag1","hashtag2"]},{"1328169321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328169322, 1328169324, 1328169321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.69664764404297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:49:03.250802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:49:22.598738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/48/image_11012025_13_48_02_607357_0003.jpg', '/home/pi/Desktop/images/11012025/13/49/image_11012025_13_49_02_783873_0000.jpg', '/home/pi/Desktop/images/11012025/13/49/image_11012025_13_49_02_783873_0001.jpg', '/home/pi/Desktop/images/11012025/13/49/image_11012025_13_49_02_783873_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/48/image_11012025_13_48_02_607357_0003.jpg
/home/pi/Desktop/images/11012025/13/49/image_11012025_13_49_02_783873_0000.jpg
/home/pi/Desktop/images/11012025/13/49/image_11012025_13_49_02_783873_0001.jpg
/home/pi/Desktop/images/11012025/13/49/image_11012025_13_49_02_783873_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328169358","1328169360","1328169363","1328169356"],"photo_ids_order":["1328169356","1328169358","1328169360","1328169363"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9a5aade760336aca198b748dcd687a08.jpg","text":"TemporaryFile(/tmp/multipartBody2979778495341100904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599832709,"filename":"image_11012025_13_49_02_783873_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ff7cecb5c464d5e665938004a32170b8.jpg","text":"TemporaryFile(/tmp/multipartBody7198698246298670788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599832709,"filename":"image_11012025_13_49_02_783873_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/89e53f9628a7dadd54582c63a8babc76.jpg","text":"TemporaryFile(/tmp/multipartBody1241398953321328678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599832709,"filename":"image_11012025_13_49_02_783873_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9e4915b7790ede4d9acc9bd63d4b7676.jpg","text":"TemporaryFile(/tmp/multipartBody654166063753412389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599832709,"filename":"image_11012025_13_48_02_607357_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328169360","file1":"1328169358","file0":"1328169356","file3":"1328169363"},"map_files_photo_id_array":[{"photo_id":"1328169360","filename":"file2"},{"photo_id":"1328169358","filename":"file1"},{"photo_id":"1328169356","filename":"file0"},{"photo_id":"1328169363","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328169358":["hashtag1","hashtag2"]},{"1328169360":["hashtag1","hashtag2"]},{"1328169363":["hashtag1","hashtag2"]},{"1328169356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328169358, 1328169360, 1328169363, 1328169356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.169371366500854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:50:03.171456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:50:22.861460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/49/image_11012025_13_49_02_783873_0003.jpg', '/home/pi/Desktop/images/11012025/13/50/image_11012025_13_50_03_057253_0000.jpg', '/home/pi/Desktop/images/11012025/13/50/image_11012025_13_50_03_057253_0001.jpg', '/home/pi/Desktop/images/11012025/13/50/image_11012025_13_50_03_057253_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/49/image_11012025_13_49_02_783873_0003.jpg
/home/pi/Desktop/images/11012025/13/50/image_11012025_13_50_03_057253_0000.jpg
/home/pi/Desktop/images/11012025/13/50/image_11012025_13_50_03_057253_0001.jpg
/home/pi/Desktop/images/11012025/13/50/image_11012025_13_50_03_057253_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328169372","1328169380","1328169374","1328169377"],"photo_ids_order":["1328169372","1328169374","1328169377","1328169380"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cd3569b1bcd3b1382e4ee5ee9186f933.jpg","text":"TemporaryFile(/tmp/multipartBody7166986423708695820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599892975,"filename":"image_11012025_13_49_02_783873_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8cf244f9fd33d6b33a611814ff7899e6.jpg","text":"TemporaryFile(/tmp/multipartBody2763511688623491718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599892975,"filename":"image_11012025_13_50_03_057253_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e2d603e37dd29f36dc4ab37a6330bf3b.jpg","text":"TemporaryFile(/tmp/multipartBody5240204487894010663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599892975,"filename":"image_11012025_13_50_03_057253_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/41a3e4e1122d790739ac273a40119cc2.jpg","text":"TemporaryFile(/tmp/multipartBody4636628517736016702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599892975,"filename":"image_11012025_13_50_03_057253_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328169377","file1":"1328169374","file0":"1328169372","file3":"1328169380"},"map_files_photo_id_array":[{"photo_id":"1328169377","filename":"file2"},{"photo_id":"1328169374","filename":"file1"},{"photo_id":"1328169372","filename":"file0"},{"photo_id":"1328169380","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328169372":["hashtag1","hashtag2"]},{"1328169380":["hashtag1","hashtag2"]},{"1328169374":["hashtag1","hashtag2"]},{"1328169377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328169372, 1328169380, 1328169374, 1328169377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.72773194313049 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:51:02.430917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:51:21.923392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/50/image_11012025_13_50_03_057253_0003.jpg', '/home/pi/Desktop/images/11012025/13/51/image_11012025_13_51_03_065628_0001.jpg', '/home/pi/Desktop/images/11012025/13/51/image_11012025_13_51_03_065628_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/50/image_11012025_13_50_03_057253_0003.jpg
/home/pi/Desktop/images/11012025/13/51/image_11012025_13_51_03_065628_0001.jpg
/home/pi/Desktop/images/11012025/13/51/image_11012025_13_51_03_065628_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328169401","1328169399","1328169396"],"photo_ids_order":["1328169396","1328169399","1328169401"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cfb54b60c643d65a947b2b73d3db2b4c.jpg","text":"TemporaryFile(/tmp/multipartBody4259819348560615087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599949702,"filename":"image_11012025_13_51_03_065628_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6a997f65002bf948da2366dbaa040fc6.jpg","text":"TemporaryFile(/tmp/multipartBody6134195631403595990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599949702,"filename":"image_11012025_13_51_03_065628_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c93c303236b362064e47734596991175.jpg","text":"TemporaryFile(/tmp/multipartBody169440869016011392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736599949702,"filename":"image_11012025_13_50_03_057253_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328169401","file1":"1328169399","file0":"1328169396"},"map_files_photo_id_array":[{"photo_id":"1328169401","filename":"file2"},{"photo_id":"1328169399","filename":"file1"},{"photo_id":"1328169396","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328169401":["hashtag1","hashtag2"]},{"1328169399":["hashtag1","hashtag2"]},{"1328169396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328169401, 1328169399, 1328169396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.963013410568237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:52:02.550443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:52:22.093647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/51/image_11012025_13_51_03_065628_0003.jpg', '/home/pi/Desktop/images/11012025/13/52/image_11012025_13_52_02_237418_0000.jpg', '/home/pi/Desktop/images/11012025/13/52/image_11012025_13_52_02_237418_0001.jpg', '/home/pi/Desktop/images/11012025/13/52/image_11012025_13_52_02_237418_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/51/image_11012025_13_51_03_065628_0003.jpg
/home/pi/Desktop/images/11012025/13/52/image_11012025_13_52_02_237418_0000.jpg
/home/pi/Desktop/images/11012025/13/52/image_11012025_13_52_02_237418_0001.jpg
/home/pi/Desktop/images/11012025/13/52/image_11012025_13_52_02_237418_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328170163","1328169805","1328170039","1328169924"],"photo_ids_order":["1328169805","1328169924","1328170039","1328170163"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bc4f66b167ce661da97837c996dabb7f.jpg","text":"TemporaryFile(/tmp/multipartBody1869983659525561967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600012068,"filename":"image_11012025_13_52_02_237418_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/94d55f1d6f7720387d02daf7e7abd67c.jpg","text":"TemporaryFile(/tmp/multipartBody1670545808956532402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600012068,"filename":"image_11012025_13_51_03_065628_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aed05e2372366c7392b2367d53a4fc90.jpg","text":"TemporaryFile(/tmp/multipartBody8298419711083733957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600012068,"filename":"image_11012025_13_52_02_237418_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/12fecc4ebdc425e1e4723314348a4ee0.jpg","text":"TemporaryFile(/tmp/multipartBody2363636861478922842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600012068,"filename":"image_11012025_13_52_02_237418_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328170039","file1":"1328169924","file0":"1328169805","file3":"1328170163"},"map_files_photo_id_array":[{"photo_id":"1328170039","filename":"file2"},{"photo_id":"1328169924","filename":"file1"},{"photo_id":"1328169805","filename":"file0"},{"photo_id":"1328170163","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328170163":["hashtag1","hashtag2"]},{"1328169805":["hashtag1","hashtag2"]},{"1328170039":["hashtag1","hashtag2"]},{"1328169924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328170163, 1328169805, 1328170039, 1328169924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.11700749397278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:53:02.848231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:53:22.309208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/52/image_11012025_13_52_02_237418_0003.jpg', '/home/pi/Desktop/images/11012025/13/53/image_11012025_13_53_02_484658_0000.jpg', '/home/pi/Desktop/images/11012025/13/53/image_11012025_13_53_02_484658_0001.jpg', '/home/pi/Desktop/images/11012025/13/53/image_11012025_13_53_02_484658_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/52/image_11012025_13_52_02_237418_0003.jpg
/home/pi/Desktop/images/11012025/13/53/image_11012025_13_53_02_484658_0000.jpg
/home/pi/Desktop/images/11012025/13/53/image_11012025_13_53_02_484658_0001.jpg
/home/pi/Desktop/images/11012025/13/53/image_11012025_13_53_02_484658_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328170856","1328170859","1328170858","1328170852"],"photo_ids_order":["1328170852","1328170856","1328170858","1328170859"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/07c01ba156e8ded712c2b45ba7a367ea.jpg","text":"TemporaryFile(/tmp/multipartBody6968504903520322439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600072227,"filename":"image_11012025_13_53_02_484658_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/349a123fdc409efa5c3eb401c1f2a5a6.jpg","text":"TemporaryFile(/tmp/multipartBody8054543883202556046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600072227,"filename":"image_11012025_13_53_02_484658_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/83703e1f043710ae37cbf2a49d023ebc.jpg","text":"TemporaryFile(/tmp/multipartBody8012611465887424097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600072227,"filename":"image_11012025_13_53_02_484658_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bde9afb445cb89e728a16cc10ec55167.jpg","text":"TemporaryFile(/tmp/multipartBody2306493242458730682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600072227,"filename":"image_11012025_13_52_02_237418_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328170858","file1":"1328170856","file0":"1328170852","file3":"1328170859"},"map_files_photo_id_array":[{"photo_id":"1328170858","filename":"file2"},{"photo_id":"1328170856","filename":"file1"},{"photo_id":"1328170852","filename":"file0"},{"photo_id":"1328170859","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328170856":["hashtag1","hashtag2"]},{"1328170859":["hashtag1","hashtag2"]},{"1328170858":["hashtag1","hashtag2"]},{"1328170852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328170856, 1328170859, 1328170858, 1328170852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.6325786113739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:54:02.831244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:54:22.464598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/53/image_11012025_13_53_02_484658_0003.jpg', '/home/pi/Desktop/images/11012025/13/54/image_11012025_13_54_02_727133_0000.jpg', '/home/pi/Desktop/images/11012025/13/54/image_11012025_13_54_02_727133_0001.jpg', '/home/pi/Desktop/images/11012025/13/54/image_11012025_13_54_02_727133_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/53/image_11012025_13_53_02_484658_0003.jpg
/home/pi/Desktop/images/11012025/13/54/image_11012025_13_54_02_727133_0000.jpg
/home/pi/Desktop/images/11012025/13/54/image_11012025_13_54_02_727133_0001.jpg
/home/pi/Desktop/images/11012025/13/54/image_11012025_13_54_02_727133_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328170916","1328170925","1328170927","1328170908"],"photo_ids_order":["1328170908","1328170916","1328170925","1328170927"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b167c2738b94efaaa2d5fa5de44da6e9.jpg","text":"TemporaryFile(/tmp/multipartBody8266985832666869521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600132505,"filename":"image_11012025_13_54_02_727133_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/de064c030140a4398557b80343261690.jpg","text":"TemporaryFile(/tmp/multipartBody2770394535357464354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600132505,"filename":"image_11012025_13_54_02_727133_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5e35480baf4dbb24848ce9c8d3d0f148.jpg","text":"TemporaryFile(/tmp/multipartBody997300889798528993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600132505,"filename":"image_11012025_13_54_02_727133_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2df59ac88f7812cc7420d4f1d82a7e60.jpg","text":"TemporaryFile(/tmp/multipartBody8069585432047846689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600132505,"filename":"image_11012025_13_53_02_484658_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328170925","file1":"1328170916","file0":"1328170908","file3":"1328170927"},"map_files_photo_id_array":[{"photo_id":"1328170925","filename":"file2"},{"photo_id":"1328170916","filename":"file1"},{"photo_id":"1328170908","filename":"file0"},{"photo_id":"1328170927","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328170916":["hashtag1","hashtag2"]},{"1328170925":["hashtag1","hashtag2"]},{"1328170927":["hashtag1","hashtag2"]},{"1328170908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328170916, 1328170925, 1328170927, 1328170908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.524699211120605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:55:22.588227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/54/image_11012025_13_54_02_727133_0003.jpg', '/home/pi/Desktop/images/11012025/13/55/image_11012025_13_55_02_800484_0000.jpg', '/home/pi/Desktop/images/11012025/13/55/image_11012025_13_55_02_800484_0001.jpg', '/home/pi/Desktop/images/11012025/13/55/image_11012025_13_55_02_800484_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/54/image_11012025_13_54_02_727133_0003.jpg
/home/pi/Desktop/images/11012025/13/55/image_11012025_13_55_02_800484_0000.jpg
/home/pi/Desktop/images/11012025/13/55/image_11012025_13_55_02_800484_0001.jpg
/home/pi/Desktop/images/11012025/13/55/image_11012025_13_55_02_800484_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328171083","1328170966","1328170936","1328171198"],"photo_ids_order":["1328170936","1328170966","1328171083","1328171198"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7607cfd4ffcf3083ee419517acdec79f.jpg","text":"TemporaryFile(/tmp/multipartBody3039501893803844294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600192599,"filename":"image_11012025_13_55_02_800484_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8543206d33e321a70edb4910dc364ba3.jpg","text":"TemporaryFile(/tmp/multipartBody1764821392300962238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600192599,"filename":"image_11012025_13_55_02_800484_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6cd463b388a74d79fcb180147f3cdd89.jpg","text":"TemporaryFile(/tmp/multipartBody4804249923655250186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600192599,"filename":"image_11012025_13_54_02_727133_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2e9072fc514a9091c85020575c48b0ca.jpg","text":"TemporaryFile(/tmp/multipartBody6862338046188740606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600192599,"filename":"image_11012025_13_55_02_800484_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328171083","file1":"1328170966","file0":"1328170936","file3":"1328171198"},"map_files_photo_id_array":[{"photo_id":"1328171083","filename":"file2"},{"photo_id":"1328170966","filename":"file1"},{"photo_id":"1328170936","filename":"file0"},{"photo_id":"1328171198","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328171083":["hashtag1","hashtag2"]},{"1328170966":["hashtag1","hashtag2"]},{"1328170936":["hashtag1","hashtag2"]},{"1328171198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328171083, 1328170966, 1328170936, 1328171198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.72717499732971 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:56:21.807761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/55/image_11012025_13_55_02_800484_0003.jpg', '/home/pi/Desktop/images/11012025/13/56/image_11012025_13_56_02_994205_0000.jpg', '/home/pi/Desktop/images/11012025/13/56/image_11012025_13_56_02_994205_0001.jpg', '/home/pi/Desktop/images/11012025/13/56/image_11012025_13_56_02_994205_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/55/image_11012025_13_55_02_800484_0003.jpg
/home/pi/Desktop/images/11012025/13/56/image_11012025_13_56_02_994205_0000.jpg
/home/pi/Desktop/images/11012025/13/56/image_11012025_13_56_02_994205_0001.jpg
/home/pi/Desktop/images/11012025/13/56/image_11012025_13_56_02_994205_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328171707","1328171701","1328171703","1328171654"],"photo_ids_order":["1328171654","1328171701","1328171703","1328171707"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/250c62c006ec1dfc4f784039cebcfba4.jpg","text":"TemporaryFile(/tmp/multipartBody2561653776791120846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600251845,"filename":"image_11012025_13_56_02_994205_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9228741632c2a77dae3952e7479157ae.jpg","text":"TemporaryFile(/tmp/multipartBody5172815964767299233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600251845,"filename":"image_11012025_13_56_02_994205_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1dcf1a0ad10548df666d2eeba532a754.jpg","text":"TemporaryFile(/tmp/multipartBody7236777315053014752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600251845,"filename":"image_11012025_13_56_02_994205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/92d60426d7df23d048048975c25d0328.jpg","text":"TemporaryFile(/tmp/multipartBody7139274866783627537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600251845,"filename":"image_11012025_13_55_02_800484_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328171703","file1":"1328171701","file0":"1328171654","file3":"1328171707"},"map_files_photo_id_array":[{"photo_id":"1328171703","filename":"file2"},{"photo_id":"1328171701","filename":"file1"},{"photo_id":"1328171654","filename":"file0"},{"photo_id":"1328171707","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328171707":["hashtag1","hashtag2"]},{"1328171701":["hashtag1","hashtag2"]},{"1328171703":["hashtag1","hashtag2"]},{"1328171654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328171707, 1328171701, 1328171703, 1328171654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.15843081474304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 13:57:21.989226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/56/image_11012025_13_56_02_994205_0003.jpg', '/home/pi/Desktop/images/11012025/13/57/image_11012025_13_57_02_143972_0000.jpg', '/home/pi/Desktop/images/11012025/13/57/image_11012025_13_57_02_143972_0001.jpg', '/home/pi/Desktop/images/11012025/13/57/image_11012025_13_57_02_143972_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/56/image_11012025_13_56_02_994205_0003.jpg
/home/pi/Desktop/images/11012025/13/57/image_11012025_13_57_02_143972_0000.jpg
/home/pi/Desktop/images/11012025/13/57/image_11012025_13_57_02_143972_0001.jpg
/home/pi/Desktop/images/11012025/13/57/image_11012025_13_57_02_143972_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328171917","1328171914","1328171922","1328171919"],"photo_ids_order":["1328171914","1328171917","1328171919","1328171922"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d12c254e1f4861a1f48a8bf71e21a41a.jpg","text":"TemporaryFile(/tmp/multipartBody1050489909125300612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600312068,"filename":"image_11012025_13_57_02_143972_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b81995689c593953eac3de4db3be270c.jpg","text":"TemporaryFile(/tmp/multipartBody168932657073026945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600312068,"filename":"image_11012025_13_56_02_994205_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0962bbc9f9c403dfa8bbbe7d3180e91b.jpg","text":"TemporaryFile(/tmp/multipartBody4935906597250052327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600312068,"filename":"image_11012025_13_57_02_143972_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cf457a0b058873214ae4e745206bb654.jpg","text":"TemporaryFile(/tmp/multipartBody6672219294787526357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600312068,"filename":"image_11012025_13_57_02_143972_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328171919","file1":"1328171917","file0":"1328171914","file3":"1328171922"},"map_files_photo_id_array":[{"photo_id":"1328171919","filename":"file2"},{"photo_id":"1328171917","filename":"file1"},{"photo_id":"1328171914","filename":"file0"},{"photo_id":"1328171922","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328171917":["hashtag1","hashtag2"]},{"1328171914":["hashtag1","hashtag2"]},{"1328171922":["hashtag1","hashtag2"]},{"1328171919":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328171917, 1328171914, 1328171922, 1328171919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.898707151412964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 13:59:02.892057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/57/image_11012025_13_57_02_143972_0003.jpg', '/home/pi/Desktop/images/11012025/13/58/image_11012025_13_58_02_401445_0000.jpg', '/home/pi/Desktop/images/11012025/13/58/image_11012025_13_58_02_401445_0001.jpg', '/home/pi/Desktop/images/11012025/13/58/image_11012025_13_58_02_401445_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/57/image_11012025_13_57_02_143972_0003.jpg
/home/pi/Desktop/images/11012025/13/58/image_11012025_13_58_02_401445_0000.jpg
/home/pi/Desktop/images/11012025/13/58/image_11012025_13_58_02_401445_0001.jpg
/home/pi/Desktop/images/11012025/13/58/image_11012025_13_58_02_401445_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328172838","1328172832","1328172825","1328172818"],"photo_ids_order":["1328172818","1328172825","1328172832","1328172838"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/580e725f198ac8a68fc510eef15e0c31.jpg","text":"TemporaryFile(/tmp/multipartBody4162245852077042622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600413074,"filename":"image_11012025_13_58_02_401445_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d7e2315a0d74c9273647d4245de2a5df.jpg","text":"TemporaryFile(/tmp/multipartBody4925662961938014624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600413074,"filename":"image_11012025_13_58_02_401445_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0933d2522d1396a5c6a6f19735951a3c.jpg","text":"TemporaryFile(/tmp/multipartBody8765521870772572398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600413074,"filename":"image_11012025_13_58_02_401445_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5ebefa08979c3fb2b5f93e8704693421.jpg","text":"TemporaryFile(/tmp/multipartBody5350237284398757022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600413074,"filename":"image_11012025_13_57_02_143972_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328172832","file1":"1328172825","file0":"1328172818","file3":"1328172838"},"map_files_photo_id_array":[{"photo_id":"1328172832","filename":"file2"},{"photo_id":"1328172825","filename":"file1"},{"photo_id":"1328172818","filename":"file0"},{"photo_id":"1328172838","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328172838":["hashtag1","hashtag2"]},{"1328172832":["hashtag1","hashtag2"]},{"1328172825":["hashtag1","hashtag2"]},{"1328172818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328172838, 1328172832, 1328172825, 1328172818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.61140489578247 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 13:59:42.474956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/58/image_11012025_13_58_02_401445_0003.jpg', '/home/pi/Desktop/images/11012025/13/59/image_11012025_13_59_02_547560_0000.jpg', '/home/pi/Desktop/images/11012025/13/59/image_11012025_13_59_02_547560_0001.jpg', '/home/pi/Desktop/images/11012025/13/59/image_11012025_13_59_02_547560_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/58/image_11012025_13_58_02_401445_0003.jpg
/home/pi/Desktop/images/11012025/13/59/image_11012025_13_59_02_547560_0000.jpg
/home/pi/Desktop/images/11012025/13/59/image_11012025_13_59_02_547560_0001.jpg
/home/pi/Desktop/images/11012025/13/59/image_11012025_13_59_02_547560_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328173504","1328173494","1328173490","1328173498"],"photo_ids_order":["1328173490","1328173494","1328173498","1328173504"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7dcb063e5f78be6a3a5ab10601ef807b.jpg","text":"TemporaryFile(/tmp/multipartBody7044167905275852479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600452511,"filename":"image_11012025_13_59_02_547560_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/14b9c7d3eb5dbc12077a3633f7cf1254.jpg","text":"TemporaryFile(/tmp/multipartBody1411632337721406531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600452511,"filename":"image_11012025_13_59_02_547560_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3a9ff29c3b4135f00de628bb8032f096.jpg","text":"TemporaryFile(/tmp/multipartBody1407028719938775177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600452511,"filename":"image_11012025_13_58_02_401445_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9162e13efb0179e6248e002a77b4be1e.jpg","text":"TemporaryFile(/tmp/multipartBody9093950796509608143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600452511,"filename":"image_11012025_13_59_02_547560_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328173498","file1":"1328173494","file0":"1328173490","file3":"1328173504"},"map_files_photo_id_array":[{"photo_id":"1328173498","filename":"file2"},{"photo_id":"1328173494","filename":"file1"},{"photo_id":"1328173490","filename":"file0"},{"photo_id":"1328173504","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328173504":["hashtag1","hashtag2"]},{"1328173494":["hashtag1","hashtag2"]},{"1328173490":["hashtag1","hashtag2"]},{"1328173498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328173504, 1328173494, 1328173490, 1328173498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4106822013855 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-11 14:00:32.638505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/59/image_11012025_13_59_02_547560_0003.jpg', '/home/pi/Desktop/images/11012025/14/00/image_11012025_14_00_02_698054_0000.jpg', '/home/pi/Desktop/images/11012025/14/00/image_11012025_14_00_02_698054_0001.jpg', '/home/pi/Desktop/images/11012025/14/00/image_11012025_14_00_02_698054_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/13/59/image_11012025_13_59_02_547560_0003.jpg
/home/pi/Desktop/images/11012025/14/00/image_11012025_14_00_02_698054_0000.jpg
/home/pi/Desktop/images/11012025/14/00/image_11012025_14_00_02_698054_0001.jpg
/home/pi/Desktop/images/11012025/14/00/image_11012025_14_00_02_698054_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328173986","1328173859","1328173619","1328173693"],"photo_ids_order":["1328173619","1328173693","1328173859","1328173986"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f8607153f5e3a9cfd2b4231d4f611cc3.jpg","text":"TemporaryFile(/tmp/multipartBody1744032859211183312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600502851,"filename":"image_11012025_14_00_02_698054_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9533c666d7555ee43050135413c37b91.jpg","text":"TemporaryFile(/tmp/multipartBody1299720022616589619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600502851,"filename":"image_11012025_14_00_02_698054_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9d50f06871ebb69f61d651c60d26aebc.jpg","text":"TemporaryFile(/tmp/multipartBody4123357991638143843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600502851,"filename":"image_11012025_13_59_02_547560_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/47a8002d57d542aebd4a632b0899d8cb.jpg","text":"TemporaryFile(/tmp/multipartBody5155446285094674394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600502851,"filename":"image_11012025_14_00_02_698054_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328173859","file1":"1328173693","file0":"1328173619","file3":"1328173986"},"map_files_photo_id_array":[{"photo_id":"1328173859","filename":"file2"},{"photo_id":"1328173693","filename":"file1"},{"photo_id":"1328173619","filename":"file0"},{"photo_id":"1328173986","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328173986":["hashtag1","hashtag2"]},{"1328173859":["hashtag1","hashtag2"]},{"1328173619":["hashtag1","hashtag2"]},{"1328173693":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328173986, 1328173859, 1328173619, 1328173693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.6495418548584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:01:22.731775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/00/image_11012025_14_00_02_698054_0003.jpg', '/home/pi/Desktop/images/11012025/14/01/image_11012025_14_01_02_924715_0000.jpg', '/home/pi/Desktop/images/11012025/14/01/image_11012025_14_01_02_924715_0001.jpg', '/home/pi/Desktop/images/11012025/14/01/image_11012025_14_01_02_924715_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/00/image_11012025_14_00_02_698054_0003.jpg
/home/pi/Desktop/images/11012025/14/01/image_11012025_14_01_02_924715_0000.jpg
/home/pi/Desktop/images/11012025/14/01/image_11012025_14_01_02_924715_0001.jpg
/home/pi/Desktop/images/11012025/14/01/image_11012025_14_01_02_924715_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328174703","1328174733","1328174690","1328174698"],"photo_ids_order":["1328174690","1328174698","1328174703","1328174733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/530d7c3bb1e77264e3706d7c748bf0f0.jpg","text":"TemporaryFile(/tmp/multipartBody4078419648624687535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600552967,"filename":"image_11012025_14_01_02_924715_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9140fada1c58eb49e51d45ac450bd6a8.jpg","text":"TemporaryFile(/tmp/multipartBody7655039149969362618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600552967,"filename":"image_11012025_14_01_02_924715_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9ee12c9ffe6c95fa354b8d65bc13e5af.jpg","text":"TemporaryFile(/tmp/multipartBody4388942425510956685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600552967,"filename":"image_11012025_14_00_02_698054_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3a91e64fb79444f31ad60d2090a5b95b.jpg","text":"TemporaryFile(/tmp/multipartBody2251484154793739182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600552967,"filename":"image_11012025_14_01_02_924715_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328174703","file1":"1328174698","file0":"1328174690","file3":"1328174733"},"map_files_photo_id_array":[{"photo_id":"1328174703","filename":"file2"},{"photo_id":"1328174698","filename":"file1"},{"photo_id":"1328174690","filename":"file0"},{"photo_id":"1328174733","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328174703":["hashtag1","hashtag2"]},{"1328174733":["hashtag1","hashtag2"]},{"1328174690":["hashtag1","hashtag2"]},{"1328174698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328174703, 1328174733, 1328174690, 1328174698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.47877740859985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:02:21.919498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/01/image_11012025_14_01_02_924715_0003.jpg', '/home/pi/Desktop/images/11012025/14/02/image_11012025_14_02_03_059743_0000.jpg', '/home/pi/Desktop/images/11012025/14/02/image_11012025_14_02_03_059743_0001.jpg', '/home/pi/Desktop/images/11012025/14/02/image_11012025_14_02_03_059743_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/01/image_11012025_14_01_02_924715_0003.jpg
/home/pi/Desktop/images/11012025/14/02/image_11012025_14_02_03_059743_0000.jpg
/home/pi/Desktop/images/11012025/14/02/image_11012025_14_02_03_059743_0001.jpg
/home/pi/Desktop/images/11012025/14/02/image_11012025_14_02_03_059743_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328174829","1328174831","1328174837","1328174833"],"photo_ids_order":["1328174829","1328174831","1328174833","1328174837"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a54e12ddcf84bc07b60f05a8f3404c34.jpg","text":"TemporaryFile(/tmp/multipartBody4784218304234395270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600612204,"filename":"image_11012025_14_01_02_924715_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/397ae449577226bba1a6f868ed3ef196.jpg","text":"TemporaryFile(/tmp/multipartBody5230726194406816647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600612204,"filename":"image_11012025_14_02_03_059743_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a637b8f51f4e06d63909782d75f9d8dc.jpg","text":"TemporaryFile(/tmp/multipartBody7220050694299029896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600612204,"filename":"image_11012025_14_02_03_059743_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b84850669b63d849617308255a31639e.jpg","text":"TemporaryFile(/tmp/multipartBody2463030814950515502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600612204,"filename":"image_11012025_14_02_03_059743_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328174833","file1":"1328174831","file0":"1328174829","file3":"1328174837"},"map_files_photo_id_array":[{"photo_id":"1328174833","filename":"file2"},{"photo_id":"1328174831","filename":"file1"},{"photo_id":"1328174829","filename":"file0"},{"photo_id":"1328174837","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328174829":["hashtag1","hashtag2"]},{"1328174831":["hashtag1","hashtag2"]},{"1328174837":["hashtag1","hashtag2"]},{"1328174833":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328174829, 1328174831, 1328174837, 1328174833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.501899003982544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:03:02.813440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:03:22.113542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/02/image_11012025_14_02_03_059743_0003.jpg', '/home/pi/Desktop/images/11012025/14/03/image_11012025_14_03_02_287134_0000.jpg', '/home/pi/Desktop/images/11012025/14/03/image_11012025_14_03_02_287134_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/02/image_11012025_14_02_03_059743_0003.jpg
/home/pi/Desktop/images/11012025/14/03/image_11012025_14_03_02_287134_0000.jpg
/home/pi/Desktop/images/11012025/14/03/image_11012025_14_03_02_287134_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":["1328174891","1328174870","1328174883"],"photo_ids_order":["1328174870","1328174883","1328174891"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f3bca60cee1b80157b264cee4ec07e4a.jpg","text":"TemporaryFile(/tmp/multipartBody3026756271165116570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600669933,"filename":"image_11012025_14_03_02_287134_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/39524dc8c92b864956771e5313b33eeb.jpg","text":"TemporaryFile(/tmp/multipartBody3715680595397934777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600669933,"filename":"image_11012025_14_02_03_059743_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c067a50f4d3d57099af83ecc9023c9e.jpg","text":"TemporaryFile(/tmp/multipartBody3834872907237068782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600669933,"filename":"image_11012025_14_03_02_287134_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328174891","file1":"1328174883","file0":"1328174870"},"map_files_photo_id_array":[{"photo_id":"1328174891","filename":"file2"},{"photo_id":"1328174883","filename":"file1"},{"photo_id":"1328174870","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328174891":["hashtag1","hashtag2"]},{"1328174870":["hashtag1","hashtag2"]},{"1328174883":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328174891, 1328174870, 1328174883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.058974266052246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:04:02.833314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:04:22.418879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/03/image_11012025_14_03_02_287134_0002.jpg', '/home/pi/Desktop/images/11012025/14/04/image_11012025_14_04_02_573038_0000.jpg', '/home/pi/Desktop/images/11012025/14/04/image_11012025_14_04_02_573038_0001.jpg', '/home/pi/Desktop/images/11012025/14/04/image_11012025_14_04_02_573038_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/03/image_11012025_14_03_02_287134_0002.jpg
/home/pi/Desktop/images/11012025/14/04/image_11012025_14_04_02_573038_0000.jpg
/home/pi/Desktop/images/11012025/14/04/image_11012025_14_04_02_573038_0001.jpg
/home/pi/Desktop/images/11012025/14/04/image_11012025_14_04_02_573038_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328174922","1328174919","1328174927","1328174915"],"photo_ids_order":["1328174915","1328174919","1328174922","1328174927"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/943356ef63dcb6416a6ad8c0ca579981.jpg","text":"TemporaryFile(/tmp/multipartBody1925861124930839657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600732467,"filename":"image_11012025_14_04_02_573038_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0f9a4b13178fbf146bd078e7fbc5d90a.jpg","text":"TemporaryFile(/tmp/multipartBody1094302737081437952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600732467,"filename":"image_11012025_14_04_02_573038_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/424901963c2c784fe075f332255a08f4.jpg","text":"TemporaryFile(/tmp/multipartBody1939796614578141129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600732467,"filename":"image_11012025_14_04_02_573038_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ee49fcd275d7f7da19c5faaa6c49bfae.jpg","text":"TemporaryFile(/tmp/multipartBody5320713135696551242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600732467,"filename":"image_11012025_14_03_02_287134_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328174922","file1":"1328174919","file0":"1328174915","file3":"1328174927"},"map_files_photo_id_array":[{"photo_id":"1328174922","filename":"file2"},{"photo_id":"1328174919","filename":"file1"},{"photo_id":"1328174915","filename":"file0"},{"photo_id":"1328174927","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328174922":["hashtag1","hashtag2"]},{"1328174919":["hashtag1","hashtag2"]},{"1328174927":["hashtag1","hashtag2"]},{"1328174915":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328174922, 1328174919, 1328174927, 1328174915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.79649877548218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:05:22.492816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/04/image_11012025_14_04_02_573038_0003.jpg', '/home/pi/Desktop/images/11012025/14/05/image_11012025_14_05_02_716848_0000.jpg', '/home/pi/Desktop/images/11012025/14/05/image_11012025_14_05_02_716848_0001.jpg', '/home/pi/Desktop/images/11012025/14/05/image_11012025_14_05_02_716848_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/04/image_11012025_14_04_02_573038_0003.jpg
/home/pi/Desktop/images/11012025/14/05/image_11012025_14_05_02_716848_0000.jpg
/home/pi/Desktop/images/11012025/14/05/image_11012025_14_05_02_716848_0001.jpg
/home/pi/Desktop/images/11012025/14/05/image_11012025_14_05_02_716848_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328174960","1328174953","1328174956","1328174958"],"photo_ids_order":["1328174953","1328174956","1328174958","1328174960"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2411cfd5ef95f0148a556c0fce172806.jpg","text":"TemporaryFile(/tmp/multipartBody5501951255690443350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600792792,"filename":"image_11012025_14_05_02_716848_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/768021b49943ea57ebba775fe3923e6b.jpg","text":"TemporaryFile(/tmp/multipartBody4297922196866852340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600792792,"filename":"image_11012025_14_04_02_573038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/12f182776812e0d1abe1566630ab5164.jpg","text":"TemporaryFile(/tmp/multipartBody8533255419038376739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600792792,"filename":"image_11012025_14_05_02_716848_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c5e7b906a5a4192a3495fc83457fcfaf.jpg","text":"TemporaryFile(/tmp/multipartBody7857242708229843053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600792792,"filename":"image_11012025_14_05_02_716848_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328174958","file1":"1328174956","file0":"1328174953","file3":"1328174960"},"map_files_photo_id_array":[{"photo_id":"1328174958","filename":"file2"},{"photo_id":"1328174956","filename":"file1"},{"photo_id":"1328174953","filename":"file0"},{"photo_id":"1328174960","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328174960":["hashtag1","hashtag2"]},{"1328174953":["hashtag1","hashtag2"]},{"1328174956":["hashtag1","hashtag2"]},{"1328174958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328174960, 1328174953, 1328174956, 1328174958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.042768478393555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:06:03.115048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:06:22.604162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/05/image_11012025_14_05_02_716848_0003.jpg', '/home/pi/Desktop/images/11012025/14/06/image_11012025_14_06_02_826140_0000.jpg', '/home/pi/Desktop/images/11012025/14/06/image_11012025_14_06_02_826140_0001.jpg', '/home/pi/Desktop/images/11012025/14/06/image_11012025_14_06_02_826140_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/05/image_11012025_14_05_02_716848_0003.jpg
/home/pi/Desktop/images/11012025/14/06/image_11012025_14_06_02_826140_0000.jpg
/home/pi/Desktop/images/11012025/14/06/image_11012025_14_06_02_826140_0001.jpg
/home/pi/Desktop/images/11012025/14/06/image_11012025_14_06_02_826140_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328174981","1328174992","1328174989","1328174985"],"photo_ids_order":["1328174981","1328174985","1328174989","1328174992"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/05efc907b32455d612ebefe732e7aa26.jpg","text":"TemporaryFile(/tmp/multipartBody364471921310107395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600852759,"filename":"image_11012025_14_05_02_716848_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2c439d84c08c2528bbd1be0b49e36d9a.jpg","text":"TemporaryFile(/tmp/multipartBody5142816613795026739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600852759,"filename":"image_11012025_14_06_02_826140_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/26a0d010bf30d2520c8c4d75336a627e.jpg","text":"TemporaryFile(/tmp/multipartBody7279043117431477818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600852759,"filename":"image_11012025_14_06_02_826140_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0d277218aeb2e12e700014aa6b8fe6e4.jpg","text":"TemporaryFile(/tmp/multipartBody261635928311727061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600852759,"filename":"image_11012025_14_06_02_826140_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328174989","file1":"1328174985","file0":"1328174981","file3":"1328174992"},"map_files_photo_id_array":[{"photo_id":"1328174989","filename":"file2"},{"photo_id":"1328174985","filename":"file1"},{"photo_id":"1328174981","filename":"file0"},{"photo_id":"1328174992","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328174981":["hashtag1","hashtag2"]},{"1328174992":["hashtag1","hashtag2"]},{"1328174989":["hashtag1","hashtag2"]},{"1328174985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328174981, 1328174992, 1328174989, 1328174985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.09807252883911 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:07:21.867753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/06/image_11012025_14_06_02_826140_0003.jpg', '/home/pi/Desktop/images/11012025/14/07/image_11012025_14_07_03_054439_0000.jpg', '/home/pi/Desktop/images/11012025/14/07/image_11012025_14_07_03_054439_0001.jpg', '/home/pi/Desktop/images/11012025/14/07/image_11012025_14_07_03_054439_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/06/image_11012025_14_06_02_826140_0003.jpg
/home/pi/Desktop/images/11012025/14/07/image_11012025_14_07_03_054439_0000.jpg
/home/pi/Desktop/images/11012025/14/07/image_11012025_14_07_03_054439_0001.jpg
/home/pi/Desktop/images/11012025/14/07/image_11012025_14_07_03_054439_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328176328","1328176324","1328176332","1328176326"],"photo_ids_order":["1328176324","1328176326","1328176328","1328176332"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b7a01e1396001d49f3b7afa080a3871b.jpg","text":"TemporaryFile(/tmp/multipartBody6131463411111191144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600912003,"filename":"image_11012025_14_07_03_054439_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ea58c9457bc393135226ffa3934ef25f.jpg","text":"TemporaryFile(/tmp/multipartBody1396977674445493627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600912003,"filename":"image_11012025_14_06_02_826140_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/537a07a725b90339a0c9d56796f2e365.jpg","text":"TemporaryFile(/tmp/multipartBody1045648582665085874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600912003,"filename":"image_11012025_14_07_03_054439_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4a8d6eecd375d308da37c91531b86baa.jpg","text":"TemporaryFile(/tmp/multipartBody7998071111997508401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600912003,"filename":"image_11012025_14_07_03_054439_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328176328","file1":"1328176326","file0":"1328176324","file3":"1328176332"},"map_files_photo_id_array":[{"photo_id":"1328176328","filename":"file2"},{"photo_id":"1328176326","filename":"file1"},{"photo_id":"1328176324","filename":"file0"},{"photo_id":"1328176332","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328176328":["hashtag1","hashtag2"]},{"1328176324":["hashtag1","hashtag2"]},{"1328176332":["hashtag1","hashtag2"]},{"1328176326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328176328, 1328176324, 1328176332, 1328176326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.27069926261902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:08:02.611436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:08:22.067162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/07/image_11012025_14_07_03_054439_0003.jpg', '/home/pi/Desktop/images/11012025/14/08/image_11012025_14_08_02_228888_0000.jpg', '/home/pi/Desktop/images/11012025/14/08/image_11012025_14_08_02_228888_0001.jpg', '/home/pi/Desktop/images/11012025/14/08/image_11012025_14_08_02_228888_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/07/image_11012025_14_07_03_054439_0003.jpg
/home/pi/Desktop/images/11012025/14/08/image_11012025_14_08_02_228888_0000.jpg
/home/pi/Desktop/images/11012025/14/08/image_11012025_14_08_02_228888_0001.jpg
/home/pi/Desktop/images/11012025/14/08/image_11012025_14_08_02_228888_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328176348","1328176561","1328176444","1328176683"],"photo_ids_order":["1328176348","1328176444","1328176561","1328176683"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0f2a7da621e2ead94233e7801289cc5d.jpg","text":"TemporaryFile(/tmp/multipartBody1932064644862943206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600972147,"filename":"image_11012025_14_07_03_054439_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/814ef3d332fe78ed7eb2a8f4918f25ab.jpg","text":"TemporaryFile(/tmp/multipartBody2125683727554107380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600972147,"filename":"image_11012025_14_08_02_228888_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cb002fc14bc9af9bc27a12328e5e453f.jpg","text":"TemporaryFile(/tmp/multipartBody1560023762631066950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600972147,"filename":"image_11012025_14_08_02_228888_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1a281a9b7d0da4bdbfee1397171f6aac.jpg","text":"TemporaryFile(/tmp/multipartBody6022293047628143704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736600972147,"filename":"image_11012025_14_08_02_228888_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328176561","file1":"1328176444","file0":"1328176348","file3":"1328176683"},"map_files_photo_id_array":[{"photo_id":"1328176561","filename":"file2"},{"photo_id":"1328176444","filename":"file1"},{"photo_id":"1328176348","filename":"file0"},{"photo_id":"1328176683","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328176348":["hashtag1","hashtag2"]},{"1328176561":["hashtag1","hashtag2"]},{"1328176444":["hashtag1","hashtag2"]},{"1328176683":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328176348, 1328176561, 1328176444, 1328176683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.460737228393555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:09:02.802587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:09:22.177248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/08/image_11012025_14_08_02_228888_0003.jpg', '/home/pi/Desktop/images/11012025/14/09/image_11012025_14_09_02_391568_0000.jpg', '/home/pi/Desktop/images/11012025/14/09/image_11012025_14_09_02_391568_0001.jpg', '/home/pi/Desktop/images/11012025/14/09/image_11012025_14_09_02_391568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/08/image_11012025_14_08_02_228888_0003.jpg
/home/pi/Desktop/images/11012025/14/09/image_11012025_14_09_02_391568_0000.jpg
/home/pi/Desktop/images/11012025/14/09/image_11012025_14_09_02_391568_0001.jpg
/home/pi/Desktop/images/11012025/14/09/image_11012025_14_09_02_391568_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328178187","1328178185","1328178077","1328178064"],"photo_ids_order":["1328178064","1328178077","1328178185","1328178187"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/098dbb2771961cd54ba74cca80a46832.jpg","text":"TemporaryFile(/tmp/multipartBody4105436802814645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601032202,"filename":"image_11012025_14_09_02_391568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b5ed46820ebdfcbecb40d1430f54c395.jpg","text":"TemporaryFile(/tmp/multipartBody5290321858775186298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601032202,"filename":"image_11012025_14_09_02_391568_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3a819dc849ede1de7d80babe4fe59262.jpg","text":"TemporaryFile(/tmp/multipartBody345802363992146897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601032202,"filename":"image_11012025_14_09_02_391568_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/291eb4d514b04ef95aba8441e93d6202.jpg","text":"TemporaryFile(/tmp/multipartBody8392675753769525271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601032202,"filename":"image_11012025_14_08_02_228888_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328178185","file1":"1328178077","file0":"1328178064","file3":"1328178187"},"map_files_photo_id_array":[{"photo_id":"1328178185","filename":"file2"},{"photo_id":"1328178077","filename":"file1"},{"photo_id":"1328178064","filename":"file0"},{"photo_id":"1328178187","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328178187":["hashtag1","hashtag2"]},{"1328178185":["hashtag1","hashtag2"]},{"1328178077":["hashtag1","hashtag2"]},{"1328178064":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328178187, 1328178185, 1328178077, 1328178064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.57802677154541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:10:02.929556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:10:22.403743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/09/image_11012025_14_09_02_391568_0003.jpg', '/home/pi/Desktop/images/11012025/14/10/image_11012025_14_10_02_651415_0000.jpg', '/home/pi/Desktop/images/11012025/14/10/image_11012025_14_10_02_651415_0001.jpg', '/home/pi/Desktop/images/11012025/14/10/image_11012025_14_10_02_651415_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/09/image_11012025_14_09_02_391568_0003.jpg
/home/pi/Desktop/images/11012025/14/10/image_11012025_14_10_02_651415_0000.jpg
/home/pi/Desktop/images/11012025/14/10/image_11012025_14_10_02_651415_0001.jpg
/home/pi/Desktop/images/11012025/14/10/image_11012025_14_10_02_651415_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328178288","1328178278","1328178280","1328178283"],"photo_ids_order":["1328178278","1328178280","1328178283","1328178288"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8b9a374868c21005bbe6183109ef6075.jpg","text":"TemporaryFile(/tmp/multipartBody4314346041027145773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601092416,"filename":"image_11012025_14_10_02_651415_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/01735788625f397326c32b8b9f2bea6b.jpg","text":"TemporaryFile(/tmp/multipartBody1268568595114611964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601092416,"filename":"image_11012025_14_09_02_391568_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/957650cf0211f1e5c86b63e5ea04f6da.jpg","text":"TemporaryFile(/tmp/multipartBody8291964681400174293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601092416,"filename":"image_11012025_14_10_02_651415_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/41511cd4871e301882cfd217e813df96.jpg","text":"TemporaryFile(/tmp/multipartBody311600871900188867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601092416,"filename":"image_11012025_14_10_02_651415_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328178283","file1":"1328178280","file0":"1328178278","file3":"1328178288"},"map_files_photo_id_array":[{"photo_id":"1328178283","filename":"file2"},{"photo_id":"1328178280","filename":"file1"},{"photo_id":"1328178278","filename":"file0"},{"photo_id":"1328178288","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328178288":["hashtag1","hashtag2"]},{"1328178278":["hashtag1","hashtag2"]},{"1328178280":["hashtag1","hashtag2"]},{"1328178283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328178288, 1328178278, 1328178280, 1328178283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.71403408050537 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:11:03.191359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:11:22.675543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/10/image_11012025_14_10_02_651415_0003.jpg', '/home/pi/Desktop/images/11012025/14/11/image_11012025_14_11_02_691273_0000.jpg', '/home/pi/Desktop/images/11012025/14/11/image_11012025_14_11_02_691273_0001.jpg', '/home/pi/Desktop/images/11012025/14/11/image_11012025_14_11_02_691273_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/10/image_11012025_14_10_02_651415_0003.jpg
/home/pi/Desktop/images/11012025/14/11/image_11012025_14_11_02_691273_0000.jpg
/home/pi/Desktop/images/11012025/14/11/image_11012025_14_11_02_691273_0001.jpg
/home/pi/Desktop/images/11012025/14/11/image_11012025_14_11_02_691273_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328178526","1328178663","1328178303","1328178401"],"photo_ids_order":["1328178303","1328178401","1328178526","1328178663"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6636f24b73910be2ca81893a4db473e2.jpg","text":"TemporaryFile(/tmp/multipartBody1650952796026071645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601152818,"filename":"image_11012025_14_11_02_691273_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8f15db45e5fbc0f0ddfb315966b8839c.jpg","text":"TemporaryFile(/tmp/multipartBody2932128999333901014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601152818,"filename":"image_11012025_14_11_02_691273_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9e2c1311cf35dbb9778c474c67c9858e.jpg","text":"TemporaryFile(/tmp/multipartBody2236111575801125282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601152818,"filename":"image_11012025_14_10_02_651415_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/21f68350a61fc114b231149525e83260.jpg","text":"TemporaryFile(/tmp/multipartBody7402308342023164433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601152818,"filename":"image_11012025_14_11_02_691273_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328178526","file1":"1328178401","file0":"1328178303","file3":"1328178663"},"map_files_photo_id_array":[{"photo_id":"1328178526","filename":"file2"},{"photo_id":"1328178401","filename":"file1"},{"photo_id":"1328178303","filename":"file0"},{"photo_id":"1328178663","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328178526":["hashtag1","hashtag2"]},{"1328178663":["hashtag1","hashtag2"]},{"1328178303":["hashtag1","hashtag2"]},{"1328178401":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328178526, 1328178663, 1328178303, 1328178401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.860405921936035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:12:03.092687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:12:22.700828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/11/image_11012025_14_11_02_691273_0003.jpg', '/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_02_977785_0000.jpg', '/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_02_977785_0001.jpg', '/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_02_977785_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/11/image_11012025_14_11_02_691273_0003.jpg
/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_02_977785_0000.jpg
/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_02_977785_0001.jpg
/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_02_977785_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.67801284790039 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 14:12:42.665932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/11/image_11012025_14_11_02_691273_0003.jpg', '/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_02_977785_0000.jpg', '/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_02_977785_0001.jpg', '/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_02_977785_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/11/image_11012025_14_11_02_691273_0003.jpg
/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_02_977785_0000.jpg
/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_02_977785_0001.jpg
/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_02_977785_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328179083","1328179073","1328179069","1328179078"],"photo_ids_order":["1328179069","1328179073","1328179078","1328179083"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/78e90bc51f42f97e0df021ed1df71d94.jpg","text":"TemporaryFile(/tmp/multipartBody7533510600499612915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601232759,"filename":"image_11012025_14_12_02_977785_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d43fbf7ff8fb68bea4ab59aa58bd0e5b.jpg","text":"TemporaryFile(/tmp/multipartBody6675104601673451679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601232759,"filename":"image_11012025_14_12_02_977785_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/96fe2158f2a8b53d279b4369b24ca47c.jpg","text":"TemporaryFile(/tmp/multipartBody8166652172009078483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601232759,"filename":"image_11012025_14_11_02_691273_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3266c22d81e2791081954f0e26d66ca4.jpg","text":"TemporaryFile(/tmp/multipartBody6857869505807595434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601232759,"filename":"image_11012025_14_12_02_977785_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328179078","file1":"1328179073","file0":"1328179069","file3":"1328179083"},"map_files_photo_id_array":[{"photo_id":"1328179078","filename":"file2"},{"photo_id":"1328179073","filename":"file1"},{"photo_id":"1328179069","filename":"file0"},{"photo_id":"1328179083","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328179083":["hashtag1","hashtag2"]},{"1328179073":["hashtag1","hashtag2"]},{"1328179069":["hashtag1","hashtag2"]},{"1328179078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328179083, 1328179073, 1328179069, 1328179078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.586538791656494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 14:13:31.826756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_02_977785_0003.jpg', '/home/pi/Desktop/images/11012025/14/13/image_11012025_14_13_03_088057_0000.jpg', '/home/pi/Desktop/images/11012025/14/13/image_11012025_14_13_03_088057_0001.jpg', '/home/pi/Desktop/images/11012025/14/13/image_11012025_14_13_03_088057_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_02_977785_0003.jpg
/home/pi/Desktop/images/11012025/14/13/image_11012025_14_13_03_088057_0000.jpg
/home/pi/Desktop/images/11012025/14/13/image_11012025_14_13_03_088057_0001.jpg
/home/pi/Desktop/images/11012025/14/13/image_11012025_14_13_03_088057_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328179217","1328179211","1328179222","1328179219"],"photo_ids_order":["1328179211","1328179217","1328179219","1328179222"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f95bba3b17d22cda5dbe0c3c6630a49c.jpg","text":"TemporaryFile(/tmp/multipartBody2038607330992196313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601281958,"filename":"image_11012025_14_13_03_088057_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/35850737967104956848d2ab55340002.jpg","text":"TemporaryFile(/tmp/multipartBody5970926086378037552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601281958,"filename":"image_11012025_14_12_02_977785_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8a38c532ec4e8c2564813a2b5a50043a.jpg","text":"TemporaryFile(/tmp/multipartBody7653324013855129650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601281958,"filename":"image_11012025_14_13_03_088057_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4fa4db77b534b289056bfce9ce0b2535.jpg","text":"TemporaryFile(/tmp/multipartBody7032920755778428042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601281958,"filename":"image_11012025_14_13_03_088057_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328179219","file1":"1328179217","file0":"1328179211","file3":"1328179222"},"map_files_photo_id_array":[{"photo_id":"1328179219","filename":"file2"},{"photo_id":"1328179217","filename":"file1"},{"photo_id":"1328179211","filename":"file0"},{"photo_id":"1328179222","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328179217":["hashtag1","hashtag2"]},{"1328179211":["hashtag1","hashtag2"]},{"1328179222":["hashtag1","hashtag2"]},{"1328179219":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328179217, 1328179211, 1328179222, 1328179219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.492170095443726 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:14:22.010824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/13/image_11012025_14_13_03_088057_0003.jpg', '/home/pi/Desktop/images/11012025/14/14/image_11012025_14_14_02_189536_0000.jpg', '/home/pi/Desktop/images/11012025/14/14/image_11012025_14_14_02_189536_0001.jpg', '/home/pi/Desktop/images/11012025/14/14/image_11012025_14_14_02_189536_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/13/image_11012025_14_13_03_088057_0003.jpg
/home/pi/Desktop/images/11012025/14/14/image_11012025_14_14_02_189536_0000.jpg
/home/pi/Desktop/images/11012025/14/14/image_11012025_14_14_02_189536_0001.jpg
/home/pi/Desktop/images/11012025/14/14/image_11012025_14_14_02_189536_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328179248","1328179320","1328179245","1328179340"],"photo_ids_order":["1328179245","1328179248","1328179320","1328179340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/343d07eb059fdad4dc10955ab05925d4.jpg","text":"TemporaryFile(/tmp/multipartBody1583397813654915042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601332207,"filename":"image_11012025_14_14_02_189536_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6581ebb62076f58d956f67b7ee806f27.jpg","text":"TemporaryFile(/tmp/multipartBody7513916178461766653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601332207,"filename":"image_11012025_14_14_02_189536_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9d873a5703868f361118f5c3fe05f922.jpg","text":"TemporaryFile(/tmp/multipartBody3388615073453408752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601332207,"filename":"image_11012025_14_13_03_088057_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3066b8bc321d21558a0f37d1107a2318.jpg","text":"TemporaryFile(/tmp/multipartBody261441139590734193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601332207,"filename":"image_11012025_14_14_02_189536_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328179320","file1":"1328179248","file0":"1328179245","file3":"1328179340"},"map_files_photo_id_array":[{"photo_id":"1328179320","filename":"file2"},{"photo_id":"1328179248","filename":"file1"},{"photo_id":"1328179245","filename":"file0"},{"photo_id":"1328179340","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328179248":["hashtag1","hashtag2"]},{"1328179320":["hashtag1","hashtag2"]},{"1328179245":["hashtag1","hashtag2"]},{"1328179340":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328179248, 1328179320, 1328179245, 1328179340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.836883783340454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:15:02.725466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:15:22.177797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/14/image_11012025_14_14_02_189536_0003.jpg', '/home/pi/Desktop/images/11012025/14/15/image_11012025_14_15_02_413626_0000.jpg', '/home/pi/Desktop/images/11012025/14/15/image_11012025_14_15_02_413626_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/14/image_11012025_14_14_02_189536_0003.jpg
/home/pi/Desktop/images/11012025/14/15/image_11012025_14_15_02_413626_0000.jpg
/home/pi/Desktop/images/11012025/14/15/image_11012025_14_15_02_413626_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":["1328180014","1328179892","1328180315"],"photo_ids_order":["1328179892","1328180014","1328180315"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e25809ccb6aabbe9d4253a8f1b58c6a9.jpg","text":"TemporaryFile(/tmp/multipartBody1088827458377139541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601389879,"filename":"image_11012025_14_15_02_413626_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e4d163dee92b3fb67f471df2635e207e.jpg","text":"TemporaryFile(/tmp/multipartBody5463648385944240239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601389879,"filename":"image_11012025_14_14_02_189536_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8e64c712b436f50e0329377752ddcb64.jpg","text":"TemporaryFile(/tmp/multipartBody2508381643100957303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601389879,"filename":"image_11012025_14_15_02_413626_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328180315","file1":"1328180014","file0":"1328179892"},"map_files_photo_id_array":[{"photo_id":"1328180315","filename":"file2"},{"photo_id":"1328180014","filename":"file1"},{"photo_id":"1328179892","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328180014":["hashtag1","hashtag2"]},{"1328179892":["hashtag1","hashtag2"]},{"1328180315":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328180014, 1328179892, 1328180315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.78836464881897 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:16:02.840460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:16:22.322481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/15/image_11012025_14_15_02_413626_0003.jpg', '/home/pi/Desktop/images/11012025/14/16/image_11012025_14_16_02_483754_0000.jpg', '/home/pi/Desktop/images/11012025/14/16/image_11012025_14_16_02_483754_0001.jpg', '/home/pi/Desktop/images/11012025/14/16/image_11012025_14_16_02_483754_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/15/image_11012025_14_15_02_413626_0003.jpg
/home/pi/Desktop/images/11012025/14/16/image_11012025_14_16_02_483754_0000.jpg
/home/pi/Desktop/images/11012025/14/16/image_11012025_14_16_02_483754_0001.jpg
/home/pi/Desktop/images/11012025/14/16/image_11012025_14_16_02_483754_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328180475","1328180471","1328180480","1328180468"],"photo_ids_order":["1328180468","1328180471","1328180475","1328180480"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1fcc844680f585a0bd081dc67382a73f.jpg","text":"TemporaryFile(/tmp/multipartBody3321342697337222989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601452554,"filename":"image_11012025_14_16_02_483754_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6429299cd7ec502a5234ab46f4c9452c.jpg","text":"TemporaryFile(/tmp/multipartBody6382664189383609156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601452554,"filename":"image_11012025_14_16_02_483754_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/638dddeb79dda1026fd388bbdbc7132e.jpg","text":"TemporaryFile(/tmp/multipartBody4323334518088404532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601452554,"filename":"image_11012025_14_16_02_483754_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fb8ebfbf08de5c2f5c6cc0ea0df9eef0.jpg","text":"TemporaryFile(/tmp/multipartBody6917479177009747381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601452554,"filename":"image_11012025_14_15_02_413626_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328180475","file1":"1328180471","file0":"1328180468","file3":"1328180480"},"map_files_photo_id_array":[{"photo_id":"1328180475","filename":"file2"},{"photo_id":"1328180471","filename":"file1"},{"photo_id":"1328180468","filename":"file0"},{"photo_id":"1328180480","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328180475":["hashtag1","hashtag2"]},{"1328180471":["hashtag1","hashtag2"]},{"1328180480":["hashtag1","hashtag2"]},{"1328180468":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328180475, 1328180471, 1328180480, 1328180468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.71897912025452 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-11 14:17:22.606703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/16/image_11012025_14_16_02_483754_0003.jpg', '/home/pi/Desktop/images/11012025/14/17/image_11012025_14_17_02_753933_0000.jpg', '/home/pi/Desktop/images/11012025/14/17/image_11012025_14_17_02_753933_0001.jpg', '/home/pi/Desktop/images/11012025/14/17/image_11012025_14_17_02_753933_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/16/image_11012025_14_16_02_483754_0003.jpg
/home/pi/Desktop/images/11012025/14/17/image_11012025_14_17_02_753933_0000.jpg
/home/pi/Desktop/images/11012025/14/17/image_11012025_14_17_02_753933_0001.jpg
/home/pi/Desktop/images/11012025/14/17/image_11012025_14_17_02_753933_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328180938","1328180952","1328180889","1328180949"],"photo_ids_order":["1328180889","1328180938","1328180949","1328180952"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d38005aef9b7a34fc56be0886fbd07b2.jpg","text":"TemporaryFile(/tmp/multipartBody3364874126185358022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601512956,"filename":"image_11012025_14_17_02_753933_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/76399b7d450785cbab835217532ed235.jpg","text":"TemporaryFile(/tmp/multipartBody1236046773574865415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601512956,"filename":"image_11012025_14_17_02_753933_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/db1a9db5b2db6f51e95fd29d306ba545.jpg","text":"TemporaryFile(/tmp/multipartBody3090143329385446327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601512956,"filename":"image_11012025_14_16_02_483754_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/566ef097aa41b4da5e2162aaa3f0210c.jpg","text":"TemporaryFile(/tmp/multipartBody7262736497581815918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601512956,"filename":"image_11012025_14_17_02_753933_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328180949","file1":"1328180938","file0":"1328180889","file3":"1328180952"},"map_files_photo_id_array":[{"photo_id":"1328180949","filename":"file2"},{"photo_id":"1328180938","filename":"file1"},{"photo_id":"1328180889","filename":"file0"},{"photo_id":"1328180952","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328180938":["hashtag1","hashtag2"]},{"1328180952":["hashtag1","hashtag2"]},{"1328180889":["hashtag1","hashtag2"]},{"1328180949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328180938, 1328180952, 1328180889, 1328180949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.88839673995972 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:18:22.773259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/17/image_11012025_14_17_02_753933_0003.jpg', '/home/pi/Desktop/images/11012025/14/18/image_11012025_14_18_02_933992_0000.jpg', '/home/pi/Desktop/images/11012025/14/18/image_11012025_14_18_02_933992_0001.jpg', '/home/pi/Desktop/images/11012025/14/18/image_11012025_14_18_02_933992_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/17/image_11012025_14_17_02_753933_0003.jpg
/home/pi/Desktop/images/11012025/14/18/image_11012025_14_18_02_933992_0000.jpg
/home/pi/Desktop/images/11012025/14/18/image_11012025_14_18_02_933992_0001.jpg
/home/pi/Desktop/images/11012025/14/18/image_11012025_14_18_02_933992_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328180959","1328180961","1328180990","1328180971"],"photo_ids_order":["1328180959","1328180961","1328180971","1328180990"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/110853a59e479a67159f80c45a92004f.jpg","text":"TemporaryFile(/tmp/multipartBody5677028765898972052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601573014,"filename":"image_11012025_14_17_02_753933_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c8e9eeae08889f9d67d7859628fbc7cf.jpg","text":"TemporaryFile(/tmp/multipartBody980530677870763745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601573014,"filename":"image_11012025_14_18_02_933992_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9d15600e4c207a7f89308c3a683a596c.jpg","text":"TemporaryFile(/tmp/multipartBody4209480838727903174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601573014,"filename":"image_11012025_14_18_02_933992_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/74c5584f98aa96a411ed3741e13adbfb.jpg","text":"TemporaryFile(/tmp/multipartBody9102453301174381310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601573014,"filename":"image_11012025_14_18_02_933992_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328180971","file1":"1328180961","file0":"1328180959","file3":"1328180990"},"map_files_photo_id_array":[{"photo_id":"1328180971","filename":"file2"},{"photo_id":"1328180961","filename":"file1"},{"photo_id":"1328180959","filename":"file0"},{"photo_id":"1328180990","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328180959":["hashtag1","hashtag2"]},{"1328180961":["hashtag1","hashtag2"]},{"1328180990":["hashtag1","hashtag2"]},{"1328180971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328180959, 1328180961, 1328180990, 1328180971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.46052837371826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:19:21.988561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/18/image_11012025_14_18_02_933992_0003.jpg', '/home/pi/Desktop/images/11012025/14/19/image_11012025_14_19_03_159407_0000.jpg', '/home/pi/Desktop/images/11012025/14/19/image_11012025_14_19_03_159407_0001.jpg', '/home/pi/Desktop/images/11012025/14/19/image_11012025_14_19_03_159407_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/18/image_11012025_14_18_02_933992_0003.jpg
/home/pi/Desktop/images/11012025/14/19/image_11012025_14_19_03_159407_0000.jpg
/home/pi/Desktop/images/11012025/14/19/image_11012025_14_19_03_159407_0001.jpg
/home/pi/Desktop/images/11012025/14/19/image_11012025_14_19_03_159407_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328181010","1328181012","1328181006","1328181008"],"photo_ids_order":["1328181006","1328181008","1328181010","1328181012"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/66a2f7f1518bfd21cb1dd0f0858f3e73.jpg","text":"TemporaryFile(/tmp/multipartBody4175145978459714765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601632374,"filename":"image_11012025_14_19_03_159407_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0712e86d5664a98a5eaf955e5e4c2a5f.jpg","text":"TemporaryFile(/tmp/multipartBody2173583397840722425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601632374,"filename":"image_11012025_14_19_03_159407_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b9291307e5cf5ae211decd4a549bc524.jpg","text":"TemporaryFile(/tmp/multipartBody8213353311638188579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601632374,"filename":"image_11012025_14_18_02_933992_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e1f3477844e9b0f164c5f86e309b7665.jpg","text":"TemporaryFile(/tmp/multipartBody1350491844498462523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601632374,"filename":"image_11012025_14_19_03_159407_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328181010","file1":"1328181008","file0":"1328181006","file3":"1328181012"},"map_files_photo_id_array":[{"photo_id":"1328181010","filename":"file2"},{"photo_id":"1328181008","filename":"file1"},{"photo_id":"1328181006","filename":"file0"},{"photo_id":"1328181012","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328181010":["hashtag1","hashtag2"]},{"1328181012":["hashtag1","hashtag2"]},{"1328181006":["hashtag1","hashtag2"]},{"1328181008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328181010, 1328181012, 1328181006, 1328181008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.588433265686035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:20:02.542980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:20:22.112956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/19/image_11012025_14_19_03_159407_0003.jpg', '/home/pi/Desktop/images/11012025/14/20/image_11012025_14_20_02_247844_0000.jpg', '/home/pi/Desktop/images/11012025/14/20/image_11012025_14_20_02_247844_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/19/image_11012025_14_19_03_159407_0003.jpg
/home/pi/Desktop/images/11012025/14/20/image_11012025_14_20_02_247844_0000.jpg
/home/pi/Desktop/images/11012025/14/20/image_11012025_14_20_02_247844_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":["1328181057","1328181064","1328181061"],"photo_ids_order":["1328181057","1328181061","1328181064"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c71658783172513edd157c035e9f1f9e.jpg","text":"TemporaryFile(/tmp/multipartBody8610593265402413219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601689961,"filename":"image_11012025_14_19_03_159407_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8b48ef3720112a4a02388158718d0b3c.jpg","text":"TemporaryFile(/tmp/multipartBody8354755435393841167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601689961,"filename":"image_11012025_14_20_02_247844_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8f378dcecbb122e4d37fc618f43e023e.jpg","text":"TemporaryFile(/tmp/multipartBody2535436375392121895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601689961,"filename":"image_11012025_14_20_02_247844_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328181064","file1":"1328181061","file0":"1328181057"},"map_files_photo_id_array":[{"photo_id":"1328181064","filename":"file2"},{"photo_id":"1328181061","filename":"file1"},{"photo_id":"1328181057","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328181057":["hashtag1","hashtag2"]},{"1328181064":["hashtag1","hashtag2"]},{"1328181061":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328181057, 1328181064, 1328181061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.495497226715088 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:21:02.723330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:21:22.207463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/20/image_11012025_14_20_02_247844_0002.jpg', '/home/pi/Desktop/images/11012025/14/21/image_11012025_14_21_02_451866_0000.jpg', '/home/pi/Desktop/images/11012025/14/21/image_11012025_14_21_02_451866_0001.jpg', '/home/pi/Desktop/images/11012025/14/21/image_11012025_14_21_02_451866_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/20/image_11012025_14_20_02_247844_0002.jpg
/home/pi/Desktop/images/11012025/14/21/image_11012025_14_21_02_451866_0000.jpg
/home/pi/Desktop/images/11012025/14/21/image_11012025_14_21_02_451866_0001.jpg
/home/pi/Desktop/images/11012025/14/21/image_11012025_14_21_02_451866_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328181219","1328181234","1328181236","1328181203"],"photo_ids_order":["1328181203","1328181219","1328181234","1328181236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/58fc1b68ecdcc945f09a409c800049a5.jpg","text":"TemporaryFile(/tmp/multipartBody4066233060905327400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601752423,"filename":"image_11012025_14_21_02_451866_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/86e7e5c43df9dd2274f27aced74bf5a4.jpg","text":"TemporaryFile(/tmp/multipartBody7747191043918292181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601752423,"filename":"image_11012025_14_21_02_451866_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2b9631e05fb10e7a8f683fa30cc08b95.jpg","text":"TemporaryFile(/tmp/multipartBody7581196844392382417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601752423,"filename":"image_11012025_14_21_02_451866_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/77dad89bef3fcb6151aceec3cecb38d5.jpg","text":"TemporaryFile(/tmp/multipartBody2918851615345961803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601752423,"filename":"image_11012025_14_20_02_247844_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328181234","file1":"1328181219","file0":"1328181203","file3":"1328181236"},"map_files_photo_id_array":[{"photo_id":"1328181234","filename":"file2"},{"photo_id":"1328181219","filename":"file1"},{"photo_id":"1328181203","filename":"file0"},{"photo_id":"1328181236","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328181219":["hashtag1","hashtag2"]},{"1328181234":["hashtag1","hashtag2"]},{"1328181236":["hashtag1","hashtag2"]},{"1328181203":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328181219, 1328181234, 1328181236, 1328181203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.09781098365784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:22:02.973081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:22:22.446728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/21/image_11012025_14_21_02_451866_0003.jpg', '/home/pi/Desktop/images/11012025/14/22/image_11012025_14_22_02_628408_0000.jpg', '/home/pi/Desktop/images/11012025/14/22/image_11012025_14_22_02_628408_0001.jpg', '/home/pi/Desktop/images/11012025/14/22/image_11012025_14_22_02_628408_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/21/image_11012025_14_21_02_451866_0003.jpg
/home/pi/Desktop/images/11012025/14/22/image_11012025_14_22_02_628408_0000.jpg
/home/pi/Desktop/images/11012025/14/22/image_11012025_14_22_02_628408_0001.jpg
/home/pi/Desktop/images/11012025/14/22/image_11012025_14_22_02_628408_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328181261","1328181255","1328181259","1328181250"],"photo_ids_order":["1328181250","1328181255","1328181259","1328181261"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9f3e1d12d90e8e182d210c32db751f07.jpg","text":"TemporaryFile(/tmp/multipartBody217984755859863155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601812584,"filename":"image_11012025_14_22_02_628408_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/822d312ecbce2100a6523be693bb63c8.jpg","text":"TemporaryFile(/tmp/multipartBody7011722377478147646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601812584,"filename":"image_11012025_14_22_02_628408_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2cc0d620e770c61735d098946b02acd7.jpg","text":"TemporaryFile(/tmp/multipartBody2775384690127375597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601812584,"filename":"image_11012025_14_22_02_628408_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/03c382454f4567bdcdc6723ea38d8b39.jpg","text":"TemporaryFile(/tmp/multipartBody4405397523189750699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601812584,"filename":"image_11012025_14_21_02_451866_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328181259","file1":"1328181255","file0":"1328181250","file3":"1328181261"},"map_files_photo_id_array":[{"photo_id":"1328181259","filename":"file2"},{"photo_id":"1328181255","filename":"file1"},{"photo_id":"1328181250","filename":"file0"},{"photo_id":"1328181261","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328181261":["hashtag1","hashtag2"]},{"1328181255":["hashtag1","hashtag2"]},{"1328181259":["hashtag1","hashtag2"]},{"1328181250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328181261, 1328181255, 1328181259, 1328181250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.72003197669983 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-11 14:23:22.838601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/22/image_11012025_14_22_02_628408_0003.jpg', '/home/pi/Desktop/images/11012025/14/23/image_11012025_14_23_02_835335_0000.jpg', '/home/pi/Desktop/images/11012025/14/23/image_11012025_14_23_02_835335_0001.jpg', '/home/pi/Desktop/images/11012025/14/23/image_11012025_14_23_02_835335_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/22/image_11012025_14_22_02_628408_0003.jpg
/home/pi/Desktop/images/11012025/14/23/image_11012025_14_23_02_835335_0000.jpg
/home/pi/Desktop/images/11012025/14/23/image_11012025_14_23_02_835335_0001.jpg
/home/pi/Desktop/images/11012025/14/23/image_11012025_14_23_02_835335_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328181276","1328181279","1328181272","1328181274"],"photo_ids_order":["1328181272","1328181274","1328181276","1328181279"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/43c0b6df834457b3607f4310097dfc0b.jpg","text":"TemporaryFile(/tmp/multipartBody5786306110684659250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601872926,"filename":"image_11012025_14_23_02_835335_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f3295bc30677d6b052f28dbd48f888ae.jpg","text":"TemporaryFile(/tmp/multipartBody3935613606490909463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601872926,"filename":"image_11012025_14_23_02_835335_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/56b346fca0b7fd53d1934007231c3448.jpg","text":"TemporaryFile(/tmp/multipartBody697512198004207401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601872926,"filename":"image_11012025_14_22_02_628408_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/002d47c586ca45c01bc05f6329ce1a04.jpg","text":"TemporaryFile(/tmp/multipartBody7380250883418075171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601872926,"filename":"image_11012025_14_23_02_835335_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328181276","file1":"1328181274","file0":"1328181272","file3":"1328181279"},"map_files_photo_id_array":[{"photo_id":"1328181276","filename":"file2"},{"photo_id":"1328181274","filename":"file1"},{"photo_id":"1328181272","filename":"file0"},{"photo_id":"1328181279","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328181276":["hashtag1","hashtag2"]},{"1328181279":["hashtag1","hashtag2"]},{"1328181272":["hashtag1","hashtag2"]},{"1328181274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328181276, 1328181279, 1328181272, 1328181274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.49519395828247 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-11 14:24:21.869108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/23/image_11012025_14_23_02_835335_0003.jpg', '/home/pi/Desktop/images/11012025/14/24/image_11012025_14_24_03_093084_0000.jpg', '/home/pi/Desktop/images/11012025/14/24/image_11012025_14_24_03_093084_0001.jpg', '/home/pi/Desktop/images/11012025/14/24/image_11012025_14_24_03_093084_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/23/image_11012025_14_23_02_835335_0003.jpg
/home/pi/Desktop/images/11012025/14/24/image_11012025_14_24_03_093084_0000.jpg
/home/pi/Desktop/images/11012025/14/24/image_11012025_14_24_03_093084_0001.jpg
/home/pi/Desktop/images/11012025/14/24/image_11012025_14_24_03_093084_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328181319","1328181304","1328181293","1328181323"],"photo_ids_order":["1328181293","1328181304","1328181319","1328181323"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e495c221445f272f461c5f15d5d04112.jpg","text":"TemporaryFile(/tmp/multipartBody4853200724074299085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601932281,"filename":"image_11012025_14_24_03_093084_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bf7018231c511d7b19fc240797e12c1e.jpg","text":"TemporaryFile(/tmp/multipartBody6189184302347693369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601932281,"filename":"image_11012025_14_24_03_093084_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/742ef6e4bb80c80219692b6267d889dc.jpg","text":"TemporaryFile(/tmp/multipartBody7441780511816103399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601932281,"filename":"image_11012025_14_23_02_835335_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8cd7cdcf5b9a671ecf9a0c28d4fe3e90.jpg","text":"TemporaryFile(/tmp/multipartBody6978388476811479857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601932281,"filename":"image_11012025_14_24_03_093084_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328181319","file1":"1328181304","file0":"1328181293","file3":"1328181323"},"map_files_photo_id_array":[{"photo_id":"1328181319","filename":"file2"},{"photo_id":"1328181304","filename":"file1"},{"photo_id":"1328181293","filename":"file0"},{"photo_id":"1328181323","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328181319":["hashtag1","hashtag2"]},{"1328181304":["hashtag1","hashtag2"]},{"1328181293":["hashtag1","hashtag2"]},{"1328181323":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328181319, 1328181304, 1328181293, 1328181323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.359145402908325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:25:02.584936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:25:22.009872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/24/image_11012025_14_24_03_093084_0003.jpg', '/home/pi/Desktop/images/11012025/14/25/image_11012025_14_25_02_229687_0000.jpg', '/home/pi/Desktop/images/11012025/14/25/image_11012025_14_25_02_229687_0001.jpg', '/home/pi/Desktop/images/11012025/14/25/image_11012025_14_25_02_229687_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/24/image_11012025_14_24_03_093084_0003.jpg
/home/pi/Desktop/images/11012025/14/25/image_11012025_14_25_02_229687_0000.jpg
/home/pi/Desktop/images/11012025/14/25/image_11012025_14_25_02_229687_0001.jpg
/home/pi/Desktop/images/11012025/14/25/image_11012025_14_25_02_229687_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328181336","1328181347","1328181338","1328181343"],"photo_ids_order":["1328181336","1328181338","1328181343","1328181347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/43a45fd9da3e3a530ff9a3762854a0af.jpg","text":"TemporaryFile(/tmp/multipartBody1876924996399994046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601992274,"filename":"image_11012025_14_24_03_093084_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/67c765932be852aa310df981e86913ac.jpg","text":"TemporaryFile(/tmp/multipartBody1916305159209594617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601992274,"filename":"image_11012025_14_25_02_229687_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8545e0b0cc1c31664b206f05f4ddbea7.jpg","text":"TemporaryFile(/tmp/multipartBody9126898746770094268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601992274,"filename":"image_11012025_14_25_02_229687_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f554f52a950c76370302bc40578efe98.jpg","text":"TemporaryFile(/tmp/multipartBody7392797287855995481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736601992274,"filename":"image_11012025_14_25_02_229687_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328181343","file1":"1328181338","file0":"1328181336","file3":"1328181347"},"map_files_photo_id_array":[{"photo_id":"1328181343","filename":"file2"},{"photo_id":"1328181338","filename":"file1"},{"photo_id":"1328181336","filename":"file0"},{"photo_id":"1328181347","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328181336":["hashtag1","hashtag2"]},{"1328181347":["hashtag1","hashtag2"]},{"1328181338":["hashtag1","hashtag2"]},{"1328181343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328181336, 1328181347, 1328181338, 1328181343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.09609079360962 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:26:22.184514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/25/image_11012025_14_25_02_229687_0003.jpg', '/home/pi/Desktop/images/11012025/14/26/image_11012025_14_26_02_483512_0000.jpg', '/home/pi/Desktop/images/11012025/14/26/image_11012025_14_26_02_483512_0001.jpg', '/home/pi/Desktop/images/11012025/14/26/image_11012025_14_26_02_483512_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/25/image_11012025_14_25_02_229687_0003.jpg
/home/pi/Desktop/images/11012025/14/26/image_11012025_14_26_02_483512_0000.jpg
/home/pi/Desktop/images/11012025/14/26/image_11012025_14_26_02_483512_0001.jpg
/home/pi/Desktop/images/11012025/14/26/image_11012025_14_26_02_483512_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328181366","1328181360","1328181363","1328181358"],"photo_ids_order":["1328181358","1328181360","1328181363","1328181366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fa3479ad55a5c82b480c6b8fabccfbb6.jpg","text":"TemporaryFile(/tmp/multipartBody3095136914128656924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602052261,"filename":"image_11012025_14_26_02_483512_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/219909ff87c229ef029c506cfe9abf1b.jpg","text":"TemporaryFile(/tmp/multipartBody6032499290683523694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602052261,"filename":"image_11012025_14_26_02_483512_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e3110009f28da94d4a67bf43bb1969bd.jpg","text":"TemporaryFile(/tmp/multipartBody8381785881042981399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602052261,"filename":"image_11012025_14_26_02_483512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f5362d0b24af6fc2add3134ef339376b.jpg","text":"TemporaryFile(/tmp/multipartBody1194933988165475858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602052261,"filename":"image_11012025_14_25_02_229687_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328181363","file1":"1328181360","file0":"1328181358","file3":"1328181366"},"map_files_photo_id_array":[{"photo_id":"1328181363","filename":"file2"},{"photo_id":"1328181360","filename":"file1"},{"photo_id":"1328181358","filename":"file0"},{"photo_id":"1328181366","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328181366":["hashtag1","hashtag2"]},{"1328181360":["hashtag1","hashtag2"]},{"1328181363":["hashtag1","hashtag2"]},{"1328181358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328181366, 1328181360, 1328181363, 1328181358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.73231625556946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:27:22.334186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/26/image_11012025_14_26_02_483512_0003.jpg', '/home/pi/Desktop/images/11012025/14/27/image_11012025_14_27_02_509095_0000.jpg', '/home/pi/Desktop/images/11012025/14/27/image_11012025_14_27_02_509095_0001.jpg', '/home/pi/Desktop/images/11012025/14/27/image_11012025_14_27_02_509095_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/26/image_11012025_14_26_02_483512_0003.jpg
/home/pi/Desktop/images/11012025/14/27/image_11012025_14_27_02_509095_0000.jpg
/home/pi/Desktop/images/11012025/14/27/image_11012025_14_27_02_509095_0001.jpg
/home/pi/Desktop/images/11012025/14/27/image_11012025_14_27_02_509095_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328181402","1328181432","1328181413","1328181436"],"photo_ids_order":["1328181402","1328181413","1328181432","1328181436"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3471760dba20d4c7c3cab8d358dc40b5.jpg","text":"TemporaryFile(/tmp/multipartBody2038452784533987930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602112389,"filename":"image_11012025_14_26_02_483512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/35b5cbcf498282b3e83a380931a69339.jpg","text":"TemporaryFile(/tmp/multipartBody615530831703750740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602112389,"filename":"image_11012025_14_27_02_509095_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0484f2fdfc5b49c09d204d0eeb003465.jpg","text":"TemporaryFile(/tmp/multipartBody182392399074915820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602112389,"filename":"image_11012025_14_27_02_509095_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1ac86ec2384f760b881a425c4ffc4b3f.jpg","text":"TemporaryFile(/tmp/multipartBody6041806676796821845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602112389,"filename":"image_11012025_14_27_02_509095_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328181432","file1":"1328181413","file0":"1328181402","file3":"1328181436"},"map_files_photo_id_array":[{"photo_id":"1328181432","filename":"file2"},{"photo_id":"1328181413","filename":"file1"},{"photo_id":"1328181402","filename":"file0"},{"photo_id":"1328181436","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328181402":["hashtag1","hashtag2"]},{"1328181432":["hashtag1","hashtag2"]},{"1328181413":["hashtag1","hashtag2"]},{"1328181436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328181402, 1328181432, 1328181413, 1328181436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.5538854598999 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:28:03.037691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:28:22.503500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/27/image_11012025_14_27_02_509095_0003.jpg', '/home/pi/Desktop/images/11012025/14/28/image_11012025_14_28_02_718802_0000.jpg', '/home/pi/Desktop/images/11012025/14/28/image_11012025_14_28_02_718802_0001.jpg', '/home/pi/Desktop/images/11012025/14/28/image_11012025_14_28_02_718802_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/27/image_11012025_14_27_02_509095_0003.jpg
/home/pi/Desktop/images/11012025/14/28/image_11012025_14_28_02_718802_0000.jpg
/home/pi/Desktop/images/11012025/14/28/image_11012025_14_28_02_718802_0001.jpg
/home/pi/Desktop/images/11012025/14/28/image_11012025_14_28_02_718802_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328181446","1328181454","1328181457","1328181448"],"photo_ids_order":["1328181446","1328181448","1328181454","1328181457"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/13ab6aee7ba2fa5a6e850b9f85194d79.jpg","text":"TemporaryFile(/tmp/multipartBody5958899856378284808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602172664,"filename":"image_11012025_14_27_02_509095_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ff9bc17db10abf4d983ed91dddbcbece.jpg","text":"TemporaryFile(/tmp/multipartBody2155533242763059962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602172664,"filename":"image_11012025_14_28_02_718802_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3781ba61b5c1ca0d3e4fec3bf9a4f08e.jpg","text":"TemporaryFile(/tmp/multipartBody1732948129107152154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602172664,"filename":"image_11012025_14_28_02_718802_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2bf9a1697156ecb7f09cffdb5797452b.jpg","text":"TemporaryFile(/tmp/multipartBody4214625809444768658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602172664,"filename":"image_11012025_14_28_02_718802_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328181454","file1":"1328181448","file0":"1328181446","file3":"1328181457"},"map_files_photo_id_array":[{"photo_id":"1328181454","filename":"file2"},{"photo_id":"1328181448","filename":"file1"},{"photo_id":"1328181446","filename":"file0"},{"photo_id":"1328181457","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328181446":["hashtag1","hashtag2"]},{"1328181454":["hashtag1","hashtag2"]},{"1328181457":["hashtag1","hashtag2"]},{"1328181448":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328181446, 1328181454, 1328181457, 1328181448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.93214559555054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:29:22.715496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/28/image_11012025_14_28_02_718802_0003.jpg', '/home/pi/Desktop/images/11012025/14/29/image_11012025_14_29_02_973735_0000.jpg', '/home/pi/Desktop/images/11012025/14/29/image_11012025_14_29_02_973735_0001.jpg', '/home/pi/Desktop/images/11012025/14/29/image_11012025_14_29_02_973735_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/28/image_11012025_14_28_02_718802_0003.jpg
/home/pi/Desktop/images/11012025/14/29/image_11012025_14_29_02_973735_0000.jpg
/home/pi/Desktop/images/11012025/14/29/image_11012025_14_29_02_973735_0001.jpg
/home/pi/Desktop/images/11012025/14/29/image_11012025_14_29_02_973735_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328181488","1328181482","1328181485","1328181479"],"photo_ids_order":["1328181479","1328181482","1328181485","1328181488"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d993694bb9fd6ac5d0975687f26b4f13.jpg","text":"TemporaryFile(/tmp/multipartBody5984327024571056824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602232897,"filename":"image_11012025_14_29_02_973735_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/df115bc41b32472060d8ac0e62cbe87a.jpg","text":"TemporaryFile(/tmp/multipartBody5795878405013824852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602232897,"filename":"image_11012025_14_29_02_973735_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a7d49e8f4d312e55f6899c67be778495.jpg","text":"TemporaryFile(/tmp/multipartBody585652089289177231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602232897,"filename":"image_11012025_14_29_02_973735_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5956af29d7cf44119b70a58b27b6326e.jpg","text":"TemporaryFile(/tmp/multipartBody1565047763989329935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602232897,"filename":"image_11012025_14_28_02_718802_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328181485","file1":"1328181482","file0":"1328181479","file3":"1328181488"},"map_files_photo_id_array":[{"photo_id":"1328181485","filename":"file2"},{"photo_id":"1328181482","filename":"file1"},{"photo_id":"1328181479","filename":"file0"},{"photo_id":"1328181488","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328181488":["hashtag1","hashtag2"]},{"1328181482":["hashtag1","hashtag2"]},{"1328181485":["hashtag1","hashtag2"]},{"1328181479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328181488, 1328181482, 1328181485, 1328181479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.85058355331421 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:30:21.874760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/29/image_11012025_14_29_02_973735_0003.jpg', '/home/pi/Desktop/images/11012025/14/30/image_11012025_14_30_03_154290_0000.jpg', '/home/pi/Desktop/images/11012025/14/30/image_11012025_14_30_03_154290_0001.jpg', '/home/pi/Desktop/images/11012025/14/30/image_11012025_14_30_03_154290_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/29/image_11012025_14_29_02_973735_0003.jpg
/home/pi/Desktop/images/11012025/14/30/image_11012025_14_30_03_154290_0000.jpg
/home/pi/Desktop/images/11012025/14/30/image_11012025_14_30_03_154290_0001.jpg
/home/pi/Desktop/images/11012025/14/30/image_11012025_14_30_03_154290_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328181516","1328181507","1328181536","1328181509"],"photo_ids_order":["1328181507","1328181509","1328181516","1328181536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ba14fe97453cee2a8fdd2f7877b2151c.jpg","text":"TemporaryFile(/tmp/multipartBody4932333369772314582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602292054,"filename":"image_11012025_14_30_03_154290_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/60b3db3f0ef2402919baaba037db9ead.jpg","text":"TemporaryFile(/tmp/multipartBody5524773550757905223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602292054,"filename":"image_11012025_14_29_02_973735_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8128fc07defd3f9c2ecf6f2bd9dc014c.jpg","text":"TemporaryFile(/tmp/multipartBody771898310685854381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602292054,"filename":"image_11012025_14_30_03_154290_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d49825728f8c7193c72d46edb0aca478.jpg","text":"TemporaryFile(/tmp/multipartBody1833130102824486400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602292054,"filename":"image_11012025_14_30_03_154290_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328181516","file1":"1328181509","file0":"1328181507","file3":"1328181536"},"map_files_photo_id_array":[{"photo_id":"1328181516","filename":"file2"},{"photo_id":"1328181509","filename":"file1"},{"photo_id":"1328181507","filename":"file0"},{"photo_id":"1328181536","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328181516":["hashtag1","hashtag2"]},{"1328181507":["hashtag1","hashtag2"]},{"1328181536":["hashtag1","hashtag2"]},{"1328181509":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328181516, 1328181507, 1328181536, 1328181509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.50943922996521 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:31:22.097988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/30/image_11012025_14_30_03_154290_0003.jpg', '/home/pi/Desktop/images/11012025/14/31/image_11012025_14_31_02_210683_0000.jpg', '/home/pi/Desktop/images/11012025/14/31/image_11012025_14_31_02_210683_0001.jpg', '/home/pi/Desktop/images/11012025/14/31/image_11012025_14_31_02_210683_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/30/image_11012025_14_30_03_154290_0003.jpg
/home/pi/Desktop/images/11012025/14/31/image_11012025_14_31_02_210683_0000.jpg
/home/pi/Desktop/images/11012025/14/31/image_11012025_14_31_02_210683_0001.jpg
/home/pi/Desktop/images/11012025/14/31/image_11012025_14_31_02_210683_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328181558","1328181560","1328181554","1328181562"],"photo_ids_order":["1328181554","1328181558","1328181560","1328181562"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ca69ae03300be6b738a3b8502b8d8280.jpg","text":"TemporaryFile(/tmp/multipartBody8326882601210825325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602352332,"filename":"image_11012025_14_31_02_210683_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9fd0e128b28e248f86057d26b9b60206.jpg","text":"TemporaryFile(/tmp/multipartBody8371585195326319500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602352332,"filename":"image_11012025_14_31_02_210683_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c157244df6b32145be3e3b464a7d2466.jpg","text":"TemporaryFile(/tmp/multipartBody639506096853790293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602352332,"filename":"image_11012025_14_30_03_154290_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/88570442c2cdf8ba50ff9e043b845ef5.jpg","text":"TemporaryFile(/tmp/multipartBody6359523768345642023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602352332,"filename":"image_11012025_14_31_02_210683_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328181560","file1":"1328181558","file0":"1328181554","file3":"1328181562"},"map_files_photo_id_array":[{"photo_id":"1328181560","filename":"file2"},{"photo_id":"1328181558","filename":"file1"},{"photo_id":"1328181554","filename":"file0"},{"photo_id":"1328181562","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328181558":["hashtag1","hashtag2"]},{"1328181560":["hashtag1","hashtag2"]},{"1328181554":["hashtag1","hashtag2"]},{"1328181562":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328181558, 1328181560, 1328181554, 1328181562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.03012943267822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:32:02.556867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:32:22.181299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/31/image_11012025_14_31_02_210683_0003.jpg', '/home/pi/Desktop/images/11012025/14/32/image_11012025_14_32_02_432684_0000.jpg', '/home/pi/Desktop/images/11012025/14/32/image_11012025_14_32_02_432684_0001.jpg', '/home/pi/Desktop/images/11012025/14/32/image_11012025_14_32_02_432684_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/31/image_11012025_14_31_02_210683_0003.jpg
/home/pi/Desktop/images/11012025/14/32/image_11012025_14_32_02_432684_0000.jpg
/home/pi/Desktop/images/11012025/14/32/image_11012025_14_32_02_432684_0001.jpg
/home/pi/Desktop/images/11012025/14/32/image_11012025_14_32_02_432684_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328181575","1328181578","1328181574","1328181577"],"photo_ids_order":["1328181574","1328181575","1328181577","1328181578"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f301fa2f2afc9badb20eaa7d2c7f8105.jpg","text":"TemporaryFile(/tmp/multipartBody2604802420598741040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602412506,"filename":"image_11012025_14_32_02_432684_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b8f793826d17d87143dc4f0006adf101.jpg","text":"TemporaryFile(/tmp/multipartBody1523838364732112176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602412506,"filename":"image_11012025_14_32_02_432684_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/42e12ae0f39636abd06daa4d2084d2a7.jpg","text":"TemporaryFile(/tmp/multipartBody8219553890614973721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602412506,"filename":"image_11012025_14_31_02_210683_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6de39a7f64e403dc86beac76381ff1a4.jpg","text":"TemporaryFile(/tmp/multipartBody4379924012939124699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602412506,"filename":"image_11012025_14_32_02_432684_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328181577","file1":"1328181575","file0":"1328181574","file3":"1328181578"},"map_files_photo_id_array":[{"photo_id":"1328181577","filename":"file2"},{"photo_id":"1328181575","filename":"file1"},{"photo_id":"1328181574","filename":"file0"},{"photo_id":"1328181578","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328181575":["hashtag1","hashtag2"]},{"1328181578":["hashtag1","hashtag2"]},{"1328181574":["hashtag1","hashtag2"]},{"1328181577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328181575, 1328181578, 1328181574, 1328181577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.18771982192993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:33:22.402465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/32/image_11012025_14_32_02_432684_0003.jpg', '/home/pi/Desktop/images/11012025/14/33/image_11012025_14_33_02_589971_0000.jpg', '/home/pi/Desktop/images/11012025/14/33/image_11012025_14_33_02_589971_0001.jpg', '/home/pi/Desktop/images/11012025/14/33/image_11012025_14_33_02_589971_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/32/image_11012025_14_32_02_432684_0003.jpg
/home/pi/Desktop/images/11012025/14/33/image_11012025_14_33_02_589971_0000.jpg
/home/pi/Desktop/images/11012025/14/33/image_11012025_14_33_02_589971_0001.jpg
/home/pi/Desktop/images/11012025/14/33/image_11012025_14_33_02_589971_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328181601","1328181636","1328181615","1328181604"],"photo_ids_order":["1328181601","1328181604","1328181615","1328181636"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b4f8592ac2db2b7f1911e721d2263b62.jpg","text":"TemporaryFile(/tmp/multipartBody2067696769574048458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602472757,"filename":"image_11012025_14_32_02_432684_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/87325dbee3841d9785bf03051e2e311a.jpg","text":"TemporaryFile(/tmp/multipartBody3103375615106873212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602472757,"filename":"image_11012025_14_33_02_589971_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/82eb1bdb3f238652062a9e9a601e7505.jpg","text":"TemporaryFile(/tmp/multipartBody7244290592936587345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602472757,"filename":"image_11012025_14_33_02_589971_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/72e3a74ef4c4bf6e9018ef86ca56a77a.jpg","text":"TemporaryFile(/tmp/multipartBody101002635264814497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602472757,"filename":"image_11012025_14_33_02_589971_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328181615","file1":"1328181604","file0":"1328181601","file3":"1328181636"},"map_files_photo_id_array":[{"photo_id":"1328181615","filename":"file2"},{"photo_id":"1328181604","filename":"file1"},{"photo_id":"1328181601","filename":"file0"},{"photo_id":"1328181636","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328181601":["hashtag1","hashtag2"]},{"1328181636":["hashtag1","hashtag2"]},{"1328181615":["hashtag1","hashtag2"]},{"1328181604":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328181601, 1328181636, 1328181615, 1328181604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.614213705062866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:34:03.044438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:34:22.480289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/33/image_11012025_14_33_02_589971_0003.jpg', '/home/pi/Desktop/images/11012025/14/34/image_11012025_14_34_02_724160_0000.jpg', '/home/pi/Desktop/images/11012025/14/34/image_11012025_14_34_02_724160_0001.jpg', '/home/pi/Desktop/images/11012025/14/34/image_11012025_14_34_02_724160_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/33/image_11012025_14_33_02_589971_0003.jpg
/home/pi/Desktop/images/11012025/14/34/image_11012025_14_34_02_724160_0000.jpg
/home/pi/Desktop/images/11012025/14/34/image_11012025_14_34_02_724160_0001.jpg
/home/pi/Desktop/images/11012025/14/34/image_11012025_14_34_02_724160_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328181753","1328181755","1328181752","1328181760"],"photo_ids_order":["1328181752","1328181753","1328181755","1328181760"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/263ac9821f6fb4082088dd5e3bfaff94.jpg","text":"TemporaryFile(/tmp/multipartBody6911462922453230110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602532704,"filename":"image_11012025_14_34_02_724160_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e33320d55de83729abc796adec88a558.jpg","text":"TemporaryFile(/tmp/multipartBody9104571659968652867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602532704,"filename":"image_11012025_14_34_02_724160_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/38a7bd26872793751bb978271691b30b.jpg","text":"TemporaryFile(/tmp/multipartBody4129898058743472329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602532704,"filename":"image_11012025_14_33_02_589971_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c008bb466fd2c44402943afd7fc5bb43.jpg","text":"TemporaryFile(/tmp/multipartBody5405939844017775459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602532704,"filename":"image_11012025_14_34_02_724160_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328181755","file1":"1328181753","file0":"1328181752","file3":"1328181760"},"map_files_photo_id_array":[{"photo_id":"1328181755","filename":"file2"},{"photo_id":"1328181753","filename":"file1"},{"photo_id":"1328181752","filename":"file0"},{"photo_id":"1328181760","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328181753":["hashtag1","hashtag2"]},{"1328181755":["hashtag1","hashtag2"]},{"1328181752":["hashtag1","hashtag2"]},{"1328181760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328181753, 1328181755, 1328181752, 1328181760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.86635732650757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:35:03.372466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:35:22.641081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/34/image_11012025_14_34_02_724160_0003.jpg', '/home/pi/Desktop/images/11012025/14/35/image_11012025_14_35_03_030527_0000.jpg', '/home/pi/Desktop/images/11012025/14/35/image_11012025_14_35_03_030527_0001.jpg', '/home/pi/Desktop/images/11012025/14/35/image_11012025_14_35_03_030527_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/34/image_11012025_14_34_02_724160_0003.jpg
/home/pi/Desktop/images/11012025/14/35/image_11012025_14_35_03_030527_0000.jpg
/home/pi/Desktop/images/11012025/14/35/image_11012025_14_35_03_030527_0001.jpg
/home/pi/Desktop/images/11012025/14/35/image_11012025_14_35_03_030527_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328181879","1328181863","1328181859","1328181856"],"photo_ids_order":["1328181856","1328181859","1328181863","1328181879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fdee2c30c78b77b22afb528d8fb4ece4.jpg","text":"TemporaryFile(/tmp/multipartBody3522194440832518405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602592965,"filename":"image_11012025_14_35_03_030527_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1c4673fbb214329626f541f7b9c31bb1.jpg","text":"TemporaryFile(/tmp/multipartBody3229161230726051628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602592965,"filename":"image_11012025_14_35_03_030527_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/629ab1d557da87d6315005aa1e46c52d.jpg","text":"TemporaryFile(/tmp/multipartBody5919444241444925568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602592965,"filename":"image_11012025_14_35_03_030527_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3dc7a0f09206ae5484975f86caca2710.jpg","text":"TemporaryFile(/tmp/multipartBody1940289391384810647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602592965,"filename":"image_11012025_14_34_02_724160_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328181863","file1":"1328181859","file0":"1328181856","file3":"1328181879"},"map_files_photo_id_array":[{"photo_id":"1328181863","filename":"file2"},{"photo_id":"1328181859","filename":"file1"},{"photo_id":"1328181856","filename":"file0"},{"photo_id":"1328181879","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328181879":["hashtag1","hashtag2"]},{"1328181863":["hashtag1","hashtag2"]},{"1328181859":["hashtag1","hashtag2"]},{"1328181856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328181879, 1328181863, 1328181859, 1328181856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.66354823112488 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:36:21.840663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/35/image_11012025_14_35_03_030527_0003.jpg', '/home/pi/Desktop/images/11012025/14/36/image_11012025_14_36_03_092641_0000.jpg', '/home/pi/Desktop/images/11012025/14/36/image_11012025_14_36_03_092641_0001.jpg', '/home/pi/Desktop/images/11012025/14/36/image_11012025_14_36_03_092641_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/35/image_11012025_14_35_03_030527_0003.jpg
/home/pi/Desktop/images/11012025/14/36/image_11012025_14_36_03_092641_0000.jpg
/home/pi/Desktop/images/11012025/14/36/image_11012025_14_36_03_092641_0001.jpg
/home/pi/Desktop/images/11012025/14/36/image_11012025_14_36_03_092641_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328183170","1328183149","1328183157","1328183160"],"photo_ids_order":["1328183149","1328183157","1328183160","1328183170"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d9740e302b9b3005b32df91787ce0e52.jpg","text":"TemporaryFile(/tmp/multipartBody5352981585999952935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602651993,"filename":"image_11012025_14_36_03_092641_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c3cf616417dfe2ba011e07fc9bd580b2.jpg","text":"TemporaryFile(/tmp/multipartBody5196673452824295776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602651993,"filename":"image_11012025_14_35_03_030527_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dbcdbcd8096638a43e8025eb09121054.jpg","text":"TemporaryFile(/tmp/multipartBody7062007112301788506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602651993,"filename":"image_11012025_14_36_03_092641_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f4d94aed0bc1a8f8c74b62bb141305e6.jpg","text":"TemporaryFile(/tmp/multipartBody8794334118982388410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602651993,"filename":"image_11012025_14_36_03_092641_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328183160","file1":"1328183157","file0":"1328183149","file3":"1328183170"},"map_files_photo_id_array":[{"photo_id":"1328183160","filename":"file2"},{"photo_id":"1328183157","filename":"file1"},{"photo_id":"1328183149","filename":"file0"},{"photo_id":"1328183170","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328183170":["hashtag1","hashtag2"]},{"1328183149":["hashtag1","hashtag2"]},{"1328183157":["hashtag1","hashtag2"]},{"1328183160":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328183170, 1328183149, 1328183157, 1328183160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01543140411377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:37:02.497808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:37:22.039528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/36/image_11012025_14_36_03_092641_0003.jpg', '/home/pi/Desktop/images/11012025/14/37/image_11012025_14_37_02_234475_0000.jpg', '/home/pi/Desktop/images/11012025/14/37/image_11012025_14_37_02_234475_0001.jpg', '/home/pi/Desktop/images/11012025/14/37/image_11012025_14_37_02_234475_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/36/image_11012025_14_36_03_092641_0003.jpg
/home/pi/Desktop/images/11012025/14/37/image_11012025_14_37_02_234475_0000.jpg
/home/pi/Desktop/images/11012025/14/37/image_11012025_14_37_02_234475_0001.jpg
/home/pi/Desktop/images/11012025/14/37/image_11012025_14_37_02_234475_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328183202","1328183600","1328183501","1328183333"],"photo_ids_order":["1328183202","1328183333","1328183501","1328183600"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2201f73475bd2ed4c9fe0533db1a32f7.jpg","text":"TemporaryFile(/tmp/multipartBody4811349524941505943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602712388,"filename":"image_11012025_14_36_03_092641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/80b57e1ea6c9081930ee972372d0b98a.jpg","text":"TemporaryFile(/tmp/multipartBody4010373991036553999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602712388,"filename":"image_11012025_14_37_02_234475_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dd27c2732d8e3ae283b8ddf29b8ef05f.jpg","text":"TemporaryFile(/tmp/multipartBody58789792901246253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602712388,"filename":"image_11012025_14_37_02_234475_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e831fee726b801d31153769051932184.jpg","text":"TemporaryFile(/tmp/multipartBody1709743740337334235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602712388,"filename":"image_11012025_14_37_02_234475_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328183501","file1":"1328183333","file0":"1328183202","file3":"1328183600"},"map_files_photo_id_array":[{"photo_id":"1328183501","filename":"file2"},{"photo_id":"1328183333","filename":"file1"},{"photo_id":"1328183202","filename":"file0"},{"photo_id":"1328183600","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328183202":["hashtag1","hashtag2"]},{"1328183600":["hashtag1","hashtag2"]},{"1328183501":["hashtag1","hashtag2"]},{"1328183333":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328183202, 1328183600, 1328183501, 1328183333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.258901834487915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:38:22.238946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/37/image_11012025_14_37_02_234475_0003.jpg', '/home/pi/Desktop/images/11012025/14/38/image_11012025_14_38_02_323024_0000.jpg', '/home/pi/Desktop/images/11012025/14/38/image_11012025_14_38_02_323024_0001.jpg', '/home/pi/Desktop/images/11012025/14/38/image_11012025_14_38_02_323024_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/37/image_11012025_14_37_02_234475_0003.jpg
/home/pi/Desktop/images/11012025/14/38/image_11012025_14_38_02_323024_0000.jpg
/home/pi/Desktop/images/11012025/14/38/image_11012025_14_38_02_323024_0001.jpg
/home/pi/Desktop/images/11012025/14/38/image_11012025_14_38_02_323024_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328183813","1328183695","1328183818","1328183815"],"photo_ids_order":["1328183695","1328183813","1328183815","1328183818"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ebcc16ecf0e35182bea5a6e4aa547267.jpg","text":"TemporaryFile(/tmp/multipartBody1321947527014246619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602772449,"filename":"image_11012025_14_38_02_323024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8548631f0e1da8479fa0aada469360ac.jpg","text":"TemporaryFile(/tmp/multipartBody2058923774849928487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602772449,"filename":"image_11012025_14_37_02_234475_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dfe86e45f62410026f0f2662c7f3f26d.jpg","text":"TemporaryFile(/tmp/multipartBody6749099183133751249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602772449,"filename":"image_11012025_14_38_02_323024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0cd5b040266aa46938f6f50af8cc0ea6.jpg","text":"TemporaryFile(/tmp/multipartBody4247537161882671000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602772449,"filename":"image_11012025_14_38_02_323024_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328183815","file1":"1328183813","file0":"1328183695","file3":"1328183818"},"map_files_photo_id_array":[{"photo_id":"1328183815","filename":"file2"},{"photo_id":"1328183813","filename":"file1"},{"photo_id":"1328183695","filename":"file0"},{"photo_id":"1328183818","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328183813":["hashtag1","hashtag2"]},{"1328183695":["hashtag1","hashtag2"]},{"1328183818":["hashtag1","hashtag2"]},{"1328183815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328183813, 1328183695, 1328183818, 1328183815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.330628395080566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:39:03.017975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:39:22.365498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/38/image_11012025_14_38_02_323024_0003.jpg', '/home/pi/Desktop/images/11012025/14/39/image_11012025_14_39_02_528037_0000.jpg', '/home/pi/Desktop/images/11012025/14/39/image_11012025_14_39_02_528037_0001.jpg', '/home/pi/Desktop/images/11012025/14/39/image_11012025_14_39_02_528037_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/38/image_11012025_14_38_02_323024_0003.jpg
/home/pi/Desktop/images/11012025/14/39/image_11012025_14_39_02_528037_0000.jpg
/home/pi/Desktop/images/11012025/14/39/image_11012025_14_39_02_528037_0001.jpg
/home/pi/Desktop/images/11012025/14/39/image_11012025_14_39_02_528037_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328184239","1328184166","1328184169","1328184075"],"photo_ids_order":["1328184075","1328184166","1328184169","1328184239"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6344eca15ea7e8ce81b5cace7401a069.jpg","text":"TemporaryFile(/tmp/multipartBody358526982921425746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602832347,"filename":"image_11012025_14_39_02_528037_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/37e36cea953a72ddab8624a0080603f3.jpg","text":"TemporaryFile(/tmp/multipartBody7599070026744190326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602832347,"filename":"image_11012025_14_39_02_528037_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aa8f351dc91aed4693df8c4cc51f9f19.jpg","text":"TemporaryFile(/tmp/multipartBody3653716930311205974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602832347,"filename":"image_11012025_14_39_02_528037_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c03500155ef80b5af38ce4397df65bf.jpg","text":"TemporaryFile(/tmp/multipartBody3008402932930146172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602832347,"filename":"image_11012025_14_38_02_323024_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328184169","file1":"1328184166","file0":"1328184075","file3":"1328184239"},"map_files_photo_id_array":[{"photo_id":"1328184169","filename":"file2"},{"photo_id":"1328184166","filename":"file1"},{"photo_id":"1328184075","filename":"file0"},{"photo_id":"1328184239","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328184239":["hashtag1","hashtag2"]},{"1328184166":["hashtag1","hashtag2"]},{"1328184169":["hashtag1","hashtag2"]},{"1328184075":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328184239, 1328184166, 1328184169, 1328184075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.86434483528137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:40:02.928075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:40:22.450294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/39/image_11012025_14_39_02_528037_0003.jpg', '/home/pi/Desktop/images/11012025/14/40/image_11012025_14_40_02_712164_0000.jpg', '/home/pi/Desktop/images/11012025/14/40/image_11012025_14_40_02_712164_0001.jpg', '/home/pi/Desktop/images/11012025/14/40/image_11012025_14_40_02_712164_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/39/image_11012025_14_39_02_528037_0003.jpg
/home/pi/Desktop/images/11012025/14/40/image_11012025_14_40_02_712164_0000.jpg
/home/pi/Desktop/images/11012025/14/40/image_11012025_14_40_02_712164_0001.jpg
/home/pi/Desktop/images/11012025/14/40/image_11012025_14_40_02_712164_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328184384","1328184378","1328184366","1328184381"],"photo_ids_order":["1328184366","1328184378","1328184381","1328184384"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a83f1a04fafeda0131b48be07e031d49.jpg","text":"TemporaryFile(/tmp/multipartBody8031664520190593202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602892654,"filename":"image_11012025_14_40_02_712164_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5d1684bd18d91d722a045226c07b6816.jpg","text":"TemporaryFile(/tmp/multipartBody9046972582473786304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602892654,"filename":"image_11012025_14_40_02_712164_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e7cdf97f6a542b8ea51e680192faff89.jpg","text":"TemporaryFile(/tmp/multipartBody8661050568303761483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602892654,"filename":"image_11012025_14_39_02_528037_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f7cf7440b09d1a32a7602595bc5e9374.jpg","text":"TemporaryFile(/tmp/multipartBody7408649691389746323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602892654,"filename":"image_11012025_14_40_02_712164_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328184381","file1":"1328184378","file0":"1328184366","file3":"1328184384"},"map_files_photo_id_array":[{"photo_id":"1328184381","filename":"file2"},{"photo_id":"1328184378","filename":"file1"},{"photo_id":"1328184366","filename":"file0"},{"photo_id":"1328184384","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328184384":["hashtag1","hashtag2"]},{"1328184378":["hashtag1","hashtag2"]},{"1328184366":["hashtag1","hashtag2"]},{"1328184381":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328184384, 1328184378, 1328184366, 1328184381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.78570246696472 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:41:22.635829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/40/image_11012025_14_40_02_712164_0003.jpg', '/home/pi/Desktop/images/11012025/14/41/image_11012025_14_41_02_862418_0000.jpg', '/home/pi/Desktop/images/11012025/14/41/image_11012025_14_41_02_862418_0001.jpg', '/home/pi/Desktop/images/11012025/14/41/image_11012025_14_41_02_862418_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/40/image_11012025_14_40_02_712164_0003.jpg
/home/pi/Desktop/images/11012025/14/41/image_11012025_14_41_02_862418_0000.jpg
/home/pi/Desktop/images/11012025/14/41/image_11012025_14_41_02_862418_0001.jpg
/home/pi/Desktop/images/11012025/14/41/image_11012025_14_41_02_862418_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328184406","1328184400","1328184403","1328184398"],"photo_ids_order":["1328184398","1328184400","1328184403","1328184406"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0ed99915e60c9687e54ed51fbc29465c.jpg","text":"TemporaryFile(/tmp/multipartBody7011191588827699669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602952885,"filename":"image_11012025_14_41_02_862418_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/de3e05f7867f4b42d050db773802e975.jpg","text":"TemporaryFile(/tmp/multipartBody3730666080180238142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602952885,"filename":"image_11012025_14_41_02_862418_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1ba47676fa50afd5ac991ed0237258eb.jpg","text":"TemporaryFile(/tmp/multipartBody8090173646570622369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602952885,"filename":"image_11012025_14_41_02_862418_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/35aaf937b040b8c1168a7cd224220360.jpg","text":"TemporaryFile(/tmp/multipartBody2307446877881133203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736602952885,"filename":"image_11012025_14_40_02_712164_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328184403","file1":"1328184400","file0":"1328184398","file3":"1328184406"},"map_files_photo_id_array":[{"photo_id":"1328184403","filename":"file2"},{"photo_id":"1328184400","filename":"file1"},{"photo_id":"1328184398","filename":"file0"},{"photo_id":"1328184406","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328184406":["hashtag1","hashtag2"]},{"1328184400":["hashtag1","hashtag2"]},{"1328184403":["hashtag1","hashtag2"]},{"1328184398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328184406, 1328184400, 1328184403, 1328184398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.3233642578125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:42:21.951509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/41/image_11012025_14_41_02_862418_0003.jpg', '/home/pi/Desktop/images/11012025/14/42/image_11012025_14_42_03_039338_0000.jpg', '/home/pi/Desktop/images/11012025/14/42/image_11012025_14_42_03_039338_0001.jpg', '/home/pi/Desktop/images/11012025/14/42/image_11012025_14_42_03_039338_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/41/image_11012025_14_41_02_862418_0003.jpg
/home/pi/Desktop/images/11012025/14/42/image_11012025_14_42_03_039338_0000.jpg
/home/pi/Desktop/images/11012025/14/42/image_11012025_14_42_03_039338_0001.jpg
/home/pi/Desktop/images/11012025/14/42/image_11012025_14_42_03_039338_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328184425","1328184422","1328184420","1328184443"],"photo_ids_order":["1328184420","1328184422","1328184425","1328184443"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ddb684d4b6da6f82ccc578d3f3a011f9.jpg","text":"TemporaryFile(/tmp/multipartBody243058450640117631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603012145,"filename":"image_11012025_14_42_03_039338_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0218be9e5def16b9973ae752887d19dd.jpg","text":"TemporaryFile(/tmp/multipartBody3190952732758658408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603012145,"filename":"image_11012025_14_42_03_039338_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6dd65c8f68af5ab57feb7c0ecd2eaa96.jpg","text":"TemporaryFile(/tmp/multipartBody8586331959259548120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603012145,"filename":"image_11012025_14_41_02_862418_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b0f1bfca487860a15296702ecaa44e12.jpg","text":"TemporaryFile(/tmp/multipartBody7941237061260440118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603012145,"filename":"image_11012025_14_42_03_039338_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328184425","file1":"1328184422","file0":"1328184420","file3":"1328184443"},"map_files_photo_id_array":[{"photo_id":"1328184425","filename":"file2"},{"photo_id":"1328184422","filename":"file1"},{"photo_id":"1328184420","filename":"file0"},{"photo_id":"1328184443","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328184425":["hashtag1","hashtag2"]},{"1328184422":["hashtag1","hashtag2"]},{"1328184420":["hashtag1","hashtag2"]},{"1328184443":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328184425, 1328184422, 1328184420, 1328184443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.3905816078186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:43:02.695297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:43:22.070455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/42/image_11012025_14_42_03_039338_0003.jpg', '/home/pi/Desktop/images/11012025/14/43/image_11012025_14_43_02_287550_0000.jpg', '/home/pi/Desktop/images/11012025/14/43/image_11012025_14_43_02_287550_0001.jpg', '/home/pi/Desktop/images/11012025/14/43/image_11012025_14_43_02_287550_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/42/image_11012025_14_42_03_039338_0003.jpg
/home/pi/Desktop/images/11012025/14/43/image_11012025_14_43_02_287550_0000.jpg
/home/pi/Desktop/images/11012025/14/43/image_11012025_14_43_02_287550_0001.jpg
/home/pi/Desktop/images/11012025/14/43/image_11012025_14_43_02_287550_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328184487","1328184489","1328184491","1328184485"],"photo_ids_order":["1328184485","1328184487","1328184489","1328184491"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e593fb5c6cd723d574f5334f57e5fb87.jpg","text":"TemporaryFile(/tmp/multipartBody268806419471628769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603072253,"filename":"image_11012025_14_43_02_287550_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ba39835dff90f8f9548a8771fa6c59da.jpg","text":"TemporaryFile(/tmp/multipartBody6683284870080139412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603072253,"filename":"image_11012025_14_43_02_287550_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f370bf383759217ba855b1c014370ebb.jpg","text":"TemporaryFile(/tmp/multipartBody1568723450077235106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603072253,"filename":"image_11012025_14_43_02_287550_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f8338cffec610c7ecdf70e1e0a98ba19.jpg","text":"TemporaryFile(/tmp/multipartBody7646395578951131713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603072253,"filename":"image_11012025_14_42_03_039338_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328184489","file1":"1328184487","file0":"1328184485","file3":"1328184491"},"map_files_photo_id_array":[{"photo_id":"1328184489","filename":"file2"},{"photo_id":"1328184487","filename":"file1"},{"photo_id":"1328184485","filename":"file0"},{"photo_id":"1328184491","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328184487":["hashtag1","hashtag2"]},{"1328184489":["hashtag1","hashtag2"]},{"1328184491":["hashtag1","hashtag2"]},{"1328184485":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328184487, 1328184489, 1328184491, 1328184485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.91964864730835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:44:22.270576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/43/image_11012025_14_43_02_287550_0003.jpg', '/home/pi/Desktop/images/11012025/14/44/image_11012025_14_44_02_521448_0000.jpg', '/home/pi/Desktop/images/11012025/14/44/image_11012025_14_44_02_521448_0001.jpg', '/home/pi/Desktop/images/11012025/14/44/image_11012025_14_44_02_521448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/43/image_11012025_14_43_02_287550_0003.jpg
/home/pi/Desktop/images/11012025/14/44/image_11012025_14_44_02_521448_0000.jpg
/home/pi/Desktop/images/11012025/14/44/image_11012025_14_44_02_521448_0001.jpg
/home/pi/Desktop/images/11012025/14/44/image_11012025_14_44_02_521448_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328184523","1328184520","1328184513","1328184516"],"photo_ids_order":["1328184513","1328184516","1328184520","1328184523"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0ba9e8e950be588e9a9c7fe6d7fb81ea.jpg","text":"TemporaryFile(/tmp/multipartBody752921490638368862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603132373,"filename":"image_11012025_14_44_02_521448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ef9b00a6b4b844de717ebc17239b5106.jpg","text":"TemporaryFile(/tmp/multipartBody1197188395207818468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603132373,"filename":"image_11012025_14_44_02_521448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/48ebe3f268e2d740257958a33e0eb84a.jpg","text":"TemporaryFile(/tmp/multipartBody1925272195590757448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603132373,"filename":"image_11012025_14_43_02_287550_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/12ea4195029147109968b4f3d864b397.jpg","text":"TemporaryFile(/tmp/multipartBody7652970556012244789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603132373,"filename":"image_11012025_14_44_02_521448_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328184520","file1":"1328184516","file0":"1328184513","file3":"1328184523"},"map_files_photo_id_array":[{"photo_id":"1328184520","filename":"file2"},{"photo_id":"1328184516","filename":"file1"},{"photo_id":"1328184513","filename":"file0"},{"photo_id":"1328184523","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328184523":["hashtag1","hashtag2"]},{"1328184520":["hashtag1","hashtag2"]},{"1328184513":["hashtag1","hashtag2"]},{"1328184516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328184523, 1328184520, 1328184513, 1328184516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.36288499832153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:45:03.052100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:45:22.482607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/44/image_11012025_14_44_02_521448_0003.jpg', '/home/pi/Desktop/images/11012025/14/45/image_11012025_14_45_02_666822_0000.jpg', '/home/pi/Desktop/images/11012025/14/45/image_11012025_14_45_02_666822_0001.jpg', '/home/pi/Desktop/images/11012025/14/45/image_11012025_14_45_02_666822_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/44/image_11012025_14_44_02_521448_0003.jpg
/home/pi/Desktop/images/11012025/14/45/image_11012025_14_45_02_666822_0000.jpg
/home/pi/Desktop/images/11012025/14/45/image_11012025_14_45_02_666822_0001.jpg
/home/pi/Desktop/images/11012025/14/45/image_11012025_14_45_02_666822_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328184719","1328184700","1328184693","1328184689"],"photo_ids_order":["1328184689","1328184693","1328184700","1328184719"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b4581cc5fb8b8fd28199660a50bfcff0.jpg","text":"TemporaryFile(/tmp/multipartBody1738095569350838858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603192611,"filename":"image_11012025_14_45_02_666822_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/527fc97566f44118c28a6406f31ed20a.jpg","text":"TemporaryFile(/tmp/multipartBody3051452052158561900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603192611,"filename":"image_11012025_14_45_02_666822_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9a5a783acf528aa3dd599feaf1d80c65.jpg","text":"TemporaryFile(/tmp/multipartBody7416637030199769355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603192611,"filename":"image_11012025_14_45_02_666822_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2fa8206bb09849d6827fda73874a8f32.jpg","text":"TemporaryFile(/tmp/multipartBody4378159566678118370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603192611,"filename":"image_11012025_14_44_02_521448_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328184700","file1":"1328184693","file0":"1328184689","file3":"1328184719"},"map_files_photo_id_array":[{"photo_id":"1328184700","filename":"file2"},{"photo_id":"1328184693","filename":"file1"},{"photo_id":"1328184689","filename":"file0"},{"photo_id":"1328184719","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328184719":["hashtag1","hashtag2"]},{"1328184700":["hashtag1","hashtag2"]},{"1328184693":["hashtag1","hashtag2"]},{"1328184689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328184719, 1328184700, 1328184693, 1328184689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.04183602333069 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:46:22.709664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/45/image_11012025_14_45_02_666822_0003.jpg', '/home/pi/Desktop/images/11012025/14/46/image_11012025_14_46_02_827621_0000.jpg', '/home/pi/Desktop/images/11012025/14/46/image_11012025_14_46_02_827621_0001.jpg', '/home/pi/Desktop/images/11012025/14/46/image_11012025_14_46_02_827621_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/45/image_11012025_14_45_02_666822_0003.jpg
/home/pi/Desktop/images/11012025/14/46/image_11012025_14_46_02_827621_0000.jpg
/home/pi/Desktop/images/11012025/14/46/image_11012025_14_46_02_827621_0001.jpg
/home/pi/Desktop/images/11012025/14/46/image_11012025_14_46_02_827621_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328184737","1328184766","1328184769","1328184740"],"photo_ids_order":["1328184737","1328184740","1328184766","1328184769"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ca5635728034a1a80967edaad286d870.jpg","text":"TemporaryFile(/tmp/multipartBody2575085910338946743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603252924,"filename":"image_11012025_14_45_02_666822_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/33272f02eb37651359cab82bd095b59a.jpg","text":"TemporaryFile(/tmp/multipartBody389366307139721543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603252924,"filename":"image_11012025_14_46_02_827621_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/51ece42d9f49b5266f546a091b833662.jpg","text":"TemporaryFile(/tmp/multipartBody3975318734466594716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603252924,"filename":"image_11012025_14_46_02_827621_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/82011ec546cdd0d859d8fb9bb70fb13f.jpg","text":"TemporaryFile(/tmp/multipartBody9208803124514138935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603252924,"filename":"image_11012025_14_46_02_827621_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328184766","file1":"1328184740","file0":"1328184737","file3":"1328184769"},"map_files_photo_id_array":[{"photo_id":"1328184766","filename":"file2"},{"photo_id":"1328184740","filename":"file1"},{"photo_id":"1328184737","filename":"file0"},{"photo_id":"1328184769","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328184737":["hashtag1","hashtag2"]},{"1328184766":["hashtag1","hashtag2"]},{"1328184769":["hashtag1","hashtag2"]},{"1328184740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328184737, 1328184766, 1328184769, 1328184740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.61154747009277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:47:21.844104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/46/image_11012025_14_46_02_827621_0003.jpg', '/home/pi/Desktop/images/11012025/14/47/image_11012025_14_47_03_033218_0000.jpg', '/home/pi/Desktop/images/11012025/14/47/image_11012025_14_47_03_033218_0001.jpg', '/home/pi/Desktop/images/11012025/14/47/image_11012025_14_47_03_033218_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/46/image_11012025_14_46_02_827621_0003.jpg
/home/pi/Desktop/images/11012025/14/47/image_11012025_14_47_03_033218_0000.jpg
/home/pi/Desktop/images/11012025/14/47/image_11012025_14_47_03_033218_0001.jpg
/home/pi/Desktop/images/11012025/14/47/image_11012025_14_47_03_033218_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328184795","1328184791","1328184794","1328184788"],"photo_ids_order":["1328184788","1328184791","1328184794","1328184795"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5979a2acdf1d57d971f8bb6328dadc26.jpg","text":"TemporaryFile(/tmp/multipartBody6815393929904606393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603311977,"filename":"image_11012025_14_47_03_033218_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2b8621bc11937d482a7dce98aa6021a4.jpg","text":"TemporaryFile(/tmp/multipartBody7420957999247721779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603311977,"filename":"image_11012025_14_47_03_033218_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f5adc126cd26f7a8c87fd0c410b8c844.jpg","text":"TemporaryFile(/tmp/multipartBody7206020625733213610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603311977,"filename":"image_11012025_14_47_03_033218_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3556423e200abad0c7160b0886e1d67c.jpg","text":"TemporaryFile(/tmp/multipartBody1364055582263978270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603311977,"filename":"image_11012025_14_46_02_827621_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328184794","file1":"1328184791","file0":"1328184788","file3":"1328184795"},"map_files_photo_id_array":[{"photo_id":"1328184794","filename":"file2"},{"photo_id":"1328184791","filename":"file1"},{"photo_id":"1328184788","filename":"file0"},{"photo_id":"1328184795","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328184795":["hashtag1","hashtag2"]},{"1328184791":["hashtag1","hashtag2"]},{"1328184794":["hashtag1","hashtag2"]},{"1328184788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328184795, 1328184791, 1328184794, 1328184788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.12499976158142 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:48:21.999257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/47/image_11012025_14_47_03_033218_0003.jpg', '/home/pi/Desktop/images/11012025/14/48/image_11012025_14_48_02_147313_0000.jpg', '/home/pi/Desktop/images/11012025/14/48/image_11012025_14_48_02_147313_0001.jpg', '/home/pi/Desktop/images/11012025/14/48/image_11012025_14_48_02_147313_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/47/image_11012025_14_47_03_033218_0003.jpg
/home/pi/Desktop/images/11012025/14/48/image_11012025_14_48_02_147313_0000.jpg
/home/pi/Desktop/images/11012025/14/48/image_11012025_14_48_02_147313_0001.jpg
/home/pi/Desktop/images/11012025/14/48/image_11012025_14_48_02_147313_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328184839","1328184835","1328184837","1328184833"],"photo_ids_order":["1328184833","1328184835","1328184837","1328184839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ed1420e2b760839c23a1d0cb5dd6a6e1.jpg","text":"TemporaryFile(/tmp/multipartBody1711951748338687116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603372069,"filename":"image_11012025_14_48_02_147313_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c8770625ab34a45ee3e509c4714ad2ae.jpg","text":"TemporaryFile(/tmp/multipartBody1224453593195209735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603372069,"filename":"image_11012025_14_48_02_147313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5a04391014953f1432978a2e0942bb81.jpg","text":"TemporaryFile(/tmp/multipartBody5530240986405338365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603372069,"filename":"image_11012025_14_48_02_147313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4cc159780f3eba1815aa04fe4642972d.jpg","text":"TemporaryFile(/tmp/multipartBody5899709175430722460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603372069,"filename":"image_11012025_14_47_03_033218_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328184837","file1":"1328184835","file0":"1328184833","file3":"1328184839"},"map_files_photo_id_array":[{"photo_id":"1328184837","filename":"file2"},{"photo_id":"1328184835","filename":"file1"},{"photo_id":"1328184833","filename":"file0"},{"photo_id":"1328184839","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328184839":["hashtag1","hashtag2"]},{"1328184835":["hashtag1","hashtag2"]},{"1328184837":["hashtag1","hashtag2"]},{"1328184833":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328184839, 1328184835, 1328184837, 1328184833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.98353695869446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:49:02.898692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:49:22.165308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/48/image_11012025_14_48_02_147313_0003.jpg', '/home/pi/Desktop/images/11012025/14/49/image_11012025_14_49_02_376560_0000.jpg', '/home/pi/Desktop/images/11012025/14/49/image_11012025_14_49_02_376560_0001.jpg', '/home/pi/Desktop/images/11012025/14/49/image_11012025_14_49_02_376560_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/48/image_11012025_14_48_02_147313_0003.jpg
/home/pi/Desktop/images/11012025/14/49/image_11012025_14_49_02_376560_0000.jpg
/home/pi/Desktop/images/11012025/14/49/image_11012025_14_49_02_376560_0001.jpg
/home/pi/Desktop/images/11012025/14/49/image_11012025_14_49_02_376560_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328185036","1328185041","1328185044","1328185038"],"photo_ids_order":["1328185036","1328185038","1328185041","1328185044"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6076701abf3c2368ff26363f193aec8f.jpg","text":"TemporaryFile(/tmp/multipartBody7408458974565412431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603432308,"filename":"image_11012025_14_48_02_147313_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/96e4a68927a7308137563dd23cccf930.jpg","text":"TemporaryFile(/tmp/multipartBody4141516644385689871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603432308,"filename":"image_11012025_14_49_02_376560_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8d7d8699dedfd2e107259d2d9e54b419.jpg","text":"TemporaryFile(/tmp/multipartBody475113215146016315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603432308,"filename":"image_11012025_14_49_02_376560_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/adac4acb161457ba7e367700483729d9.jpg","text":"TemporaryFile(/tmp/multipartBody140898137445543371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603432308,"filename":"image_11012025_14_49_02_376560_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328185041","file1":"1328185038","file0":"1328185036","file3":"1328185044"},"map_files_photo_id_array":[{"photo_id":"1328185041","filename":"file2"},{"photo_id":"1328185038","filename":"file1"},{"photo_id":"1328185036","filename":"file0"},{"photo_id":"1328185044","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328185036":["hashtag1","hashtag2"]},{"1328185041":["hashtag1","hashtag2"]},{"1328185044":["hashtag1","hashtag2"]},{"1328185038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328185036, 1328185041, 1328185044, 1328185038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.40992188453674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:50:02.663345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:50:22.363710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/49/image_11012025_14_49_02_376560_0003.jpg', '/home/pi/Desktop/images/11012025/14/50/image_11012025_14_50_02_533827_0000.jpg', '/home/pi/Desktop/images/11012025/14/50/image_11012025_14_50_02_533827_0001.jpg', '/home/pi/Desktop/images/11012025/14/50/image_11012025_14_50_02_533827_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/49/image_11012025_14_49_02_376560_0003.jpg
/home/pi/Desktop/images/11012025/14/50/image_11012025_14_50_02_533827_0000.jpg
/home/pi/Desktop/images/11012025/14/50/image_11012025_14_50_02_533827_0001.jpg
/home/pi/Desktop/images/11012025/14/50/image_11012025_14_50_02_533827_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328185075","1328185077","1328185082","1328185079"],"photo_ids_order":["1328185075","1328185077","1328185079","1328185082"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1542a8ff5cc0f4ba0aaf450a81ebd3e2.jpg","text":"TemporaryFile(/tmp/multipartBody5686958405844914281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603492591,"filename":"image_11012025_14_49_02_376560_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4667f3913c88c607238191c38219cfe7.jpg","text":"TemporaryFile(/tmp/multipartBody701399093368606608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603492591,"filename":"image_11012025_14_50_02_533827_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/873434defce772f8b2a9e9bc93c3c0fc.jpg","text":"TemporaryFile(/tmp/multipartBody7003771643315273557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603492591,"filename":"image_11012025_14_50_02_533827_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3f0bfadc623b6c4edfc75ebbbc2d0e91.jpg","text":"TemporaryFile(/tmp/multipartBody7969729771444355139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603492591,"filename":"image_11012025_14_50_02_533827_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328185079","file1":"1328185077","file0":"1328185075","file3":"1328185082"},"map_files_photo_id_array":[{"photo_id":"1328185079","filename":"file2"},{"photo_id":"1328185077","filename":"file1"},{"photo_id":"1328185075","filename":"file0"},{"photo_id":"1328185082","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328185075":["hashtag1","hashtag2"]},{"1328185077":["hashtag1","hashtag2"]},{"1328185082":["hashtag1","hashtag2"]},{"1328185079":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328185075, 1328185077, 1328185082, 1328185079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.68700122833252 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:51:22.590220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/50/image_11012025_14_50_02_533827_0003.jpg', '/home/pi/Desktop/images/11012025/14/51/image_11012025_14_51_02_703131_0000.jpg', '/home/pi/Desktop/images/11012025/14/51/image_11012025_14_51_02_703131_0001.jpg', '/home/pi/Desktop/images/11012025/14/51/image_11012025_14_51_02_703131_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/50/image_11012025_14_50_02_533827_0003.jpg
/home/pi/Desktop/images/11012025/14/51/image_11012025_14_51_02_703131_0000.jpg
/home/pi/Desktop/images/11012025/14/51/image_11012025_14_51_02_703131_0001.jpg
/home/pi/Desktop/images/11012025/14/51/image_11012025_14_51_02_703131_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328185125","1328185104","1328185112","1328185099"],"photo_ids_order":["1328185099","1328185104","1328185112","1328185125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/77664e6135284d4e1c4d9ee705ef29de.jpg","text":"TemporaryFile(/tmp/multipartBody5804581573563430565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603552783,"filename":"image_11012025_14_51_02_703131_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/af254c9ef87c2dd1e458c5118ee4c351.jpg","text":"TemporaryFile(/tmp/multipartBody8675523831002184948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603552783,"filename":"image_11012025_14_51_02_703131_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bc9708131496a212416bc7cc78b2b80b.jpg","text":"TemporaryFile(/tmp/multipartBody5150290023012876183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603552783,"filename":"image_11012025_14_51_02_703131_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/366274776c72f12dca89a84330cba206.jpg","text":"TemporaryFile(/tmp/multipartBody8972267847525135567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603552783,"filename":"image_11012025_14_50_02_533827_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328185112","file1":"1328185104","file0":"1328185099","file3":"1328185125"},"map_files_photo_id_array":[{"photo_id":"1328185112","filename":"file2"},{"photo_id":"1328185104","filename":"file1"},{"photo_id":"1328185099","filename":"file0"},{"photo_id":"1328185125","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328185125":["hashtag1","hashtag2"]},{"1328185104":["hashtag1","hashtag2"]},{"1328185112":["hashtag1","hashtag2"]},{"1328185099":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328185125, 1328185104, 1328185112, 1328185099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.242626428604126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:52:03.103560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:52:22.707087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/51/image_11012025_14_51_02_703131_0003.jpg', '/home/pi/Desktop/images/11012025/14/52/image_11012025_14_52_02_914621_0000.jpg', '/home/pi/Desktop/images/11012025/14/52/image_11012025_14_52_02_914621_0001.jpg', '/home/pi/Desktop/images/11012025/14/52/image_11012025_14_52_02_914621_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/51/image_11012025_14_51_02_703131_0003.jpg
/home/pi/Desktop/images/11012025/14/52/image_11012025_14_52_02_914621_0000.jpg
/home/pi/Desktop/images/11012025/14/52/image_11012025_14_52_02_914621_0001.jpg
/home/pi/Desktop/images/11012025/14/52/image_11012025_14_52_02_914621_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328185267","1328185263","1328185256","1328185259"],"photo_ids_order":["1328185256","1328185259","1328185263","1328185267"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f889717cf63ea4e6f5f4d892345ab7aa.jpg","text":"TemporaryFile(/tmp/multipartBody7202211387035774658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603612843,"filename":"image_11012025_14_52_02_914621_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2f982c84d0eca51b674c85e931f7a167.jpg","text":"TemporaryFile(/tmp/multipartBody8558440156842374135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603612843,"filename":"image_11012025_14_52_02_914621_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ae04c98abb79e01514d2ec7505a7e216.jpg","text":"TemporaryFile(/tmp/multipartBody7003419854954754846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603612843,"filename":"image_11012025_14_51_02_703131_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8d500406e3c40077e23b33ffae208849.jpg","text":"TemporaryFile(/tmp/multipartBody4457563922430315531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603612843,"filename":"image_11012025_14_52_02_914621_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328185263","file1":"1328185259","file0":"1328185256","file3":"1328185267"},"map_files_photo_id_array":[{"photo_id":"1328185263","filename":"file2"},{"photo_id":"1328185259","filename":"file1"},{"photo_id":"1328185256","filename":"file0"},{"photo_id":"1328185267","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328185267":["hashtag1","hashtag2"]},{"1328185263":["hashtag1","hashtag2"]},{"1328185256":["hashtag1","hashtag2"]},{"1328185259":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328185267, 1328185263, 1328185256, 1328185259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.31408500671387 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:53:02.394230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:53:21.809917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/52/image_11012025_14_52_02_914621_0003.jpg', '/home/pi/Desktop/images/11012025/14/53/image_11012025_14_53_03_171781_0000.jpg', '/home/pi/Desktop/images/11012025/14/53/image_11012025_14_53_03_171781_0001.jpg', '/home/pi/Desktop/images/11012025/14/53/image_11012025_14_53_03_171781_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/52/image_11012025_14_52_02_914621_0003.jpg
/home/pi/Desktop/images/11012025/14/53/image_11012025_14_53_03_171781_0000.jpg
/home/pi/Desktop/images/11012025/14/53/image_11012025_14_53_03_171781_0001.jpg
/home/pi/Desktop/images/11012025/14/53/image_11012025_14_53_03_171781_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328185314","1328185308","1328185317","1328185310"],"photo_ids_order":["1328185308","1328185310","1328185314","1328185317"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6256378c2039cbabfffa52c997988f60.jpg","text":"TemporaryFile(/tmp/multipartBody3023506092837770943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603671970,"filename":"image_11012025_14_53_03_171781_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2ce4810a98543e171988125366fdb7e2.jpg","text":"TemporaryFile(/tmp/multipartBody9127294119175808457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603671970,"filename":"image_11012025_14_52_02_914621_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/49ff19b4ddcb0f8a466eff895ba74043.jpg","text":"TemporaryFile(/tmp/multipartBody7233249436597604147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603671970,"filename":"image_11012025_14_53_03_171781_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/acb988d500721f7dd7d4c69d00e30691.jpg","text":"TemporaryFile(/tmp/multipartBody238942359232314994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603671970,"filename":"image_11012025_14_53_03_171781_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328185314","file1":"1328185310","file0":"1328185308","file3":"1328185317"},"map_files_photo_id_array":[{"photo_id":"1328185314","filename":"file2"},{"photo_id":"1328185310","filename":"file1"},{"photo_id":"1328185308","filename":"file0"},{"photo_id":"1328185317","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328185314":["hashtag1","hashtag2"]},{"1328185308":["hashtag1","hashtag2"]},{"1328185317":["hashtag1","hashtag2"]},{"1328185310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328185314, 1328185308, 1328185317, 1328185310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.77882981300354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:54:22.085727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/53/image_11012025_14_53_03_171781_0003.jpg', '/home/pi/Desktop/images/11012025/14/54/image_11012025_14_54_02_210615_0000.jpg', '/home/pi/Desktop/images/11012025/14/54/image_11012025_14_54_02_210615_0001.jpg', '/home/pi/Desktop/images/11012025/14/54/image_11012025_14_54_02_210615_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/53/image_11012025_14_53_03_171781_0003.jpg
/home/pi/Desktop/images/11012025/14/54/image_11012025_14_54_02_210615_0000.jpg
/home/pi/Desktop/images/11012025/14/54/image_11012025_14_54_02_210615_0001.jpg
/home/pi/Desktop/images/11012025/14/54/image_11012025_14_54_02_210615_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328185378","1328185366","1328185392","1328185368"],"photo_ids_order":["1328185366","1328185368","1328185378","1328185392"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fe2c80fd49ab2c03948bfb839693672e.jpg","text":"TemporaryFile(/tmp/multipartBody1439532248996730783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603732338,"filename":"image_11012025_14_54_02_210615_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cd24aeafb930cbc02c481b1cdde77cdd.jpg","text":"TemporaryFile(/tmp/multipartBody5755058688226181823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603732338,"filename":"image_11012025_14_53_03_171781_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/238abca54fcdd6abd25821fca5559205.jpg","text":"TemporaryFile(/tmp/multipartBody458058129171746949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603732338,"filename":"image_11012025_14_54_02_210615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cd4864c678b8f1408f36dde4c70bd161.jpg","text":"TemporaryFile(/tmp/multipartBody8140880083258221979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603732338,"filename":"image_11012025_14_54_02_210615_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328185378","file1":"1328185368","file0":"1328185366","file3":"1328185392"},"map_files_photo_id_array":[{"photo_id":"1328185378","filename":"file2"},{"photo_id":"1328185368","filename":"file1"},{"photo_id":"1328185366","filename":"file0"},{"photo_id":"1328185392","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328185378":["hashtag1","hashtag2"]},{"1328185366":["hashtag1","hashtag2"]},{"1328185392":["hashtag1","hashtag2"]},{"1328185368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328185378, 1328185366, 1328185392, 1328185368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.921937465667725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:55:02.951001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:55:22.181278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/54/image_11012025_14_54_02_210615_0003.jpg', '/home/pi/Desktop/images/11012025/14/55/image_11012025_14_55_02_433072_0000.jpg', '/home/pi/Desktop/images/11012025/14/55/image_11012025_14_55_02_433072_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/54/image_11012025_14_54_02_210615_0003.jpg
/home/pi/Desktop/images/11012025/14/55/image_11012025_14_55_02_433072_0000.jpg
/home/pi/Desktop/images/11012025/14/55/image_11012025_14_55_02_433072_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328185461","1328185458","1328185463"],"photo_ids_order":["1328185458","1328185461","1328185463"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c6078bc6d237a1c5884f96664889e647.jpg","text":"TemporaryFile(/tmp/multipartBody1561509730416552800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603789980,"filename":"image_11012025_14_55_02_433072_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4c413f8936f8b90a43767ea463d22e4d.jpg","text":"TemporaryFile(/tmp/multipartBody5195196715856381482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603789980,"filename":"image_11012025_14_54_02_210615_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6d2777c3a2a667931b5ed9e68b8cedb0.jpg","text":"TemporaryFile(/tmp/multipartBody9211530201510105935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603789980,"filename":"image_11012025_14_55_02_433072_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328185463","file1":"1328185461","file0":"1328185458"},"map_files_photo_id_array":[{"photo_id":"1328185463","filename":"file2"},{"photo_id":"1328185461","filename":"file1"},{"photo_id":"1328185458","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328185461":["hashtag1","hashtag2"]},{"1328185458":["hashtag1","hashtag2"]},{"1328185463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328185461, 1328185458, 1328185463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.995248079299927 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:56:02.789273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 14:56:22.422242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/55/image_11012025_14_55_02_433072_0003.jpg', '/home/pi/Desktop/images/11012025/14/56/image_11012025_14_56_02_612241_0000.jpg', '/home/pi/Desktop/images/11012025/14/56/image_11012025_14_56_02_612241_0001.jpg', '/home/pi/Desktop/images/11012025/14/56/image_11012025_14_56_02_612241_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/55/image_11012025_14_55_02_433072_0003.jpg
/home/pi/Desktop/images/11012025/14/56/image_11012025_14_56_02_612241_0000.jpg
/home/pi/Desktop/images/11012025/14/56/image_11012025_14_56_02_612241_0001.jpg
/home/pi/Desktop/images/11012025/14/56/image_11012025_14_56_02_612241_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328185582","1328185585","1328185578","1328185580"],"photo_ids_order":["1328185578","1328185580","1328185582","1328185585"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6b2e06c2a9fc8eb9c57abbc856f5cc2a.jpg","text":"TemporaryFile(/tmp/multipartBody8952607452342194825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603852541,"filename":"image_11012025_14_56_02_612241_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4dedcff2bc425fff69a29dea98545139.jpg","text":"TemporaryFile(/tmp/multipartBody665725478636551215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603852541,"filename":"image_11012025_14_56_02_612241_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fcb195f58c18a75e750f8696e9f3be36.jpg","text":"TemporaryFile(/tmp/multipartBody1742062782206067883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603852541,"filename":"image_11012025_14_55_02_433072_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/15ede8813526b3fb5e0a123ca1680067.jpg","text":"TemporaryFile(/tmp/multipartBody4736297536049083879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603852541,"filename":"image_11012025_14_56_02_612241_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328185582","file1":"1328185580","file0":"1328185578","file3":"1328185585"},"map_files_photo_id_array":[{"photo_id":"1328185582","filename":"file2"},{"photo_id":"1328185580","filename":"file1"},{"photo_id":"1328185578","filename":"file0"},{"photo_id":"1328185585","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328185582":["hashtag1","hashtag2"]},{"1328185585":["hashtag1","hashtag2"]},{"1328185578":["hashtag1","hashtag2"]},{"1328185580":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328185582, 1328185585, 1328185578, 1328185580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.48686933517456 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-11 14:57:22.508718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/56/image_11012025_14_56_02_612241_0003.jpg', '/home/pi/Desktop/images/11012025/14/57/image_11012025_14_57_02_726438_0000.jpg', '/home/pi/Desktop/images/11012025/14/57/image_11012025_14_57_02_726438_0001.jpg', '/home/pi/Desktop/images/11012025/14/57/image_11012025_14_57_02_726438_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/56/image_11012025_14_56_02_612241_0003.jpg
/home/pi/Desktop/images/11012025/14/57/image_11012025_14_57_02_726438_0000.jpg
/home/pi/Desktop/images/11012025/14/57/image_11012025_14_57_02_726438_0001.jpg
/home/pi/Desktop/images/11012025/14/57/image_11012025_14_57_02_726438_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328185634","1328185616","1328185631","1328185610"],"photo_ids_order":["1328185610","1328185616","1328185631","1328185634"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/20cdc8966074309936e07e2d86cd75fd.jpg","text":"TemporaryFile(/tmp/multipartBody4979101645001291290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603912720,"filename":"image_11012025_14_57_02_726438_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/795fc2435c21a4cb2d0f8dc5741d7ff7.jpg","text":"TemporaryFile(/tmp/multipartBody1605911407388510033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603912720,"filename":"image_11012025_14_57_02_726438_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/43ab341fcc038c7d76690f52d16a26b6.jpg","text":"TemporaryFile(/tmp/multipartBody890156737405039600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603912720,"filename":"image_11012025_14_57_02_726438_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ade6b49da5097b9fd0a056bf1a23a3b3.jpg","text":"TemporaryFile(/tmp/multipartBody6069455803366608964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736603912720,"filename":"image_11012025_14_56_02_612241_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328185631","file1":"1328185616","file0":"1328185610","file3":"1328185634"},"map_files_photo_id_array":[{"photo_id":"1328185631","filename":"file2"},{"photo_id":"1328185616","filename":"file1"},{"photo_id":"1328185610","filename":"file0"},{"photo_id":"1328185634","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328185634":["hashtag1","hashtag2"]},{"1328185616":["hashtag1","hashtag2"]},{"1328185631":["hashtag1","hashtag2"]},{"1328185610":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328185634, 1328185616, 1328185631, 1328185610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.973331689834595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 14:59:02.503262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/57/image_11012025_14_57_02_726438_0003.jpg', '/home/pi/Desktop/images/11012025/14/58/image_11012025_14_58_02_886376_0000.jpg', '/home/pi/Desktop/images/11012025/14/58/image_11012025_14_58_02_886376_0001.jpg', '/home/pi/Desktop/images/11012025/14/58/image_11012025_14_58_02_886376_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/57/image_11012025_14_57_02_726438_0003.jpg
/home/pi/Desktop/images/11012025/14/58/image_11012025_14_58_02_886376_0000.jpg
/home/pi/Desktop/images/11012025/14/58/image_11012025_14_58_02_886376_0001.jpg
/home/pi/Desktop/images/11012025/14/58/image_11012025_14_58_02_886376_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328185690","1328185702","1328185697","1328185682"],"photo_ids_order":["1328185682","1328185690","1328185697","1328185702"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9a8aa77e8db552faa9e7afa17a14dc06.jpg","text":"TemporaryFile(/tmp/multipartBody4686002161934583161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604012679,"filename":"image_11012025_14_58_02_886376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/764666260b80f9e82ad7f9c5d5e096e4.jpg","text":"TemporaryFile(/tmp/multipartBody4704800005955519262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604012679,"filename":"image_11012025_14_58_02_886376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d82e378f0bcf3d8a0fe57b869836c8b5.jpg","text":"TemporaryFile(/tmp/multipartBody4315523189760934779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604012679,"filename":"image_11012025_14_58_02_886376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c63e3e040b4bc52b64510b5ccc5f8486.jpg","text":"TemporaryFile(/tmp/multipartBody8595710264756762689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604012679,"filename":"image_11012025_14_57_02_726438_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328185697","file1":"1328185690","file0":"1328185682","file3":"1328185702"},"map_files_photo_id_array":[{"photo_id":"1328185697","filename":"file2"},{"photo_id":"1328185690","filename":"file1"},{"photo_id":"1328185682","filename":"file0"},{"photo_id":"1328185702","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328185690":["hashtag1","hashtag2"]},{"1328185702":["hashtag1","hashtag2"]},{"1328185697":["hashtag1","hashtag2"]},{"1328185682":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328185690, 1328185702, 1328185697, 1328185682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.77366352081299 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 14:59:51.816020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/58/image_11012025_14_58_02_886376_0003.jpg', '/home/pi/Desktop/images/11012025/14/59/image_11012025_14_59_03_060323_0000.jpg', '/home/pi/Desktop/images/11012025/14/59/image_11012025_14_59_03_060323_0001.jpg', '/home/pi/Desktop/images/11012025/14/59/image_11012025_14_59_03_060323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/58/image_11012025_14_58_02_886376_0003.jpg
/home/pi/Desktop/images/11012025/14/59/image_11012025_14_59_03_060323_0000.jpg
/home/pi/Desktop/images/11012025/14/59/image_11012025_14_59_03_060323_0001.jpg
/home/pi/Desktop/images/11012025/14/59/image_11012025_14_59_03_060323_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328185723","1328185717","1328185713","1328185727"],"photo_ids_order":["1328185713","1328185717","1328185723","1328185727"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/58f1b55ba8010f70ce1f281bd0ad1f24.jpg","text":"TemporaryFile(/tmp/multipartBody4600710568308387479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604062003,"filename":"image_11012025_14_59_03_060323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/97d8cedbe057951361235ac92ef6a85a.jpg","text":"TemporaryFile(/tmp/multipartBody1145533221933084577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604062003,"filename":"image_11012025_14_59_03_060323_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b43c344a139a8c867a86c008d712cbcb.jpg","text":"TemporaryFile(/tmp/multipartBody1223134157304203900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604062003,"filename":"image_11012025_14_58_02_886376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d559b93e0eb47361a32d8bf48d993302.jpg","text":"TemporaryFile(/tmp/multipartBody1169002604903839514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604062003,"filename":"image_11012025_14_59_03_060323_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328185723","file1":"1328185717","file0":"1328185713","file3":"1328185727"},"map_files_photo_id_array":[{"photo_id":"1328185723","filename":"file2"},{"photo_id":"1328185717","filename":"file1"},{"photo_id":"1328185713","filename":"file0"},{"photo_id":"1328185727","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328185723":["hashtag1","hashtag2"]},{"1328185717":["hashtag1","hashtag2"]},{"1328185713":["hashtag1","hashtag2"]},{"1328185727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328185723, 1328185717, 1328185713, 1328185727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.22318458557129 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 15:00:32.000309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/59/image_11012025_14_59_03_060323_0003.jpg', '/home/pi/Desktop/images/11012025/15/00/image_11012025_15_00_02_306454_0000.jpg', '/home/pi/Desktop/images/11012025/15/00/image_11012025_15_00_02_306454_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/14/59/image_11012025_14_59_03_060323_0003.jpg
/home/pi/Desktop/images/11012025/15/00/image_11012025_15_00_02_306454_0000.jpg
/home/pi/Desktop/images/11012025/15/00/image_11012025_15_00_02_306454_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328185749","1328185743","1328185754"],"photo_ids_order":["1328185743","1328185749","1328185754"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b1560eaa0750782fba665377d591aa72.jpg","text":"TemporaryFile(/tmp/multipartBody8800228474058743682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604099707,"filename":"image_11012025_15_00_02_306454_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8e5c62ed4db4460927d2a7910a10b8a3.jpg","text":"TemporaryFile(/tmp/multipartBody347272231340474607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604099707,"filename":"image_11012025_14_59_03_060323_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3e6358e47b51ede38bb956e76f4e3bd6.jpg","text":"TemporaryFile(/tmp/multipartBody5217355812078190467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604099707,"filename":"image_11012025_15_00_02_306454_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328185754","file1":"1328185749","file0":"1328185743"},"map_files_photo_id_array":[{"photo_id":"1328185754","filename":"file2"},{"photo_id":"1328185749","filename":"file1"},{"photo_id":"1328185743","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328185749":["hashtag1","hashtag2"]},{"1328185743":["hashtag1","hashtag2"]},{"1328185754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328185749, 1328185743, 1328185754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.2488055229187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:01:22.257783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/00/image_11012025_15_00_02_306454_0003.jpg', '/home/pi/Desktop/images/11012025/15/01/image_11012025_15_01_02_428880_0000.jpg', '/home/pi/Desktop/images/11012025/15/01/image_11012025_15_01_02_428880_0001.jpg', '/home/pi/Desktop/images/11012025/15/01/image_11012025_15_01_02_428880_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/00/image_11012025_15_00_02_306454_0003.jpg
/home/pi/Desktop/images/11012025/15/01/image_11012025_15_01_02_428880_0000.jpg
/home/pi/Desktop/images/11012025/15/01/image_11012025_15_01_02_428880_0001.jpg
/home/pi/Desktop/images/11012025/15/01/image_11012025_15_01_02_428880_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328185963","1328185947","1328185952","1328185949"],"photo_ids_order":["1328185947","1328185949","1328185952","1328185963"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aa5059d930278c5df81e33e142fc21aa.jpg","text":"TemporaryFile(/tmp/multipartBody8681106245381754015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604152264,"filename":"image_11012025_15_01_02_428880_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/949b17d4587abee5d157136b09d238f8.jpg","text":"TemporaryFile(/tmp/multipartBody470077936719127980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604152264,"filename":"image_11012025_15_00_02_306454_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/04c19b3df4935b562bad074f22faf1fe.jpg","text":"TemporaryFile(/tmp/multipartBody6978782107362714224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604152264,"filename":"image_11012025_15_01_02_428880_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f5d7a10f8820851da7ff98f46c98e04d.jpg","text":"TemporaryFile(/tmp/multipartBody5454374139987599786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604152264,"filename":"image_11012025_15_01_02_428880_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328185952","file1":"1328185949","file0":"1328185947","file3":"1328185963"},"map_files_photo_id_array":[{"photo_id":"1328185952","filename":"file2"},{"photo_id":"1328185949","filename":"file1"},{"photo_id":"1328185947","filename":"file0"},{"photo_id":"1328185963","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328185963":["hashtag1","hashtag2"]},{"1328185947":["hashtag1","hashtag2"]},{"1328185952":["hashtag1","hashtag2"]},{"1328185949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328185963, 1328185947, 1328185952, 1328185949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.25839710235596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:02:02.939409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:02:22.475869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/01/image_11012025_15_01_02_428880_0003.jpg', '/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_02_637869_0000.jpg', '/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_02_637869_0001.jpg', '/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_02_637869_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/01/image_11012025_15_01_02_428880_0003.jpg
/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_02_637869_0000.jpg
/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_02_637869_0001.jpg
/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_02_637869_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328186020","1328186017","1328186025","1328186006"],"photo_ids_order":["1328186006","1328186017","1328186020","1328186025"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fe7a21c4356e11b72686c27243dbe376.jpg","text":"TemporaryFile(/tmp/multipartBody8116496857928937401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604212660,"filename":"image_11012025_15_02_02_637869_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a478e9a10de64776d9d27db40217cdea.jpg","text":"TemporaryFile(/tmp/multipartBody8094003065666179321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604212660,"filename":"image_11012025_15_02_02_637869_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/26d65c899930244710701aeb551d42db.jpg","text":"TemporaryFile(/tmp/multipartBody1993646607139639471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604212660,"filename":"image_11012025_15_02_02_637869_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/faa56601617b88655b5f12646ebf5098.jpg","text":"TemporaryFile(/tmp/multipartBody8747618260549509030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604212660,"filename":"image_11012025_15_01_02_428880_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328186020","file1":"1328186017","file0":"1328186006","file3":"1328186025"},"map_files_photo_id_array":[{"photo_id":"1328186020","filename":"file2"},{"photo_id":"1328186017","filename":"file1"},{"photo_id":"1328186006","filename":"file0"},{"photo_id":"1328186025","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328186020":["hashtag1","hashtag2"]},{"1328186017":["hashtag1","hashtag2"]},{"1328186025":["hashtag1","hashtag2"]},{"1328186006":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328186020, 1328186017, 1328186025, 1328186006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.774977922439575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:03:03.210964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:03:22.537907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_02_637869_0003.jpg', '/home/pi/Desktop/images/11012025/15/03/image_11012025_15_03_02_842227_0000.jpg', '/home/pi/Desktop/images/11012025/15/03/image_11012025_15_03_02_842227_0001.jpg', '/home/pi/Desktop/images/11012025/15/03/image_11012025_15_03_02_842227_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_02_637869_0003.jpg
/home/pi/Desktop/images/11012025/15/03/image_11012025_15_03_02_842227_0000.jpg
/home/pi/Desktop/images/11012025/15/03/image_11012025_15_03_02_842227_0001.jpg
/home/pi/Desktop/images/11012025/15/03/image_11012025_15_03_02_842227_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328186320","1328186774","1328186681","1328186054"],"photo_ids_order":["1328186054","1328186320","1328186681","1328186774"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2bc4c29acf6dff695818216cb02d5356.jpg","text":"TemporaryFile(/tmp/multipartBody958132089244360457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604272758,"filename":"image_11012025_15_03_02_842227_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/91ad8db64c19e6eaa73a2d523c4b6228.jpg","text":"TemporaryFile(/tmp/multipartBody5362400554875208330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604272758,"filename":"image_11012025_15_03_02_842227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/093623db0e40685c1d884b67027c7784.jpg","text":"TemporaryFile(/tmp/multipartBody1424767550530626981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604272758,"filename":"image_11012025_15_03_02_842227_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/53bbf2a491c8c4c430051fb73c2d3342.jpg","text":"TemporaryFile(/tmp/multipartBody7830398001459742351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604272758,"filename":"image_11012025_15_02_02_637869_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328186681","file1":"1328186320","file0":"1328186054","file3":"1328186774"},"map_files_photo_id_array":[{"photo_id":"1328186681","filename":"file2"},{"photo_id":"1328186320","filename":"file1"},{"photo_id":"1328186054","filename":"file0"},{"photo_id":"1328186774","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328186320":["hashtag1","hashtag2"]},{"1328186774":["hashtag1","hashtag2"]},{"1328186681":["hashtag1","hashtag2"]},{"1328186054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328186320, 1328186774, 1328186681, 1328186054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.218097448349 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:04:03.205407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:04:22.821538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/03/image_11012025_15_03_02_842227_0003.jpg', '/home/pi/Desktop/images/11012025/15/04/image_11012025_15_04_02_868590_0000.jpg', '/home/pi/Desktop/images/11012025/15/04/image_11012025_15_04_02_868590_0001.jpg', '/home/pi/Desktop/images/11012025/15/04/image_11012025_15_04_02_868590_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/03/image_11012025_15_03_02_842227_0003.jpg
/home/pi/Desktop/images/11012025/15/04/image_11012025_15_04_02_868590_0000.jpg
/home/pi/Desktop/images/11012025/15/04/image_11012025_15_04_02_868590_0001.jpg
/home/pi/Desktop/images/11012025/15/04/image_11012025_15_04_02_868590_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328186792","1328186789","1328187008","1328186896"],"photo_ids_order":["1328186789","1328186792","1328186896","1328187008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/05986f0b31fdfe7b747fb8bfce54d97c.jpg","text":"TemporaryFile(/tmp/multipartBody4051977947714589271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604332925,"filename":"image_11012025_15_04_02_868590_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3ac1aa0fcd4aeab8cb9a0f95241370e6.jpg","text":"TemporaryFile(/tmp/multipartBody2145031636768592553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604332925,"filename":"image_11012025_15_03_02_842227_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fb2a2088d41c46b182a599a073bc0e40.jpg","text":"TemporaryFile(/tmp/multipartBody7835127614931842599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604332925,"filename":"image_11012025_15_04_02_868590_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/90c5bf976cf6077c34cc75338bfaeb87.jpg","text":"TemporaryFile(/tmp/multipartBody2164465971788202749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604332925,"filename":"image_11012025_15_04_02_868590_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328186896","file1":"1328186792","file0":"1328186789","file3":"1328187008"},"map_files_photo_id_array":[{"photo_id":"1328186896","filename":"file2"},{"photo_id":"1328186792","filename":"file1"},{"photo_id":"1328186789","filename":"file0"},{"photo_id":"1328187008","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328186792":["hashtag1","hashtag2"]},{"1328186789":["hashtag1","hashtag2"]},{"1328187008":["hashtag1","hashtag2"]},{"1328186896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328186792, 1328186789, 1328187008, 1328186896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.31147241592407 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:05:22.028405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/04/image_11012025_15_04_02_868590_0003.jpg', '/home/pi/Desktop/images/11012025/15/05/image_11012025_15_05_03_149738_0000.jpg', '/home/pi/Desktop/images/11012025/15/05/image_11012025_15_05_03_149738_0001.jpg', '/home/pi/Desktop/images/11012025/15/05/image_11012025_15_05_03_149738_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/04/image_11012025_15_04_02_868590_0003.jpg
/home/pi/Desktop/images/11012025/15/05/image_11012025_15_05_03_149738_0000.jpg
/home/pi/Desktop/images/11012025/15/05/image_11012025_15_05_03_149738_0001.jpg
/home/pi/Desktop/images/11012025/15/05/image_11012025_15_05_03_149738_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328187501","1328187345","1328187488","1328187505"],"photo_ids_order":["1328187345","1328187488","1328187501","1328187505"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/902af7facf752ee62f9fc93d56e3cd8d.jpg","text":"TemporaryFile(/tmp/multipartBody3677345263438683303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604392223,"filename":"image_11012025_15_05_03_149738_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2376ec0659554dd5cbbaa3768d3d8ad5.jpg","text":"TemporaryFile(/tmp/multipartBody7355067547387193977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604392223,"filename":"image_11012025_15_04_02_868590_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/06e611de1a0e907b3e343d8ab02e8806.jpg","text":"TemporaryFile(/tmp/multipartBody8589445637595117362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604392223,"filename":"image_11012025_15_05_03_149738_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/521ed5087ae84b0cc57f5362a566439c.jpg","text":"TemporaryFile(/tmp/multipartBody3007366705365646253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604392223,"filename":"image_11012025_15_05_03_149738_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328187501","file1":"1328187488","file0":"1328187345","file3":"1328187505"},"map_files_photo_id_array":[{"photo_id":"1328187501","filename":"file2"},{"photo_id":"1328187488","filename":"file1"},{"photo_id":"1328187345","filename":"file0"},{"photo_id":"1328187505","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328187501":["hashtag1","hashtag2"]},{"1328187345":["hashtag1","hashtag2"]},{"1328187488":["hashtag1","hashtag2"]},{"1328187505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328187501, 1328187345, 1328187488, 1328187505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.89871525764465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:06:02.423287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:06:22.177628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/05/image_11012025_15_05_03_149738_0003.jpg', '/home/pi/Desktop/images/11012025/15/06/image_11012025_15_06_02_339268_0000.jpg', '/home/pi/Desktop/images/11012025/15/06/image_11012025_15_06_02_339268_0001.jpg', '/home/pi/Desktop/images/11012025/15/06/image_11012025_15_06_02_339268_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/05/image_11012025_15_05_03_149738_0003.jpg
/home/pi/Desktop/images/11012025/15/06/image_11012025_15_06_02_339268_0000.jpg
/home/pi/Desktop/images/11012025/15/06/image_11012025_15_06_02_339268_0001.jpg
/home/pi/Desktop/images/11012025/15/06/image_11012025_15_06_02_339268_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328187573","1328187571","1328187580","1328187577"],"photo_ids_order":["1328187571","1328187573","1328187577","1328187580"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1664dad2027d28047095fbca9ad8b772.jpg","text":"TemporaryFile(/tmp/multipartBody7920124784883595277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604452311,"filename":"image_11012025_15_06_02_339268_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e289bddfddf40457937e0bbd64d05cc0.jpg","text":"TemporaryFile(/tmp/multipartBody468949837599103889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604452311,"filename":"image_11012025_15_05_03_149738_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/32d681ea5cddaf4608023d4fbee0bf4f.jpg","text":"TemporaryFile(/tmp/multipartBody1628344272138652811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604452311,"filename":"image_11012025_15_06_02_339268_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/697cc293dee2c709c5b5c5911a96d890.jpg","text":"TemporaryFile(/tmp/multipartBody4735668364493698336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604452311,"filename":"image_11012025_15_06_02_339268_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328187577","file1":"1328187573","file0":"1328187571","file3":"1328187580"},"map_files_photo_id_array":[{"photo_id":"1328187577","filename":"file2"},{"photo_id":"1328187573","filename":"file1"},{"photo_id":"1328187571","filename":"file0"},{"photo_id":"1328187580","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328187573":["hashtag1","hashtag2"]},{"1328187571":["hashtag1","hashtag2"]},{"1328187580":["hashtag1","hashtag2"]},{"1328187577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328187573, 1328187571, 1328187580, 1328187577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4454619884491 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-11 15:07:22.225240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/06/image_11012025_15_06_02_339268_0003.jpg', '/home/pi/Desktop/images/11012025/15/07/image_11012025_15_07_02_450318_0000.jpg', '/home/pi/Desktop/images/11012025/15/07/image_11012025_15_07_02_450318_0001.jpg', '/home/pi/Desktop/images/11012025/15/07/image_11012025_15_07_02_450318_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/06/image_11012025_15_06_02_339268_0003.jpg
/home/pi/Desktop/images/11012025/15/07/image_11012025_15_07_02_450318_0000.jpg
/home/pi/Desktop/images/11012025/15/07/image_11012025_15_07_02_450318_0001.jpg
/home/pi/Desktop/images/11012025/15/07/image_11012025_15_07_02_450318_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328187810","1328187806","1328187808","1328187802"],"photo_ids_order":["1328187802","1328187806","1328187808","1328187810"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0d599a72df1ae75c4e88c07c97925a7f.jpg","text":"TemporaryFile(/tmp/multipartBody5373848489850255125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604512430,"filename":"image_11012025_15_07_02_450318_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c1f45c86a9980245b0c21cd92dbd8971.jpg","text":"TemporaryFile(/tmp/multipartBody6962470470865990515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604512430,"filename":"image_11012025_15_07_02_450318_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e0067f826e2eebef9ddee273d287ee1f.jpg","text":"TemporaryFile(/tmp/multipartBody2548488170107083554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604512430,"filename":"image_11012025_15_07_02_450318_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7ae97bdfe32fdcfc3b130e32f2994c3b.jpg","text":"TemporaryFile(/tmp/multipartBody6390150475707715174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604512430,"filename":"image_11012025_15_06_02_339268_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328187808","file1":"1328187806","file0":"1328187802","file3":"1328187810"},"map_files_photo_id_array":[{"photo_id":"1328187808","filename":"file2"},{"photo_id":"1328187806","filename":"file1"},{"photo_id":"1328187802","filename":"file0"},{"photo_id":"1328187810","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328187810":["hashtag1","hashtag2"]},{"1328187806":["hashtag1","hashtag2"]},{"1328187808":["hashtag1","hashtag2"]},{"1328187802":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328187810, 1328187806, 1328187808, 1328187802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.519274950027466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:08:02.892623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:08:22.431529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/07/image_11012025_15_07_02_450318_0003.jpg', '/home/pi/Desktop/images/11012025/15/08/image_11012025_15_08_02_635651_0000.jpg', '/home/pi/Desktop/images/11012025/15/08/image_11012025_15_08_02_635651_0001.jpg', '/home/pi/Desktop/images/11012025/15/08/image_11012025_15_08_02_635651_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/07/image_11012025_15_07_02_450318_0003.jpg
/home/pi/Desktop/images/11012025/15/08/image_11012025_15_08_02_635651_0000.jpg
/home/pi/Desktop/images/11012025/15/08/image_11012025_15_08_02_635651_0001.jpg
/home/pi/Desktop/images/11012025/15/08/image_11012025_15_08_02_635651_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328187833","1328187830","1328187824","1328187827"],"photo_ids_order":["1328187824","1328187827","1328187830","1328187833"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/676b9221f508a662e784e6299ac4ce25.jpg","text":"TemporaryFile(/tmp/multipartBody1079315101910273604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604572566,"filename":"image_11012025_15_08_02_635651_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f5469d3d22e2bb185386c525ea86557f.jpg","text":"TemporaryFile(/tmp/multipartBody463524026283151053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604572566,"filename":"image_11012025_15_08_02_635651_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d12dfdaaccf482e6bdfd709ff4ebfbd3.jpg","text":"TemporaryFile(/tmp/multipartBody8172988689689288488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604572566,"filename":"image_11012025_15_07_02_450318_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dd3610e360f167fef02c185cd2f3bf8b.jpg","text":"TemporaryFile(/tmp/multipartBody5538006129262893184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604572566,"filename":"image_11012025_15_08_02_635651_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328187830","file1":"1328187827","file0":"1328187824","file3":"1328187833"},"map_files_photo_id_array":[{"photo_id":"1328187830","filename":"file2"},{"photo_id":"1328187827","filename":"file1"},{"photo_id":"1328187824","filename":"file0"},{"photo_id":"1328187833","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328187833":["hashtag1","hashtag2"]},{"1328187830":["hashtag1","hashtag2"]},{"1328187824":["hashtag1","hashtag2"]},{"1328187827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328187833, 1328187830, 1328187824, 1328187827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.97834038734436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:09:03.008349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:09:22.551385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/08/image_11012025_15_08_02_635651_0003.jpg', '/home/pi/Desktop/images/11012025/15/09/image_11012025_15_09_02_818664_0000.jpg', '/home/pi/Desktop/images/11012025/15/09/image_11012025_15_09_02_818664_0001.jpg', '/home/pi/Desktop/images/11012025/15/09/image_11012025_15_09_02_818664_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/08/image_11012025_15_08_02_635651_0003.jpg
/home/pi/Desktop/images/11012025/15/09/image_11012025_15_09_02_818664_0000.jpg
/home/pi/Desktop/images/11012025/15/09/image_11012025_15_09_02_818664_0001.jpg
/home/pi/Desktop/images/11012025/15/09/image_11012025_15_09_02_818664_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328187849","1328187846","1328187878","1328187860"],"photo_ids_order":["1328187846","1328187849","1328187860","1328187878"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9a67dc468a0d0ae3dfe6aa7b7c5f7c30.jpg","text":"TemporaryFile(/tmp/multipartBody5341282756625575740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604632673,"filename":"image_11012025_15_09_02_818664_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3c55f1d1288029fdc4276c5aa8b90e55.jpg","text":"TemporaryFile(/tmp/multipartBody5156705183065970083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604632673,"filename":"image_11012025_15_08_02_635651_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d0e04438abfe4795d2ab2a17113b34d9.jpg","text":"TemporaryFile(/tmp/multipartBody1205500477244636264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604632673,"filename":"image_11012025_15_09_02_818664_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8a527fab41e877d098327ceb30a3587e.jpg","text":"TemporaryFile(/tmp/multipartBody4493282943331011888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604632673,"filename":"image_11012025_15_09_02_818664_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328187860","file1":"1328187849","file0":"1328187846","file3":"1328187878"},"map_files_photo_id_array":[{"photo_id":"1328187860","filename":"file2"},{"photo_id":"1328187849","filename":"file1"},{"photo_id":"1328187846","filename":"file0"},{"photo_id":"1328187878","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328187849":["hashtag1","hashtag2"]},{"1328187846":["hashtag1","hashtag2"]},{"1328187878":["hashtag1","hashtag2"]},{"1328187860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328187849, 1328187846, 1328187878, 1328187860)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.65524888038635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:10:22.702667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/09/image_11012025_15_09_02_818664_0003.jpg', '/home/pi/Desktop/images/11012025/15/10/image_11012025_15_10_02_845122_0000.jpg', '/home/pi/Desktop/images/11012025/15/10/image_11012025_15_10_02_845122_0001.jpg', '/home/pi/Desktop/images/11012025/15/10/image_11012025_15_10_02_845122_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/09/image_11012025_15_09_02_818664_0003.jpg
/home/pi/Desktop/images/11012025/15/10/image_11012025_15_10_02_845122_0000.jpg
/home/pi/Desktop/images/11012025/15/10/image_11012025_15_10_02_845122_0001.jpg
/home/pi/Desktop/images/11012025/15/10/image_11012025_15_10_02_845122_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328187912","1328187915","1328187909","1328187905"],"photo_ids_order":["1328187905","1328187909","1328187912","1328187915"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4e9c73509211eedb8faa4ff5f520adb9.jpg","text":"TemporaryFile(/tmp/multipartBody3825919396621779930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604692865,"filename":"image_11012025_15_10_02_845122_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/05dd9036a2a674cd2c9b339f86d86df7.jpg","text":"TemporaryFile(/tmp/multipartBody8290499045619234689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604692865,"filename":"image_11012025_15_10_02_845122_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eb929c6c27bdcf3c9ef508014f970021.jpg","text":"TemporaryFile(/tmp/multipartBody4811998913044376058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604692865,"filename":"image_11012025_15_10_02_845122_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8bb5f97f5fb1b0c989751d275fe14555.jpg","text":"TemporaryFile(/tmp/multipartBody4900262854629749999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604692865,"filename":"image_11012025_15_09_02_818664_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328187912","file1":"1328187909","file0":"1328187905","file3":"1328187915"},"map_files_photo_id_array":[{"photo_id":"1328187912","filename":"file2"},{"photo_id":"1328187909","filename":"file1"},{"photo_id":"1328187905","filename":"file0"},{"photo_id":"1328187915","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328187912":["hashtag1","hashtag2"]},{"1328187915":["hashtag1","hashtag2"]},{"1328187909":["hashtag1","hashtag2"]},{"1328187905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328187912, 1328187915, 1328187909, 1328187905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.42056918144226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:11:21.884369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/10/image_11012025_15_10_02_845122_0003.jpg', '/home/pi/Desktop/images/11012025/15/11/image_11012025_15_11_03_028492_0000.jpg', '/home/pi/Desktop/images/11012025/15/11/image_11012025_15_11_03_028492_0001.jpg', '/home/pi/Desktop/images/11012025/15/11/image_11012025_15_11_03_028492_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/10/image_11012025_15_10_02_845122_0003.jpg
/home/pi/Desktop/images/11012025/15/11/image_11012025_15_11_03_028492_0000.jpg
/home/pi/Desktop/images/11012025/15/11/image_11012025_15_11_03_028492_0001.jpg
/home/pi/Desktop/images/11012025/15/11/image_11012025_15_11_03_028492_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328188055","1328188057","1328188051","1328187978"],"photo_ids_order":["1328187978","1328188051","1328188055","1328188057"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cda750d0b76745fede63b0e56002f746.jpg","text":"TemporaryFile(/tmp/multipartBody2259004231943025915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604752125,"filename":"image_11012025_15_11_03_028492_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/16d0401092b5d1b8e5766cb88d08cf62.jpg","text":"TemporaryFile(/tmp/multipartBody3068706922285897474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604752125,"filename":"image_11012025_15_11_03_028492_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c9f60b0adb7d53601696131fd98da092.jpg","text":"TemporaryFile(/tmp/multipartBody1082121975572140063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604752125,"filename":"image_11012025_15_11_03_028492_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cc3de0213d797bcf4c97c6c6ac328cb9.jpg","text":"TemporaryFile(/tmp/multipartBody616475757271060030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604752125,"filename":"image_11012025_15_10_02_845122_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328188055","file1":"1328188051","file0":"1328187978","file3":"1328188057"},"map_files_photo_id_array":[{"photo_id":"1328188055","filename":"file2"},{"photo_id":"1328188051","filename":"file1"},{"photo_id":"1328187978","filename":"file0"},{"photo_id":"1328188057","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328188055":["hashtag1","hashtag2"]},{"1328188057":["hashtag1","hashtag2"]},{"1328188051":["hashtag1","hashtag2"]},{"1328187978":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328188055, 1328188057, 1328188051, 1328187978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.60053300857544 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-11 15:12:22.021011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/11/image_11012025_15_11_03_028492_0003.jpg', '/home/pi/Desktop/images/11012025/15/12/image_11012025_15_12_02_201454_0000.jpg', '/home/pi/Desktop/images/11012025/15/12/image_11012025_15_12_02_201454_0001.jpg', '/home/pi/Desktop/images/11012025/15/12/image_11012025_15_12_02_201454_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/11/image_11012025_15_11_03_028492_0003.jpg
/home/pi/Desktop/images/11012025/15/12/image_11012025_15_12_02_201454_0000.jpg
/home/pi/Desktop/images/11012025/15/12/image_11012025_15_12_02_201454_0001.jpg
/home/pi/Desktop/images/11012025/15/12/image_11012025_15_12_02_201454_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328188093","1328188096","1328188086","1328188089"],"photo_ids_order":["1328188086","1328188089","1328188093","1328188096"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7ba14d734db5bf53e18662f7085f7c68.jpg","text":"TemporaryFile(/tmp/multipartBody5426047489404103792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604812244,"filename":"image_11012025_15_12_02_201454_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b8edd88562c71424b44136b47f44009d.jpg","text":"TemporaryFile(/tmp/multipartBody5044448486177905469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604812244,"filename":"image_11012025_15_12_02_201454_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8f8b497bcc731ac2aa53ab0438f203ec.jpg","text":"TemporaryFile(/tmp/multipartBody3986355974574106912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604812244,"filename":"image_11012025_15_11_03_028492_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/48b7762779687877617db2784d25603a.jpg","text":"TemporaryFile(/tmp/multipartBody169721864863671827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604812244,"filename":"image_11012025_15_12_02_201454_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328188093","file1":"1328188089","file0":"1328188086","file3":"1328188096"},"map_files_photo_id_array":[{"photo_id":"1328188093","filename":"file2"},{"photo_id":"1328188089","filename":"file1"},{"photo_id":"1328188086","filename":"file0"},{"photo_id":"1328188096","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328188093":["hashtag1","hashtag2"]},{"1328188096":["hashtag1","hashtag2"]},{"1328188086":["hashtag1","hashtag2"]},{"1328188089":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328188093, 1328188096, 1328188086, 1328188089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.59556198120117 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:13:22.243553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/12/image_11012025_15_12_02_201454_0003.jpg', '/home/pi/Desktop/images/11012025/15/13/image_11012025_15_13_02_378684_0000.jpg', '/home/pi/Desktop/images/11012025/15/13/image_11012025_15_13_02_378684_0001.jpg', '/home/pi/Desktop/images/11012025/15/13/image_11012025_15_13_02_378684_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/12/image_11012025_15_12_02_201454_0003.jpg
/home/pi/Desktop/images/11012025/15/13/image_11012025_15_13_02_378684_0000.jpg
/home/pi/Desktop/images/11012025/15/13/image_11012025_15_13_02_378684_0001.jpg
/home/pi/Desktop/images/11012025/15/13/image_11012025_15_13_02_378684_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328188347","1328188349","1328188396","1328188363"],"photo_ids_order":["1328188347","1328188349","1328188363","1328188396"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c84cfe53dbf945054b0666aae7d0d958.jpg","text":"TemporaryFile(/tmp/multipartBody8137250219443605765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604872398,"filename":"image_11012025_15_12_02_201454_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a591d41dd17171c06023642aedaf3d52.jpg","text":"TemporaryFile(/tmp/multipartBody6314850935295012975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604872398,"filename":"image_11012025_15_13_02_378684_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/935707ae2f9bef0e8f9c29a9cc13931a.jpg","text":"TemporaryFile(/tmp/multipartBody460134250846059338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604872398,"filename":"image_11012025_15_13_02_378684_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/71e3e53730bef7c79e98eefa9d3ea12f.jpg","text":"TemporaryFile(/tmp/multipartBody8265871815694460987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604872398,"filename":"image_11012025_15_13_02_378684_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328188363","file1":"1328188349","file0":"1328188347","file3":"1328188396"},"map_files_photo_id_array":[{"photo_id":"1328188363","filename":"file2"},{"photo_id":"1328188349","filename":"file1"},{"photo_id":"1328188347","filename":"file0"},{"photo_id":"1328188396","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328188347":["hashtag1","hashtag2"]},{"1328188349":["hashtag1","hashtag2"]},{"1328188396":["hashtag1","hashtag2"]},{"1328188363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328188347, 1328188349, 1328188396, 1328188363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.34844946861267 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:14:22.354668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/13/image_11012025_15_13_02_378684_0003.jpg', '/home/pi/Desktop/images/11012025/15/14/image_11012025_15_14_02_589584_0000.jpg', '/home/pi/Desktop/images/11012025/15/14/image_11012025_15_14_02_589584_0001.jpg', '/home/pi/Desktop/images/11012025/15/14/image_11012025_15_14_02_589584_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/13/image_11012025_15_13_02_378684_0003.jpg
/home/pi/Desktop/images/11012025/15/14/image_11012025_15_14_02_589584_0000.jpg
/home/pi/Desktop/images/11012025/15/14/image_11012025_15_14_02_589584_0001.jpg
/home/pi/Desktop/images/11012025/15/14/image_11012025_15_14_02_589584_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.830688953399658 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 15:14:42.338994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/13/image_11012025_15_13_02_378684_0003.jpg', '/home/pi/Desktop/images/11012025/15/14/image_11012025_15_14_02_589584_0000.jpg', '/home/pi/Desktop/images/11012025/15/14/image_11012025_15_14_02_589584_0001.jpg', '/home/pi/Desktop/images/11012025/15/14/image_11012025_15_14_02_589584_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/13/image_11012025_15_13_02_378684_0003.jpg
/home/pi/Desktop/images/11012025/15/14/image_11012025_15_14_02_589584_0000.jpg
/home/pi/Desktop/images/11012025/15/14/image_11012025_15_14_02_589584_0001.jpg
/home/pi/Desktop/images/11012025/15/14/image_11012025_15_14_02_589584_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328188623","1328188568","1328188517","1328188627"],"photo_ids_order":["1328188517","1328188568","1328188623","1328188627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6456fab3f2a0a3823a18c1893fbf5744.jpg","text":"TemporaryFile(/tmp/multipartBody6833693141519726238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604952581,"filename":"image_11012025_15_14_02_589584_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a1de99577163235c1b7d321ec8dcbfba.jpg","text":"TemporaryFile(/tmp/multipartBody1841438633676875786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604952581,"filename":"image_11012025_15_14_02_589584_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aa62787ca7a2e1caeb9eeedb91dd09cd.jpg","text":"TemporaryFile(/tmp/multipartBody8714826033006438808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604952581,"filename":"image_11012025_15_13_02_378684_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a935cc1d23df2b9ddddc78562c71aa15.jpg","text":"TemporaryFile(/tmp/multipartBody6105237188599995858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736604952581,"filename":"image_11012025_15_14_02_589584_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328188623","file1":"1328188568","file0":"1328188517","file3":"1328188627"},"map_files_photo_id_array":[{"photo_id":"1328188623","filename":"file2"},{"photo_id":"1328188568","filename":"file1"},{"photo_id":"1328188517","filename":"file0"},{"photo_id":"1328188627","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328188623":["hashtag1","hashtag2"]},{"1328188568":["hashtag1","hashtag2"]},{"1328188517":["hashtag1","hashtag2"]},{"1328188627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328188623, 1328188568, 1328188517, 1328188627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.45005941390991 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 15:15:32.599435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/14/image_11012025_15_14_02_589584_0003.jpg', '/home/pi/Desktop/images/11012025/15/15/image_11012025_15_15_02_725619_0000.jpg', '/home/pi/Desktop/images/11012025/15/15/image_11012025_15_15_02_725619_0001.jpg', '/home/pi/Desktop/images/11012025/15/15/image_11012025_15_15_02_725619_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/14/image_11012025_15_14_02_589584_0003.jpg
/home/pi/Desktop/images/11012025/15/15/image_11012025_15_15_02_725619_0000.jpg
/home/pi/Desktop/images/11012025/15/15/image_11012025_15_15_02_725619_0001.jpg
/home/pi/Desktop/images/11012025/15/15/image_11012025_15_15_02_725619_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328188703","1328188714","1328188683","1328188662"],"photo_ids_order":["1328188662","1328188683","1328188703","1328188714"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/17ca2abcd2b27c5227f98f77c01e7447.jpg","text":"TemporaryFile(/tmp/multipartBody6599877400135853465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605002852,"filename":"image_11012025_15_15_02_725619_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d75cfac67585c9e952ee90c2074cb824.jpg","text":"TemporaryFile(/tmp/multipartBody3512509852861731571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605002852,"filename":"image_11012025_15_15_02_725619_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b05a0e93f8be35270c3cee536da2cf47.jpg","text":"TemporaryFile(/tmp/multipartBody5959048662262094930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605002852,"filename":"image_11012025_15_15_02_725619_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b67087b398a2e07cd04035e9d7a2864e.jpg","text":"TemporaryFile(/tmp/multipartBody4375481342836012649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605002852,"filename":"image_11012025_15_14_02_589584_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328188703","file1":"1328188683","file0":"1328188662","file3":"1328188714"},"map_files_photo_id_array":[{"photo_id":"1328188703","filename":"file2"},{"photo_id":"1328188683","filename":"file1"},{"photo_id":"1328188662","filename":"file0"},{"photo_id":"1328188714","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328188703":["hashtag1","hashtag2"]},{"1328188714":["hashtag1","hashtag2"]},{"1328188683":["hashtag1","hashtag2"]},{"1328188662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328188703, 1328188714, 1328188683, 1328188662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.18738126754761 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:16:22.807011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/15/image_11012025_15_15_02_725619_0003.jpg', '/home/pi/Desktop/images/11012025/15/16/image_11012025_15_16_02_875522_0000.jpg', '/home/pi/Desktop/images/11012025/15/16/image_11012025_15_16_02_875522_0001.jpg', '/home/pi/Desktop/images/11012025/15/16/image_11012025_15_16_02_875522_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/15/image_11012025_15_15_02_725619_0003.jpg
/home/pi/Desktop/images/11012025/15/16/image_11012025_15_16_02_875522_0000.jpg
/home/pi/Desktop/images/11012025/15/16/image_11012025_15_16_02_875522_0001.jpg
/home/pi/Desktop/images/11012025/15/16/image_11012025_15_16_02_875522_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328188736","1328188738","1328188732","1328188734"],"photo_ids_order":["1328188732","1328188734","1328188736","1328188738"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e92404dec82d1896401ba3f04de08c86.jpg","text":"TemporaryFile(/tmp/multipartBody2463750527236290975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605052823,"filename":"image_11012025_15_16_02_875522_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/af7a76fa49e4b263d01b9a1d48ff070c.jpg","text":"TemporaryFile(/tmp/multipartBody5198191600516842355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605052823,"filename":"image_11012025_15_16_02_875522_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5e81c6c0244ff955bb5b397553ba4170.jpg","text":"TemporaryFile(/tmp/multipartBody5889050554173526552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605052823,"filename":"image_11012025_15_15_02_725619_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/40d46bb77cbb90fb3c4d5ad48c6eee8a.jpg","text":"TemporaryFile(/tmp/multipartBody7694759253595602894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605052823,"filename":"image_11012025_15_16_02_875522_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328188736","file1":"1328188734","file0":"1328188732","file3":"1328188738"},"map_files_photo_id_array":[{"photo_id":"1328188736","filename":"file2"},{"photo_id":"1328188734","filename":"file1"},{"photo_id":"1328188732","filename":"file0"},{"photo_id":"1328188738","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328188736":["hashtag1","hashtag2"]},{"1328188738":["hashtag1","hashtag2"]},{"1328188732":["hashtag1","hashtag2"]},{"1328188734":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328188736, 1328188738, 1328188732, 1328188734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.57621765136719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:17:02.453941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:17:21.817077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/16/image_11012025_15_16_02_875522_0003.jpg', '/home/pi/Desktop/images/11012025/15/17/image_11012025_15_17_03_032707_0000.jpg', '/home/pi/Desktop/images/11012025/15/17/image_11012025_15_17_03_032707_0001.jpg', '/home/pi/Desktop/images/11012025/15/17/image_11012025_15_17_03_032707_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/16/image_11012025_15_16_02_875522_0003.jpg
/home/pi/Desktop/images/11012025/15/17/image_11012025_15_17_03_032707_0000.jpg
/home/pi/Desktop/images/11012025/15/17/image_11012025_15_17_03_032707_0001.jpg
/home/pi/Desktop/images/11012025/15/17/image_11012025_15_17_03_032707_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328188892","1328188751","1328188894","1328188816"],"photo_ids_order":["1328188751","1328188816","1328188892","1328188894"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/95e83a863a53b877e5308b29cbf52d60.jpg","text":"TemporaryFile(/tmp/multipartBody5178094104918604280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605112042,"filename":"image_11012025_15_17_03_032707_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c60559c9e9fd492bc56af850531b4c8b.jpg","text":"TemporaryFile(/tmp/multipartBody3096700991026287559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605112042,"filename":"image_11012025_15_16_02_875522_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6193b6d099d254c7604371d2d5e665b7.jpg","text":"TemporaryFile(/tmp/multipartBody7259596421659654489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605112042,"filename":"image_11012025_15_17_03_032707_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/439b00c404fffee167197cabcf0b554e.jpg","text":"TemporaryFile(/tmp/multipartBody7733917609659982970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605112042,"filename":"image_11012025_15_17_03_032707_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328188892","file1":"1328188816","file0":"1328188751","file3":"1328188894"},"map_files_photo_id_array":[{"photo_id":"1328188892","filename":"file2"},{"photo_id":"1328188816","filename":"file1"},{"photo_id":"1328188751","filename":"file0"},{"photo_id":"1328188894","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328188892":["hashtag1","hashtag2"]},{"1328188751":["hashtag1","hashtag2"]},{"1328188894":["hashtag1","hashtag2"]},{"1328188816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328188892, 1328188751, 1328188894, 1328188816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.55132818222046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:18:22.000118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/17/image_11012025_15_17_03_032707_0003.jpg', '/home/pi/Desktop/images/11012025/15/18/image_11012025_15_18_02_212725_0000.jpg', '/home/pi/Desktop/images/11012025/15/18/image_11012025_15_18_02_212725_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/17/image_11012025_15_17_03_032707_0003.jpg
/home/pi/Desktop/images/11012025/15/18/image_11012025_15_18_02_212725_0000.jpg
/home/pi/Desktop/images/11012025/15/18/image_11012025_15_18_02_212725_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":["1328188929","1328188931","1328188907"],"photo_ids_order":["1328188907","1328188929","1328188931"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b68387cdf75e32db1380511dbe63ef19.jpg","text":"TemporaryFile(/tmp/multipartBody7215122644630025470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605169884,"filename":"image_11012025_15_18_02_212725_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/06f4394ad8a132daf6a6428a4d4fef4c.jpg","text":"TemporaryFile(/tmp/multipartBody8430616492789960514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605169884,"filename":"image_11012025_15_18_02_212725_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bf8a12019e7cefb24877cf05f75c8ac2.jpg","text":"TemporaryFile(/tmp/multipartBody7390735962669874972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605169884,"filename":"image_11012025_15_17_03_032707_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328188931","file1":"1328188929","file0":"1328188907"},"map_files_photo_id_array":[{"photo_id":"1328188931","filename":"file2"},{"photo_id":"1328188929","filename":"file1"},{"photo_id":"1328188907","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328188929":["hashtag1","hashtag2"]},{"1328188931":["hashtag1","hashtag2"]},{"1328188907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328188929, 1328188931, 1328188907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.45454239845276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:19:02.848335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:19:22.183365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/18/image_11012025_15_18_02_212725_0003.jpg', '/home/pi/Desktop/images/11012025/15/19/image_11012025_15_19_02_378307_0000.jpg', '/home/pi/Desktop/images/11012025/15/19/image_11012025_15_19_02_378307_0001.jpg', '/home/pi/Desktop/images/11012025/15/19/image_11012025_15_19_02_378307_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/18/image_11012025_15_18_02_212725_0003.jpg
/home/pi/Desktop/images/11012025/15/19/image_11012025_15_19_02_378307_0000.jpg
/home/pi/Desktop/images/11012025/15/19/image_11012025_15_19_02_378307_0001.jpg
/home/pi/Desktop/images/11012025/15/19/image_11012025_15_19_02_378307_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328189966","1328189909","1328190014","1328189964"],"photo_ids_order":["1328189909","1328189964","1328189966","1328190014"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e883759e507c7b1e5fcc34e67cd5cef6.jpg","text":"TemporaryFile(/tmp/multipartBody2460578351400284687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605232461,"filename":"image_11012025_15_19_02_378307_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c681dc2359a5fc317d73eb2dcdcdc489.jpg","text":"TemporaryFile(/tmp/multipartBody3953242064029928977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605232461,"filename":"image_11012025_15_18_02_212725_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/583113786b0059da72c8b6b84bc6ba6f.jpg","text":"TemporaryFile(/tmp/multipartBody392229435898898812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605232461,"filename":"image_11012025_15_19_02_378307_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aaed6a0fcb279aa2f59661408c2b1b6c.jpg","text":"TemporaryFile(/tmp/multipartBody8902292422001550739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605232461,"filename":"image_11012025_15_19_02_378307_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328189966","file1":"1328189964","file0":"1328189909","file3":"1328190014"},"map_files_photo_id_array":[{"photo_id":"1328189966","filename":"file2"},{"photo_id":"1328189964","filename":"file1"},{"photo_id":"1328189909","filename":"file0"},{"photo_id":"1328190014","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328189966":["hashtag1","hashtag2"]},{"1328189909":["hashtag1","hashtag2"]},{"1328190014":["hashtag1","hashtag2"]},{"1328189964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328189966, 1328189909, 1328190014, 1328189964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.816521644592285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:20:22.307801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/19/image_11012025_15_19_02_378307_0003.jpg', '/home/pi/Desktop/images/11012025/15/20/image_11012025_15_20_02_519567_0000.jpg', '/home/pi/Desktop/images/11012025/15/20/image_11012025_15_20_02_519567_0001.jpg', '/home/pi/Desktop/images/11012025/15/20/image_11012025_15_20_02_519567_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/19/image_11012025_15_19_02_378307_0003.jpg
/home/pi/Desktop/images/11012025/15/20/image_11012025_15_20_02_519567_0000.jpg
/home/pi/Desktop/images/11012025/15/20/image_11012025_15_20_02_519567_0001.jpg
/home/pi/Desktop/images/11012025/15/20/image_11012025_15_20_02_519567_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.625086784362793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 15:20:42.305995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/19/image_11012025_15_19_02_378307_0003.jpg', '/home/pi/Desktop/images/11012025/15/20/image_11012025_15_20_02_519567_0000.jpg', '/home/pi/Desktop/images/11012025/15/20/image_11012025_15_20_02_519567_0001.jpg', '/home/pi/Desktop/images/11012025/15/20/image_11012025_15_20_02_519567_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/19/image_11012025_15_19_02_378307_0003.jpg
/home/pi/Desktop/images/11012025/15/20/image_11012025_15_20_02_519567_0000.jpg
/home/pi/Desktop/images/11012025/15/20/image_11012025_15_20_02_519567_0001.jpg
/home/pi/Desktop/images/11012025/15/20/image_11012025_15_20_02_519567_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328190303","1328190408","1328190035","1328190433"],"photo_ids_order":["1328190035","1328190303","1328190408","1328190433"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e583ad48364180d73b97185b97683a60.jpg","text":"TemporaryFile(/tmp/multipartBody4968833554112925606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605312329,"filename":"image_11012025_15_20_02_519567_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/13757c3b397cfa304f904e2b74fb9a71.jpg","text":"TemporaryFile(/tmp/multipartBody469393308127115167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605312329,"filename":"image_11012025_15_20_02_519567_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/34c5eb49c0e1dccfcd775288623a14a9.jpg","text":"TemporaryFile(/tmp/multipartBody5333008260201969692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605312329,"filename":"image_11012025_15_19_02_378307_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c9b02e9d75aca64522fe1b185323d794.jpg","text":"TemporaryFile(/tmp/multipartBody1694422138082902800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605312329,"filename":"image_11012025_15_20_02_519567_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328190408","file1":"1328190303","file0":"1328190035","file3":"1328190433"},"map_files_photo_id_array":[{"photo_id":"1328190408","filename":"file2"},{"photo_id":"1328190303","filename":"file1"},{"photo_id":"1328190035","filename":"file0"},{"photo_id":"1328190433","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328190303":["hashtag1","hashtag2"]},{"1328190408":["hashtag1","hashtag2"]},{"1328190035":["hashtag1","hashtag2"]},{"1328190433":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328190303, 1328190408, 1328190035, 1328190433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.82755422592163 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:21:22.445549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/20/image_11012025_15_20_02_519567_0003.jpg', '/home/pi/Desktop/images/11012025/15/21/image_11012025_15_21_02_640348_0000.jpg', '/home/pi/Desktop/images/11012025/15/21/image_11012025_15_21_02_640348_0001.jpg', '/home/pi/Desktop/images/11012025/15/21/image_11012025_15_21_02_640348_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/20/image_11012025_15_20_02_519567_0003.jpg
/home/pi/Desktop/images/11012025/15/21/image_11012025_15_21_02_640348_0000.jpg
/home/pi/Desktop/images/11012025/15/21/image_11012025_15_21_02_640348_0001.jpg
/home/pi/Desktop/images/11012025/15/21/image_11012025_15_21_02_640348_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328190540","1328190542","1328190524","1328190544"],"photo_ids_order":["1328190524","1328190540","1328190542","1328190544"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/adf9b242c356e9b1e465cf2c18b258ea.jpg","text":"TemporaryFile(/tmp/multipartBody2637558608861486719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605352703,"filename":"image_11012025_15_21_02_640348_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6a96419d07546aa4ae90cdcea8a4f5ab.jpg","text":"TemporaryFile(/tmp/multipartBody5793736840701116119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605352703,"filename":"image_11012025_15_21_02_640348_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b5366848cbcf4907231ba1824b0a697c.jpg","text":"TemporaryFile(/tmp/multipartBody4448798476267971161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605352703,"filename":"image_11012025_15_20_02_519567_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dfb1b67aad4a29362719ef7968f71091.jpg","text":"TemporaryFile(/tmp/multipartBody2188771318355500333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605352703,"filename":"image_11012025_15_21_02_640348_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328190542","file1":"1328190540","file0":"1328190524","file3":"1328190544"},"map_files_photo_id_array":[{"photo_id":"1328190542","filename":"file2"},{"photo_id":"1328190540","filename":"file1"},{"photo_id":"1328190524","filename":"file0"},{"photo_id":"1328190544","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328190540":["hashtag1","hashtag2"]},{"1328190542":["hashtag1","hashtag2"]},{"1328190524":["hashtag1","hashtag2"]},{"1328190544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328190540, 1328190542, 1328190524, 1328190544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.958385944366455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:22:22.696777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/21/image_11012025_15_21_02_640348_0003.jpg', '/home/pi/Desktop/images/11012025/15/22/image_11012025_15_22_02_869279_0000.jpg', '/home/pi/Desktop/images/11012025/15/22/image_11012025_15_22_02_869279_0001.jpg', '/home/pi/Desktop/images/11012025/15/22/image_11012025_15_22_02_869279_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/21/image_11012025_15_21_02_640348_0003.jpg
/home/pi/Desktop/images/11012025/15/22/image_11012025_15_22_02_869279_0000.jpg
/home/pi/Desktop/images/11012025/15/22/image_11012025_15_22_02_869279_0001.jpg
/home/pi/Desktop/images/11012025/15/22/image_11012025_15_22_02_869279_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328190606","1328190598","1328190602","1328190604"],"photo_ids_order":["1328190598","1328190602","1328190604","1328190606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/85ef6892f0458ad3554d038de5379bc8.jpg","text":"TemporaryFile(/tmp/multipartBody5222486234699071479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605412801,"filename":"image_11012025_15_22_02_869279_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3f35c17f7f8cd38c19fb4c05952aa460.jpg","text":"TemporaryFile(/tmp/multipartBody2339518284337350394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605412801,"filename":"image_11012025_15_21_02_640348_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/11744a501c3328006c4ecd8a32f509d7.jpg","text":"TemporaryFile(/tmp/multipartBody636183441400393425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605412801,"filename":"image_11012025_15_22_02_869279_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/36c74aa79e43ef4a392777db1c81b7de.jpg","text":"TemporaryFile(/tmp/multipartBody132471029110709417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605412801,"filename":"image_11012025_15_22_02_869279_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328190604","file1":"1328190602","file0":"1328190598","file3":"1328190606"},"map_files_photo_id_array":[{"photo_id":"1328190604","filename":"file2"},{"photo_id":"1328190602","filename":"file1"},{"photo_id":"1328190598","filename":"file0"},{"photo_id":"1328190606","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328190606":["hashtag1","hashtag2"]},{"1328190598":["hashtag1","hashtag2"]},{"1328190602":["hashtag1","hashtag2"]},{"1328190604":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328190606, 1328190598, 1328190602, 1328190604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.007128953933716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:23:21.832167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/22/image_11012025_15_22_02_869279_0003.jpg', '/home/pi/Desktop/images/11012025/15/23/image_11012025_15_23_03_017638_0000.jpg', '/home/pi/Desktop/images/11012025/15/23/image_11012025_15_23_03_017638_0001.jpg', '/home/pi/Desktop/images/11012025/15/23/image_11012025_15_23_03_017638_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/22/image_11012025_15_22_02_869279_0003.jpg
/home/pi/Desktop/images/11012025/15/23/image_11012025_15_23_03_017638_0000.jpg
/home/pi/Desktop/images/11012025/15/23/image_11012025_15_23_03_017638_0001.jpg
/home/pi/Desktop/images/11012025/15/23/image_11012025_15_23_03_017638_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328190624","1328190626","1328190628","1328190619"],"photo_ids_order":["1328190619","1328190624","1328190626","1328190628"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1f555eae716d015397f321bb648e09c8.jpg","text":"TemporaryFile(/tmp/multipartBody6241540561924387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605471902,"filename":"image_11012025_15_23_03_017638_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b97096c38c8f9d2d587095ca4ac9051b.jpg","text":"TemporaryFile(/tmp/multipartBody420551920651760511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605471902,"filename":"image_11012025_15_23_03_017638_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2279ea8cfab8c430337ca06d12f24783.jpg","text":"TemporaryFile(/tmp/multipartBody6155636775422399355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605471902,"filename":"image_11012025_15_23_03_017638_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/57041a25628a33dda66731abd1cb6435.jpg","text":"TemporaryFile(/tmp/multipartBody5895532262968113945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605471902,"filename":"image_11012025_15_22_02_869279_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328190626","file1":"1328190624","file0":"1328190619","file3":"1328190628"},"map_files_photo_id_array":[{"photo_id":"1328190626","filename":"file2"},{"photo_id":"1328190624","filename":"file1"},{"photo_id":"1328190619","filename":"file0"},{"photo_id":"1328190628","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328190624":["hashtag1","hashtag2"]},{"1328190626":["hashtag1","hashtag2"]},{"1328190628":["hashtag1","hashtag2"]},{"1328190619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328190624, 1328190626, 1328190628, 1328190619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.078134059906006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:24:02.445887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:24:22.059924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/23/image_11012025_15_23_03_017638_0003.jpg', '/home/pi/Desktop/images/11012025/15/24/image_11012025_15_24_02_156153_0000.jpg', '/home/pi/Desktop/images/11012025/15/24/image_11012025_15_24_02_156153_0001.jpg', '/home/pi/Desktop/images/11012025/15/24/image_11012025_15_24_02_156153_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/23/image_11012025_15_23_03_017638_0003.jpg
/home/pi/Desktop/images/11012025/15/24/image_11012025_15_24_02_156153_0000.jpg
/home/pi/Desktop/images/11012025/15/24/image_11012025_15_24_02_156153_0001.jpg
/home/pi/Desktop/images/11012025/15/24/image_11012025_15_24_02_156153_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.801414012908936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 15:24:42.011237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/23/image_11012025_15_23_03_017638_0003.jpg', '/home/pi/Desktop/images/11012025/15/24/image_11012025_15_24_02_156153_0000.jpg', '/home/pi/Desktop/images/11012025/15/24/image_11012025_15_24_02_156153_0001.jpg', '/home/pi/Desktop/images/11012025/15/24/image_11012025_15_24_02_156153_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/23/image_11012025_15_23_03_017638_0003.jpg
/home/pi/Desktop/images/11012025/15/24/image_11012025_15_24_02_156153_0000.jpg
/home/pi/Desktop/images/11012025/15/24/image_11012025_15_24_02_156153_0001.jpg
/home/pi/Desktop/images/11012025/15/24/image_11012025_15_24_02_156153_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328190989","1328190986","1328190985","1328190987"],"photo_ids_order":["1328190985","1328190986","1328190987","1328190989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5edb67be020ce80c91887b52478df907.jpg","text":"TemporaryFile(/tmp/multipartBody8804675752773630937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605552219,"filename":"image_11012025_15_24_02_156153_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2b5f94fa90ea9def547012f0d148f11c.jpg","text":"TemporaryFile(/tmp/multipartBody7107002062669803792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605552219,"filename":"image_11012025_15_24_02_156153_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3c72d3cdc836c9a2a25d709d6cb10440.jpg","text":"TemporaryFile(/tmp/multipartBody5003590458872913555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605552219,"filename":"image_11012025_15_23_03_017638_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1d1bf7b165e0defea9449ffa965c8e7a.jpg","text":"TemporaryFile(/tmp/multipartBody1194461235779985261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605552219,"filename":"image_11012025_15_24_02_156153_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328190987","file1":"1328190986","file0":"1328190985","file3":"1328190989"},"map_files_photo_id_array":[{"photo_id":"1328190987","filename":"file2"},{"photo_id":"1328190986","filename":"file1"},{"photo_id":"1328190985","filename":"file0"},{"photo_id":"1328190989","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328190989":["hashtag1","hashtag2"]},{"1328190986":["hashtag1","hashtag2"]},{"1328190985":["hashtag1","hashtag2"]},{"1328190987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328190989, 1328190986, 1328190985, 1328190987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.97924494743347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:25:22.232318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/24/image_11012025_15_24_02_156153_0003.jpg', '/home/pi/Desktop/images/11012025/15/25/image_11012025_15_25_02_417363_0000.jpg', '/home/pi/Desktop/images/11012025/15/25/image_11012025_15_25_02_417363_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/24/image_11012025_15_24_02_156153_0003.jpg
/home/pi/Desktop/images/11012025/15/25/image_11012025_15_25_02_417363_0000.jpg
/home/pi/Desktop/images/11012025/15/25/image_11012025_15_25_02_417363_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":["1328191008","1328190999","1328191005"],"photo_ids_order":["1328190999","1328191005","1328191008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/41f3175f7d5d93c47d4be933faec972e.jpg","text":"TemporaryFile(/tmp/multipartBody4840388684050057127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605589983,"filename":"image_11012025_15_25_02_417363_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cc076e34ee48fc0390e41334e9402018.jpg","text":"TemporaryFile(/tmp/multipartBody1781891496739496829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605589983,"filename":"image_11012025_15_24_02_156153_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/21eb70a56a3678785b7deeb687c0cfbb.jpg","text":"TemporaryFile(/tmp/multipartBody1570056456570268036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605589983,"filename":"image_11012025_15_25_02_417363_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328191008","file1":"1328191005","file0":"1328190999"},"map_files_photo_id_array":[{"photo_id":"1328191008","filename":"file2"},{"photo_id":"1328191005","filename":"file1"},{"photo_id":"1328190999","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328191008":["hashtag1","hashtag2"]},{"1328190999":["hashtag1","hashtag2"]},{"1328191005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328191008, 1328190999, 1328191005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.362566232681274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:26:02.724165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:26:22.376348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/25/image_11012025_15_25_02_417363_0002.jpg', '/home/pi/Desktop/images/11012025/15/26/image_11012025_15_26_02_527783_0000.jpg', '/home/pi/Desktop/images/11012025/15/26/image_11012025_15_26_02_527783_0001.jpg', '/home/pi/Desktop/images/11012025/15/26/image_11012025_15_26_02_527783_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/25/image_11012025_15_25_02_417363_0002.jpg
/home/pi/Desktop/images/11012025/15/26/image_11012025_15_26_02_527783_0000.jpg
/home/pi/Desktop/images/11012025/15/26/image_11012025_15_26_02_527783_0001.jpg
/home/pi/Desktop/images/11012025/15/26/image_11012025_15_26_02_527783_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328191031","1328191024","1328191027","1328191029"],"photo_ids_order":["1328191024","1328191027","1328191029","1328191031"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/27613b052b973e55e11550ecb7e025b2.jpg","text":"TemporaryFile(/tmp/multipartBody1047688357767821618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605652600,"filename":"image_11012025_15_26_02_527783_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/df54fdb3510474e6697897dc050467a7.jpg","text":"TemporaryFile(/tmp/multipartBody2791010300731109420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605652600,"filename":"image_11012025_15_25_02_417363_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f5c7434f5d1c51e13e18809a7a17686a.jpg","text":"TemporaryFile(/tmp/multipartBody7007218590611102716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605652600,"filename":"image_11012025_15_26_02_527783_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/53c20286b2cd4998d5a9a6e892ed1039.jpg","text":"TemporaryFile(/tmp/multipartBody2317748840236069943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605652600,"filename":"image_11012025_15_26_02_527783_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328191029","file1":"1328191027","file0":"1328191024","file3":"1328191031"},"map_files_photo_id_array":[{"photo_id":"1328191029","filename":"file2"},{"photo_id":"1328191027","filename":"file1"},{"photo_id":"1328191024","filename":"file0"},{"photo_id":"1328191031","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328191031":["hashtag1","hashtag2"]},{"1328191024":["hashtag1","hashtag2"]},{"1328191027":["hashtag1","hashtag2"]},{"1328191029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328191031, 1328191024, 1328191027, 1328191029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.60399889945984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:27:22.526254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/26/image_11012025_15_26_02_527783_0003.jpg', '/home/pi/Desktop/images/11012025/15/27/image_11012025_15_27_02_701934_0000.jpg', '/home/pi/Desktop/images/11012025/15/27/image_11012025_15_27_02_701934_0001.jpg', '/home/pi/Desktop/images/11012025/15/27/image_11012025_15_27_02_701934_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/26/image_11012025_15_26_02_527783_0003.jpg
/home/pi/Desktop/images/11012025/15/27/image_11012025_15_27_02_701934_0000.jpg
/home/pi/Desktop/images/11012025/15/27/image_11012025_15_27_02_701934_0001.jpg
/home/pi/Desktop/images/11012025/15/27/image_11012025_15_27_02_701934_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328191073","1328191099","1328191081","1328191095"],"photo_ids_order":["1328191073","1328191081","1328191095","1328191099"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/01a614f90d8996e603f5364090da137d.jpg","text":"TemporaryFile(/tmp/multipartBody5036822853635143595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605712640,"filename":"image_11012025_15_26_02_527783_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/33ae141a9cc69e74fee0b6421b11df87.jpg","text":"TemporaryFile(/tmp/multipartBody3786894085083419832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605712640,"filename":"image_11012025_15_27_02_701934_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/28c96fbf4ed082aa948d75745235b076.jpg","text":"TemporaryFile(/tmp/multipartBody3871776973792734526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605712640,"filename":"image_11012025_15_27_02_701934_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cfa6dc2c6b8edd1372d8931c1612dd47.jpg","text":"TemporaryFile(/tmp/multipartBody7923815132757365289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605712640,"filename":"image_11012025_15_27_02_701934_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328191095","file1":"1328191081","file0":"1328191073","file3":"1328191099"},"map_files_photo_id_array":[{"photo_id":"1328191095","filename":"file2"},{"photo_id":"1328191081","filename":"file1"},{"photo_id":"1328191073","filename":"file0"},{"photo_id":"1328191099","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328191073":["hashtag1","hashtag2"]},{"1328191099":["hashtag1","hashtag2"]},{"1328191081":["hashtag1","hashtag2"]},{"1328191095":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328191073, 1328191099, 1328191081, 1328191095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.44353413581848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:28:03.055147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:28:22.729827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/27/image_11012025_15_27_02_701934_0003.jpg', '/home/pi/Desktop/images/11012025/15/28/image_11012025_15_28_02_884778_0000.jpg', '/home/pi/Desktop/images/11012025/15/28/image_11012025_15_28_02_884778_0001.jpg', '/home/pi/Desktop/images/11012025/15/28/image_11012025_15_28_02_884778_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/27/image_11012025_15_27_02_701934_0003.jpg
/home/pi/Desktop/images/11012025/15/28/image_11012025_15_28_02_884778_0000.jpg
/home/pi/Desktop/images/11012025/15/28/image_11012025_15_28_02_884778_0001.jpg
/home/pi/Desktop/images/11012025/15/28/image_11012025_15_28_02_884778_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328191130","1328191132","1328191126","1328191134"],"photo_ids_order":["1328191126","1328191130","1328191132","1328191134"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/02f3a232f645d5e7acb682b6542f5e7a.jpg","text":"TemporaryFile(/tmp/multipartBody5079549068591243704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605773039,"filename":"image_11012025_15_28_02_884778_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c3950c2f4705a959bbb68b4f2ff290c2.jpg","text":"TemporaryFile(/tmp/multipartBody296874887507595080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605773039,"filename":"image_11012025_15_28_02_884778_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e1b9e81f663f68d20219579fe3ec8ab8.jpg","text":"TemporaryFile(/tmp/multipartBody1040468783126163017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605773039,"filename":"image_11012025_15_27_02_701934_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c9acba4ed00514610e703826c7b93dee.jpg","text":"TemporaryFile(/tmp/multipartBody532880500363496018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605773039,"filename":"image_11012025_15_28_02_884778_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328191132","file1":"1328191130","file0":"1328191126","file3":"1328191134"},"map_files_photo_id_array":[{"photo_id":"1328191132","filename":"file2"},{"photo_id":"1328191130","filename":"file1"},{"photo_id":"1328191126","filename":"file0"},{"photo_id":"1328191134","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328191130":["hashtag1","hashtag2"]},{"1328191132":["hashtag1","hashtag2"]},{"1328191126":["hashtag1","hashtag2"]},{"1328191134":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328191130, 1328191132, 1328191126, 1328191134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.529250383377075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:29:02.742953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:29:21.918652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/28/image_11012025_15_28_02_884778_0003.jpg', '/home/pi/Desktop/images/11012025/15/29/image_11012025_15_29_03_102723_0000.jpg', '/home/pi/Desktop/images/11012025/15/29/image_11012025_15_29_03_102723_0001.jpg', '/home/pi/Desktop/images/11012025/15/29/image_11012025_15_29_03_102723_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/28/image_11012025_15_28_02_884778_0003.jpg
/home/pi/Desktop/images/11012025/15/29/image_11012025_15_29_03_102723_0000.jpg
/home/pi/Desktop/images/11012025/15/29/image_11012025_15_29_03_102723_0001.jpg
/home/pi/Desktop/images/11012025/15/29/image_11012025_15_29_03_102723_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328191160","1328191162","1328191164","1328191155"],"photo_ids_order":["1328191155","1328191160","1328191162","1328191164"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/87e0fa3413872418d2710f84ab0fc803.jpg","text":"TemporaryFile(/tmp/multipartBody3749843179820919413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605832163,"filename":"image_11012025_15_29_03_102723_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1a12e4359282403da3fa53fd05131faa.jpg","text":"TemporaryFile(/tmp/multipartBody452935797726876703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605832163,"filename":"image_11012025_15_29_03_102723_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c89442dd8d583fc58c83793a49787461.jpg","text":"TemporaryFile(/tmp/multipartBody1396624381177041732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605832163,"filename":"image_11012025_15_29_03_102723_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7bf6c528a3f156851d81e87cebf0eb55.jpg","text":"TemporaryFile(/tmp/multipartBody4589002432751879083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605832163,"filename":"image_11012025_15_28_02_884778_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328191162","file1":"1328191160","file0":"1328191155","file3":"1328191164"},"map_files_photo_id_array":[{"photo_id":"1328191162","filename":"file2"},{"photo_id":"1328191160","filename":"file1"},{"photo_id":"1328191155","filename":"file0"},{"photo_id":"1328191164","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328191160":["hashtag1","hashtag2"]},{"1328191162":["hashtag1","hashtag2"]},{"1328191164":["hashtag1","hashtag2"]},{"1328191155":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328191160, 1328191162, 1328191164, 1328191155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.62474846839905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:30:02.633275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:30:22.142017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/29/image_11012025_15_29_03_102723_0003.jpg', '/home/pi/Desktop/images/11012025/15/30/image_11012025_15_30_02_434225_0000.jpg', '/home/pi/Desktop/images/11012025/15/30/image_11012025_15_30_02_434225_0001.jpg', '/home/pi/Desktop/images/11012025/15/30/image_11012025_15_30_02_434225_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/29/image_11012025_15_29_03_102723_0003.jpg
/home/pi/Desktop/images/11012025/15/30/image_11012025_15_30_02_434225_0000.jpg
/home/pi/Desktop/images/11012025/15/30/image_11012025_15_30_02_434225_0001.jpg
/home/pi/Desktop/images/11012025/15/30/image_11012025_15_30_02_434225_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328191184","1328191219","1328191191","1328191200"],"photo_ids_order":["1328191184","1328191191","1328191200","1328191219"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/081422859248d94c11e19a1bc10db532.jpg","text":"TemporaryFile(/tmp/multipartBody7706656758098615192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605892407,"filename":"image_11012025_15_29_03_102723_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/df71b7a102663bd20c137fa5cecd0f2e.jpg","text":"TemporaryFile(/tmp/multipartBody2381162825850894947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605892407,"filename":"image_11012025_15_30_02_434225_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/403c619b32e935acd03b94eecaecaaca.jpg","text":"TemporaryFile(/tmp/multipartBody2045273578531991605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605892407,"filename":"image_11012025_15_30_02_434225_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/53e0d9cbe4e43efc15fd2c7007041774.jpg","text":"TemporaryFile(/tmp/multipartBody351676866306881453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605892407,"filename":"image_11012025_15_30_02_434225_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328191200","file1":"1328191191","file0":"1328191184","file3":"1328191219"},"map_files_photo_id_array":[{"photo_id":"1328191200","filename":"file2"},{"photo_id":"1328191191","filename":"file1"},{"photo_id":"1328191184","filename":"file0"},{"photo_id":"1328191219","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328191184":["hashtag1","hashtag2"]},{"1328191219":["hashtag1","hashtag2"]},{"1328191191":["hashtag1","hashtag2"]},{"1328191200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328191184, 1328191219, 1328191191, 1328191200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.04464411735535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:31:22.352856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/30/image_11012025_15_30_02_434225_0003.jpg', '/home/pi/Desktop/images/11012025/15/31/image_11012025_15_31_02_546547_0000.jpg', '/home/pi/Desktop/images/11012025/15/31/image_11012025_15_31_02_546547_0001.jpg', '/home/pi/Desktop/images/11012025/15/31/image_11012025_15_31_02_546547_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/30/image_11012025_15_30_02_434225_0003.jpg
/home/pi/Desktop/images/11012025/15/31/image_11012025_15_31_02_546547_0000.jpg
/home/pi/Desktop/images/11012025/15/31/image_11012025_15_31_02_546547_0001.jpg
/home/pi/Desktop/images/11012025/15/31/image_11012025_15_31_02_546547_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328191238","1328191235","1328191240","1328191234"],"photo_ids_order":["1328191234","1328191235","1328191238","1328191240"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/77953be7101026a5f4e449d67802dca4.jpg","text":"TemporaryFile(/tmp/multipartBody1235721643966261263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605952442,"filename":"image_11012025_15_31_02_546547_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1cd1579cf3947dc036abfa97efa06b5f.jpg","text":"TemporaryFile(/tmp/multipartBody8137534241729077321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605952442,"filename":"image_11012025_15_31_02_546547_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/adfe6261f49bab2eb6eef7fafc68a3ff.jpg","text":"TemporaryFile(/tmp/multipartBody1014530336420787587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605952442,"filename":"image_11012025_15_31_02_546547_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ca12977beccd1a65ce3a36aa595f9bb7.jpg","text":"TemporaryFile(/tmp/multipartBody6379272566248052417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736605952442,"filename":"image_11012025_15_30_02_434225_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328191238","file1":"1328191235","file0":"1328191234","file3":"1328191240"},"map_files_photo_id_array":[{"photo_id":"1328191238","filename":"file2"},{"photo_id":"1328191235","filename":"file1"},{"photo_id":"1328191234","filename":"file0"},{"photo_id":"1328191240","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328191238":["hashtag1","hashtag2"]},{"1328191235":["hashtag1","hashtag2"]},{"1328191240":["hashtag1","hashtag2"]},{"1328191234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328191238, 1328191235, 1328191240, 1328191234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.09587526321411 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:32:22.503487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/31/image_11012025_15_31_02_546547_0003.jpg', '/home/pi/Desktop/images/11012025/15/32/image_11012025_15_32_02_676730_0000.jpg', '/home/pi/Desktop/images/11012025/15/32/image_11012025_15_32_02_676730_0001.jpg', '/home/pi/Desktop/images/11012025/15/32/image_11012025_15_32_02_676730_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/31/image_11012025_15_31_02_546547_0003.jpg
/home/pi/Desktop/images/11012025/15/32/image_11012025_15_32_02_676730_0000.jpg
/home/pi/Desktop/images/11012025/15/32/image_11012025_15_32_02_676730_0001.jpg
/home/pi/Desktop/images/11012025/15/32/image_11012025_15_32_02_676730_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328191255","1328191264","1328191258","1328191260"],"photo_ids_order":["1328191255","1328191258","1328191260","1328191264"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/84dca0ef1310d718f9e46768f13d2529.jpg","text":"TemporaryFile(/tmp/multipartBody3198880116606288105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606012511,"filename":"image_11012025_15_31_02_546547_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5a2787165e1153f5294d0e4cdd67f706.jpg","text":"TemporaryFile(/tmp/multipartBody6247308193011497982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606012511,"filename":"image_11012025_15_32_02_676730_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f90ca9af8faa8ee7da99ca18d505d3a0.jpg","text":"TemporaryFile(/tmp/multipartBody7559029936590727796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606012511,"filename":"image_11012025_15_32_02_676730_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fb9310ba196d72d0f88c937188486df3.jpg","text":"TemporaryFile(/tmp/multipartBody6360845846074140356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606012511,"filename":"image_11012025_15_32_02_676730_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328191260","file1":"1328191258","file0":"1328191255","file3":"1328191264"},"map_files_photo_id_array":[{"photo_id":"1328191260","filename":"file2"},{"photo_id":"1328191258","filename":"file1"},{"photo_id":"1328191255","filename":"file0"},{"photo_id":"1328191264","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328191255":["hashtag1","hashtag2"]},{"1328191264":["hashtag1","hashtag2"]},{"1328191258":["hashtag1","hashtag2"]},{"1328191260":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328191255, 1328191264, 1328191258, 1328191260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.8773078918457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:33:22.731925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/32/image_11012025_15_32_02_676730_0003.jpg', '/home/pi/Desktop/images/11012025/15/33/image_11012025_15_33_02_927677_0000.jpg', '/home/pi/Desktop/images/11012025/15/33/image_11012025_15_33_02_927677_0001.jpg', '/home/pi/Desktop/images/11012025/15/33/image_11012025_15_33_02_927677_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/32/image_11012025_15_32_02_676730_0003.jpg
/home/pi/Desktop/images/11012025/15/33/image_11012025_15_33_02_927677_0000.jpg
/home/pi/Desktop/images/11012025/15/33/image_11012025_15_33_02_927677_0001.jpg
/home/pi/Desktop/images/11012025/15/33/image_11012025_15_33_02_927677_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328191298","1328191321","1328191296","1328191281"],"photo_ids_order":["1328191281","1328191296","1328191298","1328191321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/42518e52a7993d877d83e3a0cf2f50fd.jpg","text":"TemporaryFile(/tmp/multipartBody5173356383854143120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606072899,"filename":"image_11012025_15_33_02_927677_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d3e3a5fd239c2cd1714675195d220123.jpg","text":"TemporaryFile(/tmp/multipartBody4271243324982419582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606072899,"filename":"image_11012025_15_33_02_927677_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7f5e70aa3d8f7c84535132db13fb4dcc.jpg","text":"TemporaryFile(/tmp/multipartBody5357317071412737223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606072899,"filename":"image_11012025_15_33_02_927677_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3e3117fd962d7eb3320e2a5cea50cdd6.jpg","text":"TemporaryFile(/tmp/multipartBody3812271690007840315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606072899,"filename":"image_11012025_15_32_02_676730_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328191298","file1":"1328191296","file0":"1328191281","file3":"1328191321"},"map_files_photo_id_array":[{"photo_id":"1328191298","filename":"file2"},{"photo_id":"1328191296","filename":"file1"},{"photo_id":"1328191281","filename":"file0"},{"photo_id":"1328191321","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328191298":["hashtag1","hashtag2"]},{"1328191321":["hashtag1","hashtag2"]},{"1328191296":["hashtag1","hashtag2"]},{"1328191281":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328191298, 1328191321, 1328191296, 1328191281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.6552517414093 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-11 15:34:21.986682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/33/image_11012025_15_33_02_927677_0003.jpg', '/home/pi/Desktop/images/11012025/15/34/image_11012025_15_34_03_090143_0000.jpg', '/home/pi/Desktop/images/11012025/15/34/image_11012025_15_34_03_090143_0001.jpg', '/home/pi/Desktop/images/11012025/15/34/image_11012025_15_34_03_090143_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/33/image_11012025_15_33_02_927677_0003.jpg
/home/pi/Desktop/images/11012025/15/34/image_11012025_15_34_03_090143_0000.jpg
/home/pi/Desktop/images/11012025/15/34/image_11012025_15_34_03_090143_0001.jpg
/home/pi/Desktop/images/11012025/15/34/image_11012025_15_34_03_090143_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328192344","1328192338","1328192347","1328192341"],"photo_ids_order":["1328192338","1328192341","1328192344","1328192347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f61e856b891e08f4001179fe2b9f5496.jpg","text":"TemporaryFile(/tmp/multipartBody5659663785789898020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606132122,"filename":"image_11012025_15_34_03_090143_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c17815420de31c637bb0a676d1a596c6.jpg","text":"TemporaryFile(/tmp/multipartBody7953444255730996970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606132122,"filename":"image_11012025_15_33_02_927677_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/02d1a904ea8c529617daa42468cd7a39.jpg","text":"TemporaryFile(/tmp/multipartBody8300673875531959032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606132122,"filename":"image_11012025_15_34_03_090143_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9b684e8b3c4ee07508ff4aa22f4bc8c2.jpg","text":"TemporaryFile(/tmp/multipartBody1729734205639491669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606132122,"filename":"image_11012025_15_34_03_090143_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328192344","file1":"1328192341","file0":"1328192338","file3":"1328192347"},"map_files_photo_id_array":[{"photo_id":"1328192344","filename":"file2"},{"photo_id":"1328192341","filename":"file1"},{"photo_id":"1328192338","filename":"file0"},{"photo_id":"1328192347","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328192344":["hashtag1","hashtag2"]},{"1328192338":["hashtag1","hashtag2"]},{"1328192347":["hashtag1","hashtag2"]},{"1328192341":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328192344, 1328192338, 1328192347, 1328192341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.09773802757263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:35:22.100304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/34/image_11012025_15_34_03_090143_0003.jpg', '/home/pi/Desktop/images/11012025/15/35/image_11012025_15_35_02_285167_0000.jpg', '/home/pi/Desktop/images/11012025/15/35/image_11012025_15_35_02_285167_0001.jpg', '/home/pi/Desktop/images/11012025/15/35/image_11012025_15_35_02_285167_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/34/image_11012025_15_34_03_090143_0003.jpg
/home/pi/Desktop/images/11012025/15/35/image_11012025_15_35_02_285167_0000.jpg
/home/pi/Desktop/images/11012025/15/35/image_11012025_15_35_02_285167_0001.jpg
/home/pi/Desktop/images/11012025/15/35/image_11012025_15_35_02_285167_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328192995","1328192641","1328193237","1328192483"],"photo_ids_order":["1328192483","1328192641","1328192995","1328193237"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8e7d171e77a81302e21f409d92b1705b.jpg","text":"TemporaryFile(/tmp/multipartBody1066795947093297328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606192209,"filename":"image_11012025_15_35_02_285167_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cc10c914a78a69659ea1644feb4c4498.jpg","text":"TemporaryFile(/tmp/multipartBody7506963317804019268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606192209,"filename":"image_11012025_15_35_02_285167_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9892157d3e46ef560ef89922a18bd6cf.jpg","text":"TemporaryFile(/tmp/multipartBody2783299647499540224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606192209,"filename":"image_11012025_15_35_02_285167_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fa5e6dc57155abcbd7793622e5543a85.jpg","text":"TemporaryFile(/tmp/multipartBody8096936423060333202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606192209,"filename":"image_11012025_15_34_03_090143_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328192995","file1":"1328192641","file0":"1328192483","file3":"1328193237"},"map_files_photo_id_array":[{"photo_id":"1328192995","filename":"file2"},{"photo_id":"1328192641","filename":"file1"},{"photo_id":"1328192483","filename":"file0"},{"photo_id":"1328193237","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328192995":["hashtag1","hashtag2"]},{"1328192641":["hashtag1","hashtag2"]},{"1328193237":["hashtag1","hashtag2"]},{"1328192483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328192995, 1328192641, 1328193237, 1328192483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.79232716560364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:36:02.753943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:36:22.255983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/35/image_11012025_15_35_02_285167_0003.jpg', '/home/pi/Desktop/images/11012025/15/36/image_11012025_15_36_02_452018_0000.jpg', '/home/pi/Desktop/images/11012025/15/36/image_11012025_15_36_02_452018_0001.jpg', '/home/pi/Desktop/images/11012025/15/36/image_11012025_15_36_02_452018_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/35/image_11012025_15_35_02_285167_0003.jpg
/home/pi/Desktop/images/11012025/15/36/image_11012025_15_36_02_452018_0000.jpg
/home/pi/Desktop/images/11012025/15/36/image_11012025_15_36_02_452018_0001.jpg
/home/pi/Desktop/images/11012025/15/36/image_11012025_15_36_02_452018_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.713465213775635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 15:36:42.231141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/35/image_11012025_15_35_02_285167_0003.jpg', '/home/pi/Desktop/images/11012025/15/36/image_11012025_15_36_02_452018_0000.jpg', '/home/pi/Desktop/images/11012025/15/36/image_11012025_15_36_02_452018_0001.jpg', '/home/pi/Desktop/images/11012025/15/36/image_11012025_15_36_02_452018_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/35/image_11012025_15_35_02_285167_0003.jpg
/home/pi/Desktop/images/11012025/15/36/image_11012025_15_36_02_452018_0000.jpg
/home/pi/Desktop/images/11012025/15/36/image_11012025_15_36_02_452018_0001.jpg
/home/pi/Desktop/images/11012025/15/36/image_11012025_15_36_02_452018_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328194290","1328194160","1328194091","1328194085"],"photo_ids_order":["1328194085","1328194091","1328194160","1328194290"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b2ab626f1647ebe5927585382e5aedcf.jpg","text":"TemporaryFile(/tmp/multipartBody6561248834755229595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606272347,"filename":"image_11012025_15_36_02_452018_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a0522991d23cebf8cce24c2cd53dc073.jpg","text":"TemporaryFile(/tmp/multipartBody5165300751612316554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606272347,"filename":"image_11012025_15_36_02_452018_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6be086de1d57accbf393c00783bceb3e.jpg","text":"TemporaryFile(/tmp/multipartBody7147830360013768977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606272347,"filename":"image_11012025_15_36_02_452018_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aa26125d4a98c4dffca103e7aeb75d9b.jpg","text":"TemporaryFile(/tmp/multipartBody1433009403956958239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606272347,"filename":"image_11012025_15_35_02_285167_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328194160","file1":"1328194091","file0":"1328194085","file3":"1328194290"},"map_files_photo_id_array":[{"photo_id":"1328194160","filename":"file2"},{"photo_id":"1328194091","filename":"file1"},{"photo_id":"1328194085","filename":"file0"},{"photo_id":"1328194290","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328194290":["hashtag1","hashtag2"]},{"1328194160":["hashtag1","hashtag2"]},{"1328194091":["hashtag1","hashtag2"]},{"1328194085":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328194290, 1328194160, 1328194091, 1328194085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.54530477523804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:37:22.503055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/36/image_11012025_15_36_02_452018_0003.jpg', '/home/pi/Desktop/images/11012025/15/37/image_11012025_15_37_02_623509_0000.jpg', '/home/pi/Desktop/images/11012025/15/37/image_11012025_15_37_02_623509_0001.jpg', '/home/pi/Desktop/images/11012025/15/37/image_11012025_15_37_02_623509_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/36/image_11012025_15_36_02_452018_0003.jpg
/home/pi/Desktop/images/11012025/15/37/image_11012025_15_37_02_623509_0000.jpg
/home/pi/Desktop/images/11012025/15/37/image_11012025_15_37_02_623509_0001.jpg
/home/pi/Desktop/images/11012025/15/37/image_11012025_15_37_02_623509_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328194461","1328194466","1328194463","1328194453"],"photo_ids_order":["1328194453","1328194461","1328194463","1328194466"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d8996c4928f518bec135356776626fe2.jpg","text":"TemporaryFile(/tmp/multipartBody3016527976052576787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606312575,"filename":"image_11012025_15_37_02_623509_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/205fe9f7a37f58c447af1db90f59f8a6.jpg","text":"TemporaryFile(/tmp/multipartBody5174017743982094156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606312575,"filename":"image_11012025_15_37_02_623509_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6e62941c632b0fc650de3e4c2977439f.jpg","text":"TemporaryFile(/tmp/multipartBody3265648684290799544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606312575,"filename":"image_11012025_15_37_02_623509_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f3a109bca7f97f5281e0072ea93ad95f.jpg","text":"TemporaryFile(/tmp/multipartBody5680364060705973342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606312575,"filename":"image_11012025_15_36_02_452018_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328194463","file1":"1328194461","file0":"1328194453","file3":"1328194466"},"map_files_photo_id_array":[{"photo_id":"1328194463","filename":"file2"},{"photo_id":"1328194461","filename":"file1"},{"photo_id":"1328194453","filename":"file0"},{"photo_id":"1328194466","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328194461":["hashtag1","hashtag2"]},{"1328194466":["hashtag1","hashtag2"]},{"1328194463":["hashtag1","hashtag2"]},{"1328194453":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328194461, 1328194466, 1328194463, 1328194453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.81906723976135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:38:02.944692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:38:22.590832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/37/image_11012025_15_37_02_623509_0003.jpg', '/home/pi/Desktop/images/11012025/15/38/image_11012025_15_38_02_873953_0000.jpg', '/home/pi/Desktop/images/11012025/15/38/image_11012025_15_38_02_873953_0001.jpg', '/home/pi/Desktop/images/11012025/15/38/image_11012025_15_38_02_873953_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/37/image_11012025_15_37_02_623509_0003.jpg
/home/pi/Desktop/images/11012025/15/38/image_11012025_15_38_02_873953_0000.jpg
/home/pi/Desktop/images/11012025/15/38/image_11012025_15_38_02_873953_0001.jpg
/home/pi/Desktop/images/11012025/15/38/image_11012025_15_38_02_873953_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328194490","1328194487","1328194495","1328194498"],"photo_ids_order":["1328194487","1328194490","1328194495","1328194498"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/53005bb0184405c336c12e852730c835.jpg","text":"TemporaryFile(/tmp/multipartBody7174703944046491869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606372800,"filename":"image_11012025_15_38_02_873953_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/972d5fa8e99a601eadf56889f955bfa1.jpg","text":"TemporaryFile(/tmp/multipartBody809234077442110247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606372800,"filename":"image_11012025_15_37_02_623509_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1ecb3d916a6ba82730d87f7a9e669c0c.jpg","text":"TemporaryFile(/tmp/multipartBody8924749189545684326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606372800,"filename":"image_11012025_15_38_02_873953_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c939b00115b33aee8a6a9db5fd8c4c58.jpg","text":"TemporaryFile(/tmp/multipartBody1849598970528844187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606372800,"filename":"image_11012025_15_38_02_873953_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328194495","file1":"1328194490","file0":"1328194487","file3":"1328194498"},"map_files_photo_id_array":[{"photo_id":"1328194495","filename":"file2"},{"photo_id":"1328194490","filename":"file1"},{"photo_id":"1328194487","filename":"file0"},{"photo_id":"1328194498","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328194490":["hashtag1","hashtag2"]},{"1328194487":["hashtag1","hashtag2"]},{"1328194495":["hashtag1","hashtag2"]},{"1328194498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328194490, 1328194487, 1328194495, 1328194498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.54697895050049 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:39:02.368637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:39:21.868476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/38/image_11012025_15_38_02_873953_0003.jpg', '/home/pi/Desktop/images/11012025/15/39/image_11012025_15_39_02_923039_0000.jpg', '/home/pi/Desktop/images/11012025/15/39/image_11012025_15_39_02_923039_0001.jpg', '/home/pi/Desktop/images/11012025/15/39/image_11012025_15_39_02_923039_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/38/image_11012025_15_38_02_873953_0003.jpg
/home/pi/Desktop/images/11012025/15/39/image_11012025_15_39_02_923039_0000.jpg
/home/pi/Desktop/images/11012025/15/39/image_11012025_15_39_02_923039_0001.jpg
/home/pi/Desktop/images/11012025/15/39/image_11012025_15_39_02_923039_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328194540","1328194524","1328194509","1328194520"],"photo_ids_order":["1328194509","1328194520","1328194524","1328194540"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fbe0d1b11a87400abbd4fb82c1d1055e.jpg","text":"TemporaryFile(/tmp/multipartBody583774453762211102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606432003,"filename":"image_11012025_15_39_02_923039_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a2e87da60bd034e558e5736d153c3708.jpg","text":"TemporaryFile(/tmp/multipartBody2807312461341051109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606432003,"filename":"image_11012025_15_39_02_923039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/98670ec472f19ed0f4e2f118985b8a84.jpg","text":"TemporaryFile(/tmp/multipartBody7175691619433734342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606432003,"filename":"image_11012025_15_38_02_873953_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b22f81e1bb0012dc46cd8d77e19639f4.jpg","text":"TemporaryFile(/tmp/multipartBody6772811611625216794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606432003,"filename":"image_11012025_15_39_02_923039_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328194524","file1":"1328194520","file0":"1328194509","file3":"1328194540"},"map_files_photo_id_array":[{"photo_id":"1328194524","filename":"file2"},{"photo_id":"1328194520","filename":"file1"},{"photo_id":"1328194509","filename":"file0"},{"photo_id":"1328194540","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328194540":["hashtag1","hashtag2"]},{"1328194524":["hashtag1","hashtag2"]},{"1328194509":["hashtag1","hashtag2"]},{"1328194520":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328194540, 1328194524, 1328194509, 1328194520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.24817156791687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:40:02.488116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:40:22.131288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/39/image_11012025_15_39_02_923039_0003.jpg', '/home/pi/Desktop/images/11012025/15/40/image_11012025_15_40_02_192336_0000.jpg', '/home/pi/Desktop/images/11012025/15/40/image_11012025_15_40_02_192336_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/39/image_11012025_15_39_02_923039_0003.jpg
/home/pi/Desktop/images/11012025/15/40/image_11012025_15_40_02_192336_0000.jpg
/home/pi/Desktop/images/11012025/15/40/image_11012025_15_40_02_192336_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.287478685379028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 15:40:32.047795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/39/image_11012025_15_39_02_923039_0003.jpg', '/home/pi/Desktop/images/11012025/15/40/image_11012025_15_40_02_192336_0000.jpg', '/home/pi/Desktop/images/11012025/15/40/image_11012025_15_40_02_192336_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/39/image_11012025_15_39_02_923039_0003.jpg
/home/pi/Desktop/images/11012025/15/40/image_11012025_15_40_02_192336_0000.jpg
/home/pi/Desktop/images/11012025/15/40/image_11012025_15_40_02_192336_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328194589","1328194594","1328194597"],"photo_ids_order":["1328194589","1328194594","1328194597"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3ca492d1a68da50191eb9e17ef6b77ea.jpg","text":"TemporaryFile(/tmp/multipartBody6971958872652459713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606499751,"filename":"image_11012025_15_39_02_923039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/82e822ffffba04cf503736a71066558f.jpg","text":"TemporaryFile(/tmp/multipartBody4838138486406400150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606499751,"filename":"image_11012025_15_40_02_192336_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/99f5aa3892f1c4e85aeed123343415d1.jpg","text":"TemporaryFile(/tmp/multipartBody3870885646549918144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606499751,"filename":"image_11012025_15_40_02_192336_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328194597","file1":"1328194594","file0":"1328194589"},"map_files_photo_id_array":[{"photo_id":"1328194597","filename":"file2"},{"photo_id":"1328194594","filename":"file1"},{"photo_id":"1328194589","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328194589":["hashtag1","hashtag2"]},{"1328194594":["hashtag1","hashtag2"]},{"1328194597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328194589, 1328194594, 1328194597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.592649698257446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:41:22.329081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/40/image_11012025_15_40_02_192336_0003.jpg', '/home/pi/Desktop/images/11012025/15/41/image_11012025_15_41_02_414293_0000.jpg', '/home/pi/Desktop/images/11012025/15/41/image_11012025_15_41_02_414293_0001.jpg', '/home/pi/Desktop/images/11012025/15/41/image_11012025_15_41_02_414293_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/40/image_11012025_15_40_02_192336_0003.jpg
/home/pi/Desktop/images/11012025/15/41/image_11012025_15_41_02_414293_0000.jpg
/home/pi/Desktop/images/11012025/15/41/image_11012025_15_41_02_414293_0001.jpg
/home/pi/Desktop/images/11012025/15/41/image_11012025_15_41_02_414293_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328194611","1328194614","1328194608","1328194618"],"photo_ids_order":["1328194608","1328194611","1328194614","1328194618"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/98393e3c57da4ed0adfc4126f828c9ae.jpg","text":"TemporaryFile(/tmp/multipartBody344086024584290734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606552496,"filename":"image_11012025_15_41_02_414293_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e005b1e1ca8f8e434f803142bda3f80e.jpg","text":"TemporaryFile(/tmp/multipartBody2555397694095674275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606552496,"filename":"image_11012025_15_41_02_414293_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cf524f977e158fe44980c4bbe7d17c59.jpg","text":"TemporaryFile(/tmp/multipartBody1326849626569452458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606552496,"filename":"image_11012025_15_40_02_192336_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/83793340cda04d1178164145e1c27017.jpg","text":"TemporaryFile(/tmp/multipartBody3155989952971483440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606552496,"filename":"image_11012025_15_41_02_414293_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328194614","file1":"1328194611","file0":"1328194608","file3":"1328194618"},"map_files_photo_id_array":[{"photo_id":"1328194614","filename":"file2"},{"photo_id":"1328194611","filename":"file1"},{"photo_id":"1328194608","filename":"file0"},{"photo_id":"1328194618","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328194611":["hashtag1","hashtag2"]},{"1328194614":["hashtag1","hashtag2"]},{"1328194608":["hashtag1","hashtag2"]},{"1328194618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328194611, 1328194614, 1328194608, 1328194618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.54464149475098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:42:02.903239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:42:22.425552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/41/image_11012025_15_41_02_414293_0003.jpg', '/home/pi/Desktop/images/11012025/15/42/image_11012025_15_42_02_672739_0000.jpg', '/home/pi/Desktop/images/11012025/15/42/image_11012025_15_42_02_672739_0001.jpg', '/home/pi/Desktop/images/11012025/15/42/image_11012025_15_42_02_672739_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/41/image_11012025_15_41_02_414293_0003.jpg
/home/pi/Desktop/images/11012025/15/42/image_11012025_15_42_02_672739_0000.jpg
/home/pi/Desktop/images/11012025/15/42/image_11012025_15_42_02_672739_0001.jpg
/home/pi/Desktop/images/11012025/15/42/image_11012025_15_42_02_672739_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328194662","1328194638","1328194664","1328194646"],"photo_ids_order":["1328194638","1328194646","1328194662","1328194664"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d1582edfb768d9dca405047b5b452045.jpg","text":"TemporaryFile(/tmp/multipartBody8265023101003408034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606612691,"filename":"image_11012025_15_42_02_672739_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f9a4f71a837de497be59be3a003345b7.jpg","text":"TemporaryFile(/tmp/multipartBody7235401784197505896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606612691,"filename":"image_11012025_15_41_02_414293_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ab50cb08c2a8c6bd699c6b7377670e23.jpg","text":"TemporaryFile(/tmp/multipartBody4246254866737204590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606612691,"filename":"image_11012025_15_42_02_672739_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2ed16f4da6283fc0140b46b1cfdadb01.jpg","text":"TemporaryFile(/tmp/multipartBody2471002456012581174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606612691,"filename":"image_11012025_15_42_02_672739_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328194662","file1":"1328194646","file0":"1328194638","file3":"1328194664"},"map_files_photo_id_array":[{"photo_id":"1328194662","filename":"file2"},{"photo_id":"1328194646","filename":"file1"},{"photo_id":"1328194638","filename":"file0"},{"photo_id":"1328194664","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328194662":["hashtag1","hashtag2"]},{"1328194638":["hashtag1","hashtag2"]},{"1328194664":["hashtag1","hashtag2"]},{"1328194646":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328194662, 1328194638, 1328194664, 1328194646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.87315368652344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:43:03.368516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:43:22.660960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/42/image_11012025_15_42_02_672739_0003.jpg', '/home/pi/Desktop/images/11012025/15/43/image_11012025_15_43_02_839656_0000.jpg', '/home/pi/Desktop/images/11012025/15/43/image_11012025_15_43_02_839656_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/42/image_11012025_15_42_02_672739_0003.jpg
/home/pi/Desktop/images/11012025/15/43/image_11012025_15_43_02_839656_0000.jpg
/home/pi/Desktop/images/11012025/15/43/image_11012025_15_43_02_839656_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":["1328194692","1328194695","1328194700"],"photo_ids_order":["1328194692","1328194695","1328194700"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/753cf284135c5ff63dce83657e9c606f.jpg","text":"TemporaryFile(/tmp/multipartBody7274332223314470910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606670360,"filename":"image_11012025_15_42_02_672739_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/446ae0d2d59af8d03a4f4c85ae50f98a.jpg","text":"TemporaryFile(/tmp/multipartBody739558729530480737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606670360,"filename":"image_11012025_15_43_02_839656_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/81671788656af93f19c73fd437455965.jpg","text":"TemporaryFile(/tmp/multipartBody3240253247774608944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606670360,"filename":"image_11012025_15_43_02_839656_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328194700","file1":"1328194695","file0":"1328194692"},"map_files_photo_id_array":[{"photo_id":"1328194700","filename":"file2"},{"photo_id":"1328194695","filename":"file1"},{"photo_id":"1328194692","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328194692":["hashtag1","hashtag2"]},{"1328194695":["hashtag1","hashtag2"]},{"1328194700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328194692, 1328194695, 1328194700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.514179706573486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:44:02.289119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:44:21.880057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/43/image_11012025_15_43_02_839656_0002.jpg', '/home/pi/Desktop/images/11012025/15/44/image_11012025_15_44_02_989307_0000.jpg', '/home/pi/Desktop/images/11012025/15/44/image_11012025_15_44_02_989307_0001.jpg', '/home/pi/Desktop/images/11012025/15/44/image_11012025_15_44_02_989307_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/43/image_11012025_15_43_02_839656_0002.jpg
/home/pi/Desktop/images/11012025/15/44/image_11012025_15_44_02_989307_0000.jpg
/home/pi/Desktop/images/11012025/15/44/image_11012025_15_44_02_989307_0001.jpg
/home/pi/Desktop/images/11012025/15/44/image_11012025_15_44_02_989307_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328194732","1328194720","1328194728","1328194724"],"photo_ids_order":["1328194720","1328194724","1328194728","1328194732"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/31855c8ed9f17fefd5bbad1efd92f627.jpg","text":"TemporaryFile(/tmp/multipartBody5490455789440638939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606731980,"filename":"image_11012025_15_44_02_989307_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/85c3aae86b4f0b818026fdce63516a6f.jpg","text":"TemporaryFile(/tmp/multipartBody2295980890013778189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606731980,"filename":"image_11012025_15_43_02_839656_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/812b252a32171d85849aba1b0a81ba6a.jpg","text":"TemporaryFile(/tmp/multipartBody4121558948642504593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606731980,"filename":"image_11012025_15_44_02_989307_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/44be821c50bc71ca37dae0a4f802854c.jpg","text":"TemporaryFile(/tmp/multipartBody7423922258090149079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606731980,"filename":"image_11012025_15_44_02_989307_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328194728","file1":"1328194724","file0":"1328194720","file3":"1328194732"},"map_files_photo_id_array":[{"photo_id":"1328194728","filename":"file2"},{"photo_id":"1328194724","filename":"file1"},{"photo_id":"1328194720","filename":"file0"},{"photo_id":"1328194732","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328194732":["hashtag1","hashtag2"]},{"1328194720":["hashtag1","hashtag2"]},{"1328194728":["hashtag1","hashtag2"]},{"1328194724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328194732, 1328194720, 1328194728, 1328194724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.75114631652832 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:45:22.029082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/44/image_11012025_15_44_02_989307_0003.jpg', '/home/pi/Desktop/images/11012025/15/45/image_11012025_15_45_02_207032_0000.jpg', '/home/pi/Desktop/images/11012025/15/45/image_11012025_15_45_02_207032_0001.jpg', '/home/pi/Desktop/images/11012025/15/45/image_11012025_15_45_02_207032_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/44/image_11012025_15_44_02_989307_0003.jpg
/home/pi/Desktop/images/11012025/15/45/image_11012025_15_45_02_207032_0000.jpg
/home/pi/Desktop/images/11012025/15/45/image_11012025_15_45_02_207032_0001.jpg
/home/pi/Desktop/images/11012025/15/45/image_11012025_15_45_02_207032_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328194903","1328194886","1328194745","1328194777"],"photo_ids_order":["1328194745","1328194777","1328194886","1328194903"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d9c81c66ebbdb369b19325483dc4d118.jpg","text":"TemporaryFile(/tmp/multipartBody7669617731963748898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606792165,"filename":"image_11012025_15_45_02_207032_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c4aaf327eb0055c886a11324cf8268a0.jpg","text":"TemporaryFile(/tmp/multipartBody4806123063615992883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606792165,"filename":"image_11012025_15_45_02_207032_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c115f7197801b898dd3752e06408b199.jpg","text":"TemporaryFile(/tmp/multipartBody8742628903118566290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606792165,"filename":"image_11012025_15_44_02_989307_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aea74a32017a6c7de907fb6f9c70917a.jpg","text":"TemporaryFile(/tmp/multipartBody3365830366052104316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606792165,"filename":"image_11012025_15_45_02_207032_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328194886","file1":"1328194777","file0":"1328194745","file3":"1328194903"},"map_files_photo_id_array":[{"photo_id":"1328194886","filename":"file2"},{"photo_id":"1328194777","filename":"file1"},{"photo_id":"1328194745","filename":"file0"},{"photo_id":"1328194903","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328194903":["hashtag1","hashtag2"]},{"1328194886":["hashtag1","hashtag2"]},{"1328194745":["hashtag1","hashtag2"]},{"1328194777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328194903, 1328194886, 1328194745, 1328194777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.77450156211853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:46:02.591903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:46:22.161923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/45/image_11012025_15_45_02_207032_0003.jpg', '/home/pi/Desktop/images/11012025/15/46/image_11012025_15_46_02_350357_0000.jpg', '/home/pi/Desktop/images/11012025/15/46/image_11012025_15_46_02_350357_0001.jpg', '/home/pi/Desktop/images/11012025/15/46/image_11012025_15_46_02_350357_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/45/image_11012025_15_45_02_207032_0003.jpg
/home/pi/Desktop/images/11012025/15/46/image_11012025_15_46_02_350357_0000.jpg
/home/pi/Desktop/images/11012025/15/46/image_11012025_15_46_02_350357_0001.jpg
/home/pi/Desktop/images/11012025/15/46/image_11012025_15_46_02_350357_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328195025","1328195115","1328195022","1328195027"],"photo_ids_order":["1328195022","1328195025","1328195027","1328195115"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bfbf71f33ec5809eab10fa823990f7c3.jpg","text":"TemporaryFile(/tmp/multipartBody8676478365411961256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606852358,"filename":"image_11012025_15_46_02_350357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d1864fe87be33cde29b5ffe286b33e5a.jpg","text":"TemporaryFile(/tmp/multipartBody2639461629676446562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606852358,"filename":"image_11012025_15_46_02_350357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cd0eff9e4d6b580bfd375cdf2aacc44f.jpg","text":"TemporaryFile(/tmp/multipartBody7943967999988375370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606852358,"filename":"image_11012025_15_45_02_207032_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/00bc2c3482df6bf168d4a125b3e3b241.jpg","text":"TemporaryFile(/tmp/multipartBody5486367648814986554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606852358,"filename":"image_11012025_15_46_02_350357_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328195027","file1":"1328195025","file0":"1328195022","file3":"1328195115"},"map_files_photo_id_array":[{"photo_id":"1328195027","filename":"file2"},{"photo_id":"1328195025","filename":"file1"},{"photo_id":"1328195022","filename":"file0"},{"photo_id":"1328195115","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328195025":["hashtag1","hashtag2"]},{"1328195115":["hashtag1","hashtag2"]},{"1328195022":["hashtag1","hashtag2"]},{"1328195027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328195025, 1328195115, 1328195022, 1328195027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.458603620529175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:47:02.998301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:47:22.360374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/46/image_11012025_15_46_02_350357_0003.jpg', '/home/pi/Desktop/images/11012025/15/47/image_11012025_15_47_02_540495_0000.jpg', '/home/pi/Desktop/images/11012025/15/47/image_11012025_15_47_02_540495_0001.jpg', '/home/pi/Desktop/images/11012025/15/47/image_11012025_15_47_02_540495_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/46/image_11012025_15_46_02_350357_0003.jpg
/home/pi/Desktop/images/11012025/15/47/image_11012025_15_47_02_540495_0000.jpg
/home/pi/Desktop/images/11012025/15/47/image_11012025_15_47_02_540495_0001.jpg
/home/pi/Desktop/images/11012025/15/47/image_11012025_15_47_02_540495_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328195568","1328195566","1328195653","1328195563"],"photo_ids_order":["1328195563","1328195566","1328195568","1328195653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/65b0b5039eb6fd2fcf65fa34088b53b0.jpg","text":"TemporaryFile(/tmp/multipartBody4609191073733242544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606912414,"filename":"image_11012025_15_47_02_540495_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/84019872aa40e536975bae506ba74f94.jpg","text":"TemporaryFile(/tmp/multipartBody3897253920322311950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606912414,"filename":"image_11012025_15_47_02_540495_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/875fc0b6f8092bc848763513d148738e.jpg","text":"TemporaryFile(/tmp/multipartBody2831560706020344590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606912414,"filename":"image_11012025_15_47_02_540495_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a17bef5faede6a2f00ded7f63c1a88f4.jpg","text":"TemporaryFile(/tmp/multipartBody6792423863224317265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606912414,"filename":"image_11012025_15_46_02_350357_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328195568","file1":"1328195566","file0":"1328195563","file3":"1328195653"},"map_files_photo_id_array":[{"photo_id":"1328195568","filename":"file2"},{"photo_id":"1328195566","filename":"file1"},{"photo_id":"1328195563","filename":"file0"},{"photo_id":"1328195653","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328195568":["hashtag1","hashtag2"]},{"1328195566":["hashtag1","hashtag2"]},{"1328195653":["hashtag1","hashtag2"]},{"1328195563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328195568, 1328195566, 1328195653, 1328195563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.380330085754395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:48:02.909591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:48:22.486024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/47/image_11012025_15_47_02_540495_0003.jpg', '/home/pi/Desktop/images/11012025/15/48/image_11012025_15_48_02_714030_0000.jpg', '/home/pi/Desktop/images/11012025/15/48/image_11012025_15_48_02_714030_0001.jpg', '/home/pi/Desktop/images/11012025/15/48/image_11012025_15_48_02_714030_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/47/image_11012025_15_47_02_540495_0003.jpg
/home/pi/Desktop/images/11012025/15/48/image_11012025_15_48_02_714030_0000.jpg
/home/pi/Desktop/images/11012025/15/48/image_11012025_15_48_02_714030_0001.jpg
/home/pi/Desktop/images/11012025/15/48/image_11012025_15_48_02_714030_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.765351057052612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 15:48:42.527262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/47/image_11012025_15_47_02_540495_0003.jpg', '/home/pi/Desktop/images/11012025/15/48/image_11012025_15_48_02_714030_0000.jpg', '/home/pi/Desktop/images/11012025/15/48/image_11012025_15_48_02_714030_0001.jpg', '/home/pi/Desktop/images/11012025/15/48/image_11012025_15_48_02_714030_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/47/image_11012025_15_47_02_540495_0003.jpg
/home/pi/Desktop/images/11012025/15/48/image_11012025_15_48_02_714030_0000.jpg
/home/pi/Desktop/images/11012025/15/48/image_11012025_15_48_02_714030_0001.jpg
/home/pi/Desktop/images/11012025/15/48/image_11012025_15_48_02_714030_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328195799","1328195798","1328195800","1328195803"],"photo_ids_order":["1328195798","1328195799","1328195800","1328195803"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c2ba2f26d024277dfb1b2cf3ba73026b.jpg","text":"TemporaryFile(/tmp/multipartBody7683240180509730677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606992699,"filename":"image_11012025_15_48_02_714030_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/06a3a836dd4baba22774506865f35ad1.jpg","text":"TemporaryFile(/tmp/multipartBody3137993762338137406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606992699,"filename":"image_11012025_15_47_02_540495_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/270f5bbe045a4a06fc5ff956be667b04.jpg","text":"TemporaryFile(/tmp/multipartBody1418062657587257611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606992699,"filename":"image_11012025_15_48_02_714030_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7ce3009759fd3eccdddc6b589a22e7bb.jpg","text":"TemporaryFile(/tmp/multipartBody6528533370222667152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736606992699,"filename":"image_11012025_15_48_02_714030_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328195800","file1":"1328195799","file0":"1328195798","file3":"1328195803"},"map_files_photo_id_array":[{"photo_id":"1328195800","filename":"file2"},{"photo_id":"1328195799","filename":"file1"},{"photo_id":"1328195798","filename":"file0"},{"photo_id":"1328195803","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328195799":["hashtag1","hashtag2"]},{"1328195798":["hashtag1","hashtag2"]},{"1328195800":["hashtag1","hashtag2"]},{"1328195803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328195799, 1328195798, 1328195800, 1328195803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.00484800338745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:49:22.733097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/48/image_11012025_15_48_02_714030_0003.jpg', '/home/pi/Desktop/images/11012025/15/49/image_11012025_15_49_02_819321_0000.jpg', '/home/pi/Desktop/images/11012025/15/49/image_11012025_15_49_02_819321_0001.jpg', '/home/pi/Desktop/images/11012025/15/49/image_11012025_15_49_02_819321_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/48/image_11012025_15_48_02_714030_0003.jpg
/home/pi/Desktop/images/11012025/15/49/image_11012025_15_49_02_819321_0000.jpg
/home/pi/Desktop/images/11012025/15/49/image_11012025_15_49_02_819321_0001.jpg
/home/pi/Desktop/images/11012025/15/49/image_11012025_15_49_02_819321_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328195823","1328195816","1328195819","1328195821"],"photo_ids_order":["1328195816","1328195819","1328195821","1328195823"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/93a8b309705c80a1ceb8e3b73e1586fb.jpg","text":"TemporaryFile(/tmp/multipartBody5208932335353587306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607032924,"filename":"image_11012025_15_49_02_819321_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/627b26b45cf917e1b4c2129274baac25.jpg","text":"TemporaryFile(/tmp/multipartBody743609735876914803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607032924,"filename":"image_11012025_15_48_02_714030_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c0a9469a0cdf4f26353ea89bdcc40bc0.jpg","text":"TemporaryFile(/tmp/multipartBody4161807385170309901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607032924,"filename":"image_11012025_15_49_02_819321_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b9d740f19af032cb26466b891bb26747.jpg","text":"TemporaryFile(/tmp/multipartBody7687170563287354604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607032924,"filename":"image_11012025_15_49_02_819321_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328195821","file1":"1328195819","file0":"1328195816","file3":"1328195823"},"map_files_photo_id_array":[{"photo_id":"1328195821","filename":"file2"},{"photo_id":"1328195819","filename":"file1"},{"photo_id":"1328195816","filename":"file0"},{"photo_id":"1328195823","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328195823":["hashtag1","hashtag2"]},{"1328195816":["hashtag1","hashtag2"]},{"1328195819":["hashtag1","hashtag2"]},{"1328195821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328195823, 1328195816, 1328195819, 1328195821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.772807121276855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:50:21.895375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/49/image_11012025_15_49_02_819321_0003.jpg', '/home/pi/Desktop/images/11012025/15/50/image_11012025_15_50_03_048500_0000.jpg', '/home/pi/Desktop/images/11012025/15/50/image_11012025_15_50_03_048500_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/49/image_11012025_15_49_02_819321_0003.jpg
/home/pi/Desktop/images/11012025/15/50/image_11012025_15_50_03_048500_0000.jpg
/home/pi/Desktop/images/11012025/15/50/image_11012025_15_50_03_048500_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328195841","1328195838","1328195843"],"photo_ids_order":["1328195838","1328195841","1328195843"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2bce2db83403a6452d69fd1e3594351a.jpg","text":"TemporaryFile(/tmp/multipartBody6225994888272662722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607089680,"filename":"image_11012025_15_50_03_048500_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/de9eae9cd3afdbf559f25e422f092d30.jpg","text":"TemporaryFile(/tmp/multipartBody4404259173992631627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607089680,"filename":"image_11012025_15_49_02_819321_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b0c68866263a09946b1f1c5c6219b30d.jpg","text":"TemporaryFile(/tmp/multipartBody3425592262509886641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607089680,"filename":"image_11012025_15_50_03_048500_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328195843","file1":"1328195841","file0":"1328195838"},"map_files_photo_id_array":[{"photo_id":"1328195843","filename":"file2"},{"photo_id":"1328195841","filename":"file1"},{"photo_id":"1328195838","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328195841":["hashtag1","hashtag2"]},{"1328195838":["hashtag1","hashtag2"]},{"1328195843":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328195841, 1328195838, 1328195843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.23655295372009 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:51:02.670761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:51:22.049009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/50/image_11012025_15_50_03_048500_0003.jpg', '/home/pi/Desktop/images/11012025/15/51/image_11012025_15_51_02_214085_0000.jpg', '/home/pi/Desktop/images/11012025/15/51/image_11012025_15_51_02_214085_0001.jpg', '/home/pi/Desktop/images/11012025/15/51/image_11012025_15_51_02_214085_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/50/image_11012025_15_50_03_048500_0003.jpg
/home/pi/Desktop/images/11012025/15/51/image_11012025_15_51_02_214085_0000.jpg
/home/pi/Desktop/images/11012025/15/51/image_11012025_15_51_02_214085_0001.jpg
/home/pi/Desktop/images/11012025/15/51/image_11012025_15_51_02_214085_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328196098","1328196170","1328196101","1328196168"],"photo_ids_order":["1328196098","1328196101","1328196168","1328196170"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f4546cb64e6c491c710d6ad92927b920.jpg","text":"TemporaryFile(/tmp/multipartBody5824101312701655138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607152234,"filename":"image_11012025_15_50_03_048500_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9c284f84654e153a4973229cf80b3842.jpg","text":"TemporaryFile(/tmp/multipartBody4910046016187801750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607152234,"filename":"image_11012025_15_51_02_214085_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9facee62a930dd9a0a424a86583acdb1.jpg","text":"TemporaryFile(/tmp/multipartBody4579694021044292521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607152234,"filename":"image_11012025_15_51_02_214085_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/34b8addc464e4e8b30036a23a37c75ba.jpg","text":"TemporaryFile(/tmp/multipartBody7704439891661074630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607152234,"filename":"image_11012025_15_51_02_214085_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328196168","file1":"1328196101","file0":"1328196098","file3":"1328196170"},"map_files_photo_id_array":[{"photo_id":"1328196168","filename":"file2"},{"photo_id":"1328196101","filename":"file1"},{"photo_id":"1328196098","filename":"file0"},{"photo_id":"1328196170","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328196098":["hashtag1","hashtag2"]},{"1328196170":["hashtag1","hashtag2"]},{"1328196101":["hashtag1","hashtag2"]},{"1328196168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328196098, 1328196170, 1328196101, 1328196168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.093682289123535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:52:02.564369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:52:22.230309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/51/image_11012025_15_51_02_214085_0003.jpg', '/home/pi/Desktop/images/11012025/15/52/image_11012025_15_52_02_423149_0000.jpg', '/home/pi/Desktop/images/11012025/15/52/image_11012025_15_52_02_423149_0001.jpg', '/home/pi/Desktop/images/11012025/15/52/image_11012025_15_52_02_423149_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/51/image_11012025_15_51_02_214085_0003.jpg
/home/pi/Desktop/images/11012025/15/52/image_11012025_15_52_02_423149_0000.jpg
/home/pi/Desktop/images/11012025/15/52/image_11012025_15_52_02_423149_0001.jpg
/home/pi/Desktop/images/11012025/15/52/image_11012025_15_52_02_423149_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.88332748413086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 15:52:42.176246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/51/image_11012025_15_51_02_214085_0003.jpg', '/home/pi/Desktop/images/11012025/15/52/image_11012025_15_52_02_423149_0000.jpg', '/home/pi/Desktop/images/11012025/15/52/image_11012025_15_52_02_423149_0001.jpg', '/home/pi/Desktop/images/11012025/15/52/image_11012025_15_52_02_423149_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/51/image_11012025_15_51_02_214085_0003.jpg
/home/pi/Desktop/images/11012025/15/52/image_11012025_15_52_02_423149_0000.jpg
/home/pi/Desktop/images/11012025/15/52/image_11012025_15_52_02_423149_0001.jpg
/home/pi/Desktop/images/11012025/15/52/image_11012025_15_52_02_423149_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328196194","1328196197","1328196193","1328196192"],"photo_ids_order":["1328196192","1328196193","1328196194","1328196197"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8b376c1f19948a534ac8aeb6d82ae78b.jpg","text":"TemporaryFile(/tmp/multipartBody3898039947514664462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607232478,"filename":"image_11012025_15_52_02_423149_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f98ffc05d2022a8780e8af2e51a92dc6.jpg","text":"TemporaryFile(/tmp/multipartBody1339003422935989122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607232478,"filename":"image_11012025_15_52_02_423149_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f0ca3c68751b5fecfbac9bb0512e8032.jpg","text":"TemporaryFile(/tmp/multipartBody5222714965587258160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607232478,"filename":"image_11012025_15_52_02_423149_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/53aca0ca509371d78c5b6b254b1028eb.jpg","text":"TemporaryFile(/tmp/multipartBody5114797285825137893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607232478,"filename":"image_11012025_15_51_02_214085_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328196194","file1":"1328196193","file0":"1328196192","file3":"1328196197"},"map_files_photo_id_array":[{"photo_id":"1328196194","filename":"file2"},{"photo_id":"1328196193","filename":"file1"},{"photo_id":"1328196192","filename":"file0"},{"photo_id":"1328196197","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328196194":["hashtag1","hashtag2"]},{"1328196197":["hashtag1","hashtag2"]},{"1328196193":["hashtag1","hashtag2"]},{"1328196192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328196194, 1328196197, 1328196193, 1328196192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.66869878768921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 15:53:32.360169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/52/image_11012025_15_52_02_423149_0003.jpg', '/home/pi/Desktop/images/11012025/15/53/image_11012025_15_53_02_530230_0000.jpg', '/home/pi/Desktop/images/11012025/15/53/image_11012025_15_53_02_530230_0001.jpg', '/home/pi/Desktop/images/11012025/15/53/image_11012025_15_53_02_530230_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/52/image_11012025_15_52_02_423149_0003.jpg
/home/pi/Desktop/images/11012025/15/53/image_11012025_15_53_02_530230_0000.jpg
/home/pi/Desktop/images/11012025/15/53/image_11012025_15_53_02_530230_0001.jpg
/home/pi/Desktop/images/11012025/15/53/image_11012025_15_53_02_530230_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328196216","1328196213","1328196215","1328196217"],"photo_ids_order":["1328196213","1328196215","1328196216","1328196217"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ef6779907f976b0466d7b03d442784fb.jpg","text":"TemporaryFile(/tmp/multipartBody4314167000578828030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607282416,"filename":"image_11012025_15_53_02_530230_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/45acc49f96e44fe581c6c4f670ca27fc.jpg","text":"TemporaryFile(/tmp/multipartBody56873919643215457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607282416,"filename":"image_11012025_15_52_02_423149_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2798b5b074a3c65705b4655213964947.jpg","text":"TemporaryFile(/tmp/multipartBody8654972473425019304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607282416,"filename":"image_11012025_15_53_02_530230_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/890849b5edbf86d523199619da07ec16.jpg","text":"TemporaryFile(/tmp/multipartBody8447048574283301260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607282416,"filename":"image_11012025_15_53_02_530230_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328196216","file1":"1328196215","file0":"1328196213","file3":"1328196217"},"map_files_photo_id_array":[{"photo_id":"1328196216","filename":"file2"},{"photo_id":"1328196215","filename":"file1"},{"photo_id":"1328196213","filename":"file0"},{"photo_id":"1328196217","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328196216":["hashtag1","hashtag2"]},{"1328196213":["hashtag1","hashtag2"]},{"1328196215":["hashtag1","hashtag2"]},{"1328196217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328196216, 1328196213, 1328196215, 1328196217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.50724196434021 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:54:22.582427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/53/image_11012025_15_53_02_530230_0003.jpg', '/home/pi/Desktop/images/11012025/15/54/image_11012025_15_54_02_695297_0000.jpg', '/home/pi/Desktop/images/11012025/15/54/image_11012025_15_54_02_695297_0001.jpg', '/home/pi/Desktop/images/11012025/15/54/image_11012025_15_54_02_695297_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/53/image_11012025_15_53_02_530230_0003.jpg
/home/pi/Desktop/images/11012025/15/54/image_11012025_15_54_02_695297_0000.jpg
/home/pi/Desktop/images/11012025/15/54/image_11012025_15_54_02_695297_0001.jpg
/home/pi/Desktop/images/11012025/15/54/image_11012025_15_54_02_695297_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328196242","1328196245","1328196247","1328196249"],"photo_ids_order":["1328196242","1328196245","1328196247","1328196249"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d1489458b243bdf8e1cf221385b70503.jpg","text":"TemporaryFile(/tmp/multipartBody8520150023690585064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607332756,"filename":"image_11012025_15_53_02_530230_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1362770e8ee3ed44617f5cd236b2ab72.jpg","text":"TemporaryFile(/tmp/multipartBody7820533292053200356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607332756,"filename":"image_11012025_15_54_02_695297_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f3aed2bc8bf6cf16d5fc24213bbbcdfa.jpg","text":"TemporaryFile(/tmp/multipartBody3366747246193513849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607332756,"filename":"image_11012025_15_54_02_695297_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8583e243e449504153c46bb5e1950d87.jpg","text":"TemporaryFile(/tmp/multipartBody9192750872551515114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607332756,"filename":"image_11012025_15_54_02_695297_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328196247","file1":"1328196245","file0":"1328196242","file3":"1328196249"},"map_files_photo_id_array":[{"photo_id":"1328196247","filename":"file2"},{"photo_id":"1328196245","filename":"file1"},{"photo_id":"1328196242","filename":"file0"},{"photo_id":"1328196249","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328196242":["hashtag1","hashtag2"]},{"1328196245":["hashtag1","hashtag2"]},{"1328196247":["hashtag1","hashtag2"]},{"1328196249":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328196242, 1328196245, 1328196247, 1328196249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.276108503341675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:55:03.255128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:55:22.698903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/54/image_11012025_15_54_02_695297_0003.jpg', '/home/pi/Desktop/images/11012025/15/55/image_11012025_15_55_02_841295_0000.jpg', '/home/pi/Desktop/images/11012025/15/55/image_11012025_15_55_02_841295_0001.jpg', '/home/pi/Desktop/images/11012025/15/55/image_11012025_15_55_02_841295_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/54/image_11012025_15_54_02_695297_0003.jpg
/home/pi/Desktop/images/11012025/15/55/image_11012025_15_55_02_841295_0000.jpg
/home/pi/Desktop/images/11012025/15/55/image_11012025_15_55_02_841295_0001.jpg
/home/pi/Desktop/images/11012025/15/55/image_11012025_15_55_02_841295_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328196417","1328196383","1328196370","1328196415"],"photo_ids_order":["1328196370","1328196383","1328196415","1328196417"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e8cffd671d9d618834a69be7757146a8.jpg","text":"TemporaryFile(/tmp/multipartBody2713971019610026093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607392879,"filename":"image_11012025_15_55_02_841295_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1539a76bd881489d3c908ac26d357c99.jpg","text":"TemporaryFile(/tmp/multipartBody2271901647506450207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607392879,"filename":"image_11012025_15_55_02_841295_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5dda745c8b20fcd9639afc3abab67c1b.jpg","text":"TemporaryFile(/tmp/multipartBody6542872769078233133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607392879,"filename":"image_11012025_15_54_02_695297_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8bb4d39d4cfe8c065c20984c41da014f.jpg","text":"TemporaryFile(/tmp/multipartBody6575022438228170938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607392879,"filename":"image_11012025_15_55_02_841295_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328196415","file1":"1328196383","file0":"1328196370","file3":"1328196417"},"map_files_photo_id_array":[{"photo_id":"1328196415","filename":"file2"},{"photo_id":"1328196383","filename":"file1"},{"photo_id":"1328196370","filename":"file0"},{"photo_id":"1328196417","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328196417":["hashtag1","hashtag2"]},{"1328196383":["hashtag1","hashtag2"]},{"1328196370":["hashtag1","hashtag2"]},{"1328196415":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328196417, 1328196383, 1328196370, 1328196415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.93074297904968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:56:21.850536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/55/image_11012025_15_55_02_841295_0003.jpg', '/home/pi/Desktop/images/11012025/15/56/image_11012025_15_56_03_096725_0000.jpg', '/home/pi/Desktop/images/11012025/15/56/image_11012025_15_56_03_096725_0001.jpg', '/home/pi/Desktop/images/11012025/15/56/image_11012025_15_56_03_096725_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/55/image_11012025_15_55_02_841295_0003.jpg
/home/pi/Desktop/images/11012025/15/56/image_11012025_15_56_03_096725_0000.jpg
/home/pi/Desktop/images/11012025/15/56/image_11012025_15_56_03_096725_0001.jpg
/home/pi/Desktop/images/11012025/15/56/image_11012025_15_56_03_096725_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328196440","1328196437","1328196434","1328196432"],"photo_ids_order":["1328196432","1328196434","1328196437","1328196440"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ae80b3ba688b9c589ca261c2cb6fb327.jpg","text":"TemporaryFile(/tmp/multipartBody5248340780790862015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607452050,"filename":"image_11012025_15_56_03_096725_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c958b82e8420409c1d9fe70a0e51a443.jpg","text":"TemporaryFile(/tmp/multipartBody7125516138305999636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607452050,"filename":"image_11012025_15_56_03_096725_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4a17f5fc8661a5800da6a535407c7349.jpg","text":"TemporaryFile(/tmp/multipartBody9065704420165509417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607452050,"filename":"image_11012025_15_56_03_096725_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/db84b1625f5fe321a06dda60b3d18b0b.jpg","text":"TemporaryFile(/tmp/multipartBody6853698015182053199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607452050,"filename":"image_11012025_15_55_02_841295_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328196437","file1":"1328196434","file0":"1328196432","file3":"1328196440"},"map_files_photo_id_array":[{"photo_id":"1328196437","filename":"file2"},{"photo_id":"1328196434","filename":"file1"},{"photo_id":"1328196432","filename":"file0"},{"photo_id":"1328196440","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328196440":["hashtag1","hashtag2"]},{"1328196437":["hashtag1","hashtag2"]},{"1328196434":["hashtag1","hashtag2"]},{"1328196432":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328196440, 1328196437, 1328196434, 1328196432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.22117280960083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:57:02.683343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 15:57:21.966009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/56/image_11012025_15_56_03_096725_0003.jpg', '/home/pi/Desktop/images/11012025/15/57/image_11012025_15_57_02_177523_0000.jpg', '/home/pi/Desktop/images/11012025/15/57/image_11012025_15_57_02_177523_0001.jpg', '/home/pi/Desktop/images/11012025/15/57/image_11012025_15_57_02_177523_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/56/image_11012025_15_56_03_096725_0003.jpg
/home/pi/Desktop/images/11012025/15/57/image_11012025_15_57_02_177523_0000.jpg
/home/pi/Desktop/images/11012025/15/57/image_11012025_15_57_02_177523_0001.jpg
/home/pi/Desktop/images/11012025/15/57/image_11012025_15_57_02_177523_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328196479","1328196472","1328196475","1328196477"],"photo_ids_order":["1328196472","1328196475","1328196477","1328196479"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0a03ecb248c067f06a594a6a4114f573.jpg","text":"TemporaryFile(/tmp/multipartBody8201643446280299610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607512086,"filename":"image_11012025_15_57_02_177523_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1fadc9b290fdd86cd0585ae126b526c0.jpg","text":"TemporaryFile(/tmp/multipartBody8642802936260191404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607512086,"filename":"image_11012025_15_56_03_096725_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6126031a9953560445995f9ebd85414e.jpg","text":"TemporaryFile(/tmp/multipartBody3097211545156610574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607512086,"filename":"image_11012025_15_57_02_177523_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dbcd3a5185076639fcc43625aecef26b.jpg","text":"TemporaryFile(/tmp/multipartBody3122439842042370318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607512086,"filename":"image_11012025_15_57_02_177523_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328196477","file1":"1328196475","file0":"1328196472","file3":"1328196479"},"map_files_photo_id_array":[{"photo_id":"1328196477","filename":"file2"},{"photo_id":"1328196475","filename":"file1"},{"photo_id":"1328196472","filename":"file0"},{"photo_id":"1328196479","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328196479":["hashtag1","hashtag2"]},{"1328196472":["hashtag1","hashtag2"]},{"1328196475":["hashtag1","hashtag2"]},{"1328196477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328196479, 1328196472, 1328196475, 1328196477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.61087107658386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 15:59:03.089553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/57/image_11012025_15_57_02_177523_0003.jpg', '/home/pi/Desktop/images/11012025/15/58/image_11012025_15_58_02_333328_0000.jpg', '/home/pi/Desktop/images/11012025/15/58/image_11012025_15_58_02_333328_0001.jpg', '/home/pi/Desktop/images/11012025/15/58/image_11012025_15_58_02_333328_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/57/image_11012025_15_57_02_177523_0003.jpg
/home/pi/Desktop/images/11012025/15/58/image_11012025_15_58_02_333328_0000.jpg
/home/pi/Desktop/images/11012025/15/58/image_11012025_15_58_02_333328_0001.jpg
/home/pi/Desktop/images/11012025/15/58/image_11012025_15_58_02_333328_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328196516","1328196506","1328196511","1328196519"],"photo_ids_order":["1328196506","1328196511","1328196516","1328196519"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/65509f48f346832b2a3aacfdfe1af8bc.jpg","text":"TemporaryFile(/tmp/multipartBody8018750480021091427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607613474,"filename":"image_11012025_15_58_02_333328_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/acb8619d03cba315ee111588596e0a64.jpg","text":"TemporaryFile(/tmp/multipartBody5458880274905422729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607613474,"filename":"image_11012025_15_57_02_177523_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f3c146368590f35ccec662dbab740f43.jpg","text":"TemporaryFile(/tmp/multipartBody4853657729357805817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607613474,"filename":"image_11012025_15_58_02_333328_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a413d729486111264974b9fa2cf9bb94.jpg","text":"TemporaryFile(/tmp/multipartBody6946413718030202875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607613474,"filename":"image_11012025_15_58_02_333328_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328196516","file1":"1328196511","file0":"1328196506","file3":"1328196519"},"map_files_photo_id_array":[{"photo_id":"1328196516","filename":"file2"},{"photo_id":"1328196511","filename":"file1"},{"photo_id":"1328196506","filename":"file0"},{"photo_id":"1328196519","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328196516":["hashtag1","hashtag2"]},{"1328196506":["hashtag1","hashtag2"]},{"1328196511":["hashtag1","hashtag2"]},{"1328196519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328196516, 1328196506, 1328196511, 1328196519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58974504470825 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-11 15:59:52.402722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/58/image_11012025_15_58_02_333328_0003.jpg', '/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_02_622149_0000.jpg', '/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_02_622149_0001.jpg', '/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_02_622149_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/58/image_11012025_15_58_02_333328_0003.jpg
/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_02_622149_0000.jpg
/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_02_622149_0001.jpg
/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_02_622149_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328196550","1328196532","1328196535","1328196537"],"photo_ids_order":["1328196532","1328196535","1328196537","1328196550"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fdd80acb024c51652bae15244f222e8d.jpg","text":"TemporaryFile(/tmp/multipartBody5271236543782863257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607662596,"filename":"image_11012025_15_59_02_622149_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fce2ee585a62eb3308db191ad5d20fed.jpg","text":"TemporaryFile(/tmp/multipartBody7776203608035257827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607662596,"filename":"image_11012025_15_58_02_333328_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/25eb3a4827e62fffc9be516dd89149e3.jpg","text":"TemporaryFile(/tmp/multipartBody7489960962459913636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607662596,"filename":"image_11012025_15_59_02_622149_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/621e2f6f4e2565ff74d473e1e675df2e.jpg","text":"TemporaryFile(/tmp/multipartBody3987706582013928306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607662596,"filename":"image_11012025_15_59_02_622149_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328196537","file1":"1328196535","file0":"1328196532","file3":"1328196550"},"map_files_photo_id_array":[{"photo_id":"1328196537","filename":"file2"},{"photo_id":"1328196535","filename":"file1"},{"photo_id":"1328196532","filename":"file0"},{"photo_id":"1328196550","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328196550":["hashtag1","hashtag2"]},{"1328196532":["hashtag1","hashtag2"]},{"1328196535":["hashtag1","hashtag2"]},{"1328196537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328196550, 1328196532, 1328196535, 1328196537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.2971465587616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 16:00:32.585615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_02_622149_0003.jpg', '/home/pi/Desktop/images/11012025/16/00/image_11012025_16_00_02_800511_0000.jpg', '/home/pi/Desktop/images/11012025/16/00/image_11012025_16_00_02_800511_0001.jpg', '/home/pi/Desktop/images/11012025/16/00/image_11012025_16_00_02_800511_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_02_622149_0003.jpg
/home/pi/Desktop/images/11012025/16/00/image_11012025_16_00_02_800511_0000.jpg
/home/pi/Desktop/images/11012025/16/00/image_11012025_16_00_02_800511_0001.jpg
/home/pi/Desktop/images/11012025/16/00/image_11012025_16_00_02_800511_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328196720","1328196907","1328196715","1328196718"],"photo_ids_order":["1328196715","1328196718","1328196720","1328196907"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7797a20004c42a8b0a1a16c8571a8203.jpg","text":"TemporaryFile(/tmp/multipartBody1404297538560986447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607702730,"filename":"image_11012025_16_00_02_800511_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f1109d58bb8e908a9856e56611c69e9e.jpg","text":"TemporaryFile(/tmp/multipartBody8156429193632734102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607702730,"filename":"image_11012025_16_00_02_800511_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9858144bba981690374c925a241d70fe.jpg","text":"TemporaryFile(/tmp/multipartBody9209278440749577411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607702730,"filename":"image_11012025_15_59_02_622149_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/200d8385c030a63b286d04c5d61a8a38.jpg","text":"TemporaryFile(/tmp/multipartBody8789737361245415060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607702730,"filename":"image_11012025_16_00_02_800511_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328196720","file1":"1328196718","file0":"1328196715","file3":"1328196907"},"map_files_photo_id_array":[{"photo_id":"1328196720","filename":"file2"},{"photo_id":"1328196718","filename":"file1"},{"photo_id":"1328196715","filename":"file0"},{"photo_id":"1328196907","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328196720":["hashtag1","hashtag2"]},{"1328196907":["hashtag1","hashtag2"]},{"1328196715":["hashtag1","hashtag2"]},{"1328196718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328196720, 1328196907, 1328196715, 1328196718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.54480290412903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:01:22.761219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/00/image_11012025_16_00_02_800511_0003.jpg', '/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_02_946000_0000.jpg', '/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_02_946000_0001.jpg', '/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_02_946000_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/00/image_11012025_16_00_02_800511_0003.jpg
/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_02_946000_0000.jpg
/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_02_946000_0001.jpg
/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_02_946000_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328197904","1328197792","1328198232","1328197796"],"photo_ids_order":["1328197792","1328197796","1328197904","1328198232"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7725f8a661d45f63d7aa0d0ba256d1db.jpg","text":"TemporaryFile(/tmp/multipartBody7161677633399645638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607752894,"filename":"image_11012025_16_01_02_946000_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3fc370fe1d896907d59c475e90b2cfe2.jpg","text":"TemporaryFile(/tmp/multipartBody5202328932382978368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607752894,"filename":"image_11012025_16_00_02_800511_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/432e04728c70620ea6eff75907798c32.jpg","text":"TemporaryFile(/tmp/multipartBody4723939167418746823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607752894,"filename":"image_11012025_16_01_02_946000_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d34f0c9c9a1436b25f16c277a83bec83.jpg","text":"TemporaryFile(/tmp/multipartBody7004843819817661648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607752894,"filename":"image_11012025_16_01_02_946000_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328197904","file1":"1328197796","file0":"1328197792","file3":"1328198232"},"map_files_photo_id_array":[{"photo_id":"1328197904","filename":"file2"},{"photo_id":"1328197796","filename":"file1"},{"photo_id":"1328197792","filename":"file0"},{"photo_id":"1328198232","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328197904":["hashtag1","hashtag2"]},{"1328197792":["hashtag1","hashtag2"]},{"1328198232":["hashtag1","hashtag2"]},{"1328197796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328197904, 1328197792, 1328198232, 1328197796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.06254696846008 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 16:02:02.310385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:02:21.927893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_02_946000_0003.jpg', '/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_03_086047_0000.jpg', '/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_03_086047_0001.jpg', '/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_03_086047_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_02_946000_0003.jpg
/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_03_086047_0000.jpg
/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_03_086047_0001.jpg
/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_03_086047_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328198810","1328198793","1328198889","1328198510"],"photo_ids_order":["1328198510","1328198793","1328198810","1328198889"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3d6a15fbd1194a9fa17b0446960228fd.jpg","text":"TemporaryFile(/tmp/multipartBody9053481061398800616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607812072,"filename":"image_11012025_16_02_03_086047_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2be6565a294bd4c7de8e8dec84961c00.jpg","text":"TemporaryFile(/tmp/multipartBody7784405438466878835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607812072,"filename":"image_11012025_16_02_03_086047_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a452e03f92ad721737553b83f6bb0187.jpg","text":"TemporaryFile(/tmp/multipartBody4746961311281968377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607812072,"filename":"image_11012025_16_02_03_086047_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6bebb28e9b3f88307095f43e6ca8a5cd.jpg","text":"TemporaryFile(/tmp/multipartBody719738719563750507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607812072,"filename":"image_11012025_16_01_02_946000_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328198810","file1":"1328198793","file0":"1328198510","file3":"1328198889"},"map_files_photo_id_array":[{"photo_id":"1328198810","filename":"file2"},{"photo_id":"1328198793","filename":"file1"},{"photo_id":"1328198510","filename":"file0"},{"photo_id":"1328198889","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328198810":["hashtag1","hashtag2"]},{"1328198793":["hashtag1","hashtag2"]},{"1328198889":["hashtag1","hashtag2"]},{"1328198510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328198810, 1328198793, 1328198889, 1328198510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.56668424606323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 16:03:02.769958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:03:22.259977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_03_086047_0003.jpg', '/home/pi/Desktop/images/11012025/16/03/image_11012025_16_03_02_219166_0000.jpg', '/home/pi/Desktop/images/11012025/16/03/image_11012025_16_03_02_219166_0001.jpg', '/home/pi/Desktop/images/11012025/16/03/image_11012025_16_03_02_219166_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_03_086047_0003.jpg
/home/pi/Desktop/images/11012025/16/03/image_11012025_16_03_02_219166_0000.jpg
/home/pi/Desktop/images/11012025/16/03/image_11012025_16_03_02_219166_0001.jpg
/home/pi/Desktop/images/11012025/16/03/image_11012025_16_03_02_219166_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328198991","1328198994","1328199006","1328199014"],"photo_ids_order":["1328198991","1328198994","1328199006","1328199014"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/71bbc8cde99a1a06ae16b179ea4610e7.jpg","text":"TemporaryFile(/tmp/multipartBody956361029904509822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607872544,"filename":"image_11012025_16_02_03_086047_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c3c468597ce35e3b7899d448297817e5.jpg","text":"TemporaryFile(/tmp/multipartBody1685446528077645960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607872544,"filename":"image_11012025_16_03_02_219166_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b42756b0f01cffb15c96d01c9d9f49b9.jpg","text":"TemporaryFile(/tmp/multipartBody8967370699324810028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607872544,"filename":"image_11012025_16_03_02_219166_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/689b11e8fc75b66f6b435cbaed3ad425.jpg","text":"TemporaryFile(/tmp/multipartBody822743862281013596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607872544,"filename":"image_11012025_16_03_02_219166_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328199006","file1":"1328198994","file0":"1328198991","file3":"1328199014"},"map_files_photo_id_array":[{"photo_id":"1328199006","filename":"file2"},{"photo_id":"1328198994","filename":"file1"},{"photo_id":"1328198991","filename":"file0"},{"photo_id":"1328199014","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328198991":["hashtag1","hashtag2"]},{"1328198994":["hashtag1","hashtag2"]},{"1328199006":["hashtag1","hashtag2"]},{"1328199014":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328198991, 1328198994, 1328199006, 1328199014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.99481439590454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:04:22.275222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/03/image_11012025_16_03_02_219166_0003.jpg', '/home/pi/Desktop/images/11012025/16/04/image_11012025_16_04_02_485404_0000.jpg', '/home/pi/Desktop/images/11012025/16/04/image_11012025_16_04_02_485404_0001.jpg', '/home/pi/Desktop/images/11012025/16/04/image_11012025_16_04_02_485404_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/03/image_11012025_16_03_02_219166_0003.jpg
/home/pi/Desktop/images/11012025/16/04/image_11012025_16_04_02_485404_0000.jpg
/home/pi/Desktop/images/11012025/16/04/image_11012025_16_04_02_485404_0001.jpg
/home/pi/Desktop/images/11012025/16/04/image_11012025_16_04_02_485404_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.704776525497437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 16:04:42.360460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/03/image_11012025_16_03_02_219166_0003.jpg', '/home/pi/Desktop/images/11012025/16/04/image_11012025_16_04_02_485404_0000.jpg', '/home/pi/Desktop/images/11012025/16/04/image_11012025_16_04_02_485404_0001.jpg', '/home/pi/Desktop/images/11012025/16/04/image_11012025_16_04_02_485404_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/03/image_11012025_16_03_02_219166_0003.jpg
/home/pi/Desktop/images/11012025/16/04/image_11012025_16_04_02_485404_0000.jpg
/home/pi/Desktop/images/11012025/16/04/image_11012025_16_04_02_485404_0001.jpg
/home/pi/Desktop/images/11012025/16/04/image_11012025_16_04_02_485404_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328199037","1328199040","1328199036","1328199038"],"photo_ids_order":["1328199036","1328199037","1328199038","1328199040"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/de9d6135047322d9c634a07e101000b2.jpg","text":"TemporaryFile(/tmp/multipartBody675713064486364694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607952459,"filename":"image_11012025_16_04_02_485404_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f4f08bdbdcab5628e4527212bc698639.jpg","text":"TemporaryFile(/tmp/multipartBody1904035713564365285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607952459,"filename":"image_11012025_16_04_02_485404_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fef773051900c4c8e6fa9b1152d66e81.jpg","text":"TemporaryFile(/tmp/multipartBody4653627521470978028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607952459,"filename":"image_11012025_16_03_02_219166_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9a7d7fa1170031d1eb94f35152a95d16.jpg","text":"TemporaryFile(/tmp/multipartBody8440614127173992232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736607952459,"filename":"image_11012025_16_04_02_485404_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328199038","file1":"1328199037","file0":"1328199036","file3":"1328199040"},"map_files_photo_id_array":[{"photo_id":"1328199038","filename":"file2"},{"photo_id":"1328199037","filename":"file1"},{"photo_id":"1328199036","filename":"file0"},{"photo_id":"1328199040","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328199037":["hashtag1","hashtag2"]},{"1328199040":["hashtag1","hashtag2"]},{"1328199036":["hashtag1","hashtag2"]},{"1328199038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328199037, 1328199040, 1328199036, 1328199038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.97847509384155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 16:05:32.471436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/04/image_11012025_16_04_02_485404_0003.jpg', '/home/pi/Desktop/images/11012025/16/05/image_11012025_16_05_02_685443_0000.jpg', '/home/pi/Desktop/images/11012025/16/05/image_11012025_16_05_02_685443_0001.jpg', '/home/pi/Desktop/images/11012025/16/05/image_11012025_16_05_02_685443_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/04/image_11012025_16_04_02_485404_0003.jpg
/home/pi/Desktop/images/11012025/16/05/image_11012025_16_05_02_685443_0000.jpg
/home/pi/Desktop/images/11012025/16/05/image_11012025_16_05_02_685443_0001.jpg
/home/pi/Desktop/images/11012025/16/05/image_11012025_16_05_02_685443_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328199127","1328199060","1328199194","1328199191"],"photo_ids_order":["1328199060","1328199127","1328199191","1328199194"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/274f040f733dbc061d2544c217e2b6a5.jpg","text":"TemporaryFile(/tmp/multipartBody3761281288523490444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608002566,"filename":"image_11012025_16_05_02_685443_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d027c601f2db99b9d506f14434669543.jpg","text":"TemporaryFile(/tmp/multipartBody4443892577847781554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608002566,"filename":"image_11012025_16_04_02_485404_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a3796c13f1cebbb77d715428c8a84877.jpg","text":"TemporaryFile(/tmp/multipartBody2749291544381254355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608002566,"filename":"image_11012025_16_05_02_685443_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3a900759f2cf2b5281d845f4942da5cf.jpg","text":"TemporaryFile(/tmp/multipartBody6182016178689313539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608002566,"filename":"image_11012025_16_05_02_685443_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328199191","file1":"1328199127","file0":"1328199060","file3":"1328199194"},"map_files_photo_id_array":[{"photo_id":"1328199191","filename":"file2"},{"photo_id":"1328199127","filename":"file1"},{"photo_id":"1328199060","filename":"file0"},{"photo_id":"1328199194","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328199127":["hashtag1","hashtag2"]},{"1328199060":["hashtag1","hashtag2"]},{"1328199194":["hashtag1","hashtag2"]},{"1328199191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328199127, 1328199060, 1328199194, 1328199191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.198118925094604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:06:22.812940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/05/image_11012025_16_05_02_685443_0003.jpg', '/home/pi/Desktop/images/11012025/16/06/image_11012025_16_06_02_914066_0000.jpg', '/home/pi/Desktop/images/11012025/16/06/image_11012025_16_06_02_914066_0001.jpg', '/home/pi/Desktop/images/11012025/16/06/image_11012025_16_06_02_914066_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/05/image_11012025_16_05_02_685443_0003.jpg
/home/pi/Desktop/images/11012025/16/06/image_11012025_16_06_02_914066_0000.jpg
/home/pi/Desktop/images/11012025/16/06/image_11012025_16_06_02_914066_0001.jpg
/home/pi/Desktop/images/11012025/16/06/image_11012025_16_06_02_914066_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328199330","1328199354","1328199342","1328199335"],"photo_ids_order":["1328199330","1328199335","1328199342","1328199354"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7caeaddc722dcc12be43fcdff16da064.jpg","text":"TemporaryFile(/tmp/multipartBody6523130938061907912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608052809,"filename":"image_11012025_16_05_02_685443_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ccd4ea91ae172067b97f7d9a470b7535.jpg","text":"TemporaryFile(/tmp/multipartBody4307576596533816010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608052809,"filename":"image_11012025_16_06_02_914066_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5058f55c4a601358d6a0ed0c782968bc.jpg","text":"TemporaryFile(/tmp/multipartBody4056192790917879574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608052809,"filename":"image_11012025_16_06_02_914066_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/45cc0e0f23e7d16d48bf288073b81789.jpg","text":"TemporaryFile(/tmp/multipartBody6238913095940044790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608052809,"filename":"image_11012025_16_06_02_914066_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328199342","file1":"1328199335","file0":"1328199330","file3":"1328199354"},"map_files_photo_id_array":[{"photo_id":"1328199342","filename":"file2"},{"photo_id":"1328199335","filename":"file1"},{"photo_id":"1328199330","filename":"file0"},{"photo_id":"1328199354","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328199330":["hashtag1","hashtag2"]},{"1328199354":["hashtag1","hashtag2"]},{"1328199342":["hashtag1","hashtag2"]},{"1328199335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328199330, 1328199354, 1328199342, 1328199335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.941508769989014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:07:21.909289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/06/image_11012025_16_06_02_914066_0003.jpg', '/home/pi/Desktop/images/11012025/16/07/image_11012025_16_07_03_121856_0000.jpg', '/home/pi/Desktop/images/11012025/16/07/image_11012025_16_07_03_121856_0001.jpg', '/home/pi/Desktop/images/11012025/16/07/image_11012025_16_07_03_121856_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/06/image_11012025_16_06_02_914066_0003.jpg
/home/pi/Desktop/images/11012025/16/07/image_11012025_16_07_03_121856_0000.jpg
/home/pi/Desktop/images/11012025/16/07/image_11012025_16_07_03_121856_0001.jpg
/home/pi/Desktop/images/11012025/16/07/image_11012025_16_07_03_121856_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328199373","1328199376","1328199371","1328199368"],"photo_ids_order":["1328199368","1328199371","1328199373","1328199376"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d6875b8262ef2afd8b80cb154638cff1.jpg","text":"TemporaryFile(/tmp/multipartBody2783451431364473831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608111997,"filename":"image_11012025_16_07_03_121856_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0a2fa4bbcda380eddf7b97bd08ca00f6.jpg","text":"TemporaryFile(/tmp/multipartBody66608384129415437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608111997,"filename":"image_11012025_16_07_03_121856_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9763e11e6f9cebfe4989733485b01a76.jpg","text":"TemporaryFile(/tmp/multipartBody8514896004418070894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608111997,"filename":"image_11012025_16_07_03_121856_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f27d93a09a4e269680444bd6ec2820a0.jpg","text":"TemporaryFile(/tmp/multipartBody5133213544010602600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608111997,"filename":"image_11012025_16_06_02_914066_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328199373","file1":"1328199371","file0":"1328199368","file3":"1328199376"},"map_files_photo_id_array":[{"photo_id":"1328199373","filename":"file2"},{"photo_id":"1328199371","filename":"file1"},{"photo_id":"1328199368","filename":"file0"},{"photo_id":"1328199376","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328199373":["hashtag1","hashtag2"]},{"1328199376":["hashtag1","hashtag2"]},{"1328199371":["hashtag1","hashtag2"]},{"1328199368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328199373, 1328199376, 1328199371, 1328199368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.88837647438049 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 16:08:02.446512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:08:22.146337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/07/image_11012025_16_07_03_121856_0003.jpg', '/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_02_258261_0000.jpg', '/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_02_258261_0001.jpg', '/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_02_258261_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/07/image_11012025_16_07_03_121856_0003.jpg
/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_02_258261_0000.jpg
/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_02_258261_0001.jpg
/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_02_258261_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.833521604537964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 16:08:42.091448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/07/image_11012025_16_07_03_121856_0003.jpg', '/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_02_258261_0000.jpg', '/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_02_258261_0001.jpg', '/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_02_258261_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/07/image_11012025_16_07_03_121856_0003.jpg
/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_02_258261_0000.jpg
/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_02_258261_0001.jpg
/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_02_258261_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328199406","1328199402","1328199404","1328199407"],"photo_ids_order":["1328199402","1328199404","1328199406","1328199407"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ea79965698de3f28464dc8e7303cba12.jpg","text":"TemporaryFile(/tmp/multipartBody6344651217544450656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608192314,"filename":"image_11012025_16_08_02_258261_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/554061186834fae5ea38a6eb6d309f8a.jpg","text":"TemporaryFile(/tmp/multipartBody6296677792750340211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608192314,"filename":"image_11012025_16_07_03_121856_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6f577c0478a53e4ee281b0f03e954417.jpg","text":"TemporaryFile(/tmp/multipartBody7755781901905470161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608192314,"filename":"image_11012025_16_08_02_258261_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5803603a3f446a0a613728fbf0389969.jpg","text":"TemporaryFile(/tmp/multipartBody1901951041483829592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608192314,"filename":"image_11012025_16_08_02_258261_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328199406","file1":"1328199404","file0":"1328199402","file3":"1328199407"},"map_files_photo_id_array":[{"photo_id":"1328199406","filename":"file2"},{"photo_id":"1328199404","filename":"file1"},{"photo_id":"1328199402","filename":"file0"},{"photo_id":"1328199407","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328199406":["hashtag1","hashtag2"]},{"1328199402":["hashtag1","hashtag2"]},{"1328199404":["hashtag1","hashtag2"]},{"1328199407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328199406, 1328199402, 1328199404, 1328199407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.19326972961426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 16:09:32.240710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_02_258261_0003.jpg', '/home/pi/Desktop/images/11012025/16/09/image_11012025_16_09_02_409344_0000.jpg', '/home/pi/Desktop/images/11012025/16/09/image_11012025_16_09_02_409344_0001.jpg', '/home/pi/Desktop/images/11012025/16/09/image_11012025_16_09_02_409344_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_02_258261_0003.jpg
/home/pi/Desktop/images/11012025/16/09/image_11012025_16_09_02_409344_0000.jpg
/home/pi/Desktop/images/11012025/16/09/image_11012025_16_09_02_409344_0001.jpg
/home/pi/Desktop/images/11012025/16/09/image_11012025_16_09_02_409344_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328199444","1328199449","1328199446","1328199425"],"photo_ids_order":["1328199425","1328199444","1328199446","1328199449"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1c460f4bc1e879cef7ac09c1e90151f3.jpg","text":"TemporaryFile(/tmp/multipartBody1669863562451464507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608242473,"filename":"image_11012025_16_09_02_409344_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3b95530b83dbe0c346006b8fa5b81227.jpg","text":"TemporaryFile(/tmp/multipartBody6809231519429862433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608242473,"filename":"image_11012025_16_09_02_409344_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c19d0cb5fb2d3241b50fdb94c4c9a96d.jpg","text":"TemporaryFile(/tmp/multipartBody8719090965160180118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608242473,"filename":"image_11012025_16_09_02_409344_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2ec99a42e93b929ac4ab44095e50ad09.jpg","text":"TemporaryFile(/tmp/multipartBody7952551550237411670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608242473,"filename":"image_11012025_16_08_02_258261_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328199446","file1":"1328199444","file0":"1328199425","file3":"1328199449"},"map_files_photo_id_array":[{"photo_id":"1328199446","filename":"file2"},{"photo_id":"1328199444","filename":"file1"},{"photo_id":"1328199425","filename":"file0"},{"photo_id":"1328199449","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328199444":["hashtag1","hashtag2"]},{"1328199449":["hashtag1","hashtag2"]},{"1328199446":["hashtag1","hashtag2"]},{"1328199425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328199444, 1328199449, 1328199446, 1328199425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.08467197418213 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:10:22.379245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/09/image_11012025_16_09_02_409344_0003.jpg', '/home/pi/Desktop/images/11012025/16/10/image_11012025_16_10_02_687870_0000.jpg', '/home/pi/Desktop/images/11012025/16/10/image_11012025_16_10_02_687870_0001.jpg', '/home/pi/Desktop/images/11012025/16/10/image_11012025_16_10_02_687870_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/09/image_11012025_16_09_02_409344_0003.jpg
/home/pi/Desktop/images/11012025/16/10/image_11012025_16_10_02_687870_0000.jpg
/home/pi/Desktop/images/11012025/16/10/image_11012025_16_10_02_687870_0001.jpg
/home/pi/Desktop/images/11012025/16/10/image_11012025_16_10_02_687870_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328199457","1328199477","1328199461","1328199464"],"photo_ids_order":["1328199457","1328199461","1328199464","1328199477"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/85342d2e22658699a2905227383d5738.jpg","text":"TemporaryFile(/tmp/multipartBody157305823631101846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608292503,"filename":"image_11012025_16_09_02_409344_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fe153823154436ff1bddb48ba07443a5.jpg","text":"TemporaryFile(/tmp/multipartBody2999137313518343905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608292503,"filename":"image_11012025_16_10_02_687870_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/882bd6a5353ee5fe3b187c5c93454358.jpg","text":"TemporaryFile(/tmp/multipartBody8561443753230132642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608292503,"filename":"image_11012025_16_10_02_687870_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/df2cdc412bb75740fb66759d0f8eedc8.jpg","text":"TemporaryFile(/tmp/multipartBody5714669444208139144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608292503,"filename":"image_11012025_16_10_02_687870_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328199464","file1":"1328199461","file0":"1328199457","file3":"1328199477"},"map_files_photo_id_array":[{"photo_id":"1328199464","filename":"file2"},{"photo_id":"1328199461","filename":"file1"},{"photo_id":"1328199457","filename":"file0"},{"photo_id":"1328199477","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328199457":["hashtag1","hashtag2"]},{"1328199477":["hashtag1","hashtag2"]},{"1328199461":["hashtag1","hashtag2"]},{"1328199464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328199457, 1328199477, 1328199461, 1328199464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.1990225315094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:11:22.532984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/10/image_11012025_16_10_02_687870_0003.jpg', '/home/pi/Desktop/images/11012025/16/11/image_11012025_16_11_02_751320_0000.jpg', '/home/pi/Desktop/images/11012025/16/11/image_11012025_16_11_02_751320_0001.jpg', '/home/pi/Desktop/images/11012025/16/11/image_11012025_16_11_02_751320_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/10/image_11012025_16_10_02_687870_0003.jpg
/home/pi/Desktop/images/11012025/16/11/image_11012025_16_11_02_751320_0000.jpg
/home/pi/Desktop/images/11012025/16/11/image_11012025_16_11_02_751320_0001.jpg
/home/pi/Desktop/images/11012025/16/11/image_11012025_16_11_02_751320_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328199712","1328199756","1328199752","1328199761"],"photo_ids_order":["1328199712","1328199752","1328199756","1328199761"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/66f549804db428916de2276047d13216.jpg","text":"TemporaryFile(/tmp/multipartBody7389736317068866695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608352577,"filename":"image_11012025_16_10_02_687870_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f23ff45a1e278744d596715076f5975b.jpg","text":"TemporaryFile(/tmp/multipartBody1207939906679335962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608352577,"filename":"image_11012025_16_11_02_751320_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aee23b552bd3636f5a0bc8acea594204.jpg","text":"TemporaryFile(/tmp/multipartBody5242728747492756035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608352577,"filename":"image_11012025_16_11_02_751320_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c2e12ceb79ad558a7a07ea78e0f2993.jpg","text":"TemporaryFile(/tmp/multipartBody6495770850447487820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608352577,"filename":"image_11012025_16_11_02_751320_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328199756","file1":"1328199752","file0":"1328199712","file3":"1328199761"},"map_files_photo_id_array":[{"photo_id":"1328199756","filename":"file2"},{"photo_id":"1328199752","filename":"file1"},{"photo_id":"1328199712","filename":"file0"},{"photo_id":"1328199761","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328199712":["hashtag1","hashtag2"]},{"1328199756":["hashtag1","hashtag2"]},{"1328199752":["hashtag1","hashtag2"]},{"1328199761":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328199712, 1328199756, 1328199752, 1328199761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.875662088394165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 16:12:03.122380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:12:22.804860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/11/image_11012025_16_11_02_751320_0003.jpg', '/home/pi/Desktop/images/11012025/16/12/image_11012025_16_12_02_934532_0000.jpg', '/home/pi/Desktop/images/11012025/16/12/image_11012025_16_12_02_934532_0001.jpg', '/home/pi/Desktop/images/11012025/16/12/image_11012025_16_12_02_934532_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/11/image_11012025_16_11_02_751320_0003.jpg
/home/pi/Desktop/images/11012025/16/12/image_11012025_16_12_02_934532_0000.jpg
/home/pi/Desktop/images/11012025/16/12/image_11012025_16_12_02_934532_0001.jpg
/home/pi/Desktop/images/11012025/16/12/image_11012025_16_12_02_934532_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328199786","1328199807","1328199770","1328199773"],"photo_ids_order":["1328199770","1328199773","1328199786","1328199807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/786df63e47364ccf7fd1002f02887e57.jpg","text":"TemporaryFile(/tmp/multipartBody6287226083985760023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608412911,"filename":"image_11012025_16_12_02_934532_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9ec44417ee963ff5f1ad6c07dfb41aeb.jpg","text":"TemporaryFile(/tmp/multipartBody5330170171761442530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608412911,"filename":"image_11012025_16_12_02_934532_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/70c5ba7c0bf7085600fbf834577ba019.jpg","text":"TemporaryFile(/tmp/multipartBody7789805129701720477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608412911,"filename":"image_11012025_16_11_02_751320_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8941cad8e05ab363a08138bfb210a21e.jpg","text":"TemporaryFile(/tmp/multipartBody3227088985072826492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608412911,"filename":"image_11012025_16_12_02_934532_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328199786","file1":"1328199773","file0":"1328199770","file3":"1328199807"},"map_files_photo_id_array":[{"photo_id":"1328199786","filename":"file2"},{"photo_id":"1328199773","filename":"file1"},{"photo_id":"1328199770","filename":"file0"},{"photo_id":"1328199807","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328199786":["hashtag1","hashtag2"]},{"1328199807":["hashtag1","hashtag2"]},{"1328199770":["hashtag1","hashtag2"]},{"1328199773":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328199786, 1328199807, 1328199770, 1328199773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.31427717208862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:13:21.941613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/12/image_11012025_16_12_02_934532_0003.jpg', '/home/pi/Desktop/images/11012025/16/13/image_11012025_16_13_03_161354_0000.jpg', '/home/pi/Desktop/images/11012025/16/13/image_11012025_16_13_03_161354_0001.jpg', '/home/pi/Desktop/images/11012025/16/13/image_11012025_16_13_03_161354_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/12/image_11012025_16_12_02_934532_0003.jpg
/home/pi/Desktop/images/11012025/16/13/image_11012025_16_13_03_161354_0000.jpg
/home/pi/Desktop/images/11012025/16/13/image_11012025_16_13_03_161354_0001.jpg
/home/pi/Desktop/images/11012025/16/13/image_11012025_16_13_03_161354_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328199829","1328199831","1328199833","1328199827"],"photo_ids_order":["1328199827","1328199829","1328199831","1328199833"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/50b9bc162fc9cd7e53d3400cc8c260d9.jpg","text":"TemporaryFile(/tmp/multipartBody7667478528206713865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608472098,"filename":"image_11012025_16_13_03_161354_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/29854ec19984151331e618a284af3e18.jpg","text":"TemporaryFile(/tmp/multipartBody2061919991963979759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608472098,"filename":"image_11012025_16_13_03_161354_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4fb1adac8c4ce577cf33f34ce4e6f3f3.jpg","text":"TemporaryFile(/tmp/multipartBody5294734492395730535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608472098,"filename":"image_11012025_16_13_03_161354_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/88f5e43405b6f579d35d8b281c474172.jpg","text":"TemporaryFile(/tmp/multipartBody2971188769931303320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608472098,"filename":"image_11012025_16_12_02_934532_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328199831","file1":"1328199829","file0":"1328199827","file3":"1328199833"},"map_files_photo_id_array":[{"photo_id":"1328199831","filename":"file2"},{"photo_id":"1328199829","filename":"file1"},{"photo_id":"1328199827","filename":"file0"},{"photo_id":"1328199833","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328199829":["hashtag1","hashtag2"]},{"1328199831":["hashtag1","hashtag2"]},{"1328199833":["hashtag1","hashtag2"]},{"1328199827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328199829, 1328199831, 1328199833, 1328199827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.857218742370605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 16:14:02.490150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:14:22.158242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/13/image_11012025_16_13_03_161354_0003.jpg', '/home/pi/Desktop/images/11012025/16/14/image_11012025_16_14_02_374039_0000.jpg', '/home/pi/Desktop/images/11012025/16/14/image_11012025_16_14_02_374039_0001.jpg', '/home/pi/Desktop/images/11012025/16/14/image_11012025_16_14_02_374039_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/13/image_11012025_16_13_03_161354_0003.jpg
/home/pi/Desktop/images/11012025/16/14/image_11012025_16_14_02_374039_0000.jpg
/home/pi/Desktop/images/11012025/16/14/image_11012025_16_14_02_374039_0001.jpg
/home/pi/Desktop/images/11012025/16/14/image_11012025_16_14_02_374039_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328199859","1328199869","1328199863","1328199866"],"photo_ids_order":["1328199859","1328199863","1328199866","1328199869"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/787247e224d3fe16813d3cef53508906.jpg","text":"TemporaryFile(/tmp/multipartBody6148577452488903263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608532398,"filename":"image_11012025_16_13_03_161354_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f0e67a8ba0c05514dc484c3c547a7519.jpg","text":"TemporaryFile(/tmp/multipartBody2645017715837615742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608532398,"filename":"image_11012025_16_14_02_374039_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/87cb9e3ffb87ee74d5ea094294843927.jpg","text":"TemporaryFile(/tmp/multipartBody2697869848456426418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608532398,"filename":"image_11012025_16_14_02_374039_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7035c607bcab247de9b2e222355ab83d.jpg","text":"TemporaryFile(/tmp/multipartBody7117509022624246039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608532398,"filename":"image_11012025_16_14_02_374039_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328199866","file1":"1328199863","file0":"1328199859","file3":"1328199869"},"map_files_photo_id_array":[{"photo_id":"1328199866","filename":"file2"},{"photo_id":"1328199863","filename":"file1"},{"photo_id":"1328199859","filename":"file0"},{"photo_id":"1328199869","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328199859":["hashtag1","hashtag2"]},{"1328199869":["hashtag1","hashtag2"]},{"1328199863":["hashtag1","hashtag2"]},{"1328199866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328199859, 1328199869, 1328199863, 1328199866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.77881669998169 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:15:22.360275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/14/image_11012025_16_14_02_374039_0003.jpg', '/home/pi/Desktop/images/11012025/16/15/image_11012025_16_15_02_466864_0000.jpg', '/home/pi/Desktop/images/11012025/16/15/image_11012025_16_15_02_466864_0001.jpg', '/home/pi/Desktop/images/11012025/16/15/image_11012025_16_15_02_466864_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/14/image_11012025_16_14_02_374039_0003.jpg
/home/pi/Desktop/images/11012025/16/15/image_11012025_16_15_02_466864_0000.jpg
/home/pi/Desktop/images/11012025/16/15/image_11012025_16_15_02_466864_0001.jpg
/home/pi/Desktop/images/11012025/16/15/image_11012025_16_15_02_466864_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328200049","1328199968","1328199997","1328200015"],"photo_ids_order":["1328199968","1328199997","1328200015","1328200049"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9bfe943f96e65a38857179a145eb4972.jpg","text":"TemporaryFile(/tmp/multipartBody9018040765557044268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608592447,"filename":"image_11012025_16_15_02_466864_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/19260f84c4528553537beb4bb425ddd3.jpg","text":"TemporaryFile(/tmp/multipartBody6280108005495558294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608592447,"filename":"image_11012025_16_14_02_374039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7e4eaf10576025cb1e2a4a5f9c16b598.jpg","text":"TemporaryFile(/tmp/multipartBody3142895837439201130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608592447,"filename":"image_11012025_16_15_02_466864_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/59dad3c98118cd6649261f16a8385934.jpg","text":"TemporaryFile(/tmp/multipartBody512901693834002017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608592447,"filename":"image_11012025_16_15_02_466864_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328200015","file1":"1328199997","file0":"1328199968","file3":"1328200049"},"map_files_photo_id_array":[{"photo_id":"1328200015","filename":"file2"},{"photo_id":"1328199997","filename":"file1"},{"photo_id":"1328199968","filename":"file0"},{"photo_id":"1328200049","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328200049":["hashtag1","hashtag2"]},{"1328199968":["hashtag1","hashtag2"]},{"1328199997":["hashtag1","hashtag2"]},{"1328200015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328200049, 1328199968, 1328199997, 1328200015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.39801836013794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 16:16:02.954948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:16:22.560106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/15/image_11012025_16_15_02_466864_0003.jpg', '/home/pi/Desktop/images/11012025/16/16/image_11012025_16_16_02_696469_0000.jpg', '/home/pi/Desktop/images/11012025/16/16/image_11012025_16_16_02_696469_0001.jpg', '/home/pi/Desktop/images/11012025/16/16/image_11012025_16_16_02_696469_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/15/image_11012025_16_15_02_466864_0003.jpg
/home/pi/Desktop/images/11012025/16/16/image_11012025_16_16_02_696469_0000.jpg
/home/pi/Desktop/images/11012025/16/16/image_11012025_16_16_02_696469_0001.jpg
/home/pi/Desktop/images/11012025/16/16/image_11012025_16_16_02_696469_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328200074","1328200083","1328200071","1328200079"],"photo_ids_order":["1328200071","1328200074","1328200079","1328200083"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8ab344c2beac925d3d307ba9b0273969.jpg","text":"TemporaryFile(/tmp/multipartBody2378452205966055704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608652842,"filename":"image_11012025_16_16_02_696469_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/711292dbc6f1d34787fc9c23b2a1934e.jpg","text":"TemporaryFile(/tmp/multipartBody2278812312299716104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608652842,"filename":"image_11012025_16_16_02_696469_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/23b67a8b07ee886865e219be2b6d852f.jpg","text":"TemporaryFile(/tmp/multipartBody2943251077697227023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608652842,"filename":"image_11012025_16_15_02_466864_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e1e66b50f5dc37ba36bf6acb6737f70d.jpg","text":"TemporaryFile(/tmp/multipartBody2751249836709287436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608652842,"filename":"image_11012025_16_16_02_696469_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328200079","file1":"1328200074","file0":"1328200071","file3":"1328200083"},"map_files_photo_id_array":[{"photo_id":"1328200079","filename":"file2"},{"photo_id":"1328200074","filename":"file1"},{"photo_id":"1328200071","filename":"file0"},{"photo_id":"1328200083","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328200074":["hashtag1","hashtag2"]},{"1328200083":["hashtag1","hashtag2"]},{"1328200071":["hashtag1","hashtag2"]},{"1328200079":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328200074, 1328200083, 1328200071, 1328200079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.91807222366333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:17:22.691359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/16/image_11012025_16_16_02_696469_0003.jpg', '/home/pi/Desktop/images/11012025/16/17/image_11012025_16_17_03_031028_0000.jpg', '/home/pi/Desktop/images/11012025/16/17/image_11012025_16_17_03_031028_0001.jpg', '/home/pi/Desktop/images/11012025/16/17/image_11012025_16_17_03_031028_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/16/image_11012025_16_16_02_696469_0003.jpg
/home/pi/Desktop/images/11012025/16/17/image_11012025_16_17_03_031028_0000.jpg
/home/pi/Desktop/images/11012025/16/17/image_11012025_16_17_03_031028_0001.jpg
/home/pi/Desktop/images/11012025/16/17/image_11012025_16_17_03_031028_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328200770","1328200093","1328200596","1328200216"],"photo_ids_order":["1328200093","1328200216","1328200596","1328200770"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/579313a949f4921deb500ba9f7ea6e10.jpg","text":"TemporaryFile(/tmp/multipartBody37969174710804296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608712777,"filename":"image_11012025_16_17_03_031028_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0f864f8c8a5a3865f20b910194e48b5f.jpg","text":"TemporaryFile(/tmp/multipartBody6007598508223987295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608712777,"filename":"image_11012025_16_16_02_696469_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a6281d6c3d904a7a3488b55d4eaaa87c.jpg","text":"TemporaryFile(/tmp/multipartBody4151959030283302498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608712777,"filename":"image_11012025_16_17_03_031028_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b631322755c6b02f529a063fb0f71197.jpg","text":"TemporaryFile(/tmp/multipartBody6252856688666147267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608712777,"filename":"image_11012025_16_17_03_031028_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328200596","file1":"1328200216","file0":"1328200093","file3":"1328200770"},"map_files_photo_id_array":[{"photo_id":"1328200596","filename":"file2"},{"photo_id":"1328200216","filename":"file1"},{"photo_id":"1328200093","filename":"file0"},{"photo_id":"1328200770","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328200770":["hashtag1","hashtag2"]},{"1328200093":["hashtag1","hashtag2"]},{"1328200596":["hashtag1","hashtag2"]},{"1328200216":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328200770, 1328200093, 1328200596, 1328200216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.334152698516846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 16:18:02.349856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:18:21.916551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/17/image_11012025_16_17_03_031028_0003.jpg', '/home/pi/Desktop/images/11012025/16/18/image_11012025_16_18_03_086988_0000.jpg', '/home/pi/Desktop/images/11012025/16/18/image_11012025_16_18_03_086988_0001.jpg', '/home/pi/Desktop/images/11012025/16/18/image_11012025_16_18_03_086988_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/17/image_11012025_16_17_03_031028_0003.jpg
/home/pi/Desktop/images/11012025/16/18/image_11012025_16_18_03_086988_0000.jpg
/home/pi/Desktop/images/11012025/16/18/image_11012025_16_18_03_086988_0001.jpg
/home/pi/Desktop/images/11012025/16/18/image_11012025_16_18_03_086988_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328201054","1328201012","1328201089","1328200965"],"photo_ids_order":["1328200965","1328201012","1328201054","1328201089"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/543db72cfeb6f59a53903997c26516b5.jpg","text":"TemporaryFile(/tmp/multipartBody7556234920111156426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608772084,"filename":"image_11012025_16_18_03_086988_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/84e1b8d1511de970cf99867f733aef7a.jpg","text":"TemporaryFile(/tmp/multipartBody6413577693034909423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608772084,"filename":"image_11012025_16_18_03_086988_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/afb382dccae0eadbec32dfcd700ab790.jpg","text":"TemporaryFile(/tmp/multipartBody1600237805756117950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608772084,"filename":"image_11012025_16_18_03_086988_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/722e8c57b923a12879a39337e90c6611.jpg","text":"TemporaryFile(/tmp/multipartBody3521449429733395883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608772084,"filename":"image_11012025_16_17_03_031028_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328201054","file1":"1328201012","file0":"1328200965","file3":"1328201089"},"map_files_photo_id_array":[{"photo_id":"1328201054","filename":"file2"},{"photo_id":"1328201012","filename":"file1"},{"photo_id":"1328200965","filename":"file0"},{"photo_id":"1328201089","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328201054":["hashtag1","hashtag2"]},{"1328201012":["hashtag1","hashtag2"]},{"1328201089":["hashtag1","hashtag2"]},{"1328200965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328201054, 1328201012, 1328201089, 1328200965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.22131133079529 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:19:22.328951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/18/image_11012025_16_18_03_086988_0003.jpg', '/home/pi/Desktop/images/11012025/16/19/image_11012025_16_19_02_272641_0000.jpg', '/home/pi/Desktop/images/11012025/16/19/image_11012025_16_19_02_272641_0001.jpg', '/home/pi/Desktop/images/11012025/16/19/image_11012025_16_19_02_272641_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/18/image_11012025_16_18_03_086988_0003.jpg
/home/pi/Desktop/images/11012025/16/19/image_11012025_16_19_02_272641_0000.jpg
/home/pi/Desktop/images/11012025/16/19/image_11012025_16_19_02_272641_0001.jpg
/home/pi/Desktop/images/11012025/16/19/image_11012025_16_19_02_272641_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328201140","1328201143","1328201145","1328201148"],"photo_ids_order":["1328201140","1328201143","1328201145","1328201148"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/12ad55ca236549690aaaa644b1a4d714.jpg","text":"TemporaryFile(/tmp/multipartBody4956660183862940771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608832319,"filename":"image_11012025_16_18_03_086988_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/90ce74083760e294222d7d538a674de1.jpg","text":"TemporaryFile(/tmp/multipartBody5060044273234207077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608832319,"filename":"image_11012025_16_19_02_272641_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/70d72e7ba0a793243264f35b2f4d28eb.jpg","text":"TemporaryFile(/tmp/multipartBody7412891591266611788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608832319,"filename":"image_11012025_16_19_02_272641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8ebfffb39a5c7afd0349e686e3e6884b.jpg","text":"TemporaryFile(/tmp/multipartBody6958527839118637494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608832319,"filename":"image_11012025_16_19_02_272641_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328201145","file1":"1328201143","file0":"1328201140","file3":"1328201148"},"map_files_photo_id_array":[{"photo_id":"1328201145","filename":"file2"},{"photo_id":"1328201143","filename":"file1"},{"photo_id":"1328201140","filename":"file0"},{"photo_id":"1328201148","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328201140":["hashtag1","hashtag2"]},{"1328201143":["hashtag1","hashtag2"]},{"1328201145":["hashtag1","hashtag2"]},{"1328201148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328201140, 1328201143, 1328201145, 1328201148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.4363009929657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:20:22.428673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/19/image_11012025_16_19_02_272641_0003.jpg', '/home/pi/Desktop/images/11012025/16/20/image_11012025_16_20_02_604701_0000.jpg', '/home/pi/Desktop/images/11012025/16/20/image_11012025_16_20_02_604701_0001.jpg', '/home/pi/Desktop/images/11012025/16/20/image_11012025_16_20_02_604701_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/19/image_11012025_16_19_02_272641_0003.jpg
/home/pi/Desktop/images/11012025/16/20/image_11012025_16_20_02_604701_0000.jpg
/home/pi/Desktop/images/11012025/16/20/image_11012025_16_20_02_604701_0001.jpg
/home/pi/Desktop/images/11012025/16/20/image_11012025_16_20_02_604701_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.823241233825684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 16:20:42.416210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/19/image_11012025_16_19_02_272641_0003.jpg', '/home/pi/Desktop/images/11012025/16/20/image_11012025_16_20_02_604701_0000.jpg', '/home/pi/Desktop/images/11012025/16/20/image_11012025_16_20_02_604701_0001.jpg', '/home/pi/Desktop/images/11012025/16/20/image_11012025_16_20_02_604701_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/19/image_11012025_16_19_02_272641_0003.jpg
/home/pi/Desktop/images/11012025/16/20/image_11012025_16_20_02_604701_0000.jpg
/home/pi/Desktop/images/11012025/16/20/image_11012025_16_20_02_604701_0001.jpg
/home/pi/Desktop/images/11012025/16/20/image_11012025_16_20_02_604701_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328201171","1328201170","1328201172","1328201175"],"photo_ids_order":["1328201170","1328201171","1328201172","1328201175"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c4eb279a204b48b6625db5d09f181410.jpg","text":"TemporaryFile(/tmp/multipartBody6424458170856239178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608912643,"filename":"image_11012025_16_20_02_604701_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0163a1f2bc1adabd8e3e758a7ab9b203.jpg","text":"TemporaryFile(/tmp/multipartBody8440768029072156291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608912643,"filename":"image_11012025_16_19_02_272641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/927c730a5c82acdfdccb442e12323aae.jpg","text":"TemporaryFile(/tmp/multipartBody6349583171389486512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608912643,"filename":"image_11012025_16_20_02_604701_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/de43a4a990722819b7f0d3ebdf30569a.jpg","text":"TemporaryFile(/tmp/multipartBody1956833959876757889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608912643,"filename":"image_11012025_16_20_02_604701_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328201172","file1":"1328201171","file0":"1328201170","file3":"1328201175"},"map_files_photo_id_array":[{"photo_id":"1328201172","filename":"file2"},{"photo_id":"1328201171","filename":"file1"},{"photo_id":"1328201170","filename":"file0"},{"photo_id":"1328201175","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328201171":["hashtag1","hashtag2"]},{"1328201170":["hashtag1","hashtag2"]},{"1328201172":["hashtag1","hashtag2"]},{"1328201175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328201171, 1328201170, 1328201172, 1328201175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.16904973983765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 16:21:32.577525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/20/image_11012025_16_20_02_604701_0003.jpg', '/home/pi/Desktop/images/11012025/16/21/image_11012025_16_21_02_780253_0000.jpg', '/home/pi/Desktop/images/11012025/16/21/image_11012025_16_21_02_780253_0001.jpg', '/home/pi/Desktop/images/11012025/16/21/image_11012025_16_21_02_780253_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/20/image_11012025_16_20_02_604701_0003.jpg
/home/pi/Desktop/images/11012025/16/21/image_11012025_16_21_02_780253_0000.jpg
/home/pi/Desktop/images/11012025/16/21/image_11012025_16_21_02_780253_0001.jpg
/home/pi/Desktop/images/11012025/16/21/image_11012025_16_21_02_780253_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328201211","1328201210","1328201207","1328201209"],"photo_ids_order":["1328201207","1328201209","1328201210","1328201211"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/766a6df24c78f36cc8f9d7fcc0337322.jpg","text":"TemporaryFile(/tmp/multipartBody3623752936160184546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608962606,"filename":"image_11012025_16_21_02_780253_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/77926e3b9fd159ff7060d8e6c99708b4.jpg","text":"TemporaryFile(/tmp/multipartBody7192314087297298478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608962606,"filename":"image_11012025_16_21_02_780253_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f1fd15f5ac0bd5f1c670f36d3ed72183.jpg","text":"TemporaryFile(/tmp/multipartBody7344563185798566876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608962606,"filename":"image_11012025_16_20_02_604701_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b2580882d6da7ae14680b434fd155a5b.jpg","text":"TemporaryFile(/tmp/multipartBody8932932689449763022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736608962606,"filename":"image_11012025_16_21_02_780253_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328201210","file1":"1328201209","file0":"1328201207","file3":"1328201211"},"map_files_photo_id_array":[{"photo_id":"1328201210","filename":"file2"},{"photo_id":"1328201209","filename":"file1"},{"photo_id":"1328201207","filename":"file0"},{"photo_id":"1328201211","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328201211":["hashtag1","hashtag2"]},{"1328201210":["hashtag1","hashtag2"]},{"1328201207":["hashtag1","hashtag2"]},{"1328201209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328201211, 1328201210, 1328201207, 1328201209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.10236620903015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:22:21.797987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/21/image_11012025_16_21_02_780253_0003.jpg', '/home/pi/Desktop/images/11012025/16/22/image_11012025_16_22_03_025937_0000.jpg', '/home/pi/Desktop/images/11012025/16/22/image_11012025_16_22_03_025937_0001.jpg', '/home/pi/Desktop/images/11012025/16/22/image_11012025_16_22_03_025937_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/21/image_11012025_16_21_02_780253_0003.jpg
/home/pi/Desktop/images/11012025/16/22/image_11012025_16_22_03_025937_0000.jpg
/home/pi/Desktop/images/11012025/16/22/image_11012025_16_22_03_025937_0001.jpg
/home/pi/Desktop/images/11012025/16/22/image_11012025_16_22_03_025937_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328201229","1328201231","1328201233","1328201227"],"photo_ids_order":["1328201227","1328201229","1328201231","1328201233"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0eed3030c55ebcd2ec7fc46a8611558f.jpg","text":"TemporaryFile(/tmp/multipartBody1617476668938203204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609011964,"filename":"image_11012025_16_22_03_025937_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/82297eb49871f8942b56f64356c1a3ae.jpg","text":"TemporaryFile(/tmp/multipartBody948774169212541919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609011964,"filename":"image_11012025_16_22_03_025937_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/40eab6013640a9a48702ac5a761869a5.jpg","text":"TemporaryFile(/tmp/multipartBody6447579225750991870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609011964,"filename":"image_11012025_16_22_03_025937_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/df3fb9d3f8b815ce44bb13229da1e032.jpg","text":"TemporaryFile(/tmp/multipartBody8058559464960953185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609011964,"filename":"image_11012025_16_21_02_780253_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328201231","file1":"1328201229","file0":"1328201227","file3":"1328201233"},"map_files_photo_id_array":[{"photo_id":"1328201231","filename":"file2"},{"photo_id":"1328201229","filename":"file1"},{"photo_id":"1328201227","filename":"file0"},{"photo_id":"1328201233","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328201229":["hashtag1","hashtag2"]},{"1328201231":["hashtag1","hashtag2"]},{"1328201233":["hashtag1","hashtag2"]},{"1328201227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328201229, 1328201231, 1328201233, 1328201227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.80486488342285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:23:22.003663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/22/image_11012025_16_22_03_025937_0003.jpg', '/home/pi/Desktop/images/11012025/16/23/image_11012025_16_23_02_196997_0000.jpg', '/home/pi/Desktop/images/11012025/16/23/image_11012025_16_23_02_196997_0001.jpg', '/home/pi/Desktop/images/11012025/16/23/image_11012025_16_23_02_196997_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/22/image_11012025_16_22_03_025937_0003.jpg
/home/pi/Desktop/images/11012025/16/23/image_11012025_16_23_02_196997_0000.jpg
/home/pi/Desktop/images/11012025/16/23/image_11012025_16_23_02_196997_0001.jpg
/home/pi/Desktop/images/11012025/16/23/image_11012025_16_23_02_196997_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328201256","1328201248","1328201250","1328201253"],"photo_ids_order":["1328201248","1328201250","1328201253","1328201256"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4fb62c678a5ba3f1ec269a2789f883aa.jpg","text":"TemporaryFile(/tmp/multipartBody6417986330429917354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609072047,"filename":"image_11012025_16_23_02_196997_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2075a4f413a84da2d0b6a0956356cf75.jpg","text":"TemporaryFile(/tmp/multipartBody8710024914125670855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609072047,"filename":"image_11012025_16_22_03_025937_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d9b66df813e4c5517a1ed0faf1162744.jpg","text":"TemporaryFile(/tmp/multipartBody6852189925212216760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609072047,"filename":"image_11012025_16_23_02_196997_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d2e7a64b27ddb2795e6eabc60b5ba849.jpg","text":"TemporaryFile(/tmp/multipartBody1291388129262044874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609072047,"filename":"image_11012025_16_23_02_196997_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328201253","file1":"1328201250","file0":"1328201248","file3":"1328201256"},"map_files_photo_id_array":[{"photo_id":"1328201253","filename":"file2"},{"photo_id":"1328201250","filename":"file1"},{"photo_id":"1328201248","filename":"file0"},{"photo_id":"1328201256","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328201256":["hashtag1","hashtag2"]},{"1328201248":["hashtag1","hashtag2"]},{"1328201250":["hashtag1","hashtag2"]},{"1328201253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328201256, 1328201248, 1328201250, 1328201253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.587998151779175 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-11 16:24:22.183304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/23/image_11012025_16_23_02_196997_0003.jpg', '/home/pi/Desktop/images/11012025/16/24/image_11012025_16_24_02_320537_0000.jpg', '/home/pi/Desktop/images/11012025/16/24/image_11012025_16_24_02_320537_0001.jpg', '/home/pi/Desktop/images/11012025/16/24/image_11012025_16_24_02_320537_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/23/image_11012025_16_23_02_196997_0003.jpg
/home/pi/Desktop/images/11012025/16/24/image_11012025_16_24_02_320537_0000.jpg
/home/pi/Desktop/images/11012025/16/24/image_11012025_16_24_02_320537_0001.jpg
/home/pi/Desktop/images/11012025/16/24/image_11012025_16_24_02_320537_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328201294","1328201297","1328201292","1328201271"],"photo_ids_order":["1328201271","1328201292","1328201294","1328201297"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b01b82eac327b934ac684b0283aca092.jpg","text":"TemporaryFile(/tmp/multipartBody6491419499795500539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609132162,"filename":"image_11012025_16_24_02_320537_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6661ad08d7c2e6201cdcdbc7549587c6.jpg","text":"TemporaryFile(/tmp/multipartBody8909827655534595972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609132162,"filename":"image_11012025_16_24_02_320537_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/40649bdd78d520b5d0a6615c1bbced36.jpg","text":"TemporaryFile(/tmp/multipartBody4796852621653329432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609132162,"filename":"image_11012025_16_24_02_320537_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8177da8415e0daaed200f30155693bb7.jpg","text":"TemporaryFile(/tmp/multipartBody6472861630167985159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609132162,"filename":"image_11012025_16_23_02_196997_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328201294","file1":"1328201292","file0":"1328201271","file3":"1328201297"},"map_files_photo_id_array":[{"photo_id":"1328201294","filename":"file2"},{"photo_id":"1328201292","filename":"file1"},{"photo_id":"1328201271","filename":"file0"},{"photo_id":"1328201297","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328201294":["hashtag1","hashtag2"]},{"1328201297":["hashtag1","hashtag2"]},{"1328201292":["hashtag1","hashtag2"]},{"1328201271":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328201294, 1328201297, 1328201292, 1328201271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.291574001312256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:25:22.309540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/24/image_11012025_16_24_02_320537_0003.jpg', '/home/pi/Desktop/images/11012025/16/25/image_11012025_16_25_02_495600_0000.jpg', '/home/pi/Desktop/images/11012025/16/25/image_11012025_16_25_02_495600_0001.jpg', '/home/pi/Desktop/images/11012025/16/25/image_11012025_16_25_02_495600_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/24/image_11012025_16_24_02_320537_0003.jpg
/home/pi/Desktop/images/11012025/16/25/image_11012025_16_25_02_495600_0000.jpg
/home/pi/Desktop/images/11012025/16/25/image_11012025_16_25_02_495600_0001.jpg
/home/pi/Desktop/images/11012025/16/25/image_11012025_16_25_02_495600_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328201316","1328201318","1328201321","1328201323"],"photo_ids_order":["1328201316","1328201318","1328201321","1328201323"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ff225cf12439f2d7209ea2f5bf7a5d3c.jpg","text":"TemporaryFile(/tmp/multipartBody7302209372536389699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609192496,"filename":"image_11012025_16_24_02_320537_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2b72cf411021834185841609a2a0caeb.jpg","text":"TemporaryFile(/tmp/multipartBody7217629431842660192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609192496,"filename":"image_11012025_16_25_02_495600_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/81061b7e6e79469c3ed64dd5b776e641.jpg","text":"TemporaryFile(/tmp/multipartBody5688449534954707711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609192496,"filename":"image_11012025_16_25_02_495600_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2abaedb25e7fcba225e6170ab05a625f.jpg","text":"TemporaryFile(/tmp/multipartBody3874744355495725206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609192496,"filename":"image_11012025_16_25_02_495600_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328201321","file1":"1328201318","file0":"1328201316","file3":"1328201323"},"map_files_photo_id_array":[{"photo_id":"1328201321","filename":"file2"},{"photo_id":"1328201318","filename":"file1"},{"photo_id":"1328201316","filename":"file0"},{"photo_id":"1328201323","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328201316":["hashtag1","hashtag2"]},{"1328201318":["hashtag1","hashtag2"]},{"1328201321":["hashtag1","hashtag2"]},{"1328201323":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328201316, 1328201318, 1328201321, 1328201323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.15254521369934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:26:22.481318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/25/image_11012025_16_25_02_495600_0003.jpg', '/home/pi/Desktop/images/11012025/16/26/image_11012025_16_26_02_641045_0000.jpg', '/home/pi/Desktop/images/11012025/16/26/image_11012025_16_26_02_641045_0001.jpg', '/home/pi/Desktop/images/11012025/16/26/image_11012025_16_26_02_641045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/25/image_11012025_16_25_02_495600_0003.jpg
/home/pi/Desktop/images/11012025/16/26/image_11012025_16_26_02_641045_0000.jpg
/home/pi/Desktop/images/11012025/16/26/image_11012025_16_26_02_641045_0001.jpg
/home/pi/Desktop/images/11012025/16/26/image_11012025_16_26_02_641045_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328201607","1328201585","1328201581","1328201485"],"photo_ids_order":["1328201485","1328201581","1328201585","1328201607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/98d2ab3d39811a604b8873a436971722.jpg","text":"TemporaryFile(/tmp/multipartBody5085301454166607011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609252656,"filename":"image_11012025_16_26_02_641045_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9365a949e7aa3a8c6d4b1403f513de21.jpg","text":"TemporaryFile(/tmp/multipartBody2937841510334719110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609252656,"filename":"image_11012025_16_26_02_641045_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/41453cf874aed99a9fafc4250b3499e7.jpg","text":"TemporaryFile(/tmp/multipartBody5776200821208647110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609252656,"filename":"image_11012025_16_26_02_641045_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d1f573539e76ccd9989e635f123faa3c.jpg","text":"TemporaryFile(/tmp/multipartBody550205622668198839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609252656,"filename":"image_11012025_16_25_02_495600_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328201585","file1":"1328201581","file0":"1328201485","file3":"1328201607"},"map_files_photo_id_array":[{"photo_id":"1328201585","filename":"file2"},{"photo_id":"1328201581","filename":"file1"},{"photo_id":"1328201485","filename":"file0"},{"photo_id":"1328201607","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328201607":["hashtag1","hashtag2"]},{"1328201585":["hashtag1","hashtag2"]},{"1328201581":["hashtag1","hashtag2"]},{"1328201485":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328201607, 1328201585, 1328201581, 1328201485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.45639634132385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:27:22.625912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/26/image_11012025_16_26_02_641045_0003.jpg', '/home/pi/Desktop/images/11012025/16/27/image_11012025_16_27_02_793032_0000.jpg', '/home/pi/Desktop/images/11012025/16/27/image_11012025_16_27_02_793032_0001.jpg', '/home/pi/Desktop/images/11012025/16/27/image_11012025_16_27_02_793032_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/26/image_11012025_16_26_02_641045_0003.jpg
/home/pi/Desktop/images/11012025/16/27/image_11012025_16_27_02_793032_0000.jpg
/home/pi/Desktop/images/11012025/16/27/image_11012025_16_27_02_793032_0001.jpg
/home/pi/Desktop/images/11012025/16/27/image_11012025_16_27_02_793032_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328201777","1328201770","1328201775","1328201760"],"photo_ids_order":["1328201760","1328201770","1328201775","1328201777"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/56548b12498903c59ed5f5a21cc32da0.jpg","text":"TemporaryFile(/tmp/multipartBody1884527205447274082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609312834,"filename":"image_11012025_16_27_02_793032_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8ec5ef8e752a6fd0e1383532d0a21955.jpg","text":"TemporaryFile(/tmp/multipartBody8164247029401570643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609312834,"filename":"image_11012025_16_27_02_793032_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ca7ac995ccaaf3e29fde74d564485235.jpg","text":"TemporaryFile(/tmp/multipartBody621588449171663443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609312834,"filename":"image_11012025_16_27_02_793032_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c5948ef75f6c79b2d5bd78dc5caf906f.jpg","text":"TemporaryFile(/tmp/multipartBody6852495672867518088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609312834,"filename":"image_11012025_16_26_02_641045_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328201775","file1":"1328201770","file0":"1328201760","file3":"1328201777"},"map_files_photo_id_array":[{"photo_id":"1328201775","filename":"file2"},{"photo_id":"1328201770","filename":"file1"},{"photo_id":"1328201760","filename":"file0"},{"photo_id":"1328201777","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328201777":["hashtag1","hashtag2"]},{"1328201770":["hashtag1","hashtag2"]},{"1328201775":["hashtag1","hashtag2"]},{"1328201760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328201777, 1328201770, 1328201775, 1328201760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.539413928985596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:28:21.873262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/27/image_11012025_16_27_02_793032_0003.jpg', '/home/pi/Desktop/images/11012025/16/28/image_11012025_16_28_03_007379_0000.jpg', '/home/pi/Desktop/images/11012025/16/28/image_11012025_16_28_03_007379_0001.jpg', '/home/pi/Desktop/images/11012025/16/28/image_11012025_16_28_03_007379_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/27/image_11012025_16_27_02_793032_0003.jpg
/home/pi/Desktop/images/11012025/16/28/image_11012025_16_28_03_007379_0000.jpg
/home/pi/Desktop/images/11012025/16/28/image_11012025_16_28_03_007379_0001.jpg
/home/pi/Desktop/images/11012025/16/28/image_11012025_16_28_03_007379_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.80332636833191 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 16:28:41.804718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/27/image_11012025_16_27_02_793032_0003.jpg', '/home/pi/Desktop/images/11012025/16/28/image_11012025_16_28_03_007379_0000.jpg', '/home/pi/Desktop/images/11012025/16/28/image_11012025_16_28_03_007379_0001.jpg', '/home/pi/Desktop/images/11012025/16/28/image_11012025_16_28_03_007379_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/27/image_11012025_16_27_02_793032_0003.jpg
/home/pi/Desktop/images/11012025/16/28/image_11012025_16_28_03_007379_0000.jpg
/home/pi/Desktop/images/11012025/16/28/image_11012025_16_28_03_007379_0001.jpg
/home/pi/Desktop/images/11012025/16/28/image_11012025_16_28_03_007379_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328201801","1328201806","1328201799","1328201803"],"photo_ids_order":["1328201799","1328201801","1328201803","1328201806"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e7628d43b23bfdab133b28b41a226a26.jpg","text":"TemporaryFile(/tmp/multipartBody6265826268285126301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609392011,"filename":"image_11012025_16_28_03_007379_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/da17d5d549abe60adea91013f16f3390.jpg","text":"TemporaryFile(/tmp/multipartBody2593745994670281493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609392011,"filename":"image_11012025_16_28_03_007379_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/263b976483f657451090822d84ca091a.jpg","text":"TemporaryFile(/tmp/multipartBody4195568584747412358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609392011,"filename":"image_11012025_16_27_02_793032_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/35f793dec075a9d3e04fa347c90efd3f.jpg","text":"TemporaryFile(/tmp/multipartBody1808885600816703712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609392011,"filename":"image_11012025_16_28_03_007379_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328201803","file1":"1328201801","file0":"1328201799","file3":"1328201806"},"map_files_photo_id_array":[{"photo_id":"1328201803","filename":"file2"},{"photo_id":"1328201801","filename":"file1"},{"photo_id":"1328201799","filename":"file0"},{"photo_id":"1328201806","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328201801":["hashtag1","hashtag2"]},{"1328201806":["hashtag1","hashtag2"]},{"1328201799":["hashtag1","hashtag2"]},{"1328201803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328201801, 1328201806, 1328201799, 1328201803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.29670572280884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 16:29:32.106279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/28/image_11012025_16_28_03_007379_0003.jpg', '/home/pi/Desktop/images/11012025/16/29/image_11012025_16_29_02_182480_0000.jpg', '/home/pi/Desktop/images/11012025/16/29/image_11012025_16_29_02_182480_0001.jpg', '/home/pi/Desktop/images/11012025/16/29/image_11012025_16_29_02_182480_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/28/image_11012025_16_28_03_007379_0003.jpg
/home/pi/Desktop/images/11012025/16/29/image_11012025_16_29_02_182480_0000.jpg
/home/pi/Desktop/images/11012025/16/29/image_11012025_16_29_02_182480_0001.jpg
/home/pi/Desktop/images/11012025/16/29/image_11012025_16_29_02_182480_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328201826","1328201939","1328201906","1328201829"],"photo_ids_order":["1328201826","1328201829","1328201906","1328201939"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a0de9d0570b8e28abd3a059ba6b81661.jpg","text":"TemporaryFile(/tmp/multipartBody7770783532188407183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609442238,"filename":"image_11012025_16_28_03_007379_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0d69ed8693f9ec510831a1d30cf01592.jpg","text":"TemporaryFile(/tmp/multipartBody7806769545182797597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609442238,"filename":"image_11012025_16_29_02_182480_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a9b439e7a3d6099493bd267bf9cd255d.jpg","text":"TemporaryFile(/tmp/multipartBody6572047796702805210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609442238,"filename":"image_11012025_16_29_02_182480_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c7c326b8909ac13c22b8f6c0b08a8166.jpg","text":"TemporaryFile(/tmp/multipartBody6990794313870142648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609442238,"filename":"image_11012025_16_29_02_182480_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328201906","file1":"1328201829","file0":"1328201826","file3":"1328201939"},"map_files_photo_id_array":[{"photo_id":"1328201906","filename":"file2"},{"photo_id":"1328201829","filename":"file1"},{"photo_id":"1328201826","filename":"file0"},{"photo_id":"1328201939","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328201826":["hashtag1","hashtag2"]},{"1328201939":["hashtag1","hashtag2"]},{"1328201906":["hashtag1","hashtag2"]},{"1328201829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328201826, 1328201939, 1328201906, 1328201829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.97487926483154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:30:22.168895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/29/image_11012025_16_29_02_182480_0003.jpg', '/home/pi/Desktop/images/11012025/16/30/image_11012025_16_30_02_318847_0000.jpg', '/home/pi/Desktop/images/11012025/16/30/image_11012025_16_30_02_318847_0001.jpg', '/home/pi/Desktop/images/11012025/16/30/image_11012025_16_30_02_318847_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/29/image_11012025_16_29_02_182480_0003.jpg
/home/pi/Desktop/images/11012025/16/30/image_11012025_16_30_02_318847_0000.jpg
/home/pi/Desktop/images/11012025/16/30/image_11012025_16_30_02_318847_0001.jpg
/home/pi/Desktop/images/11012025/16/30/image_11012025_16_30_02_318847_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328202010","1328202012","1328201991","1328201988"],"photo_ids_order":["1328201988","1328201991","1328202010","1328202012"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/38564c1f5d5c6ae3e1d883352f949313.jpg","text":"TemporaryFile(/tmp/multipartBody8186616711441041521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609492300,"filename":"image_11012025_16_30_02_318847_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/405f9d9915748248ab5c6e930a66a3cf.jpg","text":"TemporaryFile(/tmp/multipartBody3160623221230663556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609492300,"filename":"image_11012025_16_30_02_318847_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/042ec4a102d84c79144bc496d0e08d8f.jpg","text":"TemporaryFile(/tmp/multipartBody9197044724309118088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609492300,"filename":"image_11012025_16_30_02_318847_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6b1f6048b046352fae6fb5b748bce2e9.jpg","text":"TemporaryFile(/tmp/multipartBody5070497139411075087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609492300,"filename":"image_11012025_16_29_02_182480_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328202010","file1":"1328201991","file0":"1328201988","file3":"1328202012"},"map_files_photo_id_array":[{"photo_id":"1328202010","filename":"file2"},{"photo_id":"1328201991","filename":"file1"},{"photo_id":"1328201988","filename":"file0"},{"photo_id":"1328202012","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328202010":["hashtag1","hashtag2"]},{"1328202012":["hashtag1","hashtag2"]},{"1328201991":["hashtag1","hashtag2"]},{"1328201988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328202010, 1328202012, 1328201991, 1328201988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.51143193244934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 16:31:02.782605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:31:22.285273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/30/image_11012025_16_30_02_318847_0003.jpg', '/home/pi/Desktop/images/11012025/16/31/image_11012025_16_31_02_527265_0000.jpg', '/home/pi/Desktop/images/11012025/16/31/image_11012025_16_31_02_527265_0001.jpg', '/home/pi/Desktop/images/11012025/16/31/image_11012025_16_31_02_527265_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/30/image_11012025_16_30_02_318847_0003.jpg
/home/pi/Desktop/images/11012025/16/31/image_11012025_16_31_02_527265_0000.jpg
/home/pi/Desktop/images/11012025/16/31/image_11012025_16_31_02_527265_0001.jpg
/home/pi/Desktop/images/11012025/16/31/image_11012025_16_31_02_527265_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328202292","1328202294","1328202288","1328202171"],"photo_ids_order":["1328202171","1328202288","1328202292","1328202294"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6ec8a6e08ae43888ab9b6b47901e2d2a.jpg","text":"TemporaryFile(/tmp/multipartBody1842050372487283588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609552702,"filename":"image_11012025_16_31_02_527265_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0c7838aa79fdf824f6a6142ff231d2f0.jpg","text":"TemporaryFile(/tmp/multipartBody543738248007101835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609552702,"filename":"image_11012025_16_31_02_527265_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eaebc36ded196c5620f0d5d49a7a4093.jpg","text":"TemporaryFile(/tmp/multipartBody6542177040168500117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609552702,"filename":"image_11012025_16_31_02_527265_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1633519abff3cc6ceae3fe69d76a7686.jpg","text":"TemporaryFile(/tmp/multipartBody7715236609265985037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609552702,"filename":"image_11012025_16_30_02_318847_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328202292","file1":"1328202288","file0":"1328202171","file3":"1328202294"},"map_files_photo_id_array":[{"photo_id":"1328202292","filename":"file2"},{"photo_id":"1328202288","filename":"file1"},{"photo_id":"1328202171","filename":"file0"},{"photo_id":"1328202294","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328202292":["hashtag1","hashtag2"]},{"1328202294":["hashtag1","hashtag2"]},{"1328202288":["hashtag1","hashtag2"]},{"1328202171":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328202292, 1328202294, 1328202288, 1328202171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.167670488357544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:32:22.484864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/31/image_11012025_16_31_02_527265_0003.jpg', '/home/pi/Desktop/images/11012025/16/32/image_11012025_16_32_02_693516_0000.jpg', '/home/pi/Desktop/images/11012025/16/32/image_11012025_16_32_02_693516_0001.jpg', '/home/pi/Desktop/images/11012025/16/32/image_11012025_16_32_02_693516_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/31/image_11012025_16_31_02_527265_0003.jpg
/home/pi/Desktop/images/11012025/16/32/image_11012025_16_32_02_693516_0000.jpg
/home/pi/Desktop/images/11012025/16/32/image_11012025_16_32_02_693516_0001.jpg
/home/pi/Desktop/images/11012025/16/32/image_11012025_16_32_02_693516_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.788249015808105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 16:32:42.441595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/31/image_11012025_16_31_02_527265_0003.jpg', '/home/pi/Desktop/images/11012025/16/32/image_11012025_16_32_02_693516_0000.jpg', '/home/pi/Desktop/images/11012025/16/32/image_11012025_16_32_02_693516_0001.jpg', '/home/pi/Desktop/images/11012025/16/32/image_11012025_16_32_02_693516_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/31/image_11012025_16_31_02_527265_0003.jpg
/home/pi/Desktop/images/11012025/16/32/image_11012025_16_32_02_693516_0000.jpg
/home/pi/Desktop/images/11012025/16/32/image_11012025_16_32_02_693516_0001.jpg
/home/pi/Desktop/images/11012025/16/32/image_11012025_16_32_02_693516_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328202503","1328202502","1328202501","1328202504"],"photo_ids_order":["1328202501","1328202502","1328202503","1328202504"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/47e672baff2d4041a9e307f7ad5bd6bc.jpg","text":"TemporaryFile(/tmp/multipartBody7974802215067815794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609632658,"filename":"image_11012025_16_32_02_693516_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/23d9ced79ef79bfb96fcf47824b25153.jpg","text":"TemporaryFile(/tmp/multipartBody7667792052623935911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609632658,"filename":"image_11012025_16_32_02_693516_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1f66f56fa858bffc12e48556feff61e3.jpg","text":"TemporaryFile(/tmp/multipartBody1953822892845350382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609632658,"filename":"image_11012025_16_31_02_527265_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dcde53621e68fb5db2909e8a65e3c7fb.jpg","text":"TemporaryFile(/tmp/multipartBody2673161787366777044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609632658,"filename":"image_11012025_16_32_02_693516_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328202503","file1":"1328202502","file0":"1328202501","file3":"1328202504"},"map_files_photo_id_array":[{"photo_id":"1328202503","filename":"file2"},{"photo_id":"1328202502","filename":"file1"},{"photo_id":"1328202501","filename":"file0"},{"photo_id":"1328202504","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328202503":["hashtag1","hashtag2"]},{"1328202502":["hashtag1","hashtag2"]},{"1328202501":["hashtag1","hashtag2"]},{"1328202504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328202503, 1328202502, 1328202501, 1328202504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.61237597465515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:33:22.621497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/32/image_11012025_16_32_02_693516_0003.jpg', '/home/pi/Desktop/images/11012025/16/33/image_11012025_16_33_02_838405_0000.jpg', '/home/pi/Desktop/images/11012025/16/33/image_11012025_16_33_02_838405_0001.jpg', '/home/pi/Desktop/images/11012025/16/33/image_11012025_16_33_02_838405_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/32/image_11012025_16_32_02_693516_0003.jpg
/home/pi/Desktop/images/11012025/16/33/image_11012025_16_33_02_838405_0000.jpg
/home/pi/Desktop/images/11012025/16/33/image_11012025_16_33_02_838405_0001.jpg
/home/pi/Desktop/images/11012025/16/33/image_11012025_16_33_02_838405_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328202545","1328202541","1328202543","1328202519"],"photo_ids_order":["1328202519","1328202541","1328202543","1328202545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/579f83b7e0132452de887c16677d28c2.jpg","text":"TemporaryFile(/tmp/multipartBody6973965111006143400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609672839,"filename":"image_11012025_16_33_02_838405_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/812272b9b66fca59b4e90109a231a1db.jpg","text":"TemporaryFile(/tmp/multipartBody5848443672330982947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609672839,"filename":"image_11012025_16_33_02_838405_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d9f3c5d04a76c2308878e54310c5c600.jpg","text":"TemporaryFile(/tmp/multipartBody2320708961287333145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609672839,"filename":"image_11012025_16_33_02_838405_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/654de4bdf6e69e4fcc59d2e969e59e84.jpg","text":"TemporaryFile(/tmp/multipartBody304778820788062712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609672839,"filename":"image_11012025_16_32_02_693516_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328202543","file1":"1328202541","file0":"1328202519","file3":"1328202545"},"map_files_photo_id_array":[{"photo_id":"1328202543","filename":"file2"},{"photo_id":"1328202541","filename":"file1"},{"photo_id":"1328202519","filename":"file0"},{"photo_id":"1328202545","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328202545":["hashtag1","hashtag2"]},{"1328202541":["hashtag1","hashtag2"]},{"1328202543":["hashtag1","hashtag2"]},{"1328202519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328202545, 1328202541, 1328202543, 1328202519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.72339105606079 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 16:34:03.148638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:34:22.835895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/33/image_11012025_16_33_02_838405_0003.jpg', '/home/pi/Desktop/images/11012025/16/34/image_11012025_16_34_02_966714_0000.jpg', '/home/pi/Desktop/images/11012025/16/34/image_11012025_16_34_02_966714_0001.jpg', '/home/pi/Desktop/images/11012025/16/34/image_11012025_16_34_02_966714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/33/image_11012025_16_33_02_838405_0003.jpg
/home/pi/Desktop/images/11012025/16/34/image_11012025_16_34_02_966714_0000.jpg
/home/pi/Desktop/images/11012025/16/34/image_11012025_16_34_02_966714_0001.jpg
/home/pi/Desktop/images/11012025/16/34/image_11012025_16_34_02_966714_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328202563","1328202566","1328202560","1328202567"],"photo_ids_order":["1328202560","1328202563","1328202566","1328202567"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a6c0bb9ac85d7c72444a5247d21bc010.jpg","text":"TemporaryFile(/tmp/multipartBody5751606491597946340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609733015,"filename":"image_11012025_16_34_02_966714_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/85fc0801fac070a2b1e66288c887229c.jpg","text":"TemporaryFile(/tmp/multipartBody4235904603946333499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609733015,"filename":"image_11012025_16_34_02_966714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3db9d5b57d49907a3a521160847f3984.jpg","text":"TemporaryFile(/tmp/multipartBody5712875025511999203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609733015,"filename":"image_11012025_16_33_02_838405_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/53579dcf96f317a75b3e0537c038f147.jpg","text":"TemporaryFile(/tmp/multipartBody842031663322054782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609733015,"filename":"image_11012025_16_34_02_966714_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328202566","file1":"1328202563","file0":"1328202560","file3":"1328202567"},"map_files_photo_id_array":[{"photo_id":"1328202566","filename":"file2"},{"photo_id":"1328202563","filename":"file1"},{"photo_id":"1328202560","filename":"file0"},{"photo_id":"1328202567","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328202563":["hashtag1","hashtag2"]},{"1328202566":["hashtag1","hashtag2"]},{"1328202560":["hashtag1","hashtag2"]},{"1328202567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328202563, 1328202566, 1328202560, 1328202567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.468581676483154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:35:21.899648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/34/image_11012025_16_34_02_966714_0003.jpg', '/home/pi/Desktop/images/11012025/16/35/image_11012025_16_35_03_088034_0000.jpg', '/home/pi/Desktop/images/11012025/16/35/image_11012025_16_35_03_088034_0001.jpg', '/home/pi/Desktop/images/11012025/16/35/image_11012025_16_35_03_088034_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/34/image_11012025_16_34_02_966714_0003.jpg
/home/pi/Desktop/images/11012025/16/35/image_11012025_16_35_03_088034_0000.jpg
/home/pi/Desktop/images/11012025/16/35/image_11012025_16_35_03_088034_0001.jpg
/home/pi/Desktop/images/11012025/16/35/image_11012025_16_35_03_088034_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328202589","1328202582","1328202585","1328202587"],"photo_ids_order":["1328202582","1328202585","1328202587","1328202589"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0965c35a61c09024407d3eecc2300cb3.jpg","text":"TemporaryFile(/tmp/multipartBody3550734379120995277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609792218,"filename":"image_11012025_16_35_03_088034_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d118c4b78f1b3dd96fd3b1d664e6b841.jpg","text":"TemporaryFile(/tmp/multipartBody3265697052084752423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609792218,"filename":"image_11012025_16_34_02_966714_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/11518b5945a1c9d71e7c81b56eff68a2.jpg","text":"TemporaryFile(/tmp/multipartBody3100158083508988664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609792218,"filename":"image_11012025_16_35_03_088034_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bddf427f8ffe758af6b6f2addacae15c.jpg","text":"TemporaryFile(/tmp/multipartBody1500072164442538216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609792218,"filename":"image_11012025_16_35_03_088034_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328202587","file1":"1328202585","file0":"1328202582","file3":"1328202589"},"map_files_photo_id_array":[{"photo_id":"1328202587","filename":"file2"},{"photo_id":"1328202585","filename":"file1"},{"photo_id":"1328202582","filename":"file0"},{"photo_id":"1328202589","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328202589":["hashtag1","hashtag2"]},{"1328202582":["hashtag1","hashtag2"]},{"1328202585":["hashtag1","hashtag2"]},{"1328202587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328202589, 1328202582, 1328202585, 1328202587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.95503234863281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 16:36:02.485426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:36:22.035138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/35/image_11012025_16_35_03_088034_0003.jpg', '/home/pi/Desktop/images/11012025/16/36/image_11012025_16_36_02_331216_0000.jpg', '/home/pi/Desktop/images/11012025/16/36/image_11012025_16_36_02_331216_0001.jpg', '/home/pi/Desktop/images/11012025/16/36/image_11012025_16_36_02_331216_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/35/image_11012025_16_35_03_088034_0003.jpg
/home/pi/Desktop/images/11012025/16/36/image_11012025_16_36_02_331216_0000.jpg
/home/pi/Desktop/images/11012025/16/36/image_11012025_16_36_02_331216_0001.jpg
/home/pi/Desktop/images/11012025/16/36/image_11012025_16_36_02_331216_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328202755","1328202618","1328202603","1328202887"],"photo_ids_order":["1328202603","1328202618","1328202755","1328202887"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4f6582dcd10a168ecb8bdff6a1f75fea.jpg","text":"TemporaryFile(/tmp/multipartBody1672759228702665690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609852127,"filename":"image_11012025_16_36_02_331216_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1d43f7c46b216093b9aa76cfc639b6c8.jpg","text":"TemporaryFile(/tmp/multipartBody3940883427523906559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609852127,"filename":"image_11012025_16_36_02_331216_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dc9050f55331a48cf997a532949b7227.jpg","text":"TemporaryFile(/tmp/multipartBody2300298251896687730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609852127,"filename":"image_11012025_16_35_03_088034_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/85fdcbc0c7c44cb68830c328e783d776.jpg","text":"TemporaryFile(/tmp/multipartBody3571925814609350573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609852127,"filename":"image_11012025_16_36_02_331216_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328202755","file1":"1328202618","file0":"1328202603","file3":"1328202887"},"map_files_photo_id_array":[{"photo_id":"1328202755","filename":"file2"},{"photo_id":"1328202618","filename":"file1"},{"photo_id":"1328202603","filename":"file0"},{"photo_id":"1328202887","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328202755":["hashtag1","hashtag2"]},{"1328202618":["hashtag1","hashtag2"]},{"1328202603":["hashtag1","hashtag2"]},{"1328202887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328202755, 1328202618, 1328202603, 1328202887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.78743076324463 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 16:37:02.899789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:37:22.261137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/36/image_11012025_16_36_02_331216_0003.jpg', '/home/pi/Desktop/images/11012025/16/37/image_11012025_16_37_02_398244_0000.jpg', '/home/pi/Desktop/images/11012025/16/37/image_11012025_16_37_02_398244_0001.jpg', '/home/pi/Desktop/images/11012025/16/37/image_11012025_16_37_02_398244_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/36/image_11012025_16_36_02_331216_0003.jpg
/home/pi/Desktop/images/11012025/16/37/image_11012025_16_37_02_398244_0000.jpg
/home/pi/Desktop/images/11012025/16/37/image_11012025_16_37_02_398244_0001.jpg
/home/pi/Desktop/images/11012025/16/37/image_11012025_16_37_02_398244_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328203063","1328203146","1328203052","1328203133"],"photo_ids_order":["1328203052","1328203063","1328203133","1328203146"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9fdcd13d6304aa7372eb3dec96a625c1.jpg","text":"TemporaryFile(/tmp/multipartBody8684720686064826039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609912507,"filename":"image_11012025_16_37_02_398244_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cd6ad94521367296b112a8b40a7c85a9.jpg","text":"TemporaryFile(/tmp/multipartBody4552363423694973180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609912507,"filename":"image_11012025_16_37_02_398244_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/102b0708b364e7941ee869d2595fa0ff.jpg","text":"TemporaryFile(/tmp/multipartBody6051904855975129317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609912507,"filename":"image_11012025_16_36_02_331216_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/628863ef766ed7b9580a5d46bc8ee708.jpg","text":"TemporaryFile(/tmp/multipartBody8203119211667809952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609912507,"filename":"image_11012025_16_37_02_398244_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328203133","file1":"1328203063","file0":"1328203052","file3":"1328203146"},"map_files_photo_id_array":[{"photo_id":"1328203133","filename":"file2"},{"photo_id":"1328203063","filename":"file1"},{"photo_id":"1328203052","filename":"file0"},{"photo_id":"1328203146","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328203063":["hashtag1","hashtag2"]},{"1328203146":["hashtag1","hashtag2"]},{"1328203052":["hashtag1","hashtag2"]},{"1328203133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328203063, 1328203146, 1328203052, 1328203133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.321176052093506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:38:22.434853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/37/image_11012025_16_37_02_398244_0003.jpg', '/home/pi/Desktop/images/11012025/16/38/image_11012025_16_38_02_600589_0000.jpg', '/home/pi/Desktop/images/11012025/16/38/image_11012025_16_38_02_600589_0001.jpg', '/home/pi/Desktop/images/11012025/16/38/image_11012025_16_38_02_600589_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/37/image_11012025_16_37_02_398244_0003.jpg
/home/pi/Desktop/images/11012025/16/38/image_11012025_16_38_02_600589_0000.jpg
/home/pi/Desktop/images/11012025/16/38/image_11012025_16_38_02_600589_0001.jpg
/home/pi/Desktop/images/11012025/16/38/image_11012025_16_38_02_600589_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328203162","1328203155","1328203158","1328203160"],"photo_ids_order":["1328203155","1328203158","1328203160","1328203162"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8f4c25b21004972343c6fd21378bf5d9.jpg","text":"TemporaryFile(/tmp/multipartBody7481179866517418890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609972702,"filename":"image_11012025_16_38_02_600589_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/168fbb1bda77fbad1612abb5de29a2ae.jpg","text":"TemporaryFile(/tmp/multipartBody9170043927112280604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609972702,"filename":"image_11012025_16_37_02_398244_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a59474cdf0bc47901ba339a867667acb.jpg","text":"TemporaryFile(/tmp/multipartBody7461643849840710963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609972702,"filename":"image_11012025_16_38_02_600589_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ef921f6e2e2e50c4984148289c2ab472.jpg","text":"TemporaryFile(/tmp/multipartBody5833261143603319248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736609972702,"filename":"image_11012025_16_38_02_600589_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328203160","file1":"1328203158","file0":"1328203155","file3":"1328203162"},"map_files_photo_id_array":[{"photo_id":"1328203160","filename":"file2"},{"photo_id":"1328203158","filename":"file1"},{"photo_id":"1328203155","filename":"file0"},{"photo_id":"1328203162","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328203162":["hashtag1","hashtag2"]},{"1328203155":["hashtag1","hashtag2"]},{"1328203158":["hashtag1","hashtag2"]},{"1328203160":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328203162, 1328203155, 1328203158, 1328203160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.972593784332275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:39:22.637015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/38/image_11012025_16_38_02_600589_0003.jpg', '/home/pi/Desktop/images/11012025/16/39/image_11012025_16_39_02_751482_0000.jpg', '/home/pi/Desktop/images/11012025/16/39/image_11012025_16_39_02_751482_0001.jpg', '/home/pi/Desktop/images/11012025/16/39/image_11012025_16_39_02_751482_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/38/image_11012025_16_38_02_600589_0003.jpg
/home/pi/Desktop/images/11012025/16/39/image_11012025_16_39_02_751482_0000.jpg
/home/pi/Desktop/images/11012025/16/39/image_11012025_16_39_02_751482_0001.jpg
/home/pi/Desktop/images/11012025/16/39/image_11012025_16_39_02_751482_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328203197","1328203201","1328203199","1328203193"],"photo_ids_order":["1328203193","1328203197","1328203199","1328203201"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a7619dbb51f6dbd914f633e3901cc8be.jpg","text":"TemporaryFile(/tmp/multipartBody4292109744017017146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610032748,"filename":"image_11012025_16_39_02_751482_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a1d4f7016500560abcbe391036ab3498.jpg","text":"TemporaryFile(/tmp/multipartBody8907680076285732460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610032748,"filename":"image_11012025_16_39_02_751482_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6ec01972e103311e8a5a60391d1408ff.jpg","text":"TemporaryFile(/tmp/multipartBody6794998695985192330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610032748,"filename":"image_11012025_16_39_02_751482_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/141b43d9fd503bf36f35900d5d2d103e.jpg","text":"TemporaryFile(/tmp/multipartBody4974098360455580076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610032748,"filename":"image_11012025_16_38_02_600589_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328203199","file1":"1328203197","file0":"1328203193","file3":"1328203201"},"map_files_photo_id_array":[{"photo_id":"1328203199","filename":"file2"},{"photo_id":"1328203197","filename":"file1"},{"photo_id":"1328203193","filename":"file0"},{"photo_id":"1328203201","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328203197":["hashtag1","hashtag2"]},{"1328203201":["hashtag1","hashtag2"]},{"1328203199":["hashtag1","hashtag2"]},{"1328203193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328203197, 1328203201, 1328203199, 1328203193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.92862629890442 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 16:40:02.193558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:40:21.798977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/39/image_11012025_16_39_02_751482_0003.jpg', '/home/pi/Desktop/images/11012025/16/40/image_11012025_16_40_02_983060_0000.jpg', '/home/pi/Desktop/images/11012025/16/40/image_11012025_16_40_02_983060_0001.jpg', '/home/pi/Desktop/images/11012025/16/40/image_11012025_16_40_02_983060_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/39/image_11012025_16_39_02_751482_0003.jpg
/home/pi/Desktop/images/11012025/16/40/image_11012025_16_40_02_983060_0000.jpg
/home/pi/Desktop/images/11012025/16/40/image_11012025_16_40_02_983060_0001.jpg
/home/pi/Desktop/images/11012025/16/40/image_11012025_16_40_02_983060_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328203223","1328203217","1328203219","1328203221"],"photo_ids_order":["1328203217","1328203219","1328203221","1328203223"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1f9b5d66b2d21235eaba6983635cf52f.jpg","text":"TemporaryFile(/tmp/multipartBody8673014974693769685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610092012,"filename":"image_11012025_16_40_02_983060_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/047a62dd775eeac829491d666240c0bd.jpg","text":"TemporaryFile(/tmp/multipartBody5465102644888561672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610092012,"filename":"image_11012025_16_39_02_751482_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f46383b0d4c4127f8aff6adf1ca9e2ab.jpg","text":"TemporaryFile(/tmp/multipartBody6533909323055655968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610092012,"filename":"image_11012025_16_40_02_983060_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8f345421fb8b0ff262e978aefd18b361.jpg","text":"TemporaryFile(/tmp/multipartBody7355463715842290653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610092012,"filename":"image_11012025_16_40_02_983060_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328203221","file1":"1328203219","file0":"1328203217","file3":"1328203223"},"map_files_photo_id_array":[{"photo_id":"1328203221","filename":"file2"},{"photo_id":"1328203219","filename":"file1"},{"photo_id":"1328203217","filename":"file0"},{"photo_id":"1328203223","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328203223":["hashtag1","hashtag2"]},{"1328203217":["hashtag1","hashtag2"]},{"1328203219":["hashtag1","hashtag2"]},{"1328203221":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328203223, 1328203217, 1328203219, 1328203221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.4879937171936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 16:41:02.685368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:41:21.941539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/40/image_11012025_16_40_02_983060_0003.jpg', '/home/pi/Desktop/images/11012025/16/41/image_11012025_16_41_02_104768_0000.jpg', '/home/pi/Desktop/images/11012025/16/41/image_11012025_16_41_02_104768_0001.jpg', '/home/pi/Desktop/images/11012025/16/41/image_11012025_16_41_02_104768_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/40/image_11012025_16_40_02_983060_0003.jpg
/home/pi/Desktop/images/11012025/16/41/image_11012025_16_41_02_104768_0000.jpg
/home/pi/Desktop/images/11012025/16/41/image_11012025_16_41_02_104768_0001.jpg
/home/pi/Desktop/images/11012025/16/41/image_11012025_16_41_02_104768_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328203241","1328203243","1328203237","1328203245"],"photo_ids_order":["1328203237","1328203241","1328203243","1328203245"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/87a3afeefd2e5658452ca23d15842026.jpg","text":"TemporaryFile(/tmp/multipartBody3087656415322603379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610152128,"filename":"image_11012025_16_41_02_104768_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bb0275b6a8ed7b3a2bc227290a6dca17.jpg","text":"TemporaryFile(/tmp/multipartBody6932768447837110488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610152128,"filename":"image_11012025_16_41_02_104768_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e042023ec6d68072265fc5873e8c6cdc.jpg","text":"TemporaryFile(/tmp/multipartBody4268829025624907428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610152128,"filename":"image_11012025_16_40_02_983060_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/caa069830a892098cb499067a7c598f6.jpg","text":"TemporaryFile(/tmp/multipartBody8338421041178620271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610152128,"filename":"image_11012025_16_41_02_104768_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328203243","file1":"1328203241","file0":"1328203237","file3":"1328203245"},"map_files_photo_id_array":[{"photo_id":"1328203243","filename":"file2"},{"photo_id":"1328203241","filename":"file1"},{"photo_id":"1328203237","filename":"file0"},{"photo_id":"1328203245","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328203241":["hashtag1","hashtag2"]},{"1328203243":["hashtag1","hashtag2"]},{"1328203237":["hashtag1","hashtag2"]},{"1328203245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328203241, 1328203243, 1328203237, 1328203245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.31298637390137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:42:22.135880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/41/image_11012025_16_41_02_104768_0003.jpg', '/home/pi/Desktop/images/11012025/16/42/image_11012025_16_42_02_324260_0000.jpg', '/home/pi/Desktop/images/11012025/16/42/image_11012025_16_42_02_324260_0001.jpg', '/home/pi/Desktop/images/11012025/16/42/image_11012025_16_42_02_324260_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/41/image_11012025_16_41_02_104768_0003.jpg
/home/pi/Desktop/images/11012025/16/42/image_11012025_16_42_02_324260_0000.jpg
/home/pi/Desktop/images/11012025/16/42/image_11012025_16_42_02_324260_0001.jpg
/home/pi/Desktop/images/11012025/16/42/image_11012025_16_42_02_324260_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.786521673202515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 16:42:42.241116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/41/image_11012025_16_41_02_104768_0003.jpg', '/home/pi/Desktop/images/11012025/16/42/image_11012025_16_42_02_324260_0000.jpg', '/home/pi/Desktop/images/11012025/16/42/image_11012025_16_42_02_324260_0001.jpg', '/home/pi/Desktop/images/11012025/16/42/image_11012025_16_42_02_324260_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/41/image_11012025_16_41_02_104768_0003.jpg
/home/pi/Desktop/images/11012025/16/42/image_11012025_16_42_02_324260_0000.jpg
/home/pi/Desktop/images/11012025/16/42/image_11012025_16_42_02_324260_0001.jpg
/home/pi/Desktop/images/11012025/16/42/image_11012025_16_42_02_324260_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328203285","1328203288","1328203284","1328203286"],"photo_ids_order":["1328203284","1328203285","1328203286","1328203288"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1e87d79bd1ebbd51fa92f5dbc1d4a556.jpg","text":"TemporaryFile(/tmp/multipartBody232800179030675894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610232436,"filename":"image_11012025_16_42_02_324260_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/45930a7c5af0694acb9cd1de579b3707.jpg","text":"TemporaryFile(/tmp/multipartBody5588769075322715210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610232436,"filename":"image_11012025_16_42_02_324260_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/98a2d166906fcd04f971134ae628d8e3.jpg","text":"TemporaryFile(/tmp/multipartBody5689312746136025673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610232436,"filename":"image_11012025_16_41_02_104768_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0c0321be9d669f6ab6ebe189132ed2b6.jpg","text":"TemporaryFile(/tmp/multipartBody349283545926755772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610232436,"filename":"image_11012025_16_42_02_324260_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328203286","file1":"1328203285","file0":"1328203284","file3":"1328203288"},"map_files_photo_id_array":[{"photo_id":"1328203286","filename":"file2"},{"photo_id":"1328203285","filename":"file1"},{"photo_id":"1328203284","filename":"file0"},{"photo_id":"1328203288","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328203285":["hashtag1","hashtag2"]},{"1328203288":["hashtag1","hashtag2"]},{"1328203284":["hashtag1","hashtag2"]},{"1328203286":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328203285, 1328203288, 1328203284, 1328203286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.249765157699585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:43:22.379062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/42/image_11012025_16_42_02_324260_0003.jpg', '/home/pi/Desktop/images/11012025/16/43/image_11012025_16_43_02_554753_0000.jpg', '/home/pi/Desktop/images/11012025/16/43/image_11012025_16_43_02_554753_0001.jpg', '/home/pi/Desktop/images/11012025/16/43/image_11012025_16_43_02_554753_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/42/image_11012025_16_42_02_324260_0003.jpg
/home/pi/Desktop/images/11012025/16/43/image_11012025_16_43_02_554753_0000.jpg
/home/pi/Desktop/images/11012025/16/43/image_11012025_16_43_02_554753_0001.jpg
/home/pi/Desktop/images/11012025/16/43/image_11012025_16_43_02_554753_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328203301","1328203309","1328203311","1328203305"],"photo_ids_order":["1328203301","1328203305","1328203309","1328203311"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d9c6d089957e36004fc6eee4a5735ad0.jpg","text":"TemporaryFile(/tmp/multipartBody1326809561500557017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610272579,"filename":"image_11012025_16_42_02_324260_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/11eb40a4454a372ddd411129e30f939d.jpg","text":"TemporaryFile(/tmp/multipartBody1134118532756511186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610272579,"filename":"image_11012025_16_43_02_554753_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/30ef3677ec45ffab545c5f8f3e091217.jpg","text":"TemporaryFile(/tmp/multipartBody1738723333313820631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610272579,"filename":"image_11012025_16_43_02_554753_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/725406e6b2f9ee4d5e7a6a396f1a0676.jpg","text":"TemporaryFile(/tmp/multipartBody6178169715086351628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610272579,"filename":"image_11012025_16_43_02_554753_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328203309","file1":"1328203305","file0":"1328203301","file3":"1328203311"},"map_files_photo_id_array":[{"photo_id":"1328203309","filename":"file2"},{"photo_id":"1328203305","filename":"file1"},{"photo_id":"1328203301","filename":"file0"},{"photo_id":"1328203311","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328203301":["hashtag1","hashtag2"]},{"1328203309":["hashtag1","hashtag2"]},{"1328203311":["hashtag1","hashtag2"]},{"1328203305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328203301, 1328203309, 1328203311, 1328203305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.42369818687439 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:44:22.501078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/43/image_11012025_16_43_02_554753_0003.jpg', '/home/pi/Desktop/images/11012025/16/44/image_11012025_16_44_02_701414_0000.jpg', '/home/pi/Desktop/images/11012025/16/44/image_11012025_16_44_02_701414_0001.jpg', '/home/pi/Desktop/images/11012025/16/44/image_11012025_16_44_02_701414_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/43/image_11012025_16_43_02_554753_0003.jpg
/home/pi/Desktop/images/11012025/16/44/image_11012025_16_44_02_701414_0000.jpg
/home/pi/Desktop/images/11012025/16/44/image_11012025_16_44_02_701414_0001.jpg
/home/pi/Desktop/images/11012025/16/44/image_11012025_16_44_02_701414_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328203345","1328203341","1328203343","1328203337"],"photo_ids_order":["1328203337","1328203341","1328203343","1328203345"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9327d692800486c8c62378ddbcd82f78.jpg","text":"TemporaryFile(/tmp/multipartBody1889534522242960954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610332542,"filename":"image_11012025_16_44_02_701414_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c4242626d710313bbae4ff8902117430.jpg","text":"TemporaryFile(/tmp/multipartBody4617440819821032487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610332542,"filename":"image_11012025_16_44_02_701414_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f1fedc5c4fe2cfce640d917bcfcc6d3c.jpg","text":"TemporaryFile(/tmp/multipartBody6945884682580541505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610332542,"filename":"image_11012025_16_44_02_701414_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/622b32f9648b71240bda6acdef64ecc5.jpg","text":"TemporaryFile(/tmp/multipartBody4067838706180510323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610332542,"filename":"image_11012025_16_43_02_554753_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328203343","file1":"1328203341","file0":"1328203337","file3":"1328203345"},"map_files_photo_id_array":[{"photo_id":"1328203343","filename":"file2"},{"photo_id":"1328203341","filename":"file1"},{"photo_id":"1328203337","filename":"file0"},{"photo_id":"1328203345","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328203345":["hashtag1","hashtag2"]},{"1328203341":["hashtag1","hashtag2"]},{"1328203343":["hashtag1","hashtag2"]},{"1328203337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328203345, 1328203341, 1328203343, 1328203337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.53914952278137 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-11 16:45:22.658309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/44/image_11012025_16_44_02_701414_0003.jpg', '/home/pi/Desktop/images/11012025/16/45/image_11012025_16_45_02_863012_0000.jpg', '/home/pi/Desktop/images/11012025/16/45/image_11012025_16_45_02_863012_0001.jpg', '/home/pi/Desktop/images/11012025/16/45/image_11012025_16_45_02_863012_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/44/image_11012025_16_44_02_701414_0003.jpg
/home/pi/Desktop/images/11012025/16/45/image_11012025_16_45_02_863012_0000.jpg
/home/pi/Desktop/images/11012025/16/45/image_11012025_16_45_02_863012_0001.jpg
/home/pi/Desktop/images/11012025/16/45/image_11012025_16_45_02_863012_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328203585","1328203581","1328203568","1328203583"],"photo_ids_order":["1328203568","1328203581","1328203583","1328203585"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/26dee96610c6467211844aaa495cb6f1.jpg","text":"TemporaryFile(/tmp/multipartBody1022722099441305720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610392687,"filename":"image_11012025_16_45_02_863012_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e80430f5bd6f5d14ac03fa2a9fad81d4.jpg","text":"TemporaryFile(/tmp/multipartBody5665821340987243426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610392687,"filename":"image_11012025_16_45_02_863012_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5abac5d97716b5c0f41d9eaa581c68fd.jpg","text":"TemporaryFile(/tmp/multipartBody1719185157450489713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610392687,"filename":"image_11012025_16_44_02_701414_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7400a6b41bf5149039a1e8b2ca7390eb.jpg","text":"TemporaryFile(/tmp/multipartBody6013269094466178091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610392687,"filename":"image_11012025_16_45_02_863012_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328203583","file1":"1328203581","file0":"1328203568","file3":"1328203585"},"map_files_photo_id_array":[{"photo_id":"1328203583","filename":"file2"},{"photo_id":"1328203581","filename":"file1"},{"photo_id":"1328203568","filename":"file0"},{"photo_id":"1328203585","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328203585":["hashtag1","hashtag2"]},{"1328203581":["hashtag1","hashtag2"]},{"1328203568":["hashtag1","hashtag2"]},{"1328203583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328203585, 1328203581, 1328203568, 1328203583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.87107968330383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 16:46:03.078309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:46:22.646287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/45/image_11012025_16_45_02_863012_0003.jpg', '/home/pi/Desktop/images/11012025/16/46/image_11012025_16_46_02_960174_0000.jpg', '/home/pi/Desktop/images/11012025/16/46/image_11012025_16_46_02_960174_0001.jpg', '/home/pi/Desktop/images/11012025/16/46/image_11012025_16_46_02_960174_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/45/image_11012025_16_45_02_863012_0003.jpg
/home/pi/Desktop/images/11012025/16/46/image_11012025_16_46_02_960174_0000.jpg
/home/pi/Desktop/images/11012025/16/46/image_11012025_16_46_02_960174_0001.jpg
/home/pi/Desktop/images/11012025/16/46/image_11012025_16_46_02_960174_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.845343589782715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 16:46:42.766305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/45/image_11012025_16_45_02_863012_0003.jpg', '/home/pi/Desktop/images/11012025/16/46/image_11012025_16_46_02_960174_0000.jpg', '/home/pi/Desktop/images/11012025/16/46/image_11012025_16_46_02_960174_0001.jpg', '/home/pi/Desktop/images/11012025/16/46/image_11012025_16_46_02_960174_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/45/image_11012025_16_45_02_863012_0003.jpg
/home/pi/Desktop/images/11012025/16/46/image_11012025_16_46_02_960174_0000.jpg
/home/pi/Desktop/images/11012025/16/46/image_11012025_16_46_02_960174_0001.jpg
/home/pi/Desktop/images/11012025/16/46/image_11012025_16_46_02_960174_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328203890","1328203898","1328203892","1328203793"],"photo_ids_order":["1328203793","1328203890","1328203892","1328203898"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a436727679fd37b84345329f56222a71.jpg","text":"TemporaryFile(/tmp/multipartBody3480114019812714935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610473007,"filename":"image_11012025_16_46_02_960174_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0cebae52225ad4008b873f0452787373.jpg","text":"TemporaryFile(/tmp/multipartBody7619839700991741441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610473007,"filename":"image_11012025_16_46_02_960174_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8bbe902d1f33e16c32e43928292b3d44.jpg","text":"TemporaryFile(/tmp/multipartBody3512656373582500561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610473007,"filename":"image_11012025_16_46_02_960174_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/287662d48636d8b0141350ed508db018.jpg","text":"TemporaryFile(/tmp/multipartBody2430306990977264925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610473007,"filename":"image_11012025_16_45_02_863012_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328203892","file1":"1328203890","file0":"1328203793","file3":"1328203898"},"map_files_photo_id_array":[{"photo_id":"1328203892","filename":"file2"},{"photo_id":"1328203890","filename":"file1"},{"photo_id":"1328203793","filename":"file0"},{"photo_id":"1328203898","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328203890":["hashtag1","hashtag2"]},{"1328203898":["hashtag1","hashtag2"]},{"1328203892":["hashtag1","hashtag2"]},{"1328203793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328203890, 1328203898, 1328203892, 1328203793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.33615183830261 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:47:21.868878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/46/image_11012025_16_46_02_960174_0003.jpg', '/home/pi/Desktop/images/11012025/16/47/image_11012025_16_47_03_067722_0000.jpg', '/home/pi/Desktop/images/11012025/16/47/image_11012025_16_47_03_067722_0001.jpg', '/home/pi/Desktop/images/11012025/16/47/image_11012025_16_47_03_067722_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/46/image_11012025_16_46_02_960174_0003.jpg
/home/pi/Desktop/images/11012025/16/47/image_11012025_16_47_03_067722_0000.jpg
/home/pi/Desktop/images/11012025/16/47/image_11012025_16_47_03_067722_0001.jpg
/home/pi/Desktop/images/11012025/16/47/image_11012025_16_47_03_067722_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328204093","1328204013","1328204021","1328204018"],"photo_ids_order":["1328204013","1328204018","1328204021","1328204093"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ee85476147c3ab93b761c583b6eb0572.jpg","text":"TemporaryFile(/tmp/multipartBody3595001025932667117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610512077,"filename":"image_11012025_16_47_03_067722_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3ec92dd3d0e5cb5aad18a86aac65f872.jpg","text":"TemporaryFile(/tmp/multipartBody9191142212115235080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610512077,"filename":"image_11012025_16_46_02_960174_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0065f4193988b46ad2f72a59822635d4.jpg","text":"TemporaryFile(/tmp/multipartBody5911497465490701176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610512077,"filename":"image_11012025_16_47_03_067722_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a849b260e29e11e56d6e8a7064e6071c.jpg","text":"TemporaryFile(/tmp/multipartBody7483819382603596154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610512077,"filename":"image_11012025_16_47_03_067722_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328204021","file1":"1328204018","file0":"1328204013","file3":"1328204093"},"map_files_photo_id_array":[{"photo_id":"1328204021","filename":"file2"},{"photo_id":"1328204018","filename":"file1"},{"photo_id":"1328204013","filename":"file0"},{"photo_id":"1328204093","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328204093":["hashtag1","hashtag2"]},{"1328204013":["hashtag1","hashtag2"]},{"1328204021":["hashtag1","hashtag2"]},{"1328204018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328204093, 1328204013, 1328204021, 1328204018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.50268912315369 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 16:48:02.493216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:48:22.090264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/47/image_11012025_16_47_03_067722_0003.jpg', '/home/pi/Desktop/images/11012025/16/48/image_11012025_16_48_02_334462_0000.jpg', '/home/pi/Desktop/images/11012025/16/48/image_11012025_16_48_02_334462_0001.jpg', '/home/pi/Desktop/images/11012025/16/48/image_11012025_16_48_02_334462_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/47/image_11012025_16_47_03_067722_0003.jpg
/home/pi/Desktop/images/11012025/16/48/image_11012025_16_48_02_334462_0000.jpg
/home/pi/Desktop/images/11012025/16/48/image_11012025_16_48_02_334462_0001.jpg
/home/pi/Desktop/images/11012025/16/48/image_11012025_16_48_02_334462_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328204140","1328204143","1328204115","1328204124"],"photo_ids_order":["1328204115","1328204124","1328204140","1328204143"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0023199871cef6a9680914b90d090266.jpg","text":"TemporaryFile(/tmp/multipartBody1755184705102395154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610572197,"filename":"image_11012025_16_48_02_334462_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/17052bc497fa24abdcec0ea1b3ce3d14.jpg","text":"TemporaryFile(/tmp/multipartBody1177912305133248356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610572197,"filename":"image_11012025_16_48_02_334462_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3a0abe913228aaab1cd9770cec044058.jpg","text":"TemporaryFile(/tmp/multipartBody8915063975205506022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610572197,"filename":"image_11012025_16_47_03_067722_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/056bc7e266c85181571adf4fabd924e1.jpg","text":"TemporaryFile(/tmp/multipartBody7599935904930063888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610572197,"filename":"image_11012025_16_48_02_334462_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328204140","file1":"1328204124","file0":"1328204115","file3":"1328204143"},"map_files_photo_id_array":[{"photo_id":"1328204140","filename":"file2"},{"photo_id":"1328204124","filename":"file1"},{"photo_id":"1328204115","filename":"file0"},{"photo_id":"1328204143","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328204140":["hashtag1","hashtag2"]},{"1328204143":["hashtag1","hashtag2"]},{"1328204115":["hashtag1","hashtag2"]},{"1328204124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328204140, 1328204143, 1328204115, 1328204124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.737480878829956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 16:49:02.923583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:49:22.192959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/48/image_11012025_16_48_02_334462_0003.jpg', '/home/pi/Desktop/images/11012025/16/49/image_11012025_16_49_02_420301_0000.jpg', '/home/pi/Desktop/images/11012025/16/49/image_11012025_16_49_02_420301_0001.jpg', '/home/pi/Desktop/images/11012025/16/49/image_11012025_16_49_02_420301_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/48/image_11012025_16_48_02_334462_0003.jpg
/home/pi/Desktop/images/11012025/16/49/image_11012025_16_49_02_420301_0000.jpg
/home/pi/Desktop/images/11012025/16/49/image_11012025_16_49_02_420301_0001.jpg
/home/pi/Desktop/images/11012025/16/49/image_11012025_16_49_02_420301_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328204163","1328204157","1328204160","1328204165"],"photo_ids_order":["1328204157","1328204160","1328204163","1328204165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/abd9a5957a4b8f060df268847e18d67f.jpg","text":"TemporaryFile(/tmp/multipartBody4857095300159068288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610632372,"filename":"image_11012025_16_49_02_420301_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5807c99bed208124d983b340aba9427d.jpg","text":"TemporaryFile(/tmp/multipartBody9206651418282236854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610632372,"filename":"image_11012025_16_48_02_334462_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/94a46689c5cda6e20f5eb44f8ff6bcc6.jpg","text":"TemporaryFile(/tmp/multipartBody4978166936162227614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610632372,"filename":"image_11012025_16_49_02_420301_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9f4e09eae532b80644197f09d77a8633.jpg","text":"TemporaryFile(/tmp/multipartBody542644659313485519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610632372,"filename":"image_11012025_16_49_02_420301_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328204163","file1":"1328204160","file0":"1328204157","file3":"1328204165"},"map_files_photo_id_array":[{"photo_id":"1328204163","filename":"file2"},{"photo_id":"1328204160","filename":"file1"},{"photo_id":"1328204157","filename":"file0"},{"photo_id":"1328204165","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328204163":["hashtag1","hashtag2"]},{"1328204157":["hashtag1","hashtag2"]},{"1328204160":["hashtag1","hashtag2"]},{"1328204165":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328204163, 1328204157, 1328204160, 1328204165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.97047543525696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 16:50:02.833240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:50:22.387853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/49/image_11012025_16_49_02_420301_0003.jpg', '/home/pi/Desktop/images/11012025/16/50/image_11012025_16_50_02_636824_0000.jpg', '/home/pi/Desktop/images/11012025/16/50/image_11012025_16_50_02_636824_0001.jpg', '/home/pi/Desktop/images/11012025/16/50/image_11012025_16_50_02_636824_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/49/image_11012025_16_49_02_420301_0003.jpg
/home/pi/Desktop/images/11012025/16/50/image_11012025_16_50_02_636824_0000.jpg
/home/pi/Desktop/images/11012025/16/50/image_11012025_16_50_02_636824_0001.jpg
/home/pi/Desktop/images/11012025/16/50/image_11012025_16_50_02_636824_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328204186","1328204189","1328204183","1328204191"],"photo_ids_order":["1328204183","1328204186","1328204189","1328204191"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1d2d505c2db141b2e56e8d6f540bdce8.jpg","text":"TemporaryFile(/tmp/multipartBody8797337350431466750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610692492,"filename":"image_11012025_16_50_02_636824_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e31b9ec2533ab5bdb0f81d820d08662d.jpg","text":"TemporaryFile(/tmp/multipartBody2568523233920352903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610692492,"filename":"image_11012025_16_50_02_636824_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/510fe429824f126dd49347884f87fba0.jpg","text":"TemporaryFile(/tmp/multipartBody2187939831157517209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610692492,"filename":"image_11012025_16_49_02_420301_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/45edeb394a86c0d40de789d803dc72ba.jpg","text":"TemporaryFile(/tmp/multipartBody7397504461789476643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610692492,"filename":"image_11012025_16_50_02_636824_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328204189","file1":"1328204186","file0":"1328204183","file3":"1328204191"},"map_files_photo_id_array":[{"photo_id":"1328204189","filename":"file2"},{"photo_id":"1328204186","filename":"file1"},{"photo_id":"1328204183","filename":"file0"},{"photo_id":"1328204191","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328204186":["hashtag1","hashtag2"]},{"1328204189":["hashtag1","hashtag2"]},{"1328204183":["hashtag1","hashtag2"]},{"1328204191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328204186, 1328204189, 1328204183, 1328204191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.951171875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 16:51:03.180656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:51:22.598757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/50/image_11012025_16_50_02_636824_0003.jpg', '/home/pi/Desktop/images/11012025/16/51/image_11012025_16_51_02_721041_0000.jpg', '/home/pi/Desktop/images/11012025/16/51/image_11012025_16_51_02_721041_0001.jpg', '/home/pi/Desktop/images/11012025/16/51/image_11012025_16_51_02_721041_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/50/image_11012025_16_50_02_636824_0003.jpg
/home/pi/Desktop/images/11012025/16/51/image_11012025_16_51_02_721041_0000.jpg
/home/pi/Desktop/images/11012025/16/51/image_11012025_16_51_02_721041_0001.jpg
/home/pi/Desktop/images/11012025/16/51/image_11012025_16_51_02_721041_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328204227","1328204229","1328204225","1328204210"],"photo_ids_order":["1328204210","1328204225","1328204227","1328204229"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1f82cf04c3fde9cf56b2dbbfcc969fba.jpg","text":"TemporaryFile(/tmp/multipartBody7145136564656191418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610752649,"filename":"image_11012025_16_51_02_721041_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e0922d57c4f5460eaee8a36e96a973fd.jpg","text":"TemporaryFile(/tmp/multipartBody4770606636818596136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610752649,"filename":"image_11012025_16_51_02_721041_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3020199d75715fafff455c8371e2481a.jpg","text":"TemporaryFile(/tmp/multipartBody6235907033132060099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610752649,"filename":"image_11012025_16_51_02_721041_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/50a0deeec03141c970a30afeb18f8cad.jpg","text":"TemporaryFile(/tmp/multipartBody8231957407212807329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610752649,"filename":"image_11012025_16_50_02_636824_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328204227","file1":"1328204225","file0":"1328204210","file3":"1328204229"},"map_files_photo_id_array":[{"photo_id":"1328204227","filename":"file2"},{"photo_id":"1328204225","filename":"file1"},{"photo_id":"1328204210","filename":"file0"},{"photo_id":"1328204229","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328204227":["hashtag1","hashtag2"]},{"1328204229":["hashtag1","hashtag2"]},{"1328204225":["hashtag1","hashtag2"]},{"1328204210":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328204227, 1328204229, 1328204225, 1328204210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.123019218444824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 16:52:03.062742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:52:22.781475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/51/image_11012025_16_51_02_721041_0003.jpg', '/home/pi/Desktop/images/11012025/16/52/image_11012025_16_52_02_925231_0000.jpg', '/home/pi/Desktop/images/11012025/16/52/image_11012025_16_52_02_925231_0001.jpg', '/home/pi/Desktop/images/11012025/16/52/image_11012025_16_52_02_925231_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/51/image_11012025_16_51_02_721041_0003.jpg
/home/pi/Desktop/images/11012025/16/52/image_11012025_16_52_02_925231_0000.jpg
/home/pi/Desktop/images/11012025/16/52/image_11012025_16_52_02_925231_0001.jpg
/home/pi/Desktop/images/11012025/16/52/image_11012025_16_52_02_925231_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328204244","1328204310","1328204448","1328204567"],"photo_ids_order":["1328204244","1328204310","1328204448","1328204567"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/85b3815d75463b5969050eb3088991d1.jpg","text":"TemporaryFile(/tmp/multipartBody350426602006235674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610812933,"filename":"image_11012025_16_51_02_721041_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c4146c12927f7cf02902af798fecdd8a.jpg","text":"TemporaryFile(/tmp/multipartBody1895645534396345898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610812933,"filename":"image_11012025_16_52_02_925231_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0e3e7f970842a9398793e5e07b3c712c.jpg","text":"TemporaryFile(/tmp/multipartBody3083902762392508891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610812933,"filename":"image_11012025_16_52_02_925231_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/42e1765636812b62c8aa27819cbde5a0.jpg","text":"TemporaryFile(/tmp/multipartBody4817218231358414923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610812933,"filename":"image_11012025_16_52_02_925231_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328204448","file1":"1328204310","file0":"1328204244","file3":"1328204567"},"map_files_photo_id_array":[{"photo_id":"1328204448","filename":"file2"},{"photo_id":"1328204310","filename":"file1"},{"photo_id":"1328204244","filename":"file0"},{"photo_id":"1328204567","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328204244":["hashtag1","hashtag2"]},{"1328204310":["hashtag1","hashtag2"]},{"1328204448":["hashtag1","hashtag2"]},{"1328204567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328204244, 1328204310, 1328204448, 1328204567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.39653730392456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 16:53:02.510459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:53:22.105696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/52/image_11012025_16_52_02_925231_0003.jpg', '/home/pi/Desktop/images/11012025/16/53/image_11012025_16_53_03_106183_0000.jpg', '/home/pi/Desktop/images/11012025/16/53/image_11012025_16_53_03_106183_0001.jpg', '/home/pi/Desktop/images/11012025/16/53/image_11012025_16_53_03_106183_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/52/image_11012025_16_52_02_925231_0003.jpg
/home/pi/Desktop/images/11012025/16/53/image_11012025_16_53_03_106183_0000.jpg
/home/pi/Desktop/images/11012025/16/53/image_11012025_16_53_03_106183_0001.jpg
/home/pi/Desktop/images/11012025/16/53/image_11012025_16_53_03_106183_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328204847","1328204919","1328204852","1328204900"],"photo_ids_order":["1328204847","1328204852","1328204900","1328204919"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/05e0d09e7d547d51c3d2d75147b2269e.jpg","text":"TemporaryFile(/tmp/multipartBody6564287453016172261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610872186,"filename":"image_11012025_16_52_02_925231_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/df83f0364a24e57d8745c7a39f867716.jpg","text":"TemporaryFile(/tmp/multipartBody5546389314888783048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610872186,"filename":"image_11012025_16_53_03_106183_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7dff14d93d322cda0ab7a9771a9d818f.jpg","text":"TemporaryFile(/tmp/multipartBody813087696424729854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610872186,"filename":"image_11012025_16_53_03_106183_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1f7252cf4cd9095b860883a58afe87ca.jpg","text":"TemporaryFile(/tmp/multipartBody5700894085899708764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610872186,"filename":"image_11012025_16_53_03_106183_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328204900","file1":"1328204852","file0":"1328204847","file3":"1328204919"},"map_files_photo_id_array":[{"photo_id":"1328204900","filename":"file2"},{"photo_id":"1328204852","filename":"file1"},{"photo_id":"1328204847","filename":"file0"},{"photo_id":"1328204919","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328204847":["hashtag1","hashtag2"]},{"1328204919":["hashtag1","hashtag2"]},{"1328204852":["hashtag1","hashtag2"]},{"1328204900":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328204847, 1328204919, 1328204852, 1328204900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.43076205253601 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:54:22.214356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/53/image_11012025_16_53_03_106183_0003.jpg', '/home/pi/Desktop/images/11012025/16/54/image_11012025_16_54_02_302016_0000.jpg', '/home/pi/Desktop/images/11012025/16/54/image_11012025_16_54_02_302016_0001.jpg', '/home/pi/Desktop/images/11012025/16/54/image_11012025_16_54_02_302016_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/53/image_11012025_16_53_03_106183_0003.jpg
/home/pi/Desktop/images/11012025/16/54/image_11012025_16_54_02_302016_0000.jpg
/home/pi/Desktop/images/11012025/16/54/image_11012025_16_54_02_302016_0001.jpg
/home/pi/Desktop/images/11012025/16/54/image_11012025_16_54_02_302016_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.708456039428711 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 16:54:42.133041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/53/image_11012025_16_53_03_106183_0003.jpg', '/home/pi/Desktop/images/11012025/16/54/image_11012025_16_54_02_302016_0000.jpg', '/home/pi/Desktop/images/11012025/16/54/image_11012025_16_54_02_302016_0001.jpg', '/home/pi/Desktop/images/11012025/16/54/image_11012025_16_54_02_302016_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/53/image_11012025_16_53_03_106183_0003.jpg
/home/pi/Desktop/images/11012025/16/54/image_11012025_16_54_02_302016_0000.jpg
/home/pi/Desktop/images/11012025/16/54/image_11012025_16_54_02_302016_0001.jpg
/home/pi/Desktop/images/11012025/16/54/image_11012025_16_54_02_302016_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328205092","1328205089","1328205094","1328205091"],"photo_ids_order":["1328205089","1328205091","1328205092","1328205094"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/20b5ad54a7fcbb4c522e7cfba5e702eb.jpg","text":"TemporaryFile(/tmp/multipartBody4863746040073124396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610952251,"filename":"image_11012025_16_54_02_302016_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2a5ebf95c6ce50967f59e83f29e5871d.jpg","text":"TemporaryFile(/tmp/multipartBody7251409732665235619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610952251,"filename":"image_11012025_16_53_03_106183_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d8ba64c0a309cc73bd6d8489429ad0ca.jpg","text":"TemporaryFile(/tmp/multipartBody377756023915284121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610952251,"filename":"image_11012025_16_54_02_302016_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0ae6f84fe1d9da457372d04c40956b0f.jpg","text":"TemporaryFile(/tmp/multipartBody311046971124757702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610952251,"filename":"image_11012025_16_54_02_302016_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328205092","file1":"1328205091","file0":"1328205089","file3":"1328205094"},"map_files_photo_id_array":[{"photo_id":"1328205092","filename":"file2"},{"photo_id":"1328205091","filename":"file1"},{"photo_id":"1328205089","filename":"file0"},{"photo_id":"1328205094","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328205092":["hashtag1","hashtag2"]},{"1328205089":["hashtag1","hashtag2"]},{"1328205094":["hashtag1","hashtag2"]},{"1328205091":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328205092, 1328205089, 1328205094, 1328205091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.02373743057251 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:55:22.355146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/54/image_11012025_16_54_02_302016_0003.jpg', '/home/pi/Desktop/images/11012025/16/55/image_11012025_16_55_02_455578_0000.jpg', '/home/pi/Desktop/images/11012025/16/55/image_11012025_16_55_02_455578_0001.jpg', '/home/pi/Desktop/images/11012025/16/55/image_11012025_16_55_02_455578_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/54/image_11012025_16_54_02_302016_0003.jpg
/home/pi/Desktop/images/11012025/16/55/image_11012025_16_55_02_455578_0000.jpg
/home/pi/Desktop/images/11012025/16/55/image_11012025_16_55_02_455578_0001.jpg
/home/pi/Desktop/images/11012025/16/55/image_11012025_16_55_02_455578_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328205108","1328205110","1328205104","1328205101"],"photo_ids_order":["1328205101","1328205104","1328205108","1328205110"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6da3c2d65ad2356e10d82b14ed5d5322.jpg","text":"TemporaryFile(/tmp/multipartBody1646443081218912992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610992510,"filename":"image_11012025_16_55_02_455578_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/25aed91039d7c4d2546d046decc235d6.jpg","text":"TemporaryFile(/tmp/multipartBody4790171467016158901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610992510,"filename":"image_11012025_16_55_02_455578_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1a4fa249145521cba3f0d608a19bd426.jpg","text":"TemporaryFile(/tmp/multipartBody4409093710768328778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610992510,"filename":"image_11012025_16_55_02_455578_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/553d1e73c88643d2a8f023eee73af696.jpg","text":"TemporaryFile(/tmp/multipartBody4958999466927645579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736610992510,"filename":"image_11012025_16_54_02_302016_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328205108","file1":"1328205104","file0":"1328205101","file3":"1328205110"},"map_files_photo_id_array":[{"photo_id":"1328205108","filename":"file2"},{"photo_id":"1328205104","filename":"file1"},{"photo_id":"1328205101","filename":"file0"},{"photo_id":"1328205110","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328205108":["hashtag1","hashtag2"]},{"1328205110":["hashtag1","hashtag2"]},{"1328205104":["hashtag1","hashtag2"]},{"1328205101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328205108, 1328205110, 1328205104, 1328205101)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.63317823410034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:56:22.563497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/55/image_11012025_16_55_02_455578_0003.jpg', '/home/pi/Desktop/images/11012025/16/56/image_11012025_16_56_02_732421_0000.jpg', '/home/pi/Desktop/images/11012025/16/56/image_11012025_16_56_02_732421_0001.jpg', '/home/pi/Desktop/images/11012025/16/56/image_11012025_16_56_02_732421_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/55/image_11012025_16_55_02_455578_0003.jpg
/home/pi/Desktop/images/11012025/16/56/image_11012025_16_56_02_732421_0000.jpg
/home/pi/Desktop/images/11012025/16/56/image_11012025_16_56_02_732421_0001.jpg
/home/pi/Desktop/images/11012025/16/56/image_11012025_16_56_02_732421_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328205136","1328205134","1328205131","1328205139"],"photo_ids_order":["1328205131","1328205134","1328205136","1328205139"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/01e6f63bbec13281feb6300f1c6239da.jpg","text":"TemporaryFile(/tmp/multipartBody386385617648239462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611052641,"filename":"image_11012025_16_56_02_732421_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2d11ec61f350e66f95150311480aae2b.jpg","text":"TemporaryFile(/tmp/multipartBody274783751464007949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611052641,"filename":"image_11012025_16_56_02_732421_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3071fd904031c20d6a005267cac3a343.jpg","text":"TemporaryFile(/tmp/multipartBody5435959633482424449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611052641,"filename":"image_11012025_16_55_02_455578_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5a1c7f20ab3ebdebfc66b795c324c530.jpg","text":"TemporaryFile(/tmp/multipartBody2534608188529984524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611052641,"filename":"image_11012025_16_56_02_732421_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328205136","file1":"1328205134","file0":"1328205131","file3":"1328205139"},"map_files_photo_id_array":[{"photo_id":"1328205136","filename":"file2"},{"photo_id":"1328205134","filename":"file1"},{"photo_id":"1328205131","filename":"file0"},{"photo_id":"1328205139","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328205136":["hashtag1","hashtag2"]},{"1328205134":["hashtag1","hashtag2"]},{"1328205131":["hashtag1","hashtag2"]},{"1328205139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328205136, 1328205134, 1328205131, 1328205139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.24041724205017 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:57:22.825374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/56/image_11012025_16_56_02_732421_0003.jpg', '/home/pi/Desktop/images/11012025/16/57/image_11012025_16_57_02_896026_0000.jpg', '/home/pi/Desktop/images/11012025/16/57/image_11012025_16_57_02_896026_0001.jpg', '/home/pi/Desktop/images/11012025/16/57/image_11012025_16_57_02_896026_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/56/image_11012025_16_56_02_732421_0003.jpg
/home/pi/Desktop/images/11012025/16/57/image_11012025_16_57_02_896026_0000.jpg
/home/pi/Desktop/images/11012025/16/57/image_11012025_16_57_02_896026_0001.jpg
/home/pi/Desktop/images/11012025/16/57/image_11012025_16_57_02_896026_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328205575","1328205547","1328205577","1328205559"],"photo_ids_order":["1328205547","1328205559","1328205575","1328205577"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0bac42c68b16c1e5f53fbf44242f270f.jpg","text":"TemporaryFile(/tmp/multipartBody6987543481358217766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611112920,"filename":"image_11012025_16_57_02_896026_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9613118460bb6c0318d56fc799de9b8c.jpg","text":"TemporaryFile(/tmp/multipartBody6182861855026289481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611112920,"filename":"image_11012025_16_56_02_732421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/301772e2c1b9c89ed73326c118729562.jpg","text":"TemporaryFile(/tmp/multipartBody852099547008681451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611112920,"filename":"image_11012025_16_57_02_896026_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/76edd99ae1c0081f796ae38de6a0c9e8.jpg","text":"TemporaryFile(/tmp/multipartBody9012514055884089217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611112920,"filename":"image_11012025_16_57_02_896026_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328205575","file1":"1328205559","file0":"1328205547","file3":"1328205577"},"map_files_photo_id_array":[{"photo_id":"1328205575","filename":"file2"},{"photo_id":"1328205559","filename":"file1"},{"photo_id":"1328205547","filename":"file0"},{"photo_id":"1328205577","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328205575":["hashtag1","hashtag2"]},{"1328205547":["hashtag1","hashtag2"]},{"1328205577":["hashtag1","hashtag2"]},{"1328205559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328205575, 1328205547, 1328205577, 1328205559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.13632535934448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 16:59:02.642505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 16:59:21.981405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/57/image_11012025_16_57_02_896026_0003.jpg', '/home/pi/Desktop/images/11012025/16/58/image_11012025_16_58_03_118248_0000.jpg', '/home/pi/Desktop/images/11012025/16/58/image_11012025_16_58_03_118248_0001.jpg', '/home/pi/Desktop/images/11012025/16/58/image_11012025_16_58_03_118248_0002.jpg', '/home/pi/Desktop/images/11012025/16/58/image_11012025_16_58_03_118248_0003.jpg', '/home/pi/Desktop/images/11012025/16/59/image_11012025_16_59_02_173959_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/57/image_11012025_16_57_02_896026_0003.jpg
/home/pi/Desktop/images/11012025/16/58/image_11012025_16_58_03_118248_0000.jpg
/home/pi/Desktop/images/11012025/16/58/image_11012025_16_58_03_118248_0001.jpg
/home/pi/Desktop/images/11012025/16/58/image_11012025_16_58_03_118248_0002.jpg
/home/pi/Desktop/images/11012025/16/58/image_11012025_16_58_03_118248_0003.jpg
/home/pi/Desktop/images/11012025/16/59/image_11012025_16_59_02_173959_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328205942","1328205936","1328205945","1328205944","1328205938","1328205940"],"photo_ids_order":["1328205936","1328205938","1328205940","1328205942","1328205944","1328205945"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/25fd7e0a472329d331135519f41a8354.jpg","text":"TemporaryFile(/tmp/multipartBody493799329657169155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611236771,"filename":"image_11012025_16_58_03_118248_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/63dc54fadf3c42db54b52c6eee4c8c17.jpg","text":"TemporaryFile(/tmp/multipartBody8954387712602817156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611236771,"filename":"image_11012025_16_57_02_896026_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ea1c59f0b6666f3b5f859cc4ecba9ca3.jpg","text":"TemporaryFile(/tmp/multipartBody5064798919942118626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611236771,"filename":"image_11012025_16_59_02_173959_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dd2fbd9c5c99c89cd6928a78df199d0d.jpg","text":"TemporaryFile(/tmp/multipartBody5518813818627188854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611236771,"filename":"image_11012025_16_58_03_118248_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6e4763c6c9e7933e1cbdfa83d77f3213.jpg","text":"TemporaryFile(/tmp/multipartBody343441380111135479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611236771,"filename":"image_11012025_16_58_03_118248_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/69e8c2f9bd6575b8040c9c033df74b80.jpg","text":"TemporaryFile(/tmp/multipartBody5230830518681028391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611236771,"filename":"image_11012025_16_58_03_118248_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328205940","file1":"1328205938","file0":"1328205936","file4":"1328205944","file5":"1328205945","file3":"1328205942"},"map_files_photo_id_array":[{"photo_id":"1328205945","filename":"file5"},{"photo_id":"1328205940","filename":"file2"},{"photo_id":"1328205944","filename":"file4"},{"photo_id":"1328205938","filename":"file1"},{"photo_id":"1328205936","filename":"file0"},{"photo_id":"1328205942","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328205942":["hashtag1","hashtag2"]},{"1328205936":["hashtag1","hashtag2"]},{"1328205945":["hashtag1","hashtag2"]},{"1328205944":["hashtag1","hashtag2"]},{"1328205938":["hashtag1","hashtag2"]},{"1328205940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328205942, 1328205936, 1328205945, 1328205944, 1328205938, 1328205940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.632960081100464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:00:22.232368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/59/image_11012025_16_59_02_173959_0001.jpg', '/home/pi/Desktop/images/11012025/16/59/image_11012025_16_59_02_173959_0002.jpg', '/home/pi/Desktop/images/11012025/16/59/image_11012025_16_59_02_173959_0003.jpg', '/home/pi/Desktop/images/11012025/17/00/image_11012025_17_00_02_497012_0000.jpg', '/home/pi/Desktop/images/11012025/17/00/image_11012025_17_00_02_497012_0001.jpg', '/home/pi/Desktop/images/11012025/17/00/image_11012025_17_00_02_497012_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/16/59/image_11012025_16_59_02_173959_0001.jpg
/home/pi/Desktop/images/11012025/16/59/image_11012025_16_59_02_173959_0002.jpg
/home/pi/Desktop/images/11012025/16/59/image_11012025_16_59_02_173959_0003.jpg
/home/pi/Desktop/images/11012025/17/00/image_11012025_17_00_02_497012_0000.jpg
/home/pi/Desktop/images/11012025/17/00/image_11012025_17_00_02_497012_0001.jpg
/home/pi/Desktop/images/11012025/17/00/image_11012025_17_00_02_497012_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328205990","1328205977","1328205988","1328205982","1328205985","1328205964"],"photo_ids_order":["1328205964","1328205977","1328205982","1328205985","1328205988","1328205990"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5e98ec3507acdacec66294bcae64a3cf.jpg","text":"TemporaryFile(/tmp/multipartBody9030537498693028865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611297036,"filename":"image_11012025_17_00_02_497012_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6d9b84b470e31dad175eef71743b3ae6.jpg","text":"TemporaryFile(/tmp/multipartBody4818632633679794352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611297036,"filename":"image_11012025_16_59_02_173959_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4d3525308636233776a3f46f4905d0d6.jpg","text":"TemporaryFile(/tmp/multipartBody7296259204450595773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611297036,"filename":"image_11012025_17_00_02_497012_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/55beac71baea9b69244710a1315da903.jpg","text":"TemporaryFile(/tmp/multipartBody5582091490995166295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611297036,"filename":"image_11012025_16_59_02_173959_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/57d1f116ec57b75e506d99f7a5737668.jpg","text":"TemporaryFile(/tmp/multipartBody1378216832998882393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611297036,"filename":"image_11012025_17_00_02_497012_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/182ea3faba5dc0e49901eee631047c6d.jpg","text":"TemporaryFile(/tmp/multipartBody2929932283029173399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611297036,"filename":"image_11012025_16_59_02_173959_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328205982","file1":"1328205977","file0":"1328205964","file4":"1328205988","file5":"1328205990","file3":"1328205985"},"map_files_photo_id_array":[{"photo_id":"1328205990","filename":"file5"},{"photo_id":"1328205982","filename":"file2"},{"photo_id":"1328205988","filename":"file4"},{"photo_id":"1328205977","filename":"file1"},{"photo_id":"1328205964","filename":"file0"},{"photo_id":"1328205985","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328205990":["hashtag1","hashtag2"]},{"1328205977":["hashtag1","hashtag2"]},{"1328205988":["hashtag1","hashtag2"]},{"1328205982":["hashtag1","hashtag2"]},{"1328205985":["hashtag1","hashtag2"]},{"1328205964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328205990, 1328205977, 1328205988, 1328205982, 1328205985, 1328205964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.97476863861084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:01:22.373972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/00/image_11012025_17_00_02_497012_0003.jpg', '/home/pi/Desktop/images/11012025/17/01/image_11012025_17_01_02_533183_0000.jpg', '/home/pi/Desktop/images/11012025/17/01/image_11012025_17_01_02_533183_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/00/image_11012025_17_00_02_497012_0003.jpg
/home/pi/Desktop/images/11012025/17/01/image_11012025_17_01_02_533183_0000.jpg
/home/pi/Desktop/images/11012025/17/01/image_11012025_17_01_02_533183_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328205995","1328205998","1328206001"],"photo_ids_order":["1328205995","1328205998","1328206001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/069891275812c94821877fdb09ff507d.jpg","text":"TemporaryFile(/tmp/multipartBody8323613696149843922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611350177,"filename":"image_11012025_17_00_02_497012_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c1cd9b7c2819ffaf4b7108a015c7490f.jpg","text":"TemporaryFile(/tmp/multipartBody4352593762011403455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611350177,"filename":"image_11012025_17_01_02_533183_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f2b6c30bdd935afc607a24dcb7124bfb.jpg","text":"TemporaryFile(/tmp/multipartBody3477052623556799075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611350177,"filename":"image_11012025_17_01_02_533183_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328206001","file1":"1328205998","file0":"1328205995"},"map_files_photo_id_array":[{"photo_id":"1328206001","filename":"file2"},{"photo_id":"1328205998","filename":"file1"},{"photo_id":"1328205995","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328205995":["hashtag1","hashtag2"]},{"1328205998":["hashtag1","hashtag2"]},{"1328206001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328205995, 1328205998, 1328206001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.32087969779968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:02:02.966556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:02:22.625544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/01/image_11012025_17_01_02_533183_0003.jpg', '/home/pi/Desktop/images/11012025/17/02/image_11012025_17_02_02_851718_0000.jpg', '/home/pi/Desktop/images/11012025/17/02/image_11012025_17_02_02_851718_0001.jpg', '/home/pi/Desktop/images/11012025/17/02/image_11012025_17_02_02_851718_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/01/image_11012025_17_01_02_533183_0003.jpg
/home/pi/Desktop/images/11012025/17/02/image_11012025_17_02_02_851718_0000.jpg
/home/pi/Desktop/images/11012025/17/02/image_11012025_17_02_02_851718_0001.jpg
/home/pi/Desktop/images/11012025/17/02/image_11012025_17_02_02_851718_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328206371","1328206725","1328206382","1328207031"],"photo_ids_order":["1328206371","1328206382","1328206725","1328207031"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/70b664fdf22bdaba4d3376fc1daf8032.jpg","text":"TemporaryFile(/tmp/multipartBody4966653368826167705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611412764,"filename":"image_11012025_17_01_02_533183_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ace4c701bddf14bfddf9e356079e6a8c.jpg","text":"TemporaryFile(/tmp/multipartBody6889413624067454706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611412764,"filename":"image_11012025_17_02_02_851718_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/01aca44a988309efd05db4138c402e20.jpg","text":"TemporaryFile(/tmp/multipartBody6547846789599500213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611412764,"filename":"image_11012025_17_02_02_851718_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9bdd5ba445ba2df362d6d9fa8ba49d07.jpg","text":"TemporaryFile(/tmp/multipartBody1848456094791812013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611412764,"filename":"image_11012025_17_02_02_851718_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328206725","file1":"1328206382","file0":"1328206371","file3":"1328207031"},"map_files_photo_id_array":[{"photo_id":"1328206725","filename":"file2"},{"photo_id":"1328206382","filename":"file1"},{"photo_id":"1328206371","filename":"file0"},{"photo_id":"1328207031","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328206371":["hashtag1","hashtag2"]},{"1328206725":["hashtag1","hashtag2"]},{"1328206382":["hashtag1","hashtag2"]},{"1328207031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328206371, 1328206725, 1328206382, 1328207031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.80820941925049 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:03:03.250936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:03:22.706499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/02/image_11012025_17_02_02_851718_0003.jpg', '/home/pi/Desktop/images/11012025/17/03/image_11012025_17_03_02_901191_0000.jpg', '/home/pi/Desktop/images/11012025/17/03/image_11012025_17_03_02_901191_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/02/image_11012025_17_02_02_851718_0003.jpg
/home/pi/Desktop/images/11012025/17/03/image_11012025_17_03_02_901191_0000.jpg
/home/pi/Desktop/images/11012025/17/03/image_11012025_17_03_02_901191_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":["1328207313","1328207270","1328207263"],"photo_ids_order":["1328207263","1328207270","1328207313"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/15fc9e59f5ef8a1225bed12b2a1bf45f.jpg","text":"TemporaryFile(/tmp/multipartBody3859283696232948040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611470478,"filename":"image_11012025_17_03_02_901191_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1870b18712be7a2e65a0f0203a396869.jpg","text":"TemporaryFile(/tmp/multipartBody7513129635317541336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611470478,"filename":"image_11012025_17_03_02_901191_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d9832cb15cd6ad609189a8a205acec47.jpg","text":"TemporaryFile(/tmp/multipartBody7021477677619116482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611470478,"filename":"image_11012025_17_02_02_851718_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328207313","file1":"1328207270","file0":"1328207263"},"map_files_photo_id_array":[{"photo_id":"1328207313","filename":"file2"},{"photo_id":"1328207270","filename":"file1"},{"photo_id":"1328207263","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328207313":["hashtag1","hashtag2"]},{"1328207270":["hashtag1","hashtag2"]},{"1328207263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328207313, 1328207270, 1328207263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.006383180618286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:04:02.292185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:04:21.899713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/03/image_11012025_17_03_02_901191_0003.jpg', '/home/pi/Desktop/images/11012025/17/04/image_11012025_17_04_03_017988_0000.jpg', '/home/pi/Desktop/images/11012025/17/04/image_11012025_17_04_03_017988_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/03/image_11012025_17_03_02_901191_0003.jpg
/home/pi/Desktop/images/11012025/17/04/image_11012025_17_04_03_017988_0000.jpg
/home/pi/Desktop/images/11012025/17/04/image_11012025_17_04_03_017988_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":["1328207767","1328207763","1328207769"],"photo_ids_order":["1328207763","1328207767","1328207769"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1598fb6e303fec0542962d690abe2716.jpg","text":"TemporaryFile(/tmp/multipartBody7509384323809816794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611529625,"filename":"image_11012025_17_04_03_017988_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/943f493863e811208322660e8ce16677.jpg","text":"TemporaryFile(/tmp/multipartBody7777013857354993291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611529625,"filename":"image_11012025_17_03_02_901191_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dbbced97064b9a069157282980f50a3c.jpg","text":"TemporaryFile(/tmp/multipartBody7519603528284548959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611529625,"filename":"image_11012025_17_04_03_017988_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328207769","file1":"1328207767","file0":"1328207763"},"map_files_photo_id_array":[{"photo_id":"1328207769","filename":"file2"},{"photo_id":"1328207767","filename":"file1"},{"photo_id":"1328207763","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328207767":["hashtag1","hashtag2"]},{"1328207763":["hashtag1","hashtag2"]},{"1328207769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328207767, 1328207763, 1328207769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.852224111557007 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:05:02.689590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:05:22.137595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/04/image_11012025_17_04_03_017988_0002.jpg', '/home/pi/Desktop/images/11012025/17/05/image_11012025_17_05_02_330371_0000.jpg', '/home/pi/Desktop/images/11012025/17/05/image_11012025_17_05_02_330371_0001.jpg', '/home/pi/Desktop/images/11012025/17/05/image_11012025_17_05_02_330371_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/04/image_11012025_17_04_03_017988_0002.jpg
/home/pi/Desktop/images/11012025/17/05/image_11012025_17_05_02_330371_0000.jpg
/home/pi/Desktop/images/11012025/17/05/image_11012025_17_05_02_330371_0001.jpg
/home/pi/Desktop/images/11012025/17/05/image_11012025_17_05_02_330371_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328207792","1328207795","1328207789","1328207787"],"photo_ids_order":["1328207787","1328207789","1328207792","1328207795"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/535ce3dc5b490a8a396448073c130503.jpg","text":"TemporaryFile(/tmp/multipartBody1970134560500696415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611592265,"filename":"image_11012025_17_05_02_330371_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ebc79e1c6d12649fa127b618cc240980.jpg","text":"TemporaryFile(/tmp/multipartBody3318386330080521466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611592265,"filename":"image_11012025_17_05_02_330371_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dfc86447bac8bb860b54af0588799914.jpg","text":"TemporaryFile(/tmp/multipartBody1620723914388504913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611592265,"filename":"image_11012025_17_05_02_330371_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0849970cd8f7031c36d63e9289774a68.jpg","text":"TemporaryFile(/tmp/multipartBody911164828624183329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611592265,"filename":"image_11012025_17_04_03_017988_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328207792","file1":"1328207789","file0":"1328207787","file3":"1328207795"},"map_files_photo_id_array":[{"photo_id":"1328207792","filename":"file2"},{"photo_id":"1328207789","filename":"file1"},{"photo_id":"1328207787","filename":"file0"},{"photo_id":"1328207795","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328207792":["hashtag1","hashtag2"]},{"1328207795":["hashtag1","hashtag2"]},{"1328207789":["hashtag1","hashtag2"]},{"1328207787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328207792, 1328207795, 1328207789, 1328207787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.97690963745117 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:06:22.397274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/05/image_11012025_17_05_02_330371_0003.jpg', '/home/pi/Desktop/images/11012025/17/06/image_11012025_17_06_02_432927_0000.jpg', '/home/pi/Desktop/images/11012025/17/06/image_11012025_17_06_02_432927_0001.jpg', '/home/pi/Desktop/images/11012025/17/06/image_11012025_17_06_02_432927_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/05/image_11012025_17_05_02_330371_0003.jpg
/home/pi/Desktop/images/11012025/17/06/image_11012025_17_06_02_432927_0000.jpg
/home/pi/Desktop/images/11012025/17/06/image_11012025_17_06_02_432927_0001.jpg
/home/pi/Desktop/images/11012025/17/06/image_11012025_17_06_02_432927_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328207811","1328207831","1328207818","1328207809"],"photo_ids_order":["1328207809","1328207811","1328207818","1328207831"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cd4829b38404e20d37013ec32baa9b2d.jpg","text":"TemporaryFile(/tmp/multipartBody4929183249947587423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611652490,"filename":"image_11012025_17_06_02_432927_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/379c938a3866db3fc01ca661b00830f5.jpg","text":"TemporaryFile(/tmp/multipartBody4076561809347636939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611652490,"filename":"image_11012025_17_06_02_432927_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/81c250f67aac0af50492ce0a3ababc6e.jpg","text":"TemporaryFile(/tmp/multipartBody1359206705254553145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611652490,"filename":"image_11012025_17_06_02_432927_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fd753a719e174080cc002a32c6538bea.jpg","text":"TemporaryFile(/tmp/multipartBody3019733839901780318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611652490,"filename":"image_11012025_17_05_02_330371_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328207818","file1":"1328207811","file0":"1328207809","file3":"1328207831"},"map_files_photo_id_array":[{"photo_id":"1328207818","filename":"file2"},{"photo_id":"1328207811","filename":"file1"},{"photo_id":"1328207809","filename":"file0"},{"photo_id":"1328207831","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328207811":["hashtag1","hashtag2"]},{"1328207831":["hashtag1","hashtag2"]},{"1328207818":["hashtag1","hashtag2"]},{"1328207809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328207811, 1328207831, 1328207818, 1328207809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.40467095375061 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:07:03.148635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:07:22.390711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/06/image_11012025_17_06_02_432927_0003.jpg', '/home/pi/Desktop/images/11012025/17/07/image_11012025_17_07_02_620323_0001.jpg', '/home/pi/Desktop/images/11012025/17/07/image_11012025_17_07_02_620323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/06/image_11012025_17_06_02_432927_0003.jpg
/home/pi/Desktop/images/11012025/17/07/image_11012025_17_07_02_620323_0001.jpg
/home/pi/Desktop/images/11012025/17/07/image_11012025_17_07_02_620323_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328207855","1328207852","1328207848"],"photo_ids_order":["1328207848","1328207852","1328207855"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c75dfccc7011368e9d2169f10b7f354c.jpg","text":"TemporaryFile(/tmp/multipartBody4833414320762312057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611710110,"filename":"image_11012025_17_07_02_620323_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/158a66c61e7dc40f48dc8508a6da2eb1.jpg","text":"TemporaryFile(/tmp/multipartBody8672006610806346051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611710110,"filename":"image_11012025_17_07_02_620323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b8f541546f604fe7e8409eb1f49cdb57.jpg","text":"TemporaryFile(/tmp/multipartBody1320573945814041313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611710110,"filename":"image_11012025_17_06_02_432927_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328207855","file1":"1328207852","file0":"1328207848"},"map_files_photo_id_array":[{"photo_id":"1328207855","filename":"file2"},{"photo_id":"1328207852","filename":"file1"},{"photo_id":"1328207848","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328207855":["hashtag1","hashtag2"]},{"1328207852":["hashtag1","hashtag2"]},{"1328207848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328207855, 1328207852, 1328207848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.761044025421143 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:08:03.000577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:08:22.680272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/07/image_11012025_17_07_02_620323_0003.jpg', '/home/pi/Desktop/images/11012025/17/08/image_11012025_17_08_02_893973_0000.jpg', '/home/pi/Desktop/images/11012025/17/08/image_11012025_17_08_02_893973_0001.jpg', '/home/pi/Desktop/images/11012025/17/08/image_11012025_17_08_02_893973_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/07/image_11012025_17_07_02_620323_0003.jpg
/home/pi/Desktop/images/11012025/17/08/image_11012025_17_08_02_893973_0000.jpg
/home/pi/Desktop/images/11012025/17/08/image_11012025_17_08_02_893973_0001.jpg
/home/pi/Desktop/images/11012025/17/08/image_11012025_17_08_02_893973_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328207873","1328207879","1328207877","1328207871"],"photo_ids_order":["1328207871","1328207873","1328207877","1328207879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/53b251df6cb47aced55c8c67c6751bb3.jpg","text":"TemporaryFile(/tmp/multipartBody4807282797787149214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611772779,"filename":"image_11012025_17_08_02_893973_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bf8f2d5c5c4ce69e36dea14ec048c5fb.jpg","text":"TemporaryFile(/tmp/multipartBody5259222533018263280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611772779,"filename":"image_11012025_17_08_02_893973_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/996063b4c34078fedbe2b287b51f2866.jpg","text":"TemporaryFile(/tmp/multipartBody4804077040971189693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611772779,"filename":"image_11012025_17_08_02_893973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f7934b5395afdb4f7e819fc83702c991.jpg","text":"TemporaryFile(/tmp/multipartBody5705818287851750265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611772779,"filename":"image_11012025_17_07_02_620323_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328207877","file1":"1328207873","file0":"1328207871","file3":"1328207879"},"map_files_photo_id_array":[{"photo_id":"1328207877","filename":"file2"},{"photo_id":"1328207873","filename":"file1"},{"photo_id":"1328207871","filename":"file0"},{"photo_id":"1328207879","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328207873":["hashtag1","hashtag2"]},{"1328207879":["hashtag1","hashtag2"]},{"1328207877":["hashtag1","hashtag2"]},{"1328207871":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328207873, 1328207879, 1328207877, 1328207871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.27622151374817 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:09:21.964715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/08/image_11012025_17_08_02_893973_0003.jpg', '/home/pi/Desktop/images/11012025/17/09/image_11012025_17_09_03_027229_0000.jpg', '/home/pi/Desktop/images/11012025/17/09/image_11012025_17_09_03_027229_0001.jpg', '/home/pi/Desktop/images/11012025/17/09/image_11012025_17_09_03_027229_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/08/image_11012025_17_08_02_893973_0003.jpg
/home/pi/Desktop/images/11012025/17/09/image_11012025_17_09_03_027229_0000.jpg
/home/pi/Desktop/images/11012025/17/09/image_11012025_17_09_03_027229_0001.jpg
/home/pi/Desktop/images/11012025/17/09/image_11012025_17_09_03_027229_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.71666932106018 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 17:09:41.802982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/08/image_11012025_17_08_02_893973_0003.jpg', '/home/pi/Desktop/images/11012025/17/09/image_11012025_17_09_03_027229_0000.jpg', '/home/pi/Desktop/images/11012025/17/09/image_11012025_17_09_03_027229_0001.jpg', '/home/pi/Desktop/images/11012025/17/09/image_11012025_17_09_03_027229_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/08/image_11012025_17_08_02_893973_0003.jpg
/home/pi/Desktop/images/11012025/17/09/image_11012025_17_09_03_027229_0000.jpg
/home/pi/Desktop/images/11012025/17/09/image_11012025_17_09_03_027229_0001.jpg
/home/pi/Desktop/images/11012025/17/09/image_11012025_17_09_03_027229_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328207922","1328207924","1328207927","1328207920"],"photo_ids_order":["1328207920","1328207922","1328207924","1328207927"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/690095ab5351323591b3ade558f2e0ff.jpg","text":"TemporaryFile(/tmp/multipartBody6364251343075949023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611851901,"filename":"image_11012025_17_09_03_027229_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a4c288a24858e99ba1a60aa6a0a9fc43.jpg","text":"TemporaryFile(/tmp/multipartBody3148115296902994468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611851901,"filename":"image_11012025_17_09_03_027229_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d247391e382eb67ab69ca21cc6ad9cc4.jpg","text":"TemporaryFile(/tmp/multipartBody1122804594064495342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611851901,"filename":"image_11012025_17_09_03_027229_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/edab57dd0082cf405d2139be7e96a1f0.jpg","text":"TemporaryFile(/tmp/multipartBody7015812681747093360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611851901,"filename":"image_11012025_17_08_02_893973_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328207924","file1":"1328207922","file0":"1328207920","file3":"1328207927"},"map_files_photo_id_array":[{"photo_id":"1328207924","filename":"file2"},{"photo_id":"1328207922","filename":"file1"},{"photo_id":"1328207920","filename":"file0"},{"photo_id":"1328207927","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328207922":["hashtag1","hashtag2"]},{"1328207924":["hashtag1","hashtag2"]},{"1328207927":["hashtag1","hashtag2"]},{"1328207920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328207922, 1328207924, 1328207927, 1328207920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.56988000869751 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-11 17:10:32.050381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/09/image_11012025_17_09_03_027229_0003.jpg', '/home/pi/Desktop/images/11012025/17/10/image_11012025_17_10_02_263066_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/09/image_11012025_17_09_03_027229_0003.jpg
/home/pi/Desktop/images/11012025/17/10/image_11012025_17_10_02_263066_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":["1328207933","1328207935"],"photo_ids_order":["1328207933","1328207935"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ba85aa1e623ba363df8ffbcad0d3589c.jpg","text":"TemporaryFile(/tmp/multipartBody1278777532080774887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611897433,"filename":"image_11012025_17_09_03_027229_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1b5437f0563a9704f7996dbc4c1eaa7f.jpg","text":"TemporaryFile(/tmp/multipartBody3719735280001928074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611897433,"filename":"image_11012025_17_10_02_263066_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328207935","file0":"1328207933"},"map_files_photo_id_array":[{"photo_id":"1328207935","filename":"file1"},{"photo_id":"1328207933","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328207933":["hashtag1","hashtag2"]},{"1328207935":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328207933, 1328207935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.6421377658844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:11:02.953646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:11:22.349225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/10/image_11012025_17_10_02_263066_0003.jpg', '/home/pi/Desktop/images/11012025/17/11/image_11012025_17_11_02_462265_0000.jpg', '/home/pi/Desktop/images/11012025/17/11/image_11012025_17_11_02_462265_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/10/image_11012025_17_10_02_263066_0003.jpg
/home/pi/Desktop/images/11012025/17/11/image_11012025_17_11_02_462265_0000.jpg
/home/pi/Desktop/images/11012025/17/11/image_11012025_17_11_02_462265_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":["1328208125","1328208247","1328208366"],"photo_ids_order":["1328208125","1328208247","1328208366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b7425b9e370223a96c3ac82133ff67b9.jpg","text":"TemporaryFile(/tmp/multipartBody1972074472466969232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611950093,"filename":"image_11012025_17_10_02_263066_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/446e6163fc324a5765022f6f37a98516.jpg","text":"TemporaryFile(/tmp/multipartBody6873661028598991408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611950093,"filename":"image_11012025_17_11_02_462265_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/59cd191c34abd9abb4791cd14e36f1bc.jpg","text":"TemporaryFile(/tmp/multipartBody5100480689364111117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736611950093,"filename":"image_11012025_17_11_02_462265_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328208366","file1":"1328208247","file0":"1328208125"},"map_files_photo_id_array":[{"photo_id":"1328208366","filename":"file2"},{"photo_id":"1328208247","filename":"file1"},{"photo_id":"1328208125","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328208125":["hashtag1","hashtag2"]},{"1328208247":["hashtag1","hashtag2"]},{"1328208366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328208125, 1328208247, 1328208366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.683556079864502 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:12:02.896036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:12:22.544930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/11/image_11012025_17_11_02_462265_0002.jpg', '/home/pi/Desktop/images/11012025/17/12/image_11012025_17_12_02_609889_0001.jpg', '/home/pi/Desktop/images/11012025/17/12/image_11012025_17_12_02_609889_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/11/image_11012025_17_11_02_462265_0002.jpg
/home/pi/Desktop/images/11012025/17/12/image_11012025_17_12_02_609889_0001.jpg
/home/pi/Desktop/images/11012025/17/12/image_11012025_17_12_02_609889_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328209090","1328209063","1328209065"],"photo_ids_order":["1328209063","1328209065","1328209090"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2b9fee78b4bdddddc30a4ea7d33e0062.jpg","text":"TemporaryFile(/tmp/multipartBody8003026991434951396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612010273,"filename":"image_11012025_17_12_02_609889_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d761ce8027c9a33350d7d6bb3fe7e01a.jpg","text":"TemporaryFile(/tmp/multipartBody5649485321786984033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612010273,"filename":"image_11012025_17_11_02_462265_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/370f15e7175313328c7267f2042b6dbf.jpg","text":"TemporaryFile(/tmp/multipartBody7935742984615875686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612010273,"filename":"image_11012025_17_12_02_609889_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328209090","file1":"1328209065","file0":"1328209063"},"map_files_photo_id_array":[{"photo_id":"1328209090","filename":"file2"},{"photo_id":"1328209065","filename":"file1"},{"photo_id":"1328209063","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328209090":["hashtag1","hashtag2"]},{"1328209063":["hashtag1","hashtag2"]},{"1328209065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328209090, 1328209063, 1328209065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.44283437728882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:13:03.169271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:13:22.618476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/12/image_11012025_17_12_02_609889_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/12/image_11012025_17_12_02_609889_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328209224"],"photo_id":"1328209224","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/416e03895d860899d7daa6b3af708177.jpg","text":"TemporaryFile(/tmp/multipartBody8510570907749256495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612065646,"filename":"image_11012025_17_12_02_609889_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328209224"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328209224"}],"hashtags":[],"portfolio_id":"19511890","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.545013904571533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 17:13:42.642495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 17:13:52.589098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:14:03.346743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:14:22.830361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/13/image_11012025_17_13_02_771130_0000.jpg', '/home/pi/Desktop/images/11012025/17/14/image_11012025_17_14_02_932212_0001.jpg', '/home/pi/Desktop/images/11012025/17/14/image_11012025_17_14_02_932212_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/13/image_11012025_17_13_02_771130_0000.jpg
/home/pi/Desktop/images/11012025/17/14/image_11012025_17_14_02_932212_0001.jpg
/home/pi/Desktop/images/11012025/17/14/image_11012025_17_14_02_932212_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.332644462585449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 17:14:32.718436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/13/image_11012025_17_13_02_771130_0000.jpg', '/home/pi/Desktop/images/11012025/17/14/image_11012025_17_14_02_932212_0001.jpg', '/home/pi/Desktop/images/11012025/17/14/image_11012025_17_14_02_932212_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/13/image_11012025_17_13_02_771130_0000.jpg
/home/pi/Desktop/images/11012025/17/14/image_11012025_17_14_02_932212_0001.jpg
/home/pi/Desktop/images/11012025/17/14/image_11012025_17_14_02_932212_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328209653","1328209650","1328209646"],"photo_ids_order":["1328209646","1328209650","1328209653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c5f7cdfd27bdcb41f500b507a0ad45f8.jpg","text":"TemporaryFile(/tmp/multipartBody8511292849563045696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612140472,"filename":"image_11012025_17_14_02_932212_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f020cce609267cd699e0de7b07cb3797.jpg","text":"TemporaryFile(/tmp/multipartBody1855823022063881852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612140472,"filename":"image_11012025_17_14_02_932212_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9d1e794cd98809d04fea61b18acaae09.jpg","text":"TemporaryFile(/tmp/multipartBody6010364567209967824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612140472,"filename":"image_11012025_17_13_02_771130_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328209653","file1":"1328209650","file0":"1328209646"},"map_files_photo_id_array":[{"photo_id":"1328209653","filename":"file2"},{"photo_id":"1328209650","filename":"file1"},{"photo_id":"1328209646","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328209653":["hashtag1","hashtag2"]},{"1328209650":["hashtag1","hashtag2"]},{"1328209646":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328209653, 1328209650, 1328209646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.462260246276855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:15:21.898187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/14/image_11012025_17_14_02_932212_0003.jpg', '/home/pi/Desktop/images/11012025/17/15/image_11012025_17_15_03_127729_0000.jpg', '/home/pi/Desktop/images/11012025/17/15/image_11012025_17_15_03_127729_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/14/image_11012025_17_14_02_932212_0003.jpg
/home/pi/Desktop/images/11012025/17/15/image_11012025_17_15_03_127729_0000.jpg
/home/pi/Desktop/images/11012025/17/15/image_11012025_17_15_03_127729_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328209729","1328209982","1328209856"],"photo_ids_order":["1328209729","1328209856","1328209982"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/faa071faa37d0073c9fa3ec0b41882e0.jpg","text":"TemporaryFile(/tmp/multipartBody1195875080302048081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612189668,"filename":"image_11012025_17_14_02_932212_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a1f986be6eb3b8b82b8571bedb924fbb.jpg","text":"TemporaryFile(/tmp/multipartBody1739723480779004246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612189668,"filename":"image_11012025_17_15_03_127729_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/53ac4218fb1b7debd89dce3741c3e307.jpg","text":"TemporaryFile(/tmp/multipartBody8151341069690757196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612189668,"filename":"image_11012025_17_15_03_127729_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328209982","file1":"1328209856","file0":"1328209729"},"map_files_photo_id_array":[{"photo_id":"1328209982","filename":"file2"},{"photo_id":"1328209856","filename":"file1"},{"photo_id":"1328209729","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328209729":["hashtag1","hashtag2"]},{"1328209982":["hashtag1","hashtag2"]},{"1328209856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328209729, 1328209982, 1328209856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.169077157974243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:16:02.585576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:16:22.166498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/15/image_11012025_17_15_03_127729_0003.jpg', '/home/pi/Desktop/images/11012025/17/16/image_11012025_17_16_02_318697_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/15/image_11012025_17_15_03_127729_0003.jpg
/home/pi/Desktop/images/11012025/17/16/image_11012025_17_16_02_318697_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":["1328210097","1328210100"],"photo_ids_order":["1328210097","1328210100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cd908db135de28d2101005a2ff2e7d7d.jpg","text":"TemporaryFile(/tmp/multipartBody7747400623964651711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612247560,"filename":"image_11012025_17_15_03_127729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/264ce7cde76e23ef71fbddeec156693f.jpg","text":"TemporaryFile(/tmp/multipartBody1164732618074533053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612247560,"filename":"image_11012025_17_16_02_318697_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328210100","file0":"1328210097"},"map_files_photo_id_array":[{"photo_id":"1328210100","filename":"file1"},{"photo_id":"1328210097","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328210097":["hashtag1","hashtag2"]},{"1328210100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328210097, 1328210100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.491910696029663 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 17:16:52.115637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:17:02.861634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:17:22.398479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/16/image_11012025_17_16_02_318697_0001.jpg', '/home/pi/Desktop/images/11012025/17/17/image_11012025_17_17_02_562409_0000.jpg', '/home/pi/Desktop/images/11012025/17/17/image_11012025_17_17_02_562409_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/16/image_11012025_17_16_02_318697_0001.jpg
/home/pi/Desktop/images/11012025/17/17/image_11012025_17_17_02_562409_0000.jpg
/home/pi/Desktop/images/11012025/17/17/image_11012025_17_17_02_562409_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328210468","1328210461","1328210465"],"photo_ids_order":["1328210461","1328210465","1328210468"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5a2c5a609a6380acdf5c9ca52230f4bb.jpg","text":"TemporaryFile(/tmp/multipartBody3175968181293221190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612310141,"filename":"image_11012025_17_17_02_562409_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cb5eea693a3aea9213d581009c498112.jpg","text":"TemporaryFile(/tmp/multipartBody6519812293762260874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612310141,"filename":"image_11012025_17_16_02_318697_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7525e1c7262035ec9099995432c82e7d.jpg","text":"TemporaryFile(/tmp/multipartBody927688814464253434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612310141,"filename":"image_11012025_17_17_02_562409_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328210468","file1":"1328210465","file0":"1328210461"},"map_files_photo_id_array":[{"photo_id":"1328210468","filename":"file2"},{"photo_id":"1328210465","filename":"file1"},{"photo_id":"1328210461","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328210468":["hashtag1","hashtag2"]},{"1328210461":["hashtag1","hashtag2"]},{"1328210465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328210468, 1328210461, 1328210465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.50325632095337 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:18:02.940335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:18:22.550645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/17/image_11012025_17_17_02_562409_0003.jpg', '/home/pi/Desktop/images/11012025/17/18/image_11012025_17_18_02_725860_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/17/image_11012025_17_17_02_562409_0003.jpg
/home/pi/Desktop/images/11012025/17/18/image_11012025_17_18_02_725860_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":["1328210675","1328210684"],"photo_ids_order":["1328210675","1328210684"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/10b29426d7a106b009e288a5ade7f8cd.jpg","text":"TemporaryFile(/tmp/multipartBody2741525761174310713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612367938,"filename":"image_11012025_17_17_02_562409_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0f6e9d6e71ab75d6bcca09a81b0d4ae8.jpg","text":"TemporaryFile(/tmp/multipartBody8472390262810578235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612367938,"filename":"image_11012025_17_18_02_725860_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328210684","file0":"1328210675"},"map_files_photo_id_array":[{"photo_id":"1328210684","filename":"file1"},{"photo_id":"1328210675","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328210675":["hashtag1","hashtag2"]},{"1328210684":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328210675, 1328210684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.168617725372314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 17:18:52.491791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:19:03.385950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:19:22.717067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/18/image_11012025_17_18_02_725860_0003.jpg', '/home/pi/Desktop/images/11012025/17/19/image_11012025_17_19_02_859843_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/18/image_11012025_17_18_02_725860_0003.jpg
/home/pi/Desktop/images/11012025/17/19/image_11012025_17_19_02_859843_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":["1328211883","1328211858"],"photo_ids_order":["1328211858","1328211883"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/29067294791b03ca8ae2668a472d7cdd.jpg","text":"TemporaryFile(/tmp/multipartBody1609979509018637270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612428130,"filename":"image_11012025_17_19_02_859843_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a3679fbf0dda1ec8d093abb270c44f7f.jpg","text":"TemporaryFile(/tmp/multipartBody9093777141589850843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612428130,"filename":"image_11012025_17_18_02_725860_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328211883","file0":"1328211858"},"map_files_photo_id_array":[{"photo_id":"1328211883","filename":"file1"},{"photo_id":"1328211858","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328211883":["hashtag1","hashtag2"]},{"1328211858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328211883, 1328211858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.842082738876343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 17:19:52.678130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:20:02.316545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:20:21.919777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/19/image_11012025_17_19_02_859843_0002.jpg', '/home/pi/Desktop/images/11012025/17/20/image_11012025_17_20_03_082799_0000.jpg', '/home/pi/Desktop/images/11012025/17/20/image_11012025_17_20_03_082799_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/19/image_11012025_17_19_02_859843_0002.jpg
/home/pi/Desktop/images/11012025/17/20/image_11012025_17_20_03_082799_0000.jpg
/home/pi/Desktop/images/11012025/17/20/image_11012025_17_20_03_082799_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328212176","1328212214","1328212217"],"photo_ids_order":["1328212176","1328212214","1328212217"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ecd12a61980a98fe3feeee5aaa919722.jpg","text":"TemporaryFile(/tmp/multipartBody789451440220243236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612489670,"filename":"image_11012025_17_19_02_859843_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/66010ce3cbb0c794ee5c2793e7c08279.jpg","text":"TemporaryFile(/tmp/multipartBody2593149078387501043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612489670,"filename":"image_11012025_17_20_03_082799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b7a2329d073c035bbfcddc74e000a314.jpg","text":"TemporaryFile(/tmp/multipartBody6957698856135462798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612489670,"filename":"image_11012025_17_20_03_082799_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328212217","file1":"1328212214","file0":"1328212176"},"map_files_photo_id_array":[{"photo_id":"1328212217","filename":"file2"},{"photo_id":"1328212214","filename":"file1"},{"photo_id":"1328212176","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328212176":["hashtag1","hashtag2"]},{"1328212214":["hashtag1","hashtag2"]},{"1328212217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328212176, 1328212214, 1328212217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.470640897750854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:21:02.668932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:21:22.049021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/20/image_11012025_17_20_03_082799_0003.jpg', '/home/pi/Desktop/images/11012025/17/21/image_11012025_17_21_02_260919_0000.jpg', '/home/pi/Desktop/images/11012025/17/21/image_11012025_17_21_02_260919_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/20/image_11012025_17_20_03_082799_0003.jpg
/home/pi/Desktop/images/11012025/17/21/image_11012025_17_21_02_260919_0000.jpg
/home/pi/Desktop/images/11012025/17/21/image_11012025_17_21_02_260919_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":["1328212306","1328212302","1328212298"],"photo_ids_order":["1328212298","1328212302","1328212306"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d70e0e9bbc9a219e39b18b062883f39a.jpg","text":"TemporaryFile(/tmp/multipartBody6353729236811201588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612549795,"filename":"image_11012025_17_21_02_260919_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/739a0594e5035fc052a37e6285e01253.jpg","text":"TemporaryFile(/tmp/multipartBody4853505309389711027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612549795,"filename":"image_11012025_17_21_02_260919_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9c267a4f97008b25777431f0a22e0229.jpg","text":"TemporaryFile(/tmp/multipartBody5814518918077650633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612549795,"filename":"image_11012025_17_20_03_082799_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328212306","file1":"1328212302","file0":"1328212298"},"map_files_photo_id_array":[{"photo_id":"1328212306","filename":"file2"},{"photo_id":"1328212302","filename":"file1"},{"photo_id":"1328212298","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328212306":["hashtag1","hashtag2"]},{"1328212302":["hashtag1","hashtag2"]},{"1328212298":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328212306, 1328212302, 1328212298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.54633617401123 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:22:02.681877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:22:22.250709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/21/image_11012025_17_21_02_260919_0002.jpg', '/home/pi/Desktop/images/11012025/17/22/image_11012025_17_22_02_395134_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/21/image_11012025_17_21_02_260919_0002.jpg
/home/pi/Desktop/images/11012025/17/22/image_11012025_17_22_02_395134_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":["1328212357","1328212355"],"photo_ids_order":["1328212355","1328212357"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eebee371e7a22e5bdb48ccace4961af1.jpg","text":"TemporaryFile(/tmp/multipartBody6337208556597992496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612607628,"filename":"image_11012025_17_22_02_395134_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/90f448506f210ee6a6fd2b6d13e00148.jpg","text":"TemporaryFile(/tmp/multipartBody6395240259484835073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612607628,"filename":"image_11012025_17_21_02_260919_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328212357","file0":"1328212355"},"map_files_photo_id_array":[{"photo_id":"1328212357","filename":"file1"},{"photo_id":"1328212355","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328212357":["hashtag1","hashtag2"]},{"1328212355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328212357, 1328212355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.277225255966187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 17:22:52.216088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:23:02.991152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:23:22.469381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/22/image_11012025_17_22_02_395134_0003.jpg', '/home/pi/Desktop/images/11012025/17/23/image_11012025_17_23_02_597611_0001.jpg', '/home/pi/Desktop/images/11012025/17/23/image_11012025_17_23_02_597611_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/22/image_11012025_17_22_02_395134_0003.jpg
/home/pi/Desktop/images/11012025/17/23/image_11012025_17_23_02_597611_0001.jpg
/home/pi/Desktop/images/11012025/17/23/image_11012025_17_23_02_597611_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328212858","1328212919","1328212916"],"photo_ids_order":["1328212858","1328212916","1328212919"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ed56c085958bc93015cbc65701706c2d.jpg","text":"TemporaryFile(/tmp/multipartBody6874679591427082174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612670201,"filename":"image_11012025_17_22_02_395134_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/722d115b4f52f018b34b5f66f5e2bd7a.jpg","text":"TemporaryFile(/tmp/multipartBody8281036286916668899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612670201,"filename":"image_11012025_17_23_02_597611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1bc293797e3da6b370a727f6ce73da62.jpg","text":"TemporaryFile(/tmp/multipartBody5981351577677725243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612670201,"filename":"image_11012025_17_23_02_597611_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328212919","file1":"1328212916","file0":"1328212858"},"map_files_photo_id_array":[{"photo_id":"1328212919","filename":"file2"},{"photo_id":"1328212916","filename":"file1"},{"photo_id":"1328212858","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328212858":["hashtag1","hashtag2"]},{"1328212919":["hashtag1","hashtag2"]},{"1328212916":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328212858, 1328212919, 1328212916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.8455708026886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:24:02.982144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:24:22.624484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/23/image_11012025_17_23_02_597611_0003.jpg', '/home/pi/Desktop/images/11012025/17/24/image_11012025_17_24_02_806242_0000.jpg', '/home/pi/Desktop/images/11012025/17/24/image_11012025_17_24_02_806242_0001.jpg', '/home/pi/Desktop/images/11012025/17/24/image_11012025_17_24_02_806242_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/23/image_11012025_17_23_02_597611_0003.jpg
/home/pi/Desktop/images/11012025/17/24/image_11012025_17_24_02_806242_0000.jpg
/home/pi/Desktop/images/11012025/17/24/image_11012025_17_24_02_806242_0001.jpg
/home/pi/Desktop/images/11012025/17/24/image_11012025_17_24_02_806242_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328213224","1328213127","1328213117","1328213227"],"photo_ids_order":["1328213117","1328213127","1328213224","1328213227"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a31dd2567c50c29dfb04cc87554d60ec.jpg","text":"TemporaryFile(/tmp/multipartBody2977856746520458680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612732735,"filename":"image_11012025_17_24_02_806242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c5e07f228ea3eefc20b05e894bc61be7.jpg","text":"TemporaryFile(/tmp/multipartBody2062538034825231869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612732735,"filename":"image_11012025_17_24_02_806242_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aee5df81f7a2642756aa22284f5cd457.jpg","text":"TemporaryFile(/tmp/multipartBody3739038475823813401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612732735,"filename":"image_11012025_17_23_02_597611_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4196e4345a38938660008202e491de37.jpg","text":"TemporaryFile(/tmp/multipartBody1157999153097613601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612732735,"filename":"image_11012025_17_24_02_806242_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328213224","file1":"1328213127","file0":"1328213117","file3":"1328213227"},"map_files_photo_id_array":[{"photo_id":"1328213224","filename":"file2"},{"photo_id":"1328213127","filename":"file1"},{"photo_id":"1328213117","filename":"file0"},{"photo_id":"1328213227","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328213224":["hashtag1","hashtag2"]},{"1328213127":["hashtag1","hashtag2"]},{"1328213117":["hashtag1","hashtag2"]},{"1328213227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328213224, 1328213127, 1328213117, 1328213227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.20078182220459 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:25:02.439617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:25:21.842258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/24/image_11012025_17_24_02_806242_0003.jpg', '/home/pi/Desktop/images/11012025/17/25/image_11012025_17_25_02_988870_0000.jpg', '/home/pi/Desktop/images/11012025/17/25/image_11012025_17_25_02_988870_0001.jpg', '/home/pi/Desktop/images/11012025/17/25/image_11012025_17_25_02_988870_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/24/image_11012025_17_24_02_806242_0003.jpg
/home/pi/Desktop/images/11012025/17/25/image_11012025_17_25_02_988870_0000.jpg
/home/pi/Desktop/images/11012025/17/25/image_11012025_17_25_02_988870_0001.jpg
/home/pi/Desktop/images/11012025/17/25/image_11012025_17_25_02_988870_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328213448","1328213444","1328213446","1328213431"],"photo_ids_order":["1328213431","1328213444","1328213446","1328213448"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b032c6c3720fdc49e13c97fcc228ef90.jpg","text":"TemporaryFile(/tmp/multipartBody5078782254282766373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612791934,"filename":"image_11012025_17_25_02_988870_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0ffcfb910428af5b59e026dd51d6158f.jpg","text":"TemporaryFile(/tmp/multipartBody415535305282248374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612791934,"filename":"image_11012025_17_25_02_988870_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/020caff851c55b7890013764aaf3931f.jpg","text":"TemporaryFile(/tmp/multipartBody6086502176038458018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612791934,"filename":"image_11012025_17_25_02_988870_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/022306962733e9b2285c4b4aa8315937.jpg","text":"TemporaryFile(/tmp/multipartBody7512196435651668324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612791934,"filename":"image_11012025_17_24_02_806242_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328213446","file1":"1328213444","file0":"1328213431","file3":"1328213448"},"map_files_photo_id_array":[{"photo_id":"1328213446","filename":"file2"},{"photo_id":"1328213444","filename":"file1"},{"photo_id":"1328213431","filename":"file0"},{"photo_id":"1328213448","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328213448":["hashtag1","hashtag2"]},{"1328213444":["hashtag1","hashtag2"]},{"1328213446":["hashtag1","hashtag2"]},{"1328213431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328213448, 1328213444, 1328213446, 1328213431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.733643770217896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:26:22.044331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/25/image_11012025_17_25_02_988870_0003.jpg', '/home/pi/Desktop/images/11012025/17/26/image_11012025_17_26_02_166034_0000.jpg', '/home/pi/Desktop/images/11012025/17/26/image_11012025_17_26_02_166034_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/25/image_11012025_17_25_02_988870_0003.jpg
/home/pi/Desktop/images/11012025/17/26/image_11012025_17_26_02_166034_0000.jpg
/home/pi/Desktop/images/11012025/17/26/image_11012025_17_26_02_166034_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328213493","1328213486","1328213491"],"photo_ids_order":["1328213486","1328213491","1328213493"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/476358e740e56f2949a78e176a4d5353.jpg","text":"TemporaryFile(/tmp/multipartBody6472688959686850161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612849776,"filename":"image_11012025_17_26_02_166034_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cd783bec950b82655b9df9bf0b43080e.jpg","text":"TemporaryFile(/tmp/multipartBody7394628595178643254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612849776,"filename":"image_11012025_17_25_02_988870_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bc788abcd1bb3adad8fc4ddcc75f308d.jpg","text":"TemporaryFile(/tmp/multipartBody9066792734784946003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612849776,"filename":"image_11012025_17_26_02_166034_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328213493","file1":"1328213491","file0":"1328213486"},"map_files_photo_id_array":[{"photo_id":"1328213493","filename":"file2"},{"photo_id":"1328213491","filename":"file1"},{"photo_id":"1328213486","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328213493":["hashtag1","hashtag2"]},{"1328213486":["hashtag1","hashtag2"]},{"1328213491":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328213493, 1328213486, 1328213491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.674916744232178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:27:02.721144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:27:22.215734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/26/image_11012025_17_26_02_166034_0003.jpg', '/home/pi/Desktop/images/11012025/17/27/image_11012025_17_27_02_335837_0000.jpg', '/home/pi/Desktop/images/11012025/17/27/image_11012025_17_27_02_335837_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/26/image_11012025_17_26_02_166034_0003.jpg
/home/pi/Desktop/images/11012025/17/27/image_11012025_17_27_02_335837_0000.jpg
/home/pi/Desktop/images/11012025/17/27/image_11012025_17_27_02_335837_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328213509","1328213526","1328213516"],"photo_ids_order":["1328213509","1328213516","1328213526"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e39a1a08a78bf50e894585f46ed8b655.jpg","text":"TemporaryFile(/tmp/multipartBody2523930360337672156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612909960,"filename":"image_11012025_17_26_02_166034_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4ed24542cd9b9a692501d0a84075f613.jpg","text":"TemporaryFile(/tmp/multipartBody7484639759694865152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612909960,"filename":"image_11012025_17_27_02_335837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8b19a5f9d83f815b5cab879fdca5115e.jpg","text":"TemporaryFile(/tmp/multipartBody2549490102406495868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612909960,"filename":"image_11012025_17_27_02_335837_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328213526","file1":"1328213516","file0":"1328213509"},"map_files_photo_id_array":[{"photo_id":"1328213526","filename":"file2"},{"photo_id":"1328213516","filename":"file1"},{"photo_id":"1328213509","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328213509":["hashtag1","hashtag2"]},{"1328213526":["hashtag1","hashtag2"]},{"1328213516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328213509, 1328213526, 1328213516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.069982528686523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:28:02.715110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:28:22.444592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/27/image_11012025_17_27_02_335837_0003.jpg', '/home/pi/Desktop/images/11012025/17/28/image_11012025_17_28_02_607803_0000.jpg', '/home/pi/Desktop/images/11012025/17/28/image_11012025_17_28_02_607803_0001.jpg', '/home/pi/Desktop/images/11012025/17/28/image_11012025_17_28_02_607803_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/27/image_11012025_17_27_02_335837_0003.jpg
/home/pi/Desktop/images/11012025/17/28/image_11012025_17_28_02_607803_0000.jpg
/home/pi/Desktop/images/11012025/17/28/image_11012025_17_28_02_607803_0001.jpg
/home/pi/Desktop/images/11012025/17/28/image_11012025_17_28_02_607803_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328213550","1328213552","1328213549","1328213548"],"photo_ids_order":["1328213548","1328213549","1328213550","1328213552"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6ac9b654bd09a82a1ffa29ae22459be6.jpg","text":"TemporaryFile(/tmp/multipartBody6555032169254987790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612972624,"filename":"image_11012025_17_28_02_607803_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3f32d46b6d43e31d29be898728f573d2.jpg","text":"TemporaryFile(/tmp/multipartBody148039568389595116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612972624,"filename":"image_11012025_17_28_02_607803_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/03607e68e68f38694908109e1d760fd7.jpg","text":"TemporaryFile(/tmp/multipartBody7073089666997729289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612972624,"filename":"image_11012025_17_28_02_607803_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e5829faba90138e73d7efac74bd43709.jpg","text":"TemporaryFile(/tmp/multipartBody254273984552605337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736612972624,"filename":"image_11012025_17_27_02_335837_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328213550","file1":"1328213549","file0":"1328213548","file3":"1328213552"},"map_files_photo_id_array":[{"photo_id":"1328213550","filename":"file2"},{"photo_id":"1328213549","filename":"file1"},{"photo_id":"1328213548","filename":"file0"},{"photo_id":"1328213552","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328213550":["hashtag1","hashtag2"]},{"1328213552":["hashtag1","hashtag2"]},{"1328213549":["hashtag1","hashtag2"]},{"1328213548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328213550, 1328213552, 1328213549, 1328213548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.61153244972229 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:29:03.060833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:29:22.425446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/28/image_11012025_17_28_02_607803_0003.jpg', '/home/pi/Desktop/images/11012025/17/29/image_11012025_17_29_02_766971_0000.jpg', '/home/pi/Desktop/images/11012025/17/29/image_11012025_17_29_02_766971_0001.jpg', '/home/pi/Desktop/images/11012025/17/29/image_11012025_17_29_02_766971_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/28/image_11012025_17_28_02_607803_0003.jpg
/home/pi/Desktop/images/11012025/17/29/image_11012025_17_29_02_766971_0000.jpg
/home/pi/Desktop/images/11012025/17/29/image_11012025_17_29_02_766971_0001.jpg
/home/pi/Desktop/images/11012025/17/29/image_11012025_17_29_02_766971_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328214027","1328213897","1328213654","1328213782"],"photo_ids_order":["1328213654","1328213782","1328213897","1328214027"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b371c25ab5fe28f327e17ce83cf7c59b.jpg","text":"TemporaryFile(/tmp/multipartBody80568209982605936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613032636,"filename":"image_11012025_17_29_02_766971_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d4928f31830dca9507a20695273ed472.jpg","text":"TemporaryFile(/tmp/multipartBody343308650872131448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613032636,"filename":"image_11012025_17_29_02_766971_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/563da4a5531ecabc4727c06cff5e3bb2.jpg","text":"TemporaryFile(/tmp/multipartBody845250280325511482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613032636,"filename":"image_11012025_17_28_02_607803_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bf95775467d1e392ab79117d51005afc.jpg","text":"TemporaryFile(/tmp/multipartBody3223038407481267334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613032636,"filename":"image_11012025_17_29_02_766971_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328213897","file1":"1328213782","file0":"1328213654","file3":"1328214027"},"map_files_photo_id_array":[{"photo_id":"1328213897","filename":"file2"},{"photo_id":"1328213782","filename":"file1"},{"photo_id":"1328213654","filename":"file0"},{"photo_id":"1328214027","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328214027":["hashtag1","hashtag2"]},{"1328213897":["hashtag1","hashtag2"]},{"1328213654":["hashtag1","hashtag2"]},{"1328213782":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328214027, 1328213897, 1328213654, 1328213782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.24481797218323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:30:22.681336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/29/image_11012025_17_29_02_766971_0003.jpg', '/home/pi/Desktop/images/11012025/17/30/image_11012025_17_30_02_848011_0000.jpg', '/home/pi/Desktop/images/11012025/17/30/image_11012025_17_30_02_848011_0001.jpg', '/home/pi/Desktop/images/11012025/17/30/image_11012025_17_30_02_848011_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/29/image_11012025_17_29_02_766971_0003.jpg
/home/pi/Desktop/images/11012025/17/30/image_11012025_17_30_02_848011_0000.jpg
/home/pi/Desktop/images/11012025/17/30/image_11012025_17_30_02_848011_0001.jpg
/home/pi/Desktop/images/11012025/17/30/image_11012025_17_30_02_848011_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328214569","1328214515","1328214505","1328214498"],"photo_ids_order":["1328214498","1328214505","1328214515","1328214569"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ef24a653dc0d1b9bb555874774a09a62.jpg","text":"TemporaryFile(/tmp/multipartBody2511647518758864713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613092849,"filename":"image_11012025_17_30_02_848011_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5beb49759997c50b1d60e857b5f02bbc.jpg","text":"TemporaryFile(/tmp/multipartBody828976652676319116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613092849,"filename":"image_11012025_17_30_02_848011_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/76c03ed8b03d345c10c5d6cc678517b5.jpg","text":"TemporaryFile(/tmp/multipartBody5182289276977694084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613092849,"filename":"image_11012025_17_30_02_848011_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/979b652d1f97500f38e53c47f87195e7.jpg","text":"TemporaryFile(/tmp/multipartBody3198462069288005784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613092849,"filename":"image_11012025_17_29_02_766971_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328214515","file1":"1328214505","file0":"1328214498","file3":"1328214569"},"map_files_photo_id_array":[{"photo_id":"1328214515","filename":"file2"},{"photo_id":"1328214505","filename":"file1"},{"photo_id":"1328214498","filename":"file0"},{"photo_id":"1328214569","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328214569":["hashtag1","hashtag2"]},{"1328214515":["hashtag1","hashtag2"]},{"1328214505":["hashtag1","hashtag2"]},{"1328214498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328214569, 1328214515, 1328214505, 1328214498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.87403988838196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:31:21.873343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/30/image_11012025_17_30_02_848011_0003.jpg', '/home/pi/Desktop/images/11012025/17/31/image_11012025_17_31_03_054329_0000.jpg', '/home/pi/Desktop/images/11012025/17/31/image_11012025_17_31_03_054329_0001.jpg', '/home/pi/Desktop/images/11012025/17/31/image_11012025_17_31_03_054329_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/30/image_11012025_17_30_02_848011_0003.jpg
/home/pi/Desktop/images/11012025/17/31/image_11012025_17_31_03_054329_0000.jpg
/home/pi/Desktop/images/11012025/17/31/image_11012025_17_31_03_054329_0001.jpg
/home/pi/Desktop/images/11012025/17/31/image_11012025_17_31_03_054329_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328214957","1328214997","1328214999","1328215002"],"photo_ids_order":["1328214957","1328214997","1328214999","1328215002"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/30718f5017ebe4a344251088d93cfaab.jpg","text":"TemporaryFile(/tmp/multipartBody4751627406624197308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613152097,"filename":"image_11012025_17_30_02_848011_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aa870bcbd1817266ce1146f5c271a5e9.jpg","text":"TemporaryFile(/tmp/multipartBody1634356467641675872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613152097,"filename":"image_11012025_17_31_03_054329_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ae4f88658ade5c48901ff27a569f07bd.jpg","text":"TemporaryFile(/tmp/multipartBody9062963316341415443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613152097,"filename":"image_11012025_17_31_03_054329_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/566f39dea9796bb1a5482c89490a57fe.jpg","text":"TemporaryFile(/tmp/multipartBody1154613809558406405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613152097,"filename":"image_11012025_17_31_03_054329_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328214999","file1":"1328214997","file0":"1328214957","file3":"1328215002"},"map_files_photo_id_array":[{"photo_id":"1328214999","filename":"file2"},{"photo_id":"1328214997","filename":"file1"},{"photo_id":"1328214957","filename":"file0"},{"photo_id":"1328215002","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328214957":["hashtag1","hashtag2"]},{"1328214997":["hashtag1","hashtag2"]},{"1328214999":["hashtag1","hashtag2"]},{"1328215002":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328214957, 1328214997, 1328214999, 1328215002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.29878044128418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:32:02.387173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:32:21.950475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/31/image_11012025_17_31_03_054329_0003.jpg', '/home/pi/Desktop/images/11012025/17/32/image_11012025_17_32_02_197307_0000.jpg', '/home/pi/Desktop/images/11012025/17/32/image_11012025_17_32_02_197307_0001.jpg', '/home/pi/Desktop/images/11012025/17/32/image_11012025_17_32_02_197307_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/31/image_11012025_17_31_03_054329_0003.jpg
/home/pi/Desktop/images/11012025/17/32/image_11012025_17_32_02_197307_0000.jpg
/home/pi/Desktop/images/11012025/17/32/image_11012025_17_32_02_197307_0001.jpg
/home/pi/Desktop/images/11012025/17/32/image_11012025_17_32_02_197307_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328216063","1328215788","1328215932","1328215734"],"photo_ids_order":["1328215734","1328215788","1328215932","1328216063"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/46facab5b80c746cb45e87c4534c3971.jpg","text":"TemporaryFile(/tmp/multipartBody2895336545397447956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613212126,"filename":"image_11012025_17_32_02_197307_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2116cf30d5d82f62816311370159de28.jpg","text":"TemporaryFile(/tmp/multipartBody2996011633968161829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613212126,"filename":"image_11012025_17_32_02_197307_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c452192a39ca79ad8965f3eb3742e201.jpg","text":"TemporaryFile(/tmp/multipartBody6818984521755241034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613212126,"filename":"image_11012025_17_32_02_197307_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c568d9348b43d46858486a470a90c5ab.jpg","text":"TemporaryFile(/tmp/multipartBody4808525525963922891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613212126,"filename":"image_11012025_17_31_03_054329_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328215932","file1":"1328215788","file0":"1328215734","file3":"1328216063"},"map_files_photo_id_array":[{"photo_id":"1328215932","filename":"file2"},{"photo_id":"1328215788","filename":"file1"},{"photo_id":"1328215734","filename":"file0"},{"photo_id":"1328216063","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328216063":["hashtag1","hashtag2"]},{"1328215788":["hashtag1","hashtag2"]},{"1328215932":["hashtag1","hashtag2"]},{"1328215734":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328216063, 1328215788, 1328215932, 1328215734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.49758291244507 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:33:02.731287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:33:22.215426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/32/image_11012025_17_32_02_197307_0003.jpg', '/home/pi/Desktop/images/11012025/17/33/image_11012025_17_33_02_342921_0000.jpg', '/home/pi/Desktop/images/11012025/17/33/image_11012025_17_33_02_342921_0001.jpg', '/home/pi/Desktop/images/11012025/17/33/image_11012025_17_33_02_342921_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/32/image_11012025_17_32_02_197307_0003.jpg
/home/pi/Desktop/images/11012025/17/33/image_11012025_17_33_02_342921_0000.jpg
/home/pi/Desktop/images/11012025/17/33/image_11012025_17_33_02_342921_0001.jpg
/home/pi/Desktop/images/11012025/17/33/image_11012025_17_33_02_342921_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328216111","1328216092","1328216099","1328216096"],"photo_ids_order":["1328216092","1328216096","1328216099","1328216111"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/36e6884b8c5f1fa0e2d3493060e46831.jpg","text":"TemporaryFile(/tmp/multipartBody7854332455827616473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613272384,"filename":"image_11012025_17_33_02_342921_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/77a4474cea9bd78a379da1502afa4238.jpg","text":"TemporaryFile(/tmp/multipartBody9196911106828931772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613272384,"filename":"image_11012025_17_32_02_197307_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d26df5e4321d8218b585570801ab2785.jpg","text":"TemporaryFile(/tmp/multipartBody6621871982664163856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613272384,"filename":"image_11012025_17_33_02_342921_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3775619b860730b43d3993b594bfc977.jpg","text":"TemporaryFile(/tmp/multipartBody3149116935335218196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613272384,"filename":"image_11012025_17_33_02_342921_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328216099","file1":"1328216096","file0":"1328216092","file3":"1328216111"},"map_files_photo_id_array":[{"photo_id":"1328216099","filename":"file2"},{"photo_id":"1328216096","filename":"file1"},{"photo_id":"1328216092","filename":"file0"},{"photo_id":"1328216111","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328216111":["hashtag1","hashtag2"]},{"1328216092":["hashtag1","hashtag2"]},{"1328216099":["hashtag1","hashtag2"]},{"1328216096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328216111, 1328216092, 1328216099, 1328216096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.154380083084106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:34:22.337178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/33/image_11012025_17_33_02_342921_0003.jpg', '/home/pi/Desktop/images/11012025/17/34/image_11012025_17_34_02_570289_0000.jpg', '/home/pi/Desktop/images/11012025/17/34/image_11012025_17_34_02_570289_0001.jpg', '/home/pi/Desktop/images/11012025/17/34/image_11012025_17_34_02_570289_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/33/image_11012025_17_33_02_342921_0003.jpg
/home/pi/Desktop/images/11012025/17/34/image_11012025_17_34_02_570289_0000.jpg
/home/pi/Desktop/images/11012025/17/34/image_11012025_17_34_02_570289_0001.jpg
/home/pi/Desktop/images/11012025/17/34/image_11012025_17_34_02_570289_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328216140","1328216143","1328216145","1328216147"],"photo_ids_order":["1328216140","1328216143","1328216145","1328216147"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4c5b322a6c37d6221a64419d88a9cb21.jpg","text":"TemporaryFile(/tmp/multipartBody6671360796648770972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613332415,"filename":"image_11012025_17_33_02_342921_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/df07f0b94078695fc0c59877a404f5af.jpg","text":"TemporaryFile(/tmp/multipartBody938383461623516728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613332415,"filename":"image_11012025_17_34_02_570289_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6f19816192563439783cfbd87fc61381.jpg","text":"TemporaryFile(/tmp/multipartBody6297931316210375463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613332415,"filename":"image_11012025_17_34_02_570289_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/92928c0dea6cf15a3ddbdaa23b3c1d82.jpg","text":"TemporaryFile(/tmp/multipartBody4891146677508795692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613332415,"filename":"image_11012025_17_34_02_570289_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328216145","file1":"1328216143","file0":"1328216140","file3":"1328216147"},"map_files_photo_id_array":[{"photo_id":"1328216145","filename":"file2"},{"photo_id":"1328216143","filename":"file1"},{"photo_id":"1328216140","filename":"file0"},{"photo_id":"1328216147","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328216140":["hashtag1","hashtag2"]},{"1328216143":["hashtag1","hashtag2"]},{"1328216145":["hashtag1","hashtag2"]},{"1328216147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328216140, 1328216143, 1328216145, 1328216147)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.86594319343567 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:35:22.618110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/34/image_11012025_17_34_02_570289_0003.jpg', '/home/pi/Desktop/images/11012025/17/35/image_11012025_17_35_02_773231_0000.jpg', '/home/pi/Desktop/images/11012025/17/35/image_11012025_17_35_02_773231_0001.jpg', '/home/pi/Desktop/images/11012025/17/35/image_11012025_17_35_02_773231_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/34/image_11012025_17_34_02_570289_0003.jpg
/home/pi/Desktop/images/11012025/17/35/image_11012025_17_35_02_773231_0000.jpg
/home/pi/Desktop/images/11012025/17/35/image_11012025_17_35_02_773231_0001.jpg
/home/pi/Desktop/images/11012025/17/35/image_11012025_17_35_02_773231_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328216281","1328216176","1328216289","1328216279"],"photo_ids_order":["1328216176","1328216279","1328216281","1328216289"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/74e36af9dcd5532bb03494fd21f30176.jpg","text":"TemporaryFile(/tmp/multipartBody4628104059656423634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613392770,"filename":"image_11012025_17_35_02_773231_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aa4e7fe1fdd74c0bced62e38fc8f1740.jpg","text":"TemporaryFile(/tmp/multipartBody8027678720119720573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613392770,"filename":"image_11012025_17_34_02_570289_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/086cf591f348cb2b4318c72a9d917226.jpg","text":"TemporaryFile(/tmp/multipartBody7940961528027807697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613392770,"filename":"image_11012025_17_35_02_773231_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2c4ddb92e4807c5ea5faf055a62c32d9.jpg","text":"TemporaryFile(/tmp/multipartBody7114767270805196430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613392770,"filename":"image_11012025_17_35_02_773231_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328216281","file1":"1328216279","file0":"1328216176","file3":"1328216289"},"map_files_photo_id_array":[{"photo_id":"1328216281","filename":"file2"},{"photo_id":"1328216279","filename":"file1"},{"photo_id":"1328216176","filename":"file0"},{"photo_id":"1328216289","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328216281":["hashtag1","hashtag2"]},{"1328216176":["hashtag1","hashtag2"]},{"1328216289":["hashtag1","hashtag2"]},{"1328216279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328216281, 1328216176, 1328216289, 1328216279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.656733751297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:36:03.097701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:36:22.786740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/35/image_11012025_17_35_02_773231_0003.jpg', '/home/pi/Desktop/images/11012025/17/36/image_11012025_17_36_02_925269_0000.jpg', '/home/pi/Desktop/images/11012025/17/36/image_11012025_17_36_02_925269_0001.jpg', '/home/pi/Desktop/images/11012025/17/36/image_11012025_17_36_02_925269_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/35/image_11012025_17_35_02_773231_0003.jpg
/home/pi/Desktop/images/11012025/17/36/image_11012025_17_36_02_925269_0000.jpg
/home/pi/Desktop/images/11012025/17/36/image_11012025_17_36_02_925269_0001.jpg
/home/pi/Desktop/images/11012025/17/36/image_11012025_17_36_02_925269_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328216453","1328216447","1328216451","1328216445"],"photo_ids_order":["1328216445","1328216447","1328216451","1328216453"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e4365a7aef1527ea4ccd2f7195c4340b.jpg","text":"TemporaryFile(/tmp/multipartBody1530898255058474158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613452889,"filename":"image_11012025_17_36_02_925269_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b2604c44f1b60362583d111840b0946f.jpg","text":"TemporaryFile(/tmp/multipartBody6707687801897094875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613452889,"filename":"image_11012025_17_36_02_925269_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1d69537ce452b8b439a96cc74e6503e1.jpg","text":"TemporaryFile(/tmp/multipartBody3953279835322479595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613452889,"filename":"image_11012025_17_36_02_925269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0a5554fc655e1643c37f55397dafb8aa.jpg","text":"TemporaryFile(/tmp/multipartBody1813052291257814171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613452889,"filename":"image_11012025_17_35_02_773231_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328216451","file1":"1328216447","file0":"1328216445","file3":"1328216453"},"map_files_photo_id_array":[{"photo_id":"1328216451","filename":"file2"},{"photo_id":"1328216447","filename":"file1"},{"photo_id":"1328216445","filename":"file0"},{"photo_id":"1328216453","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328216453":["hashtag1","hashtag2"]},{"1328216447":["hashtag1","hashtag2"]},{"1328216451":["hashtag1","hashtag2"]},{"1328216445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328216453, 1328216447, 1328216451, 1328216445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.303279399871826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:37:21.906629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/36/image_11012025_17_36_02_925269_0003.jpg', '/home/pi/Desktop/images/11012025/17/37/image_11012025_17_37_03_089110_0000.jpg', '/home/pi/Desktop/images/11012025/17/37/image_11012025_17_37_03_089110_0001.jpg', '/home/pi/Desktop/images/11012025/17/37/image_11012025_17_37_03_089110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/36/image_11012025_17_36_02_925269_0003.jpg
/home/pi/Desktop/images/11012025/17/37/image_11012025_17_37_03_089110_0000.jpg
/home/pi/Desktop/images/11012025/17/37/image_11012025_17_37_03_089110_0001.jpg
/home/pi/Desktop/images/11012025/17/37/image_11012025_17_37_03_089110_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328216491","1328216485","1328216488","1328216483"],"photo_ids_order":["1328216483","1328216485","1328216488","1328216491"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/57b0d47b9152325705989cb313c44398.jpg","text":"TemporaryFile(/tmp/multipartBody3893235488239010565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613512056,"filename":"image_11012025_17_37_03_089110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/18a3a9c30ecd0b6183659f699c261042.jpg","text":"TemporaryFile(/tmp/multipartBody8035013097471139731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613512056,"filename":"image_11012025_17_37_03_089110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dba850b82f0d8ea4fcda8aea054b0850.jpg","text":"TemporaryFile(/tmp/multipartBody7604560202396723485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613512056,"filename":"image_11012025_17_37_03_089110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8eafca2ada6d9e0aaa2eef30a561b031.jpg","text":"TemporaryFile(/tmp/multipartBody7940062376422028239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613512056,"filename":"image_11012025_17_36_02_925269_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328216488","file1":"1328216485","file0":"1328216483","file3":"1328216491"},"map_files_photo_id_array":[{"photo_id":"1328216488","filename":"file2"},{"photo_id":"1328216485","filename":"file1"},{"photo_id":"1328216483","filename":"file0"},{"photo_id":"1328216491","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328216491":["hashtag1","hashtag2"]},{"1328216485":["hashtag1","hashtag2"]},{"1328216488":["hashtag1","hashtag2"]},{"1328216483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328216491, 1328216485, 1328216488, 1328216483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.782774686813354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:38:22.009938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/37/image_11012025_17_37_03_089110_0003.jpg', '/home/pi/Desktop/images/11012025/17/38/image_11012025_17_38_02_213234_0000.jpg', '/home/pi/Desktop/images/11012025/17/38/image_11012025_17_38_02_213234_0001.jpg', '/home/pi/Desktop/images/11012025/17/38/image_11012025_17_38_02_213234_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/37/image_11012025_17_37_03_089110_0003.jpg
/home/pi/Desktop/images/11012025/17/38/image_11012025_17_38_02_213234_0000.jpg
/home/pi/Desktop/images/11012025/17/38/image_11012025_17_38_02_213234_0001.jpg
/home/pi/Desktop/images/11012025/17/38/image_11012025_17_38_02_213234_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328216513","1328216503","1328216506","1328216509"],"photo_ids_order":["1328216503","1328216506","1328216509","1328216513"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b0c440e87aac58dcf7507eb4346a3473.jpg","text":"TemporaryFile(/tmp/multipartBody2422388049319582843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613572426,"filename":"image_11012025_17_38_02_213234_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4bcb68698733a19a39f50929c9ba3687.jpg","text":"TemporaryFile(/tmp/multipartBody7874602655420819608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613572426,"filename":"image_11012025_17_37_03_089110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eb3b1d213c5ea7d4e90098bb552a66a5.jpg","text":"TemporaryFile(/tmp/multipartBody6163791514318794052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613572426,"filename":"image_11012025_17_38_02_213234_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f5a307bb049027aafbabdb23fec3b83a.jpg","text":"TemporaryFile(/tmp/multipartBody1939169655722644941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613572426,"filename":"image_11012025_17_38_02_213234_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328216509","file1":"1328216506","file0":"1328216503","file3":"1328216513"},"map_files_photo_id_array":[{"photo_id":"1328216509","filename":"file2"},{"photo_id":"1328216506","filename":"file1"},{"photo_id":"1328216503","filename":"file0"},{"photo_id":"1328216513","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328216513":["hashtag1","hashtag2"]},{"1328216503":["hashtag1","hashtag2"]},{"1328216506":["hashtag1","hashtag2"]},{"1328216509":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328216513, 1328216503, 1328216506, 1328216509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.296579360961914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:39:02.911746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:39:22.277295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/38/image_11012025_17_38_02_213234_0003.jpg', '/home/pi/Desktop/images/11012025/17/39/image_11012025_17_39_02_389396_0000.jpg', '/home/pi/Desktop/images/11012025/17/39/image_11012025_17_39_02_389396_0001.jpg', '/home/pi/Desktop/images/11012025/17/39/image_11012025_17_39_02_389396_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/38/image_11012025_17_38_02_213234_0003.jpg
/home/pi/Desktop/images/11012025/17/39/image_11012025_17_39_02_389396_0000.jpg
/home/pi/Desktop/images/11012025/17/39/image_11012025_17_39_02_389396_0001.jpg
/home/pi/Desktop/images/11012025/17/39/image_11012025_17_39_02_389396_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328216539","1328216541","1328216543","1328216537"],"photo_ids_order":["1328216537","1328216539","1328216541","1328216543"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dff9e375db8a4f1ac3c61cfed1a192ee.jpg","text":"TemporaryFile(/tmp/multipartBody8222435473806988324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613632625,"filename":"image_11012025_17_39_02_389396_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/19fe61986d94f1445e885763ee0d38a8.jpg","text":"TemporaryFile(/tmp/multipartBody1197549177231912004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613632625,"filename":"image_11012025_17_39_02_389396_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cabe5ea87b5ded8bd999bba1ccf170c9.jpg","text":"TemporaryFile(/tmp/multipartBody4457869068606057464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613632625,"filename":"image_11012025_17_39_02_389396_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c0935245ad4491ba3d77af7ed54e3aa4.jpg","text":"TemporaryFile(/tmp/multipartBody187153770519507317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613632625,"filename":"image_11012025_17_38_02_213234_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328216541","file1":"1328216539","file0":"1328216537","file3":"1328216543"},"map_files_photo_id_array":[{"photo_id":"1328216541","filename":"file2"},{"photo_id":"1328216539","filename":"file1"},{"photo_id":"1328216537","filename":"file0"},{"photo_id":"1328216543","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328216539":["hashtag1","hashtag2"]},{"1328216541":["hashtag1","hashtag2"]},{"1328216543":["hashtag1","hashtag2"]},{"1328216537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328216539, 1328216541, 1328216543, 1328216537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.81118965148926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:40:02.777129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:40:22.416018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/39/image_11012025_17_39_02_389396_0003.jpg', '/home/pi/Desktop/images/11012025/17/40/image_11012025_17_40_02_560675_0000.jpg', '/home/pi/Desktop/images/11012025/17/40/image_11012025_17_40_02_560675_0001.jpg', '/home/pi/Desktop/images/11012025/17/40/image_11012025_17_40_02_560675_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/39/image_11012025_17_39_02_389396_0003.jpg
/home/pi/Desktop/images/11012025/17/40/image_11012025_17_40_02_560675_0000.jpg
/home/pi/Desktop/images/11012025/17/40/image_11012025_17_40_02_560675_0001.jpg
/home/pi/Desktop/images/11012025/17/40/image_11012025_17_40_02_560675_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328216711","1328216788","1328216773","1328216690"],"photo_ids_order":["1328216690","1328216711","1328216773","1328216788"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/799a2a08ef8989c04bbe327785dc951b.jpg","text":"TemporaryFile(/tmp/multipartBody5649604992689576355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613692565,"filename":"image_11012025_17_40_02_560675_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4686a5516c6478a39587bc153c9bf50f.jpg","text":"TemporaryFile(/tmp/multipartBody2893635568795909098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613692565,"filename":"image_11012025_17_40_02_560675_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/26c54b308789693b5d9bafbdf11752ee.jpg","text":"TemporaryFile(/tmp/multipartBody7902924650529199678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613692565,"filename":"image_11012025_17_40_02_560675_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fe03e4207949623e264152c3d036fe9a.jpg","text":"TemporaryFile(/tmp/multipartBody4601431644254869312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613692565,"filename":"image_11012025_17_39_02_389396_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328216773","file1":"1328216711","file0":"1328216690","file3":"1328216788"},"map_files_photo_id_array":[{"photo_id":"1328216773","filename":"file2"},{"photo_id":"1328216711","filename":"file1"},{"photo_id":"1328216690","filename":"file0"},{"photo_id":"1328216788","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328216711":["hashtag1","hashtag2"]},{"1328216788":["hashtag1","hashtag2"]},{"1328216773":["hashtag1","hashtag2"]},{"1328216690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328216711, 1328216788, 1328216773, 1328216690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.94418478012085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:41:03.113447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:41:22.561479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/40/image_11012025_17_40_02_560675_0003.jpg', '/home/pi/Desktop/images/11012025/17/41/image_11012025_17_41_02_700530_0000.jpg', '/home/pi/Desktop/images/11012025/17/41/image_11012025_17_41_02_700530_0001.jpg', '/home/pi/Desktop/images/11012025/17/41/image_11012025_17_41_02_700530_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/40/image_11012025_17_40_02_560675_0003.jpg
/home/pi/Desktop/images/11012025/17/41/image_11012025_17_41_02_700530_0000.jpg
/home/pi/Desktop/images/11012025/17/41/image_11012025_17_41_02_700530_0001.jpg
/home/pi/Desktop/images/11012025/17/41/image_11012025_17_41_02_700530_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328216893","1328216896","1328216899","1328216890"],"photo_ids_order":["1328216890","1328216893","1328216896","1328216899"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3c4c1c75bfc4e3b8634f11603eb205b4.jpg","text":"TemporaryFile(/tmp/multipartBody5807695841372612277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613752830,"filename":"image_11012025_17_41_02_700530_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/39b03bfb3ef96117bf1978fce75a2a57.jpg","text":"TemporaryFile(/tmp/multipartBody931999440851734284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613752830,"filename":"image_11012025_17_41_02_700530_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5abaec275940b821f19632a9e9b6450c.jpg","text":"TemporaryFile(/tmp/multipartBody305687139748632806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613752830,"filename":"image_11012025_17_41_02_700530_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0e70d18d191c913e83719431e556354c.jpg","text":"TemporaryFile(/tmp/multipartBody878354999663992384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613752830,"filename":"image_11012025_17_40_02_560675_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328216896","file1":"1328216893","file0":"1328216890","file3":"1328216899"},"map_files_photo_id_array":[{"photo_id":"1328216896","filename":"file2"},{"photo_id":"1328216893","filename":"file1"},{"photo_id":"1328216890","filename":"file0"},{"photo_id":"1328216899","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328216893":["hashtag1","hashtag2"]},{"1328216896":["hashtag1","hashtag2"]},{"1328216899":["hashtag1","hashtag2"]},{"1328216890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328216893, 1328216896, 1328216899, 1328216890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.76341366767883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:42:22.735472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/41/image_11012025_17_41_02_700530_0003.jpg', '/home/pi/Desktop/images/11012025/17/42/image_11012025_17_42_02_917034_0000.jpg', '/home/pi/Desktop/images/11012025/17/42/image_11012025_17_42_02_917034_0001.jpg', '/home/pi/Desktop/images/11012025/17/42/image_11012025_17_42_02_917034_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/41/image_11012025_17_41_02_700530_0003.jpg
/home/pi/Desktop/images/11012025/17/42/image_11012025_17_42_02_917034_0000.jpg
/home/pi/Desktop/images/11012025/17/42/image_11012025_17_42_02_917034_0001.jpg
/home/pi/Desktop/images/11012025/17/42/image_11012025_17_42_02_917034_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328216930","1328216927","1328216923","1328216925"],"photo_ids_order":["1328216923","1328216925","1328216927","1328216930"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5a60019311d8ce4ad6967595455cd392.jpg","text":"TemporaryFile(/tmp/multipartBody436123649238730393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613812895,"filename":"image_11012025_17_42_02_917034_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/df269f12ac429341ea18c19af6aa0fb0.jpg","text":"TemporaryFile(/tmp/multipartBody8899479832418961074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613812895,"filename":"image_11012025_17_42_02_917034_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3baea75f5eff9117ef2860441443c339.jpg","text":"TemporaryFile(/tmp/multipartBody4288205694038842670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613812895,"filename":"image_11012025_17_41_02_700530_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1f12e24910d5db8bc8eb0fc0c0e7ee09.jpg","text":"TemporaryFile(/tmp/multipartBody1149932833349254117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613812895,"filename":"image_11012025_17_42_02_917034_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328216927","file1":"1328216925","file0":"1328216923","file3":"1328216930"},"map_files_photo_id_array":[{"photo_id":"1328216927","filename":"file2"},{"photo_id":"1328216925","filename":"file1"},{"photo_id":"1328216923","filename":"file0"},{"photo_id":"1328216930","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328216930":["hashtag1","hashtag2"]},{"1328216927":["hashtag1","hashtag2"]},{"1328216923":["hashtag1","hashtag2"]},{"1328216925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328216930, 1328216927, 1328216923, 1328216925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.09342098236084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:43:21.893624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/42/image_11012025_17_42_02_917034_0003.jpg', '/home/pi/Desktop/images/11012025/17/43/image_11012025_17_43_03_055255_0000.jpg', '/home/pi/Desktop/images/11012025/17/43/image_11012025_17_43_03_055255_0001.jpg', '/home/pi/Desktop/images/11012025/17/43/image_11012025_17_43_03_055255_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/42/image_11012025_17_42_02_917034_0003.jpg
/home/pi/Desktop/images/11012025/17/43/image_11012025_17_43_03_055255_0000.jpg
/home/pi/Desktop/images/11012025/17/43/image_11012025_17_43_03_055255_0001.jpg
/home/pi/Desktop/images/11012025/17/43/image_11012025_17_43_03_055255_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328216980","1328216976","1328216964","1328216978"],"photo_ids_order":["1328216964","1328216976","1328216978","1328216980"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7f39b6b9d2dec8049c4aa504611112d9.jpg","text":"TemporaryFile(/tmp/multipartBody3191628890556682696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613872002,"filename":"image_11012025_17_43_03_055255_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6f62fbc6316499d076a0b3ad8d7caaf8.jpg","text":"TemporaryFile(/tmp/multipartBody4331098848970649074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613872002,"filename":"image_11012025_17_43_03_055255_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/87013b2193e15efffdb41c591e1ac7cd.jpg","text":"TemporaryFile(/tmp/multipartBody7934559882172545527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613872002,"filename":"image_11012025_17_42_02_917034_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/45a723dcc929d1154247cb9edc9cde64.jpg","text":"TemporaryFile(/tmp/multipartBody3354589590844375101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613872002,"filename":"image_11012025_17_43_03_055255_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328216978","file1":"1328216976","file0":"1328216964","file3":"1328216980"},"map_files_photo_id_array":[{"photo_id":"1328216978","filename":"file2"},{"photo_id":"1328216976","filename":"file1"},{"photo_id":"1328216964","filename":"file0"},{"photo_id":"1328216980","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328216980":["hashtag1","hashtag2"]},{"1328216976":["hashtag1","hashtag2"]},{"1328216964":["hashtag1","hashtag2"]},{"1328216978":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328216980, 1328216976, 1328216964, 1328216978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.95175790786743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:44:02.423812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:44:22.110145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/43/image_11012025_17_43_03_055255_0003.jpg', '/home/pi/Desktop/images/11012025/17/44/image_11012025_17_44_02_248410_0000.jpg', '/home/pi/Desktop/images/11012025/17/44/image_11012025_17_44_02_248410_0001.jpg', '/home/pi/Desktop/images/11012025/17/44/image_11012025_17_44_02_248410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/43/image_11012025_17_43_03_055255_0003.jpg
/home/pi/Desktop/images/11012025/17/44/image_11012025_17_44_02_248410_0000.jpg
/home/pi/Desktop/images/11012025/17/44/image_11012025_17_44_02_248410_0001.jpg
/home/pi/Desktop/images/11012025/17/44/image_11012025_17_44_02_248410_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328217011","1328217008","1328217014","1328217017"],"photo_ids_order":["1328217008","1328217011","1328217014","1328217017"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d20b98d7d367defef287280cae6b3911.jpg","text":"TemporaryFile(/tmp/multipartBody2535056515861552739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613932263,"filename":"image_11012025_17_44_02_248410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fca9e7caa97891b84a1ec7571c5a4887.jpg","text":"TemporaryFile(/tmp/multipartBody4037984434276354587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613932263,"filename":"image_11012025_17_43_03_055255_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f8671d9035d3a06cc1fb3e6df8f4d472.jpg","text":"TemporaryFile(/tmp/multipartBody5486472676354329897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613932263,"filename":"image_11012025_17_44_02_248410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a74adf02dee5dfbf85d62449f1093f00.jpg","text":"TemporaryFile(/tmp/multipartBody2758030443443646256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613932263,"filename":"image_11012025_17_44_02_248410_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328217014","file1":"1328217011","file0":"1328217008","file3":"1328217017"},"map_files_photo_id_array":[{"photo_id":"1328217014","filename":"file2"},{"photo_id":"1328217011","filename":"file1"},{"photo_id":"1328217008","filename":"file0"},{"photo_id":"1328217017","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328217011":["hashtag1","hashtag2"]},{"1328217008":["hashtag1","hashtag2"]},{"1328217014":["hashtag1","hashtag2"]},{"1328217017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328217011, 1328217008, 1328217014, 1328217017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.0178747177124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:45:02.700883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:45:22.193876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/44/image_11012025_17_44_02_248410_0003.jpg', '/home/pi/Desktop/images/11012025/17/45/image_11012025_17_45_02_478249_0000.jpg', '/home/pi/Desktop/images/11012025/17/45/image_11012025_17_45_02_478249_0001.jpg', '/home/pi/Desktop/images/11012025/17/45/image_11012025_17_45_02_478249_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/44/image_11012025_17_44_02_248410_0003.jpg
/home/pi/Desktop/images/11012025/17/45/image_11012025_17_45_02_478249_0000.jpg
/home/pi/Desktop/images/11012025/17/45/image_11012025_17_45_02_478249_0001.jpg
/home/pi/Desktop/images/11012025/17/45/image_11012025_17_45_02_478249_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328217142","1328217195","1328217224","1328217146"],"photo_ids_order":["1328217142","1328217146","1328217195","1328217224"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/df818eba6fcf754641a334dc3de60028.jpg","text":"TemporaryFile(/tmp/multipartBody95273305076672017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613992331,"filename":"image_11012025_17_44_02_248410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cd3da4853a6f45eb4615e25428e0ea68.jpg","text":"TemporaryFile(/tmp/multipartBody6774211486706844467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613992331,"filename":"image_11012025_17_45_02_478249_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e54a2a6571f3b35e9c5f82ab9cb2d723.jpg","text":"TemporaryFile(/tmp/multipartBody5289545802191269140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613992331,"filename":"image_11012025_17_45_02_478249_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/49c6c6c81c13233e67eee08df3fa19de.jpg","text":"TemporaryFile(/tmp/multipartBody6058403533287761638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736613992331,"filename":"image_11012025_17_45_02_478249_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328217195","file1":"1328217146","file0":"1328217142","file3":"1328217224"},"map_files_photo_id_array":[{"photo_id":"1328217195","filename":"file2"},{"photo_id":"1328217146","filename":"file1"},{"photo_id":"1328217142","filename":"file0"},{"photo_id":"1328217224","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328217142":["hashtag1","hashtag2"]},{"1328217195":["hashtag1","hashtag2"]},{"1328217224":["hashtag1","hashtag2"]},{"1328217146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328217142, 1328217195, 1328217224, 1328217146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.847466468811035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:46:02.762353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:46:22.446911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/45/image_11012025_17_45_02_478249_0003.jpg', '/home/pi/Desktop/images/11012025/17/46/image_11012025_17_46_02_559851_0000.jpg', '/home/pi/Desktop/images/11012025/17/46/image_11012025_17_46_02_559851_0001.jpg', '/home/pi/Desktop/images/11012025/17/46/image_11012025_17_46_02_559851_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/45/image_11012025_17_45_02_478249_0003.jpg
/home/pi/Desktop/images/11012025/17/46/image_11012025_17_46_02_559851_0000.jpg
/home/pi/Desktop/images/11012025/17/46/image_11012025_17_46_02_559851_0001.jpg
/home/pi/Desktop/images/11012025/17/46/image_11012025_17_46_02_559851_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328217321","1328217303","1328217293","1328217290"],"photo_ids_order":["1328217290","1328217293","1328217303","1328217321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a2433112f803c94551f4c24818b90685.jpg","text":"TemporaryFile(/tmp/multipartBody1377319642815534893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614052836,"filename":"image_11012025_17_46_02_559851_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7a4e3761c897b62c0a0d0b80516ccec2.jpg","text":"TemporaryFile(/tmp/multipartBody1641800631231153807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614052836,"filename":"image_11012025_17_46_02_559851_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f95676808d237735b0feb86a97845cb5.jpg","text":"TemporaryFile(/tmp/multipartBody82938450066381332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614052836,"filename":"image_11012025_17_46_02_559851_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/42d38f20588dfa05c175fc1a0cee4de6.jpg","text":"TemporaryFile(/tmp/multipartBody2867416117808208455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614052836,"filename":"image_11012025_17_45_02_478249_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328217303","file1":"1328217293","file0":"1328217290","file3":"1328217321"},"map_files_photo_id_array":[{"photo_id":"1328217303","filename":"file2"},{"photo_id":"1328217293","filename":"file1"},{"photo_id":"1328217290","filename":"file0"},{"photo_id":"1328217321","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328217321":["hashtag1","hashtag2"]},{"1328217303":["hashtag1","hashtag2"]},{"1328217293":["hashtag1","hashtag2"]},{"1328217290":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328217321, 1328217303, 1328217293, 1328217290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.30646729469299 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:47:03.245520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:47:22.578068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/46/image_11012025_17_46_02_559851_0003.jpg', '/home/pi/Desktop/images/11012025/17/47/image_11012025_17_47_02_810192_0000.jpg', '/home/pi/Desktop/images/11012025/17/47/image_11012025_17_47_02_810192_0001.jpg', '/home/pi/Desktop/images/11012025/17/47/image_11012025_17_47_02_810192_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/46/image_11012025_17_46_02_559851_0003.jpg
/home/pi/Desktop/images/11012025/17/47/image_11012025_17_47_02_810192_0000.jpg
/home/pi/Desktop/images/11012025/17/47/image_11012025_17_47_02_810192_0001.jpg
/home/pi/Desktop/images/11012025/17/47/image_11012025_17_47_02_810192_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328217391","1328217394","1328217517","1328217452"],"photo_ids_order":["1328217391","1328217394","1328217452","1328217517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/29f1ad006fa784653e8341378f9d1659.jpg","text":"TemporaryFile(/tmp/multipartBody262929693780582574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614112702,"filename":"image_11012025_17_46_02_559851_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0b97dd48ffbb9a1caf0ca683294caf85.jpg","text":"TemporaryFile(/tmp/multipartBody2620391149204877217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614112702,"filename":"image_11012025_17_47_02_810192_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c3bf45ee5b24abc8ef6f3d9f4fa5d240.jpg","text":"TemporaryFile(/tmp/multipartBody5838817227375117123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614112702,"filename":"image_11012025_17_47_02_810192_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dc81dc8bbb6049af826db0cd3f3e0c68.jpg","text":"TemporaryFile(/tmp/multipartBody3690208827611550157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614112702,"filename":"image_11012025_17_47_02_810192_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328217452","file1":"1328217394","file0":"1328217391","file3":"1328217517"},"map_files_photo_id_array":[{"photo_id":"1328217452","filename":"file2"},{"photo_id":"1328217394","filename":"file1"},{"photo_id":"1328217391","filename":"file0"},{"photo_id":"1328217517","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328217391":["hashtag1","hashtag2"]},{"1328217394":["hashtag1","hashtag2"]},{"1328217517":["hashtag1","hashtag2"]},{"1328217452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328217391, 1328217394, 1328217517, 1328217452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.81111121177673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:48:03.109024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:48:22.719954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/47/image_11012025_17_47_02_810192_0003.jpg', '/home/pi/Desktop/images/11012025/17/48/image_11012025_17_48_02_938595_0001.jpg', '/home/pi/Desktop/images/11012025/17/48/image_11012025_17_48_02_938595_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/47/image_11012025_17_47_02_810192_0003.jpg
/home/pi/Desktop/images/11012025/17/48/image_11012025_17_48_02_938595_0001.jpg
/home/pi/Desktop/images/11012025/17/48/image_11012025_17_48_02_938595_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328218211","1328218208","1328218252"],"photo_ids_order":["1328218208","1328218211","1328218252"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7ac1589327c4ef6cb04ddbeda6f1c46f.jpg","text":"TemporaryFile(/tmp/multipartBody8904937132497591740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614170480,"filename":"image_11012025_17_48_02_938595_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d16bc64697b1b4b5bc294012a809610c.jpg","text":"TemporaryFile(/tmp/multipartBody3869288738822605828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614170480,"filename":"image_11012025_17_47_02_810192_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/53292e29af197da706e78d77ca47b619.jpg","text":"TemporaryFile(/tmp/multipartBody4732687992570922467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614170480,"filename":"image_11012025_17_48_02_938595_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328218252","file1":"1328218211","file0":"1328218208"},"map_files_photo_id_array":[{"photo_id":"1328218252","filename":"file2"},{"photo_id":"1328218211","filename":"file1"},{"photo_id":"1328218208","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328218211":["hashtag1","hashtag2"]},{"1328218208":["hashtag1","hashtag2"]},{"1328218252":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328218211, 1328218208, 1328218252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.106398105621338 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:49:02.470427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:49:21.913544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/48/image_11012025_17_48_02_938595_0003.jpg', '/home/pi/Desktop/images/11012025/17/49/image_11012025_17_49_03_177212_0000.jpg', '/home/pi/Desktop/images/11012025/17/49/image_11012025_17_49_03_177212_0001.jpg', '/home/pi/Desktop/images/11012025/17/49/image_11012025_17_49_03_177212_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/48/image_11012025_17_48_02_938595_0003.jpg
/home/pi/Desktop/images/11012025/17/49/image_11012025_17_49_03_177212_0000.jpg
/home/pi/Desktop/images/11012025/17/49/image_11012025_17_49_03_177212_0001.jpg
/home/pi/Desktop/images/11012025/17/49/image_11012025_17_49_03_177212_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328218306","1328218344","1328218340","1328218310"],"photo_ids_order":["1328218306","1328218310","1328218340","1328218344"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/facbe177b0127d52f72923943cfc5fe7.jpg","text":"TemporaryFile(/tmp/multipartBody3057103816649809869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614232144,"filename":"image_11012025_17_48_02_938595_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8e9a60528f551ae56a70b26776885906.jpg","text":"TemporaryFile(/tmp/multipartBody7521406894355776888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614232144,"filename":"image_11012025_17_49_03_177212_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9dae7ed8849ec93160ca045bcf8782c4.jpg","text":"TemporaryFile(/tmp/multipartBody1964362098709524690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614232144,"filename":"image_11012025_17_49_03_177212_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c631af46b40d5a69ccd0d86983b38ea6.jpg","text":"TemporaryFile(/tmp/multipartBody4367764220067373759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614232144,"filename":"image_11012025_17_49_03_177212_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328218340","file1":"1328218310","file0":"1328218306","file3":"1328218344"},"map_files_photo_id_array":[{"photo_id":"1328218340","filename":"file2"},{"photo_id":"1328218310","filename":"file1"},{"photo_id":"1328218306","filename":"file0"},{"photo_id":"1328218344","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328218306":["hashtag1","hashtag2"]},{"1328218344":["hashtag1","hashtag2"]},{"1328218340":["hashtag1","hashtag2"]},{"1328218310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328218306, 1328218344, 1328218340, 1328218310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.33220815658569 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:50:02.405437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:50:22.071931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/49/image_11012025_17_49_03_177212_0003.jpg', '/home/pi/Desktop/images/11012025/17/50/image_11012025_17_50_02_290394_0000.jpg', '/home/pi/Desktop/images/11012025/17/50/image_11012025_17_50_02_290394_0001.jpg', '/home/pi/Desktop/images/11012025/17/50/image_11012025_17_50_02_290394_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/49/image_11012025_17_49_03_177212_0003.jpg
/home/pi/Desktop/images/11012025/17/50/image_11012025_17_50_02_290394_0000.jpg
/home/pi/Desktop/images/11012025/17/50/image_11012025_17_50_02_290394_0001.jpg
/home/pi/Desktop/images/11012025/17/50/image_11012025_17_50_02_290394_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328218426","1328218392","1328218405","1328218388"],"photo_ids_order":["1328218388","1328218392","1328218405","1328218426"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7b42ccb04640199c1f7ac3e721b17dc6.jpg","text":"TemporaryFile(/tmp/multipartBody8782909308328338691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614292231,"filename":"image_11012025_17_50_02_290394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7cd130b413b93daed961c2a5aa155071.jpg","text":"TemporaryFile(/tmp/multipartBody5433502010120919785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614292231,"filename":"image_11012025_17_50_02_290394_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4549690e17993900c4ca6c2d7a986391.jpg","text":"TemporaryFile(/tmp/multipartBody3015818508264047198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614292231,"filename":"image_11012025_17_50_02_290394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/38bec2a56fcbdb4851b4ce416e45b67d.jpg","text":"TemporaryFile(/tmp/multipartBody3246194855742935891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614292231,"filename":"image_11012025_17_49_03_177212_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328218405","file1":"1328218392","file0":"1328218388","file3":"1328218426"},"map_files_photo_id_array":[{"photo_id":"1328218405","filename":"file2"},{"photo_id":"1328218392","filename":"file1"},{"photo_id":"1328218388","filename":"file0"},{"photo_id":"1328218426","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328218426":["hashtag1","hashtag2"]},{"1328218392":["hashtag1","hashtag2"]},{"1328218405":["hashtag1","hashtag2"]},{"1328218388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328218426, 1328218392, 1328218405, 1328218388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.39927053451538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:51:22.260540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/50/image_11012025_17_50_02_290394_0003.jpg', '/home/pi/Desktop/images/11012025/17/51/image_11012025_17_51_02_510354_0000.jpg', '/home/pi/Desktop/images/11012025/17/51/image_11012025_17_51_02_510354_0001.jpg', '/home/pi/Desktop/images/11012025/17/51/image_11012025_17_51_02_510354_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/50/image_11012025_17_50_02_290394_0003.jpg
/home/pi/Desktop/images/11012025/17/51/image_11012025_17_51_02_510354_0000.jpg
/home/pi/Desktop/images/11012025/17/51/image_11012025_17_51_02_510354_0001.jpg
/home/pi/Desktop/images/11012025/17/51/image_11012025_17_51_02_510354_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328218794","1328218731","1328218808","1328218753"],"photo_ids_order":["1328218731","1328218753","1328218794","1328218808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cd5f091eeb7b44636c54b30e98957659.jpg","text":"TemporaryFile(/tmp/multipartBody4009288577082012113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614352506,"filename":"image_11012025_17_51_02_510354_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a81100df7486b2131ed5be00d2397056.jpg","text":"TemporaryFile(/tmp/multipartBody4183015118448899991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614352506,"filename":"image_11012025_17_50_02_290394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e8de1d161301d0d29434201a9da60e2f.jpg","text":"TemporaryFile(/tmp/multipartBody7233007953112772901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614352506,"filename":"image_11012025_17_51_02_510354_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1d83eff485afcd26ef740f054105b66d.jpg","text":"TemporaryFile(/tmp/multipartBody9066684182511745861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614352506,"filename":"image_11012025_17_51_02_510354_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328218794","file1":"1328218753","file0":"1328218731","file3":"1328218808"},"map_files_photo_id_array":[{"photo_id":"1328218794","filename":"file2"},{"photo_id":"1328218753","filename":"file1"},{"photo_id":"1328218731","filename":"file0"},{"photo_id":"1328218808","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328218794":["hashtag1","hashtag2"]},{"1328218731":["hashtag1","hashtag2"]},{"1328218808":["hashtag1","hashtag2"]},{"1328218753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328218794, 1328218731, 1328218808, 1328218753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.88630485534668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:52:22.604541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/51/image_11012025_17_51_02_510354_0003.jpg', '/home/pi/Desktop/images/11012025/17/52/image_11012025_17_52_02_676627_0000.jpg', '/home/pi/Desktop/images/11012025/17/52/image_11012025_17_52_02_676627_0001.jpg', '/home/pi/Desktop/images/11012025/17/52/image_11012025_17_52_02_676627_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/51/image_11012025_17_51_02_510354_0003.jpg
/home/pi/Desktop/images/11012025/17/52/image_11012025_17_52_02_676627_0000.jpg
/home/pi/Desktop/images/11012025/17/52/image_11012025_17_52_02_676627_0001.jpg
/home/pi/Desktop/images/11012025/17/52/image_11012025_17_52_02_676627_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328218858","1328218860","1328218853","1328218855"],"photo_ids_order":["1328218853","1328218855","1328218858","1328218860"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a8d001605599dd93f74260af2f540092.jpg","text":"TemporaryFile(/tmp/multipartBody8419115921147768678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614412776,"filename":"image_11012025_17_52_02_676627_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c2e043b0032244f8d6e7c9d7bbb06b27.jpg","text":"TemporaryFile(/tmp/multipartBody4437579135266470128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614412776,"filename":"image_11012025_17_52_02_676627_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/724d496052b108b32edd3f37c16c033a.jpg","text":"TemporaryFile(/tmp/multipartBody4176538089520122169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614412776,"filename":"image_11012025_17_51_02_510354_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d57825dd60ba9a169f3b2ac4f3036e45.jpg","text":"TemporaryFile(/tmp/multipartBody3308683057635140145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614412776,"filename":"image_11012025_17_52_02_676627_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328218858","file1":"1328218855","file0":"1328218853","file3":"1328218860"},"map_files_photo_id_array":[{"photo_id":"1328218858","filename":"file2"},{"photo_id":"1328218855","filename":"file1"},{"photo_id":"1328218853","filename":"file0"},{"photo_id":"1328218860","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328218858":["hashtag1","hashtag2"]},{"1328218860":["hashtag1","hashtag2"]},{"1328218853":["hashtag1","hashtag2"]},{"1328218855":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328218858, 1328218860, 1328218853, 1328218855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.36607074737549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:53:22.810909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/52/image_11012025_17_52_02_676627_0003.jpg', '/home/pi/Desktop/images/11012025/17/53/image_11012025_17_53_02_884628_0000.jpg', '/home/pi/Desktop/images/11012025/17/53/image_11012025_17_53_02_884628_0001.jpg', '/home/pi/Desktop/images/11012025/17/53/image_11012025_17_53_02_884628_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/52/image_11012025_17_52_02_676627_0003.jpg
/home/pi/Desktop/images/11012025/17/53/image_11012025_17_53_02_884628_0000.jpg
/home/pi/Desktop/images/11012025/17/53/image_11012025_17_53_02_884628_0001.jpg
/home/pi/Desktop/images/11012025/17/53/image_11012025_17_53_02_884628_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328218884","1328218895","1328218891","1328218888"],"photo_ids_order":["1328218884","1328218888","1328218891","1328218895"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/86233fd3a182c617eb12314d8d15ebd7.jpg","text":"TemporaryFile(/tmp/multipartBody8821870788150019147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614472969,"filename":"image_11012025_17_52_02_676627_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f8170354e841c4e01990f548e3de9bd9.jpg","text":"TemporaryFile(/tmp/multipartBody8142393535637450712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614472969,"filename":"image_11012025_17_53_02_884628_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6d9f30290fc6f34dffa2f4691cd56ca7.jpg","text":"TemporaryFile(/tmp/multipartBody8180463523572257714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614472969,"filename":"image_11012025_17_53_02_884628_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/952423c1d7751f7fdd30c928aa20ef46.jpg","text":"TemporaryFile(/tmp/multipartBody7684675892929890833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614472969,"filename":"image_11012025_17_53_02_884628_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328218891","file1":"1328218888","file0":"1328218884","file3":"1328218895"},"map_files_photo_id_array":[{"photo_id":"1328218891","filename":"file2"},{"photo_id":"1328218888","filename":"file1"},{"photo_id":"1328218884","filename":"file0"},{"photo_id":"1328218895","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328218884":["hashtag1","hashtag2"]},{"1328218895":["hashtag1","hashtag2"]},{"1328218891":["hashtag1","hashtag2"]},{"1328218888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328218884, 1328218895, 1328218891, 1328218888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.5630259513855 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-11 17:54:21.906484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/53/image_11012025_17_53_02_884628_0003.jpg', '/home/pi/Desktop/images/11012025/17/54/image_11012025_17_54_03_145535_0000.jpg', '/home/pi/Desktop/images/11012025/17/54/image_11012025_17_54_03_145535_0001.jpg', '/home/pi/Desktop/images/11012025/17/54/image_11012025_17_54_03_145535_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/53/image_11012025_17_53_02_884628_0003.jpg
/home/pi/Desktop/images/11012025/17/54/image_11012025_17_54_03_145535_0000.jpg
/home/pi/Desktop/images/11012025/17/54/image_11012025_17_54_03_145535_0001.jpg
/home/pi/Desktop/images/11012025/17/54/image_11012025_17_54_03_145535_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.843860864639282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 17:54:41.877814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/53/image_11012025_17_53_02_884628_0003.jpg', '/home/pi/Desktop/images/11012025/17/54/image_11012025_17_54_03_145535_0000.jpg', '/home/pi/Desktop/images/11012025/17/54/image_11012025_17_54_03_145535_0001.jpg', '/home/pi/Desktop/images/11012025/17/54/image_11012025_17_54_03_145535_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/53/image_11012025_17_53_02_884628_0003.jpg
/home/pi/Desktop/images/11012025/17/54/image_11012025_17_54_03_145535_0000.jpg
/home/pi/Desktop/images/11012025/17/54/image_11012025_17_54_03_145535_0001.jpg
/home/pi/Desktop/images/11012025/17/54/image_11012025_17_54_03_145535_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328218936","1328219055","1328218962","1328218927"],"photo_ids_order":["1328218927","1328218936","1328218962","1328219055"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0f9eb6904edfddfa2481dc10fd15e1d2.jpg","text":"TemporaryFile(/tmp/multipartBody7390237369029456758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614552057,"filename":"image_11012025_17_54_03_145535_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/427ef523b5cb42ff65c254f9bab3b754.jpg","text":"TemporaryFile(/tmp/multipartBody1517390333809487192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614552057,"filename":"image_11012025_17_54_03_145535_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d289785626b7531c9279901c9806ad3f.jpg","text":"TemporaryFile(/tmp/multipartBody3784234041057726011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614552057,"filename":"image_11012025_17_54_03_145535_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/463e492306e39dd62c99c3a7e81f1514.jpg","text":"TemporaryFile(/tmp/multipartBody9069822458761873687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614552057,"filename":"image_11012025_17_53_02_884628_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328218962","file1":"1328218936","file0":"1328218927","file3":"1328219055"},"map_files_photo_id_array":[{"photo_id":"1328218962","filename":"file2"},{"photo_id":"1328218936","filename":"file1"},{"photo_id":"1328218927","filename":"file0"},{"photo_id":"1328219055","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328218936":["hashtag1","hashtag2"]},{"1328219055":["hashtag1","hashtag2"]},{"1328218962":["hashtag1","hashtag2"]},{"1328218927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328218936, 1328219055, 1328218962, 1328218927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.741734981536865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 17:55:32.094828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/54/image_11012025_17_54_03_145535_0003.jpg', '/home/pi/Desktop/images/11012025/17/55/image_11012025_17_55_02_304123_0000.jpg', '/home/pi/Desktop/images/11012025/17/55/image_11012025_17_55_02_304123_0001.jpg', '/home/pi/Desktop/images/11012025/17/55/image_11012025_17_55_02_304123_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/54/image_11012025_17_54_03_145535_0003.jpg
/home/pi/Desktop/images/11012025/17/55/image_11012025_17_55_02_304123_0000.jpg
/home/pi/Desktop/images/11012025/17/55/image_11012025_17_55_02_304123_0001.jpg
/home/pi/Desktop/images/11012025/17/55/image_11012025_17_55_02_304123_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328219124","1328219127","1328219129","1328219131"],"photo_ids_order":["1328219124","1328219127","1328219129","1328219131"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7ed84aeae1fd34affe20b8342ae2e747.jpg","text":"TemporaryFile(/tmp/multipartBody461953064614423392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614602293,"filename":"image_11012025_17_54_03_145535_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4f3d45637ddf001e31c176c16d99d16e.jpg","text":"TemporaryFile(/tmp/multipartBody4311717328254584247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614602293,"filename":"image_11012025_17_55_02_304123_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/990be3a7f132edf505a01ee141d666c4.jpg","text":"TemporaryFile(/tmp/multipartBody8239234617327824298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614602293,"filename":"image_11012025_17_55_02_304123_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d6f5047b7746ee203404451b0b76a8b8.jpg","text":"TemporaryFile(/tmp/multipartBody1277887590499633847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614602293,"filename":"image_11012025_17_55_02_304123_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328219129","file1":"1328219127","file0":"1328219124","file3":"1328219131"},"map_files_photo_id_array":[{"photo_id":"1328219129","filename":"file2"},{"photo_id":"1328219127","filename":"file1"},{"photo_id":"1328219124","filename":"file0"},{"photo_id":"1328219131","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328219124":["hashtag1","hashtag2"]},{"1328219127":["hashtag1","hashtag2"]},{"1328219129":["hashtag1","hashtag2"]},{"1328219131":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328219124, 1328219127, 1328219129, 1328219131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.68647265434265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:56:22.317749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/55/image_11012025_17_55_02_304123_0003.jpg', '/home/pi/Desktop/images/11012025/17/56/image_11012025_17_56_02_542256_0000.jpg', '/home/pi/Desktop/images/11012025/17/56/image_11012025_17_56_02_542256_0001.jpg', '/home/pi/Desktop/images/11012025/17/56/image_11012025_17_56_02_542256_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/55/image_11012025_17_55_02_304123_0003.jpg
/home/pi/Desktop/images/11012025/17/56/image_11012025_17_56_02_542256_0000.jpg
/home/pi/Desktop/images/11012025/17/56/image_11012025_17_56_02_542256_0001.jpg
/home/pi/Desktop/images/11012025/17/56/image_11012025_17_56_02_542256_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328219495","1328219474","1328219533","1328219404"],"photo_ids_order":["1328219404","1328219474","1328219495","1328219533"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0330588ef4d64fd5b0bb15bcccde9fed.jpg","text":"TemporaryFile(/tmp/multipartBody5784176669334678562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614652480,"filename":"image_11012025_17_56_02_542256_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6351f88b0217caf42b8700c0a5e7d5af.jpg","text":"TemporaryFile(/tmp/multipartBody841359985028092657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614652480,"filename":"image_11012025_17_56_02_542256_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7b0165539b7785a6e0b5e9fef950935d.jpg","text":"TemporaryFile(/tmp/multipartBody2203708598869269331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614652480,"filename":"image_11012025_17_56_02_542256_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/93812b04e69c00a1f32448831d624d33.jpg","text":"TemporaryFile(/tmp/multipartBody4604548151706962878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614652480,"filename":"image_11012025_17_55_02_304123_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328219495","file1":"1328219474","file0":"1328219404","file3":"1328219533"},"map_files_photo_id_array":[{"photo_id":"1328219495","filename":"file2"},{"photo_id":"1328219474","filename":"file1"},{"photo_id":"1328219404","filename":"file0"},{"photo_id":"1328219533","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328219495":["hashtag1","hashtag2"]},{"1328219474":["hashtag1","hashtag2"]},{"1328219533":["hashtag1","hashtag2"]},{"1328219404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328219495, 1328219474, 1328219533, 1328219404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.16260504722595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:57:03.154897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 17:57:22.490580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/56/image_11012025_17_56_02_542256_0003.jpg', '/home/pi/Desktop/images/11012025/17/57/image_11012025_17_57_02_684038_0000.jpg', '/home/pi/Desktop/images/11012025/17/57/image_11012025_17_57_02_684038_0001.jpg', '/home/pi/Desktop/images/11012025/17/57/image_11012025_17_57_02_684038_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/56/image_11012025_17_56_02_542256_0003.jpg
/home/pi/Desktop/images/11012025/17/57/image_11012025_17_57_02_684038_0000.jpg
/home/pi/Desktop/images/11012025/17/57/image_11012025_17_57_02_684038_0001.jpg
/home/pi/Desktop/images/11012025/17/57/image_11012025_17_57_02_684038_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328219591","1328219594","1328219599","1328219603"],"photo_ids_order":["1328219591","1328219594","1328219599","1328219603"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4e260c03a85994489ca2b9f5deea9910.jpg","text":"TemporaryFile(/tmp/multipartBody3496547389422868755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614712877,"filename":"image_11012025_17_56_02_542256_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/70d7fc68282469f7f5ef631b9018af62.jpg","text":"TemporaryFile(/tmp/multipartBody7733391443409833977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614712877,"filename":"image_11012025_17_57_02_684038_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2fdf4f1399f096864e9c146b0e022abd.jpg","text":"TemporaryFile(/tmp/multipartBody6159492883352077166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614712877,"filename":"image_11012025_17_57_02_684038_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/50e99046aac7fe026f26513d49b4d0d8.jpg","text":"TemporaryFile(/tmp/multipartBody425117895961228080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614712877,"filename":"image_11012025_17_57_02_684038_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328219599","file1":"1328219594","file0":"1328219591","file3":"1328219603"},"map_files_photo_id_array":[{"photo_id":"1328219599","filename":"file2"},{"photo_id":"1328219594","filename":"file1"},{"photo_id":"1328219591","filename":"file0"},{"photo_id":"1328219603","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328219591":["hashtag1","hashtag2"]},{"1328219594":["hashtag1","hashtag2"]},{"1328219599":["hashtag1","hashtag2"]},{"1328219603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328219591, 1328219594, 1328219599, 1328219603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.19794774055481 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 17:59:03.118104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/57/image_11012025_17_57_02_684038_0003.jpg', '/home/pi/Desktop/images/11012025/17/58/image_11012025_17_58_02_780605_0000.jpg', '/home/pi/Desktop/images/11012025/17/58/image_11012025_17_58_02_780605_0001.jpg', '/home/pi/Desktop/images/11012025/17/58/image_11012025_17_58_02_780605_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/57/image_11012025_17_57_02_684038_0003.jpg
/home/pi/Desktop/images/11012025/17/58/image_11012025_17_58_02_780605_0000.jpg
/home/pi/Desktop/images/11012025/17/58/image_11012025_17_58_02_780605_0001.jpg
/home/pi/Desktop/images/11012025/17/58/image_11012025_17_58_02_780605_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328219709","1328219703","1328219720","1328219716"],"photo_ids_order":["1328219703","1328219709","1328219716","1328219720"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/da08639fb0f00a7157bdef45c72a347a.jpg","text":"TemporaryFile(/tmp/multipartBody8980667240330891531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614813327,"filename":"image_11012025_17_58_02_780605_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3001d1ba2269b2860831ba0c878f585e.jpg","text":"TemporaryFile(/tmp/multipartBody4864068742485725742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614813327,"filename":"image_11012025_17_57_02_684038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cb64abda1a75fc7bfcf1e31008d2d480.jpg","text":"TemporaryFile(/tmp/multipartBody2739496380218208889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614813327,"filename":"image_11012025_17_58_02_780605_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5a2e5ab0a87ed9466be3024dfff173a2.jpg","text":"TemporaryFile(/tmp/multipartBody1455569906290391608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614813327,"filename":"image_11012025_17_58_02_780605_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328219716","file1":"1328219709","file0":"1328219703","file3":"1328219720"},"map_files_photo_id_array":[{"photo_id":"1328219716","filename":"file2"},{"photo_id":"1328219709","filename":"file1"},{"photo_id":"1328219703","filename":"file0"},{"photo_id":"1328219720","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328219709":["hashtag1","hashtag2"]},{"1328219703":["hashtag1","hashtag2"]},{"1328219720":["hashtag1","hashtag2"]},{"1328219716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328219709, 1328219703, 1328219720, 1328219716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.97705364227295 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-11 17:59:52.721264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/58/image_11012025_17_58_02_780605_0003.jpg', '/home/pi/Desktop/images/11012025/17/59/image_11012025_17_59_02_945225_0000.jpg', '/home/pi/Desktop/images/11012025/17/59/image_11012025_17_59_02_945225_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/58/image_11012025_17_58_02_780605_0003.jpg
/home/pi/Desktop/images/11012025/17/59/image_11012025_17_59_02_945225_0000.jpg
/home/pi/Desktop/images/11012025/17/59/image_11012025_17_59_02_945225_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":["1328219745","1328219739","1328219733"],"photo_ids_order":["1328219733","1328219739","1328219745"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/34ffe8b66662219f684494336d75574a.jpg","text":"TemporaryFile(/tmp/multipartBody5752575832288538772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614860420,"filename":"image_11012025_17_59_02_945225_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/060a253a0fba17cf6731173d0047357a.jpg","text":"TemporaryFile(/tmp/multipartBody3261389556690787845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614860420,"filename":"image_11012025_17_59_02_945225_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f87fe9c90e5418959a45b66f76afe29f.jpg","text":"TemporaryFile(/tmp/multipartBody2018321664734287689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614860420,"filename":"image_11012025_17_58_02_780605_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328219745","file1":"1328219739","file0":"1328219733"},"map_files_photo_id_array":[{"photo_id":"1328219745","filename":"file2"},{"photo_id":"1328219739","filename":"file1"},{"photo_id":"1328219733","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328219745":["hashtag1","hashtag2"]},{"1328219739":["hashtag1","hashtag2"]},{"1328219733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328219745, 1328219739, 1328219733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.88516330718994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 18:00:31.871967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/59/image_11012025_17_59_02_945225_0003.jpg', '/home/pi/Desktop/images/11012025/18/00/image_11012025_18_00_03_134536_0000.jpg', '/home/pi/Desktop/images/11012025/18/00/image_11012025_18_00_03_134536_0001.jpg', '/home/pi/Desktop/images/11012025/18/00/image_11012025_18_00_03_134536_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/17/59/image_11012025_17_59_02_945225_0003.jpg
/home/pi/Desktop/images/11012025/18/00/image_11012025_18_00_03_134536_0000.jpg
/home/pi/Desktop/images/11012025/18/00/image_11012025_18_00_03_134536_0001.jpg
/home/pi/Desktop/images/11012025/18/00/image_11012025_18_00_03_134536_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328219838","1328219901","1328219906","1328219962"],"photo_ids_order":["1328219838","1328219901","1328219906","1328219962"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c8d586359bbfaf53e780f0dc79b8b38.jpg","text":"TemporaryFile(/tmp/multipartBody1536446705409900752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614902120,"filename":"image_11012025_17_59_02_945225_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/17b4ef2b373ae4d7763a9014b2bb3d7c.jpg","text":"TemporaryFile(/tmp/multipartBody1672129603764719759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614902120,"filename":"image_11012025_18_00_03_134536_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ad94dc14abe824b4bb0b9c47ac0463c1.jpg","text":"TemporaryFile(/tmp/multipartBody4998236990598553113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614902120,"filename":"image_11012025_18_00_03_134536_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/727c831e4cb797fd8a58994ac3e4961c.jpg","text":"TemporaryFile(/tmp/multipartBody487422737933518980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614902120,"filename":"image_11012025_18_00_03_134536_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328219906","file1":"1328219901","file0":"1328219838","file3":"1328219962"},"map_files_photo_id_array":[{"photo_id":"1328219906","filename":"file2"},{"photo_id":"1328219901","filename":"file1"},{"photo_id":"1328219838","filename":"file0"},{"photo_id":"1328219962","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328219838":["hashtag1","hashtag2"]},{"1328219901":["hashtag1","hashtag2"]},{"1328219906":["hashtag1","hashtag2"]},{"1328219962":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328219838, 1328219901, 1328219906, 1328219962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.353018045425415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:01:22.052507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/00/image_11012025_18_00_03_134536_0003.jpg', '/home/pi/Desktop/images/11012025/18/01/image_11012025_18_01_02_258356_0000.jpg', '/home/pi/Desktop/images/11012025/18/01/image_11012025_18_01_02_258356_0001.jpg', '/home/pi/Desktop/images/11012025/18/01/image_11012025_18_01_02_258356_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/00/image_11012025_18_00_03_134536_0003.jpg
/home/pi/Desktop/images/11012025/18/01/image_11012025_18_01_02_258356_0000.jpg
/home/pi/Desktop/images/11012025/18/01/image_11012025_18_01_02_258356_0001.jpg
/home/pi/Desktop/images/11012025/18/01/image_11012025_18_01_02_258356_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328220034","1328220037","1328220068","1328220070"],"photo_ids_order":["1328220034","1328220037","1328220068","1328220070"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d6a3864aa2d99d7546793d67aca93d82.jpg","text":"TemporaryFile(/tmp/multipartBody8627459433718816092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614952085,"filename":"image_11012025_18_00_03_134536_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/006b7f55620dd0a3b863c59b583b1bc0.jpg","text":"TemporaryFile(/tmp/multipartBody2293609973907307803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614952085,"filename":"image_11012025_18_01_02_258356_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5e1dae47dacfdb4ab50e684ae19f0d47.jpg","text":"TemporaryFile(/tmp/multipartBody6862369227110645169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614952085,"filename":"image_11012025_18_01_02_258356_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f9d297c19a281990977e061b58b02316.jpg","text":"TemporaryFile(/tmp/multipartBody1666327927539680336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736614952085,"filename":"image_11012025_18_01_02_258356_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328220068","file1":"1328220037","file0":"1328220034","file3":"1328220070"},"map_files_photo_id_array":[{"photo_id":"1328220068","filename":"file2"},{"photo_id":"1328220037","filename":"file1"},{"photo_id":"1328220034","filename":"file0"},{"photo_id":"1328220070","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328220034":["hashtag1","hashtag2"]},{"1328220037":["hashtag1","hashtag2"]},{"1328220068":["hashtag1","hashtag2"]},{"1328220070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328220034, 1328220037, 1328220068, 1328220070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.415345907211304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:02:22.239051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/01/image_11012025_18_01_02_258356_0003.jpg', '/home/pi/Desktop/images/11012025/18/02/image_11012025_18_02_02_427869_0000.jpg', '/home/pi/Desktop/images/11012025/18/02/image_11012025_18_02_02_427869_0001.jpg', '/home/pi/Desktop/images/11012025/18/02/image_11012025_18_02_02_427869_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/01/image_11012025_18_01_02_258356_0003.jpg
/home/pi/Desktop/images/11012025/18/02/image_11012025_18_02_02_427869_0000.jpg
/home/pi/Desktop/images/11012025/18/02/image_11012025_18_02_02_427869_0001.jpg
/home/pi/Desktop/images/11012025/18/02/image_11012025_18_02_02_427869_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.77233362197876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 18:02:42.331065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/01/image_11012025_18_01_02_258356_0003.jpg', '/home/pi/Desktop/images/11012025/18/02/image_11012025_18_02_02_427869_0000.jpg', '/home/pi/Desktop/images/11012025/18/02/image_11012025_18_02_02_427869_0001.jpg', '/home/pi/Desktop/images/11012025/18/02/image_11012025_18_02_02_427869_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/01/image_11012025_18_01_02_258356_0003.jpg
/home/pi/Desktop/images/11012025/18/02/image_11012025_18_02_02_427869_0000.jpg
/home/pi/Desktop/images/11012025/18/02/image_11012025_18_02_02_427869_0001.jpg
/home/pi/Desktop/images/11012025/18/02/image_11012025_18_02_02_427869_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328220112","1328220114","1328220116","1328220110"],"photo_ids_order":["1328220110","1328220112","1328220114","1328220116"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f689131b3db7aa26dfb43a295253af06.jpg","text":"TemporaryFile(/tmp/multipartBody478250668364033826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615032516,"filename":"image_11012025_18_02_02_427869_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bb3e2b08d14091ab11349472375df4db.jpg","text":"TemporaryFile(/tmp/multipartBody4521031018233465910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615032516,"filename":"image_11012025_18_02_02_427869_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6fb131dd8303de617d7296540c5c4679.jpg","text":"TemporaryFile(/tmp/multipartBody7707612972837283024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615032516,"filename":"image_11012025_18_02_02_427869_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7a86e9f2a2a5d74e3d9589f9ca1a1e84.jpg","text":"TemporaryFile(/tmp/multipartBody7105576763322473743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615032516,"filename":"image_11012025_18_01_02_258356_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328220114","file1":"1328220112","file0":"1328220110","file3":"1328220116"},"map_files_photo_id_array":[{"photo_id":"1328220114","filename":"file2"},{"photo_id":"1328220112","filename":"file1"},{"photo_id":"1328220110","filename":"file0"},{"photo_id":"1328220116","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328220112":["hashtag1","hashtag2"]},{"1328220114":["hashtag1","hashtag2"]},{"1328220116":["hashtag1","hashtag2"]},{"1328220110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328220112, 1328220114, 1328220116, 1328220110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.6847243309021 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 18:03:32.431014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/02/image_11012025_18_02_02_427869_0003.jpg', '/home/pi/Desktop/images/11012025/18/03/image_11012025_18_03_02_574654_0000.jpg', '/home/pi/Desktop/images/11012025/18/03/image_11012025_18_03_02_574654_0001.jpg', '/home/pi/Desktop/images/11012025/18/03/image_11012025_18_03_02_574654_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/02/image_11012025_18_02_02_427869_0003.jpg
/home/pi/Desktop/images/11012025/18/03/image_11012025_18_03_02_574654_0000.jpg
/home/pi/Desktop/images/11012025/18/03/image_11012025_18_03_02_574654_0001.jpg
/home/pi/Desktop/images/11012025/18/03/image_11012025_18_03_02_574654_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328220217","1328220192","1328220215","1328220142"],"photo_ids_order":["1328220142","1328220192","1328220215","1328220217"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c5952c138cc2af9aede7299997fbe51f.jpg","text":"TemporaryFile(/tmp/multipartBody3020747409281283041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615082553,"filename":"image_11012025_18_03_02_574654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9e20abedcbf3e1489969889e79321edd.jpg","text":"TemporaryFile(/tmp/multipartBody2910042049624301846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615082553,"filename":"image_11012025_18_03_02_574654_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/994405919c042cdabfdf619aa887fc94.jpg","text":"TemporaryFile(/tmp/multipartBody2978429178712572166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615082553,"filename":"image_11012025_18_03_02_574654_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ab64e833870e53f56d16c8ced3194235.jpg","text":"TemporaryFile(/tmp/multipartBody9060945088668442201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615082553,"filename":"image_11012025_18_02_02_427869_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328220215","file1":"1328220192","file0":"1328220142","file3":"1328220217"},"map_files_photo_id_array":[{"photo_id":"1328220215","filename":"file2"},{"photo_id":"1328220192","filename":"file1"},{"photo_id":"1328220142","filename":"file0"},{"photo_id":"1328220217","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328220217":["hashtag1","hashtag2"]},{"1328220192":["hashtag1","hashtag2"]},{"1328220215":["hashtag1","hashtag2"]},{"1328220142":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328220217, 1328220192, 1328220215, 1328220142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.86994957923889 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:04:22.670711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/03/image_11012025_18_03_02_574654_0003.jpg', '/home/pi/Desktop/images/11012025/18/04/image_11012025_18_04_02_889455_0000.jpg', '/home/pi/Desktop/images/11012025/18/04/image_11012025_18_04_02_889455_0001.jpg', '/home/pi/Desktop/images/11012025/18/04/image_11012025_18_04_02_889455_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/03/image_11012025_18_03_02_574654_0003.jpg
/home/pi/Desktop/images/11012025/18/04/image_11012025_18_04_02_889455_0000.jpg
/home/pi/Desktop/images/11012025/18/04/image_11012025_18_04_02_889455_0001.jpg
/home/pi/Desktop/images/11012025/18/04/image_11012025_18_04_02_889455_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328220226","1328220668","1328220230","1328220490"],"photo_ids_order":["1328220226","1328220230","1328220490","1328220668"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4d7e05655e33ad3d1f9469968b1f6cf6.jpg","text":"TemporaryFile(/tmp/multipartBody1470087887275686735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615132841,"filename":"image_11012025_18_03_02_574654_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b3f17ec4deb146220a61035222a1542f.jpg","text":"TemporaryFile(/tmp/multipartBody5682599706206704621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615132841,"filename":"image_11012025_18_04_02_889455_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/290b370abd322df3101a1bfe4cc36baa.jpg","text":"TemporaryFile(/tmp/multipartBody7314935713025637022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615132841,"filename":"image_11012025_18_04_02_889455_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0e188f107cdb51d6eb9f3d616f66de28.jpg","text":"TemporaryFile(/tmp/multipartBody5873898877152535621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615132841,"filename":"image_11012025_18_04_02_889455_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328220490","file1":"1328220230","file0":"1328220226","file3":"1328220668"},"map_files_photo_id_array":[{"photo_id":"1328220490","filename":"file2"},{"photo_id":"1328220230","filename":"file1"},{"photo_id":"1328220226","filename":"file0"},{"photo_id":"1328220668","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328220226":["hashtag1","hashtag2"]},{"1328220668":["hashtag1","hashtag2"]},{"1328220230":["hashtag1","hashtag2"]},{"1328220490":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328220226, 1328220668, 1328220230, 1328220490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08443737030029 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:05:21.922751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/04/image_11012025_18_04_02_889455_0003.jpg', '/home/pi/Desktop/images/11012025/18/05/image_11012025_18_05_03_096715_0000.jpg', '/home/pi/Desktop/images/11012025/18/05/image_11012025_18_05_03_096715_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/04/image_11012025_18_04_02_889455_0003.jpg
/home/pi/Desktop/images/11012025/18/05/image_11012025_18_05_03_096715_0000.jpg
/home/pi/Desktop/images/11012025/18/05/image_11012025_18_05_03_096715_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":["1328221067","1328221030","1328221033"],"photo_ids_order":["1328221030","1328221033","1328221067"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5735ed550bd76d3f441aa05991faf382.jpg","text":"TemporaryFile(/tmp/multipartBody2441452670366551111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615189694,"filename":"image_11012025_18_05_03_096715_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/da9bf1790f9fcec7910dd8b11900013c.jpg","text":"TemporaryFile(/tmp/multipartBody1261212648835280032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615189694,"filename":"image_11012025_18_04_02_889455_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a5badfe09985fa94dbdcfa598b6774c4.jpg","text":"TemporaryFile(/tmp/multipartBody1514773782445151561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615189694,"filename":"image_11012025_18_05_03_096715_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328221067","file1":"1328221033","file0":"1328221030"},"map_files_photo_id_array":[{"photo_id":"1328221067","filename":"file2"},{"photo_id":"1328221033","filename":"file1"},{"photo_id":"1328221030","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328221067":["hashtag1","hashtag2"]},{"1328221030":["hashtag1","hashtag2"]},{"1328221033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328221067, 1328221030, 1328221033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.338436603546143 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:06:02.445135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:06:22.074555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/05/image_11012025_18_05_03_096715_0003.jpg', '/home/pi/Desktop/images/11012025/18/06/image_11012025_18_06_02_230475_0000.jpg', '/home/pi/Desktop/images/11012025/18/06/image_11012025_18_06_02_230475_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/05/image_11012025_18_05_03_096715_0003.jpg
/home/pi/Desktop/images/11012025/18/06/image_11012025_18_06_02_230475_0000.jpg
/home/pi/Desktop/images/11012025/18/06/image_11012025_18_06_02_230475_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.382534027099609 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 18:06:32.077372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/05/image_11012025_18_05_03_096715_0003.jpg', '/home/pi/Desktop/images/11012025/18/06/image_11012025_18_06_02_230475_0000.jpg', '/home/pi/Desktop/images/11012025/18/06/image_11012025_18_06_02_230475_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/05/image_11012025_18_05_03_096715_0003.jpg
/home/pi/Desktop/images/11012025/18/06/image_11012025_18_06_02_230475_0000.jpg
/home/pi/Desktop/images/11012025/18/06/image_11012025_18_06_02_230475_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":["1328221746","1328221743","1328221714"],"photo_ids_order":["1328221714","1328221743","1328221746"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ebfd8eb58ad2b7190332e7c1a6b9d777.jpg","text":"TemporaryFile(/tmp/multipartBody2821699278310101626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615259866,"filename":"image_11012025_18_06_02_230475_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1b049de7c15f944f94991a242bbe4340.jpg","text":"TemporaryFile(/tmp/multipartBody2130258928375633598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615259866,"filename":"image_11012025_18_06_02_230475_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3baabb1ba1df703fa8c7532eb704296b.jpg","text":"TemporaryFile(/tmp/multipartBody1304874166979836041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615259866,"filename":"image_11012025_18_05_03_096715_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328221746","file1":"1328221743","file0":"1328221714"},"map_files_photo_id_array":[{"photo_id":"1328221746","filename":"file2"},{"photo_id":"1328221743","filename":"file1"},{"photo_id":"1328221714","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328221746":["hashtag1","hashtag2"]},{"1328221743":["hashtag1","hashtag2"]},{"1328221714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328221746, 1328221743, 1328221714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.3196063041687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:07:22.262058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/06/image_11012025_18_06_02_230475_0003.jpg', '/home/pi/Desktop/images/11012025/18/07/image_11012025_18_07_02_377106_0000.jpg', '/home/pi/Desktop/images/11012025/18/07/image_11012025_18_07_02_377106_0001.jpg', '/home/pi/Desktop/images/11012025/18/07/image_11012025_18_07_02_377106_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/06/image_11012025_18_06_02_230475_0003.jpg
/home/pi/Desktop/images/11012025/18/07/image_11012025_18_07_02_377106_0000.jpg
/home/pi/Desktop/images/11012025/18/07/image_11012025_18_07_02_377106_0001.jpg
/home/pi/Desktop/images/11012025/18/07/image_11012025_18_07_02_377106_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328221863","1328221857","1328221859","1328221861"],"photo_ids_order":["1328221857","1328221859","1328221861","1328221863"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aab11f60de3a0db0304829a4239820cd.jpg","text":"TemporaryFile(/tmp/multipartBody2515131430760057535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615312468,"filename":"image_11012025_18_07_02_377106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/be2c2abe90a6d99175a992b481680056.jpg","text":"TemporaryFile(/tmp/multipartBody3686148745189954327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615312468,"filename":"image_11012025_18_06_02_230475_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e26a38f037ef2f42ed6663005b4a6692.jpg","text":"TemporaryFile(/tmp/multipartBody4951106048478586235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615312468,"filename":"image_11012025_18_07_02_377106_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2263ed668638cd00709131021348c623.jpg","text":"TemporaryFile(/tmp/multipartBody6732843846079367065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615312468,"filename":"image_11012025_18_07_02_377106_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328221861","file1":"1328221859","file0":"1328221857","file3":"1328221863"},"map_files_photo_id_array":[{"photo_id":"1328221861","filename":"file2"},{"photo_id":"1328221859","filename":"file1"},{"photo_id":"1328221857","filename":"file0"},{"photo_id":"1328221863","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328221863":["hashtag1","hashtag2"]},{"1328221857":["hashtag1","hashtag2"]},{"1328221859":["hashtag1","hashtag2"]},{"1328221861":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328221863, 1328221857, 1328221859, 1328221861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.412497758865356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:08:02.776771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:08:22.423808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/07/image_11012025_18_07_02_377106_0003.jpg', '/home/pi/Desktop/images/11012025/18/08/image_11012025_18_08_02_531897_0000.jpg', '/home/pi/Desktop/images/11012025/18/08/image_11012025_18_08_02_531897_0001.jpg', '/home/pi/Desktop/images/11012025/18/08/image_11012025_18_08_02_531897_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/07/image_11012025_18_07_02_377106_0003.jpg
/home/pi/Desktop/images/11012025/18/08/image_11012025_18_08_02_531897_0000.jpg
/home/pi/Desktop/images/11012025/18/08/image_11012025_18_08_02_531897_0001.jpg
/home/pi/Desktop/images/11012025/18/08/image_11012025_18_08_02_531897_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328221883","1328221873","1328221876","1328221881"],"photo_ids_order":["1328221873","1328221876","1328221881","1328221883"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6a4ae666469e0aec02d8e53c2b32c56e.jpg","text":"TemporaryFile(/tmp/multipartBody3119423856044737396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615372656,"filename":"image_11012025_18_08_02_531897_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ca20b76eb4f29318bb0403ab1fcb76e5.jpg","text":"TemporaryFile(/tmp/multipartBody350975649416274079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615372656,"filename":"image_11012025_18_07_02_377106_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7b6893885531c90d8c0d26e37bfbeb73.jpg","text":"TemporaryFile(/tmp/multipartBody4440644410434897948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615372656,"filename":"image_11012025_18_08_02_531897_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9b3c7e66e597bb7b0a52548bcc6f1dd0.jpg","text":"TemporaryFile(/tmp/multipartBody9216614758400958406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615372656,"filename":"image_11012025_18_08_02_531897_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328221881","file1":"1328221876","file0":"1328221873","file3":"1328221883"},"map_files_photo_id_array":[{"photo_id":"1328221881","filename":"file2"},{"photo_id":"1328221876","filename":"file1"},{"photo_id":"1328221873","filename":"file0"},{"photo_id":"1328221883","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328221883":["hashtag1","hashtag2"]},{"1328221873":["hashtag1","hashtag2"]},{"1328221876":["hashtag1","hashtag2"]},{"1328221881":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328221883, 1328221873, 1328221876, 1328221881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.43026614189148 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:09:22.547184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/08/image_11012025_18_08_02_531897_0003.jpg', '/home/pi/Desktop/images/11012025/18/09/image_11012025_18_09_02_710746_0000.jpg', '/home/pi/Desktop/images/11012025/18/09/image_11012025_18_09_02_710746_0001.jpg', '/home/pi/Desktop/images/11012025/18/09/image_11012025_18_09_02_710746_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/08/image_11012025_18_08_02_531897_0003.jpg
/home/pi/Desktop/images/11012025/18/09/image_11012025_18_09_02_710746_0000.jpg
/home/pi/Desktop/images/11012025/18/09/image_11012025_18_09_02_710746_0001.jpg
/home/pi/Desktop/images/11012025/18/09/image_11012025_18_09_02_710746_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328221915","1328221909","1328221924","1328221906"],"photo_ids_order":["1328221906","1328221909","1328221915","1328221924"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6cf3daf4dc4eb6359ed266c13aac95a3.jpg","text":"TemporaryFile(/tmp/multipartBody3876511869507229713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615432702,"filename":"image_11012025_18_09_02_710746_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/427f74fa5da4131592fecc77f9d309a7.jpg","text":"TemporaryFile(/tmp/multipartBody8500120650795716246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615432702,"filename":"image_11012025_18_09_02_710746_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c8238870bb8fff7ba3ccb2455ec8a6f8.jpg","text":"TemporaryFile(/tmp/multipartBody3639640369088194268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615432702,"filename":"image_11012025_18_09_02_710746_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5db112ed60448d42a6a8d2e0c057ac67.jpg","text":"TemporaryFile(/tmp/multipartBody2950096757303273088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615432702,"filename":"image_11012025_18_08_02_531897_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328221915","file1":"1328221909","file0":"1328221906","file3":"1328221924"},"map_files_photo_id_array":[{"photo_id":"1328221915","filename":"file2"},{"photo_id":"1328221909","filename":"file1"},{"photo_id":"1328221906","filename":"file0"},{"photo_id":"1328221924","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328221915":["hashtag1","hashtag2"]},{"1328221909":["hashtag1","hashtag2"]},{"1328221924":["hashtag1","hashtag2"]},{"1328221906":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328221915, 1328221909, 1328221924, 1328221906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.37470769882202 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:10:22.718641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/09/image_11012025_18_09_02_710746_0003.jpg', '/home/pi/Desktop/images/11012025/18/10/image_11012025_18_10_02_978487_0000.jpg', '/home/pi/Desktop/images/11012025/18/10/image_11012025_18_10_02_978487_0001.jpg', '/home/pi/Desktop/images/11012025/18/10/image_11012025_18_10_02_978487_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/09/image_11012025_18_09_02_710746_0003.jpg
/home/pi/Desktop/images/11012025/18/10/image_11012025_18_10_02_978487_0000.jpg
/home/pi/Desktop/images/11012025/18/10/image_11012025_18_10_02_978487_0001.jpg
/home/pi/Desktop/images/11012025/18/10/image_11012025_18_10_02_978487_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328221949","1328221952","1328221946","1328221957"],"photo_ids_order":["1328221946","1328221949","1328221952","1328221957"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/88a22922978e64eee03663a4506999cb.jpg","text":"TemporaryFile(/tmp/multipartBody9160801458862472630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615492976,"filename":"image_11012025_18_10_02_978487_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3d8a7e75984be51d5a5ec86cde5c8b00.jpg","text":"TemporaryFile(/tmp/multipartBody8058163177573376969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615492976,"filename":"image_11012025_18_10_02_978487_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a7800933a0afd3369824c6f57836d841.jpg","text":"TemporaryFile(/tmp/multipartBody6618755172378489663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615492976,"filename":"image_11012025_18_09_02_710746_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/503adf2a5590301867b6145ae99634cc.jpg","text":"TemporaryFile(/tmp/multipartBody3110027644501989980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615492976,"filename":"image_11012025_18_10_02_978487_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328221952","file1":"1328221949","file0":"1328221946","file3":"1328221957"},"map_files_photo_id_array":[{"photo_id":"1328221952","filename":"file2"},{"photo_id":"1328221949","filename":"file1"},{"photo_id":"1328221946","filename":"file0"},{"photo_id":"1328221957","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328221949":["hashtag1","hashtag2"]},{"1328221952":["hashtag1","hashtag2"]},{"1328221946":["hashtag1","hashtag2"]},{"1328221957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328221949, 1328221952, 1328221946, 1328221957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.17613244056702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:11:21.895281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/10/image_11012025_18_10_02_978487_0003.jpg', '/home/pi/Desktop/images/11012025/18/11/image_11012025_18_11_03_079046_0000.jpg', '/home/pi/Desktop/images/11012025/18/11/image_11012025_18_11_03_079046_0001.jpg', '/home/pi/Desktop/images/11012025/18/11/image_11012025_18_11_03_079046_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/10/image_11012025_18_10_02_978487_0003.jpg
/home/pi/Desktop/images/11012025/18/11/image_11012025_18_11_03_079046_0000.jpg
/home/pi/Desktop/images/11012025/18/11/image_11012025_18_11_03_079046_0001.jpg
/home/pi/Desktop/images/11012025/18/11/image_11012025_18_11_03_079046_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328221979","1328221982","1328221972","1328221975"],"photo_ids_order":["1328221972","1328221975","1328221979","1328221982"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8ecff4b0141a34c26953fc1c4cd7af5c.jpg","text":"TemporaryFile(/tmp/multipartBody2681278547544973614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615552001,"filename":"image_11012025_18_11_03_079046_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d9993bf9a9789a6a6f3dccb0fdbf9451.jpg","text":"TemporaryFile(/tmp/multipartBody1016488477145157363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615552001,"filename":"image_11012025_18_11_03_079046_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f0a2cd6b3846adeeccc31f2ef5c58310.jpg","text":"TemporaryFile(/tmp/multipartBody5769042036611763258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615552001,"filename":"image_11012025_18_10_02_978487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/316dd4312adb37d655e3b18d13ab60aa.jpg","text":"TemporaryFile(/tmp/multipartBody4477770995584292083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615552001,"filename":"image_11012025_18_11_03_079046_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328221979","file1":"1328221975","file0":"1328221972","file3":"1328221982"},"map_files_photo_id_array":[{"photo_id":"1328221979","filename":"file2"},{"photo_id":"1328221975","filename":"file1"},{"photo_id":"1328221972","filename":"file0"},{"photo_id":"1328221982","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328221979":["hashtag1","hashtag2"]},{"1328221982":["hashtag1","hashtag2"]},{"1328221972":["hashtag1","hashtag2"]},{"1328221975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328221979, 1328221982, 1328221972, 1328221975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.95919132232666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:12:02.547299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:12:22.181458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/11/image_11012025_18_11_03_079046_0003.jpg', '/home/pi/Desktop/images/11012025/18/12/image_11012025_18_12_02_226123_0000.jpg', '/home/pi/Desktop/images/11012025/18/12/image_11012025_18_12_02_226123_0001.jpg', '/home/pi/Desktop/images/11012025/18/12/image_11012025_18_12_02_226123_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/11/image_11012025_18_11_03_079046_0003.jpg
/home/pi/Desktop/images/11012025/18/12/image_11012025_18_12_02_226123_0000.jpg
/home/pi/Desktop/images/11012025/18/12/image_11012025_18_12_02_226123_0001.jpg
/home/pi/Desktop/images/11012025/18/12/image_11012025_18_12_02_226123_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328222001","1328221994","1328222015","1328221996"],"photo_ids_order":["1328221994","1328221996","1328222001","1328222015"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6f4f215acc5a368db048ecfebdaad276.jpg","text":"TemporaryFile(/tmp/multipartBody535218093395401080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615612534,"filename":"image_11012025_18_12_02_226123_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b0d5eb44b7a4fe526d39438d9e2dc3f3.jpg","text":"TemporaryFile(/tmp/multipartBody8197422869102758751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615612534,"filename":"image_11012025_18_11_03_079046_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/65f60c6ae569b7b13c121ddef83aed02.jpg","text":"TemporaryFile(/tmp/multipartBody3123618801881938817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615612534,"filename":"image_11012025_18_12_02_226123_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/610ceb0649ac17184933be3173438638.jpg","text":"TemporaryFile(/tmp/multipartBody4315312999377260800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615612534,"filename":"image_11012025_18_12_02_226123_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328222001","file1":"1328221996","file0":"1328221994","file3":"1328222015"},"map_files_photo_id_array":[{"photo_id":"1328222001","filename":"file2"},{"photo_id":"1328221996","filename":"file1"},{"photo_id":"1328221994","filename":"file0"},{"photo_id":"1328222015","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328222001":["hashtag1","hashtag2"]},{"1328221994":["hashtag1","hashtag2"]},{"1328222015":["hashtag1","hashtag2"]},{"1328221996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328222001, 1328221994, 1328222015, 1328221996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.92697596549988 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:13:22.239897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/12/image_11012025_18_12_02_226123_0003.jpg', '/home/pi/Desktop/images/11012025/18/13/image_11012025_18_13_02_489806_0000.jpg', '/home/pi/Desktop/images/11012025/18/13/image_11012025_18_13_02_489806_0001.jpg', '/home/pi/Desktop/images/11012025/18/13/image_11012025_18_13_02_489806_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/12/image_11012025_18_12_02_226123_0003.jpg
/home/pi/Desktop/images/11012025/18/13/image_11012025_18_13_02_489806_0000.jpg
/home/pi/Desktop/images/11012025/18/13/image_11012025_18_13_02_489806_0001.jpg
/home/pi/Desktop/images/11012025/18/13/image_11012025_18_13_02_489806_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328222049","1328222040","1328222044","1328222037"],"photo_ids_order":["1328222037","1328222040","1328222044","1328222049"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/791a107bd431c36d21b41e0d0a5d8686.jpg","text":"TemporaryFile(/tmp/multipartBody1856337258919804555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615672674,"filename":"image_11012025_18_13_02_489806_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d041678ade61186a04fa1af2093468f5.jpg","text":"TemporaryFile(/tmp/multipartBody7890077476811547029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615672674,"filename":"image_11012025_18_13_02_489806_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5b84dd0ef67a594f56e26721bfd87624.jpg","text":"TemporaryFile(/tmp/multipartBody7321632146326211103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615672674,"filename":"image_11012025_18_13_02_489806_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aa3eda9bf3365730ccec86c0dd4607c8.jpg","text":"TemporaryFile(/tmp/multipartBody7002683318813649308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615672674,"filename":"image_11012025_18_12_02_226123_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328222044","file1":"1328222040","file0":"1328222037","file3":"1328222049"},"map_files_photo_id_array":[{"photo_id":"1328222044","filename":"file2"},{"photo_id":"1328222040","filename":"file1"},{"photo_id":"1328222037","filename":"file0"},{"photo_id":"1328222049","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328222049":["hashtag1","hashtag2"]},{"1328222040":["hashtag1","hashtag2"]},{"1328222044":["hashtag1","hashtag2"]},{"1328222037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328222049, 1328222040, 1328222044, 1328222037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.76099967956543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:14:22.511354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/13/image_11012025_18_13_02_489806_0003.jpg', '/home/pi/Desktop/images/11012025/18/14/image_11012025_18_14_02_603977_0000.jpg', '/home/pi/Desktop/images/11012025/18/14/image_11012025_18_14_02_603977_0001.jpg', '/home/pi/Desktop/images/11012025/18/14/image_11012025_18_14_02_603977_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/13/image_11012025_18_13_02_489806_0003.jpg
/home/pi/Desktop/images/11012025/18/14/image_11012025_18_14_02_603977_0000.jpg
/home/pi/Desktop/images/11012025/18/14/image_11012025_18_14_02_603977_0001.jpg
/home/pi/Desktop/images/11012025/18/14/image_11012025_18_14_02_603977_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328222946","1328222826","1328222619","1328222742"],"photo_ids_order":["1328222619","1328222742","1328222826","1328222946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d99b94ce7fb8a51e9598d8d0781abae0.jpg","text":"TemporaryFile(/tmp/multipartBody1054622329541933756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615732772,"filename":"image_11012025_18_14_02_603977_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7a3c805a8f5ef3c9ec28c3919b28719d.jpg","text":"TemporaryFile(/tmp/multipartBody4796960935212152262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615732772,"filename":"image_11012025_18_14_02_603977_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/802370d0bb439898bfcce5bdc44da926.jpg","text":"TemporaryFile(/tmp/multipartBody8117304224088264646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615732772,"filename":"image_11012025_18_13_02_489806_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b4d408ebe3c9a5cbe7706256c1afd930.jpg","text":"TemporaryFile(/tmp/multipartBody6179942794064902580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615732772,"filename":"image_11012025_18_14_02_603977_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328222826","file1":"1328222742","file0":"1328222619","file3":"1328222946"},"map_files_photo_id_array":[{"photo_id":"1328222826","filename":"file2"},{"photo_id":"1328222742","filename":"file1"},{"photo_id":"1328222619","filename":"file0"},{"photo_id":"1328222946","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328222946":["hashtag1","hashtag2"]},{"1328222826":["hashtag1","hashtag2"]},{"1328222619":["hashtag1","hashtag2"]},{"1328222742":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328222946, 1328222826, 1328222619, 1328222742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.990845680236816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:15:03.307779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:15:22.607024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/14/image_11012025_18_14_02_603977_0003.jpg', '/home/pi/Desktop/images/11012025/18/15/image_11012025_18_15_02_893496_0000.jpg', '/home/pi/Desktop/images/11012025/18/15/image_11012025_18_15_02_893496_0001.jpg', '/home/pi/Desktop/images/11012025/18/15/image_11012025_18_15_02_893496_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/14/image_11012025_18_14_02_603977_0003.jpg
/home/pi/Desktop/images/11012025/18/15/image_11012025_18_15_02_893496_0000.jpg
/home/pi/Desktop/images/11012025/18/15/image_11012025_18_15_02_893496_0001.jpg
/home/pi/Desktop/images/11012025/18/15/image_11012025_18_15_02_893496_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328222993","1328223184","1328223046","1328222997"],"photo_ids_order":["1328222993","1328222997","1328223046","1328223184"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7ed84306535f6854f8c148de22e1a096.jpg","text":"TemporaryFile(/tmp/multipartBody1373974037187187662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615792906,"filename":"image_11012025_18_14_02_603977_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a9a21aa14a0d83f449185c16bf8845ac.jpg","text":"TemporaryFile(/tmp/multipartBody3312339608662837538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615792906,"filename":"image_11012025_18_15_02_893496_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b6d2c02b60459547516a602a972b68c8.jpg","text":"TemporaryFile(/tmp/multipartBody2518210086068738801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615792906,"filename":"image_11012025_18_15_02_893496_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c229f04ea7534a6727f004f135df3801.jpg","text":"TemporaryFile(/tmp/multipartBody1963116765994174816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615792906,"filename":"image_11012025_18_15_02_893496_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328223046","file1":"1328222997","file0":"1328222993","file3":"1328223184"},"map_files_photo_id_array":[{"photo_id":"1328223046","filename":"file2"},{"photo_id":"1328222997","filename":"file1"},{"photo_id":"1328222993","filename":"file0"},{"photo_id":"1328223184","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328222993":["hashtag1","hashtag2"]},{"1328223184":["hashtag1","hashtag2"]},{"1328223046":["hashtag1","hashtag2"]},{"1328222997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328222993, 1328223184, 1328223046, 1328222997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.6506028175354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:16:21.816425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/15/image_11012025_18_15_02_893496_0003.jpg', '/home/pi/Desktop/images/11012025/18/16/image_11012025_18_16_03_023808_0000.jpg', '/home/pi/Desktop/images/11012025/18/16/image_11012025_18_16_03_023808_0001.jpg', '/home/pi/Desktop/images/11012025/18/16/image_11012025_18_16_03_023808_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/15/image_11012025_18_15_02_893496_0003.jpg
/home/pi/Desktop/images/11012025/18/16/image_11012025_18_16_03_023808_0000.jpg
/home/pi/Desktop/images/11012025/18/16/image_11012025_18_16_03_023808_0001.jpg
/home/pi/Desktop/images/11012025/18/16/image_11012025_18_16_03_023808_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328223679","1328223745","1328223748","1328223714"],"photo_ids_order":["1328223679","1328223714","1328223745","1328223748"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a59b980cacdc35205128e55aff1393ec.jpg","text":"TemporaryFile(/tmp/multipartBody3931176917034932933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615851867,"filename":"image_11012025_18_15_02_893496_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5f66f6f430679a48be6e2dde94488790.jpg","text":"TemporaryFile(/tmp/multipartBody1585239279033176883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615851867,"filename":"image_11012025_18_16_03_023808_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/755ceab5538f5c4919d7783945e49fa8.jpg","text":"TemporaryFile(/tmp/multipartBody6641741281759031561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615851867,"filename":"image_11012025_18_16_03_023808_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/414051b6bb2cd3220cdf1db11f3f26c7.jpg","text":"TemporaryFile(/tmp/multipartBody3297374235655810339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615851867,"filename":"image_11012025_18_16_03_023808_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328223745","file1":"1328223714","file0":"1328223679","file3":"1328223748"},"map_files_photo_id_array":[{"photo_id":"1328223745","filename":"file2"},{"photo_id":"1328223714","filename":"file1"},{"photo_id":"1328223679","filename":"file0"},{"photo_id":"1328223748","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328223679":["hashtag1","hashtag2"]},{"1328223745":["hashtag1","hashtag2"]},{"1328223748":["hashtag1","hashtag2"]},{"1328223714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328223679, 1328223745, 1328223748, 1328223714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.9060537815094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:17:02.660047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:17:22.078493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/16/image_11012025_18_16_03_023808_0003.jpg', '/home/pi/Desktop/images/11012025/18/17/image_11012025_18_17_02_219757_0000.jpg', '/home/pi/Desktop/images/11012025/18/17/image_11012025_18_17_02_219757_0001.jpg', '/home/pi/Desktop/images/11012025/18/17/image_11012025_18_17_02_219757_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/16/image_11012025_18_16_03_023808_0003.jpg
/home/pi/Desktop/images/11012025/18/17/image_11012025_18_17_02_219757_0000.jpg
/home/pi/Desktop/images/11012025/18/17/image_11012025_18_17_02_219757_0001.jpg
/home/pi/Desktop/images/11012025/18/17/image_11012025_18_17_02_219757_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328224579","1328224651","1328224587","1328224583"],"photo_ids_order":["1328224579","1328224583","1328224587","1328224651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/410c5281db82f538d3250ad1efa8ed61.jpg","text":"TemporaryFile(/tmp/multipartBody7427008479206529611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615912278,"filename":"image_11012025_18_16_03_023808_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8b863e1dce85d46e8cf0f0ac747d895d.jpg","text":"TemporaryFile(/tmp/multipartBody3312831110251756732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615912278,"filename":"image_11012025_18_17_02_219757_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a8553f4fa78fe3ea3945fc363bb37006.jpg","text":"TemporaryFile(/tmp/multipartBody171074310895997570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615912278,"filename":"image_11012025_18_17_02_219757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0a066b2e79eef52a25338c0ed8894cc5.jpg","text":"TemporaryFile(/tmp/multipartBody380260725209194279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615912278,"filename":"image_11012025_18_17_02_219757_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328224587","file1":"1328224583","file0":"1328224579","file3":"1328224651"},"map_files_photo_id_array":[{"photo_id":"1328224587","filename":"file2"},{"photo_id":"1328224583","filename":"file1"},{"photo_id":"1328224579","filename":"file0"},{"photo_id":"1328224651","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328224579":["hashtag1","hashtag2"]},{"1328224651":["hashtag1","hashtag2"]},{"1328224587":["hashtag1","hashtag2"]},{"1328224583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328224579, 1328224651, 1328224587, 1328224583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.5484676361084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:18:22.197417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/17/image_11012025_18_17_02_219757_0003.jpg', '/home/pi/Desktop/images/11012025/18/18/image_11012025_18_18_02_364301_0000.jpg', '/home/pi/Desktop/images/11012025/18/18/image_11012025_18_18_02_364301_0001.jpg', '/home/pi/Desktop/images/11012025/18/18/image_11012025_18_18_02_364301_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/17/image_11012025_18_17_02_219757_0003.jpg
/home/pi/Desktop/images/11012025/18/18/image_11012025_18_18_02_364301_0000.jpg
/home/pi/Desktop/images/11012025/18/18/image_11012025_18_18_02_364301_0001.jpg
/home/pi/Desktop/images/11012025/18/18/image_11012025_18_18_02_364301_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328224820","1328224979","1328224958","1328224817"],"photo_ids_order":["1328224817","1328224820","1328224958","1328224979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3b2469f8a6a4ff9d260e4891d3708329.jpg","text":"TemporaryFile(/tmp/multipartBody9050558617726775175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615972396,"filename":"image_11012025_18_18_02_364301_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e9d12c6b259c909bfa10ba8f4082fc80.jpg","text":"TemporaryFile(/tmp/multipartBody7032816564981453419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615972396,"filename":"image_11012025_18_18_02_364301_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b665bb0db0c7b8ae9955c244de75a9ac.jpg","text":"TemporaryFile(/tmp/multipartBody7859522142794625329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615972396,"filename":"image_11012025_18_18_02_364301_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4b326bfdc7f12411e3e48c024c93e966.jpg","text":"TemporaryFile(/tmp/multipartBody4385781978753504123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736615972396,"filename":"image_11012025_18_17_02_219757_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328224958","file1":"1328224820","file0":"1328224817","file3":"1328224979"},"map_files_photo_id_array":[{"photo_id":"1328224958","filename":"file2"},{"photo_id":"1328224820","filename":"file1"},{"photo_id":"1328224817","filename":"file0"},{"photo_id":"1328224979","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328224820":["hashtag1","hashtag2"]},{"1328224979":["hashtag1","hashtag2"]},{"1328224958":["hashtag1","hashtag2"]},{"1328224817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328224820, 1328224979, 1328224958, 1328224817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.94898819923401 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:19:02.950324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:19:22.306852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/18/image_11012025_18_18_02_364301_0003.jpg', '/home/pi/Desktop/images/11012025/18/19/image_11012025_18_19_02_561784_0000.jpg', '/home/pi/Desktop/images/11012025/18/19/image_11012025_18_19_02_561784_0001.jpg', '/home/pi/Desktop/images/11012025/18/19/image_11012025_18_19_02_561784_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/18/image_11012025_18_18_02_364301_0003.jpg
/home/pi/Desktop/images/11012025/18/19/image_11012025_18_19_02_561784_0000.jpg
/home/pi/Desktop/images/11012025/18/19/image_11012025_18_19_02_561784_0001.jpg
/home/pi/Desktop/images/11012025/18/19/image_11012025_18_19_02_561784_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328225002","1328224995","1328224998","1328225001"],"photo_ids_order":["1328224995","1328224998","1328225001","1328225002"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e50f960d41504f27aaa852266bc078f0.jpg","text":"TemporaryFile(/tmp/multipartBody3575908407028336881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616032590,"filename":"image_11012025_18_19_02_561784_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ca2bc378b5a3af55a92daf41db696065.jpg","text":"TemporaryFile(/tmp/multipartBody3115379282039815781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616032590,"filename":"image_11012025_18_18_02_364301_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b10f3555c6a5f71ee501acba3be21be8.jpg","text":"TemporaryFile(/tmp/multipartBody4498704798172410572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616032590,"filename":"image_11012025_18_19_02_561784_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c240a73fcef4017b9f41c8f7dc765d0b.jpg","text":"TemporaryFile(/tmp/multipartBody3930929835805755451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616032590,"filename":"image_11012025_18_19_02_561784_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328225001","file1":"1328224998","file0":"1328224995","file3":"1328225002"},"map_files_photo_id_array":[{"photo_id":"1328225001","filename":"file2"},{"photo_id":"1328224998","filename":"file1"},{"photo_id":"1328224995","filename":"file0"},{"photo_id":"1328225002","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328225002":["hashtag1","hashtag2"]},{"1328224995":["hashtag1","hashtag2"]},{"1328224998":["hashtag1","hashtag2"]},{"1328225001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328225002, 1328224995, 1328224998, 1328225001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.57701230049133 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:20:22.527909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/19/image_11012025_18_19_02_561784_0003.jpg', '/home/pi/Desktop/images/11012025/18/20/image_11012025_18_20_02_694624_0000.jpg', '/home/pi/Desktop/images/11012025/18/20/image_11012025_18_20_02_694624_0001.jpg', '/home/pi/Desktop/images/11012025/18/20/image_11012025_18_20_02_694624_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/19/image_11012025_18_19_02_561784_0003.jpg
/home/pi/Desktop/images/11012025/18/20/image_11012025_18_20_02_694624_0000.jpg
/home/pi/Desktop/images/11012025/18/20/image_11012025_18_20_02_694624_0001.jpg
/home/pi/Desktop/images/11012025/18/20/image_11012025_18_20_02_694624_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328225161","1328225016","1328225159","1328225033"],"photo_ids_order":["1328225016","1328225033","1328225159","1328225161"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cc34437656da182006ae8f6bd785d1ea.jpg","text":"TemporaryFile(/tmp/multipartBody3116396896380169984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616092631,"filename":"image_11012025_18_20_02_694624_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a14ab51f87fef672c4a66891ccbd1cf9.jpg","text":"TemporaryFile(/tmp/multipartBody1804038391570917999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616092631,"filename":"image_11012025_18_19_02_561784_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4a192e998153330c791dc480c4e4cd1f.jpg","text":"TemporaryFile(/tmp/multipartBody3122529880274683577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616092631,"filename":"image_11012025_18_20_02_694624_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/54c143af5783e1bd1e37004d25279f25.jpg","text":"TemporaryFile(/tmp/multipartBody1158991188515888299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616092631,"filename":"image_11012025_18_20_02_694624_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328225159","file1":"1328225033","file0":"1328225016","file3":"1328225161"},"map_files_photo_id_array":[{"photo_id":"1328225159","filename":"file2"},{"photo_id":"1328225033","filename":"file1"},{"photo_id":"1328225016","filename":"file0"},{"photo_id":"1328225161","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328225161":["hashtag1","hashtag2"]},{"1328225016":["hashtag1","hashtag2"]},{"1328225159":["hashtag1","hashtag2"]},{"1328225033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328225161, 1328225016, 1328225159, 1328225033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.25691294670105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:21:02.992491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:21:22.647557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/20/image_11012025_18_20_02_694624_0003.jpg', '/home/pi/Desktop/images/11012025/18/21/image_11012025_18_21_02_888045_0000.jpg', '/home/pi/Desktop/images/11012025/18/21/image_11012025_18_21_02_888045_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/20/image_11012025_18_20_02_694624_0003.jpg
/home/pi/Desktop/images/11012025/18/21/image_11012025_18_21_02_888045_0000.jpg
/home/pi/Desktop/images/11012025/18/21/image_11012025_18_21_02_888045_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":["1328225302","1328225294","1328225318"],"photo_ids_order":["1328225294","1328225302","1328225318"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9131fc208aaffc6bf78238a9c061f28b.jpg","text":"TemporaryFile(/tmp/multipartBody1948954035159639037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616150283,"filename":"image_11012025_18_21_02_888045_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c7784364590e0f6ba2f0eee4e1a6d772.jpg","text":"TemporaryFile(/tmp/multipartBody2464379295009441260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616150283,"filename":"image_11012025_18_20_02_694624_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/004497cccd7449614cc218b454fab654.jpg","text":"TemporaryFile(/tmp/multipartBody7211712129132035479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616150283,"filename":"image_11012025_18_21_02_888045_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328225318","file1":"1328225302","file0":"1328225294"},"map_files_photo_id_array":[{"photo_id":"1328225318","filename":"file2"},{"photo_id":"1328225302","filename":"file1"},{"photo_id":"1328225294","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328225302":["hashtag1","hashtag2"]},{"1328225294":["hashtag1","hashtag2"]},{"1328225318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328225302, 1328225294, 1328225318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.80667805671692 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:22:02.295093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:22:21.903114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/21/image_11012025_18_21_02_888045_0003.jpg', '/home/pi/Desktop/images/11012025/18/22/image_11012025_18_22_03_046344_0000.jpg', '/home/pi/Desktop/images/11012025/18/22/image_11012025_18_22_03_046344_0001.jpg', '/home/pi/Desktop/images/11012025/18/22/image_11012025_18_22_03_046344_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/21/image_11012025_18_21_02_888045_0003.jpg
/home/pi/Desktop/images/11012025/18/22/image_11012025_18_22_03_046344_0000.jpg
/home/pi/Desktop/images/11012025/18/22/image_11012025_18_22_03_046344_0001.jpg
/home/pi/Desktop/images/11012025/18/22/image_11012025_18_22_03_046344_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328225329","1328225394","1328225334","1328225331"],"photo_ids_order":["1328225329","1328225331","1328225334","1328225394"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f78d7fd096e3e10c3dd2d27f661856e8.jpg","text":"TemporaryFile(/tmp/multipartBody386204174281624524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616211704,"filename":"image_11012025_18_21_02_888045_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6e7707378c8d8eda33bb0b5b7896efec.jpg","text":"TemporaryFile(/tmp/multipartBody9031713557162139345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616211704,"filename":"image_11012025_18_22_03_046344_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/140f6dda3b95ebdfe99e2dfa24911b3e.jpg","text":"TemporaryFile(/tmp/multipartBody3132913527369401634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616211704,"filename":"image_11012025_18_22_03_046344_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/765f6c0d90539e454f9989c81ac9c349.jpg","text":"TemporaryFile(/tmp/multipartBody4665400026621487856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616211704,"filename":"image_11012025_18_22_03_046344_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328225334","file1":"1328225331","file0":"1328225329","file3":"1328225394"},"map_files_photo_id_array":[{"photo_id":"1328225334","filename":"file2"},{"photo_id":"1328225331","filename":"file1"},{"photo_id":"1328225329","filename":"file0"},{"photo_id":"1328225394","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328225329":["hashtag1","hashtag2"]},{"1328225394":["hashtag1","hashtag2"]},{"1328225334":["hashtag1","hashtag2"]},{"1328225331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328225329, 1328225394, 1328225334, 1328225331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.464497804641724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:23:02.881211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:23:22.320410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/22/image_11012025_18_22_03_046344_0003.jpg', '/home/pi/Desktop/images/11012025/18/23/image_11012025_18_23_02_306338_0001.jpg', '/home/pi/Desktop/images/11012025/18/23/image_11012025_18_23_02_306338_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/22/image_11012025_18_22_03_046344_0003.jpg
/home/pi/Desktop/images/11012025/18/23/image_11012025_18_23_02_306338_0001.jpg
/home/pi/Desktop/images/11012025/18/23/image_11012025_18_23_02_306338_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328225413","1328225411","1328225408"],"photo_ids_order":["1328225408","1328225411","1328225413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a666915bc73416688b759d61766d1160.jpg","text":"TemporaryFile(/tmp/multipartBody1663242800708425130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616269894,"filename":"image_11012025_18_23_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/11/96a0db68a702db91d10da49eca88604b.jpg","text":"TemporaryFile(/tmp/multipartBody8519242834768646373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616269894,"filename":"image_11012025_18_23_02_306338_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/37113a10da0a9a4637a6eb8d97ed7cde.jpg","text":"TemporaryFile(/tmp/multipartBody314499758489544374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616269894,"filename":"image_11012025_18_22_03_046344_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328225413","file1":"1328225411","file0":"1328225408"},"map_files_photo_id_array":[{"photo_id":"1328225413","filename":"file2"},{"photo_id":"1328225411","filename":"file1"},{"photo_id":"1328225408","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328225413":["hashtag1","hashtag2"]},{"1328225411":["hashtag1","hashtag2"]},{"1328225408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328225413, 1328225411, 1328225408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.704190492630005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:24:02.924973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:24:22.513370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/23/image_11012025_18_23_02_306338_0003.jpg', '/home/pi/Desktop/images/11012025/18/24/image_11012025_18_24_02_773173_0000.jpg', '/home/pi/Desktop/images/11012025/18/24/image_11012025_18_24_02_773173_0001.jpg', '/home/pi/Desktop/images/11012025/18/24/image_11012025_18_24_02_773173_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/23/image_11012025_18_23_02_306338_0003.jpg
/home/pi/Desktop/images/11012025/18/24/image_11012025_18_24_02_773173_0000.jpg
/home/pi/Desktop/images/11012025/18/24/image_11012025_18_24_02_773173_0001.jpg
/home/pi/Desktop/images/11012025/18/24/image_11012025_18_24_02_773173_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328225431","1328225451","1328225433","1328225439"],"photo_ids_order":["1328225431","1328225433","1328225439","1328225451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7b56c1750a23928759982a50f2892b1c.jpg","text":"TemporaryFile(/tmp/multipartBody728371040074124998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616332477,"filename":"image_11012025_18_23_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/11/4ffcfa963225b816993ac47251159016.jpg","text":"TemporaryFile(/tmp/multipartBody3622179236431480954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616332477,"filename":"image_11012025_18_24_02_773173_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c4b536810ad09821ae99adaf1b151c5d.jpg","text":"TemporaryFile(/tmp/multipartBody7882693049110687572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616332477,"filename":"image_11012025_18_24_02_773173_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7db117c57af33a8591f8a419666b2c11.jpg","text":"TemporaryFile(/tmp/multipartBody8707412240565295482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616332477,"filename":"image_11012025_18_24_02_773173_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328225439","file1":"1328225433","file0":"1328225431","file3":"1328225451"},"map_files_photo_id_array":[{"photo_id":"1328225439","filename":"file2"},{"photo_id":"1328225433","filename":"file1"},{"photo_id":"1328225431","filename":"file0"},{"photo_id":"1328225451","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328225431":["hashtag1","hashtag2"]},{"1328225451":["hashtag1","hashtag2"]},{"1328225433":["hashtag1","hashtag2"]},{"1328225439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328225431, 1328225451, 1328225433, 1328225439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.261953830718994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:25:03.377578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:25:22.681172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/24/image_11012025_18_24_02_773173_0003.jpg', '/home/pi/Desktop/images/11012025/18/25/image_11012025_18_25_02_854791_0000.jpg', '/home/pi/Desktop/images/11012025/18/25/image_11012025_18_25_02_854791_0001.jpg', '/home/pi/Desktop/images/11012025/18/25/image_11012025_18_25_02_854791_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/24/image_11012025_18_24_02_773173_0003.jpg
/home/pi/Desktop/images/11012025/18/25/image_11012025_18_25_02_854791_0000.jpg
/home/pi/Desktop/images/11012025/18/25/image_11012025_18_25_02_854791_0001.jpg
/home/pi/Desktop/images/11012025/18/25/image_11012025_18_25_02_854791_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328225488","1328225481","1328225484","1328225477"],"photo_ids_order":["1328225477","1328225481","1328225484","1328225488"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7562a1fca7e0f09c60ded3825ce575d1.jpg","text":"TemporaryFile(/tmp/multipartBody3447473036229110737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616392563,"filename":"image_11012025_18_25_02_854791_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/be742e06ac6569acc6dd7cda2a66039c.jpg","text":"TemporaryFile(/tmp/multipartBody224867896770344015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616392563,"filename":"image_11012025_18_25_02_854791_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/997b59622172e2e88dabb95f75e451c1.jpg","text":"TemporaryFile(/tmp/multipartBody2911289840046569519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616392563,"filename":"image_11012025_18_25_02_854791_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f488077adff5d5eb3b23998f284616f1.jpg","text":"TemporaryFile(/tmp/multipartBody3111555235152086978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616392563,"filename":"image_11012025_18_24_02_773173_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328225484","file1":"1328225481","file0":"1328225477","file3":"1328225488"},"map_files_photo_id_array":[{"photo_id":"1328225484","filename":"file2"},{"photo_id":"1328225481","filename":"file1"},{"photo_id":"1328225477","filename":"file0"},{"photo_id":"1328225488","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328225488":["hashtag1","hashtag2"]},{"1328225481":["hashtag1","hashtag2"]},{"1328225484":["hashtag1","hashtag2"]},{"1328225477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328225488, 1328225481, 1328225484, 1328225477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.09038496017456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:26:21.880760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/25/image_11012025_18_25_02_854791_0003.jpg', '/home/pi/Desktop/images/11012025/18/26/image_11012025_18_26_03_037226_0000.jpg', '/home/pi/Desktop/images/11012025/18/26/image_11012025_18_26_03_037226_0001.jpg', '/home/pi/Desktop/images/11012025/18/26/image_11012025_18_26_03_037226_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/25/image_11012025_18_25_02_854791_0003.jpg
/home/pi/Desktop/images/11012025/18/26/image_11012025_18_26_03_037226_0000.jpg
/home/pi/Desktop/images/11012025/18/26/image_11012025_18_26_03_037226_0001.jpg
/home/pi/Desktop/images/11012025/18/26/image_11012025_18_26_03_037226_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328225503","1328225512","1328225509","1328225507"],"photo_ids_order":["1328225503","1328225507","1328225509","1328225512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d5deef009a475fa2f4a8f062f89e1c87.jpg","text":"TemporaryFile(/tmp/multipartBody2742740243262279622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616451901,"filename":"image_11012025_18_25_02_854791_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d923db8b106358f6b9aef6b55f5f45ee.jpg","text":"TemporaryFile(/tmp/multipartBody3623641342214018808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616451901,"filename":"image_11012025_18_26_03_037226_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a5987cb2b1a2511e7c149b5188d5589f.jpg","text":"TemporaryFile(/tmp/multipartBody605926174466586631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616451901,"filename":"image_11012025_18_26_03_037226_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ee917da4f2f51c0f79d0880d1c0c2afb.jpg","text":"TemporaryFile(/tmp/multipartBody5768015311099970971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616451901,"filename":"image_11012025_18_26_03_037226_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328225509","file1":"1328225507","file0":"1328225503","file3":"1328225512"},"map_files_photo_id_array":[{"photo_id":"1328225509","filename":"file2"},{"photo_id":"1328225507","filename":"file1"},{"photo_id":"1328225503","filename":"file0"},{"photo_id":"1328225512","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328225503":["hashtag1","hashtag2"]},{"1328225512":["hashtag1","hashtag2"]},{"1328225509":["hashtag1","hashtag2"]},{"1328225507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328225503, 1328225512, 1328225509, 1328225507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.94484210014343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:27:02.643726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:27:22.062045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/26/image_11012025_18_26_03_037226_0003.jpg', '/home/pi/Desktop/images/11012025/18/27/image_11012025_18_27_02_268650_0001.jpg', '/home/pi/Desktop/images/11012025/18/27/image_11012025_18_27_02_268650_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/26/image_11012025_18_26_03_037226_0003.jpg
/home/pi/Desktop/images/11012025/18/27/image_11012025_18_27_02_268650_0001.jpg
/home/pi/Desktop/images/11012025/18/27/image_11012025_18_27_02_268650_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328225539","1328225526","1328225528"],"photo_ids_order":["1328225526","1328225528","1328225539"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6c32aa28fd23b7f5610da617bbe0b0bf.jpg","text":"TemporaryFile(/tmp/multipartBody4604726688591665721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616509762,"filename":"image_11012025_18_27_02_268650_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d6869762bad34c5ae768f305244ceef2.jpg","text":"TemporaryFile(/tmp/multipartBody7686533127822468710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616509762,"filename":"image_11012025_18_26_03_037226_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5cf480ac0f67b09644680d93c734a316.jpg","text":"TemporaryFile(/tmp/multipartBody5134629959671545738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616509762,"filename":"image_11012025_18_27_02_268650_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328225539","file1":"1328225528","file0":"1328225526"},"map_files_photo_id_array":[{"photo_id":"1328225539","filename":"file2"},{"photo_id":"1328225528","filename":"file1"},{"photo_id":"1328225526","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328225539":["hashtag1","hashtag2"]},{"1328225526":["hashtag1","hashtag2"]},{"1328225528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328225539, 1328225526, 1328225528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.308531761169434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:28:02.558059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:28:22.275209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/27/image_11012025_18_27_02_268650_0003.jpg', '/home/pi/Desktop/images/11012025/18/28/image_11012025_18_28_02_428742_0000.jpg', '/home/pi/Desktop/images/11012025/18/28/image_11012025_18_28_02_428742_0001.jpg', '/home/pi/Desktop/images/11012025/18/28/image_11012025_18_28_02_428742_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/27/image_11012025_18_27_02_268650_0003.jpg
/home/pi/Desktop/images/11012025/18/28/image_11012025_18_28_02_428742_0000.jpg
/home/pi/Desktop/images/11012025/18/28/image_11012025_18_28_02_428742_0001.jpg
/home/pi/Desktop/images/11012025/18/28/image_11012025_18_28_02_428742_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328225577","1328225586","1328225571","1328225610"],"photo_ids_order":["1328225571","1328225577","1328225586","1328225610"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/90227c6a2eb87a707666929e529154e0.jpg","text":"TemporaryFile(/tmp/multipartBody1119844127641086172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616572459,"filename":"image_11012025_18_28_02_428742_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4acd214f65335bc666dc825d2b972f6e.jpg","text":"TemporaryFile(/tmp/multipartBody1840451858554398663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616572459,"filename":"image_11012025_18_28_02_428742_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6bcfff3e833949c41643f9c178208c94.jpg","text":"TemporaryFile(/tmp/multipartBody4464593177357650755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616572459,"filename":"image_11012025_18_27_02_268650_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4a5240b58e71e6b4b12ef9fee26c6c37.jpg","text":"TemporaryFile(/tmp/multipartBody7991164944332356673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616572459,"filename":"image_11012025_18_28_02_428742_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328225586","file1":"1328225577","file0":"1328225571","file3":"1328225610"},"map_files_photo_id_array":[{"photo_id":"1328225586","filename":"file2"},{"photo_id":"1328225577","filename":"file1"},{"photo_id":"1328225571","filename":"file0"},{"photo_id":"1328225610","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328225577":["hashtag1","hashtag2"]},{"1328225586":["hashtag1","hashtag2"]},{"1328225571":["hashtag1","hashtag2"]},{"1328225610":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328225577, 1328225586, 1328225571, 1328225610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.220587491989136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:29:03.114199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:29:22.411875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/28/image_11012025_18_28_02_428742_0003.jpg', '/home/pi/Desktop/images/11012025/18/29/image_11012025_18_29_02_628601_0000.jpg', '/home/pi/Desktop/images/11012025/18/29/image_11012025_18_29_02_628601_0001.jpg', '/home/pi/Desktop/images/11012025/18/29/image_11012025_18_29_02_628601_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/28/image_11012025_18_28_02_428742_0003.jpg
/home/pi/Desktop/images/11012025/18/29/image_11012025_18_29_02_628601_0000.jpg
/home/pi/Desktop/images/11012025/18/29/image_11012025_18_29_02_628601_0001.jpg
/home/pi/Desktop/images/11012025/18/29/image_11012025_18_29_02_628601_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328225731","1328225737","1328225739","1328225735"],"photo_ids_order":["1328225731","1328225735","1328225737","1328225739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/27ec78d02b1e9c67df59a8c176b5b582.jpg","text":"TemporaryFile(/tmp/multipartBody7726144034321370366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616632505,"filename":"image_11012025_18_28_02_428742_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d46ebb551183f9ad3cc5fdba57e4546d.jpg","text":"TemporaryFile(/tmp/multipartBody6652893280311849881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616632505,"filename":"image_11012025_18_29_02_628601_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/66c56e4eb29cf566c5e6de73fa05a312.jpg","text":"TemporaryFile(/tmp/multipartBody6120140656289681154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616632505,"filename":"image_11012025_18_29_02_628601_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/03cae9399219e1b0fac5cd49816685c6.jpg","text":"TemporaryFile(/tmp/multipartBody8030442327822843959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616632505,"filename":"image_11012025_18_29_02_628601_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328225737","file1":"1328225735","file0":"1328225731","file3":"1328225739"},"map_files_photo_id_array":[{"photo_id":"1328225737","filename":"file2"},{"photo_id":"1328225735","filename":"file1"},{"photo_id":"1328225731","filename":"file0"},{"photo_id":"1328225739","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328225731":["hashtag1","hashtag2"]},{"1328225737":["hashtag1","hashtag2"]},{"1328225739":["hashtag1","hashtag2"]},{"1328225735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328225731, 1328225737, 1328225739, 1328225735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.87636971473694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:30:22.579317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/29/image_11012025_18_29_02_628601_0003.jpg', '/home/pi/Desktop/images/11012025/18/30/image_11012025_18_30_02_834455_0000.jpg', '/home/pi/Desktop/images/11012025/18/30/image_11012025_18_30_02_834455_0001.jpg', '/home/pi/Desktop/images/11012025/18/30/image_11012025_18_30_02_834455_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/29/image_11012025_18_29_02_628601_0003.jpg
/home/pi/Desktop/images/11012025/18/30/image_11012025_18_30_02_834455_0000.jpg
/home/pi/Desktop/images/11012025/18/30/image_11012025_18_30_02_834455_0001.jpg
/home/pi/Desktop/images/11012025/18/30/image_11012025_18_30_02_834455_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328225962","1328225932","1328225929","1328225942"],"photo_ids_order":["1328225929","1328225932","1328225942","1328225962"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/63f94cd80e426a0c14ec0554a60597ce.jpg","text":"TemporaryFile(/tmp/multipartBody1188807149440837576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616692801,"filename":"image_11012025_18_30_02_834455_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/060a81dd736b1218533f57bad01063e1.jpg","text":"TemporaryFile(/tmp/multipartBody14666615206861148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616692801,"filename":"image_11012025_18_30_02_834455_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d3c25eb6d5afdaaca60e3039f40725f3.jpg","text":"TemporaryFile(/tmp/multipartBody8349575632924369760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616692801,"filename":"image_11012025_18_29_02_628601_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ba899224587c768d7dc3c539e37d587f.jpg","text":"TemporaryFile(/tmp/multipartBody6231123189704993366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616692801,"filename":"image_11012025_18_30_02_834455_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328225942","file1":"1328225932","file0":"1328225929","file3":"1328225962"},"map_files_photo_id_array":[{"photo_id":"1328225942","filename":"file2"},{"photo_id":"1328225932","filename":"file1"},{"photo_id":"1328225929","filename":"file0"},{"photo_id":"1328225962","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328225962":["hashtag1","hashtag2"]},{"1328225932":["hashtag1","hashtag2"]},{"1328225929":["hashtag1","hashtag2"]},{"1328225942":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328225962, 1328225932, 1328225929, 1328225942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.70150136947632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:31:03.351314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:31:22.708578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/30/image_11012025_18_30_02_834455_0003.jpg', '/home/pi/Desktop/images/11012025/18/31/image_11012025_18_31_02_956497_0000.jpg', '/home/pi/Desktop/images/11012025/18/31/image_11012025_18_31_02_956497_0001.jpg', '/home/pi/Desktop/images/11012025/18/31/image_11012025_18_31_02_956497_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/30/image_11012025_18_30_02_834455_0003.jpg
/home/pi/Desktop/images/11012025/18/31/image_11012025_18_31_02_956497_0000.jpg
/home/pi/Desktop/images/11012025/18/31/image_11012025_18_31_02_956497_0001.jpg
/home/pi/Desktop/images/11012025/18/31/image_11012025_18_31_02_956497_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328225976","1328225981","1328225984","1328225978"],"photo_ids_order":["1328225976","1328225978","1328225981","1328225984"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cd47ed1976144d9b75a57b2bb6f34a42.jpg","text":"TemporaryFile(/tmp/multipartBody809602787824180968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616752872,"filename":"image_11012025_18_30_02_834455_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/000a204e9c3f82116cb8d3de789da637.jpg","text":"TemporaryFile(/tmp/multipartBody2735178215469288166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616752872,"filename":"image_11012025_18_31_02_956497_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/327207edfb43e8b97e133f7ad632062a.jpg","text":"TemporaryFile(/tmp/multipartBody4484741510975901558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616752872,"filename":"image_11012025_18_31_02_956497_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c7dfd0c963a6400d0ec33a13adef6bbc.jpg","text":"TemporaryFile(/tmp/multipartBody4570010203073900347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616752872,"filename":"image_11012025_18_31_02_956497_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328225981","file1":"1328225978","file0":"1328225976","file3":"1328225984"},"map_files_photo_id_array":[{"photo_id":"1328225981","filename":"file2"},{"photo_id":"1328225978","filename":"file1"},{"photo_id":"1328225976","filename":"file0"},{"photo_id":"1328225984","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328225976":["hashtag1","hashtag2"]},{"1328225981":["hashtag1","hashtag2"]},{"1328225984":["hashtag1","hashtag2"]},{"1328225978":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328225976, 1328225981, 1328225984, 1328225978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.70445418357849 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:32:21.929894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/31/image_11012025_18_31_02_956497_0003.jpg', '/home/pi/Desktop/images/11012025/18/32/image_11012025_18_32_03_155680_0000.jpg', '/home/pi/Desktop/images/11012025/18/32/image_11012025_18_32_03_155680_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/31/image_11012025_18_31_02_956497_0003.jpg
/home/pi/Desktop/images/11012025/18/32/image_11012025_18_32_03_155680_0000.jpg
/home/pi/Desktop/images/11012025/18/32/image_11012025_18_32_03_155680_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":["1328226001","1328225996","1328225999"],"photo_ids_order":["1328225996","1328225999","1328226001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5acf7ea174a18c4db8b177a433183316.jpg","text":"TemporaryFile(/tmp/multipartBody2581892565104810281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616809710,"filename":"image_11012025_18_32_03_155680_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/69ff05b4e6e0d5785bf12a0d75e078c6.jpg","text":"TemporaryFile(/tmp/multipartBody6384277338058318785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616809710,"filename":"image_11012025_18_31_02_956497_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/02affc88fe43036c8a66dab65a891024.jpg","text":"TemporaryFile(/tmp/multipartBody9063094192290243545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616809710,"filename":"image_11012025_18_32_03_155680_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328226001","file1":"1328225999","file0":"1328225996"},"map_files_photo_id_array":[{"photo_id":"1328226001","filename":"file2"},{"photo_id":"1328225999","filename":"file1"},{"photo_id":"1328225996","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328226001":["hashtag1","hashtag2"]},{"1328225996":["hashtag1","hashtag2"]},{"1328225999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328226001, 1328225996, 1328225999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.95302128791809 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:33:02.660866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:33:22.155867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/32/image_11012025_18_32_03_155680_0002.jpg', '/home/pi/Desktop/images/11012025/18/33/image_11012025_18_33_02_327981_0001.jpg', '/home/pi/Desktop/images/11012025/18/33/image_11012025_18_33_02_327981_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/32/image_11012025_18_32_03_155680_0002.jpg
/home/pi/Desktop/images/11012025/18/33/image_11012025_18_33_02_327981_0001.jpg
/home/pi/Desktop/images/11012025/18/33/image_11012025_18_33_02_327981_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328226025","1328226021","1328226027"],"photo_ids_order":["1328226021","1328226025","1328226027"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bc4b238bb7a9c4da37ce71ac85c9a895.jpg","text":"TemporaryFile(/tmp/multipartBody4723516759084114471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616869935,"filename":"image_11012025_18_33_02_327981_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1e80b5d993158d6b8070c2a02ee218c2.jpg","text":"TemporaryFile(/tmp/multipartBody7557002895990980068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616869935,"filename":"image_11012025_18_32_03_155680_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/19ab28e8be24142d04649d0fcb9c373e.jpg","text":"TemporaryFile(/tmp/multipartBody864626016230274320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616869935,"filename":"image_11012025_18_33_02_327981_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328226027","file1":"1328226025","file0":"1328226021"},"map_files_photo_id_array":[{"photo_id":"1328226027","filename":"file2"},{"photo_id":"1328226025","filename":"file1"},{"photo_id":"1328226021","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328226025":["hashtag1","hashtag2"]},{"1328226021":["hashtag1","hashtag2"]},{"1328226027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328226025, 1328226021, 1328226027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.553320169448853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:34:02.711279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:34:22.320932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/33/image_11012025_18_33_02_327981_0003.jpg', '/home/pi/Desktop/images/11012025/18/34/image_11012025_18_34_02_496266_0000.jpg', '/home/pi/Desktop/images/11012025/18/34/image_11012025_18_34_02_496266_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/33/image_11012025_18_33_02_327981_0003.jpg
/home/pi/Desktop/images/11012025/18/34/image_11012025_18_34_02_496266_0000.jpg
/home/pi/Desktop/images/11012025/18/34/image_11012025_18_34_02_496266_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328226066","1328226061","1328226064"],"photo_ids_order":["1328226061","1328226064","1328226066"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9a3220f5b749791c0782123636fbcc38.jpg","text":"TemporaryFile(/tmp/multipartBody3965141041205667891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616930070,"filename":"image_11012025_18_34_02_496266_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/163c4c82578cf9b112fc65d9ce2ab65c.jpg","text":"TemporaryFile(/tmp/multipartBody5258511867938757523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616930070,"filename":"image_11012025_18_33_02_327981_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4140101baeb6650787e9edb66997b0fd.jpg","text":"TemporaryFile(/tmp/multipartBody8364375161611071262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616930070,"filename":"image_11012025_18_34_02_496266_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328226066","file1":"1328226064","file0":"1328226061"},"map_files_photo_id_array":[{"photo_id":"1328226066","filename":"file2"},{"photo_id":"1328226064","filename":"file1"},{"photo_id":"1328226061","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328226066":["hashtag1","hashtag2"]},{"1328226061":["hashtag1","hashtag2"]},{"1328226064":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328226066, 1328226061, 1328226064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.25588321685791 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:35:03.066580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:35:22.532508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/34/image_11012025_18_34_02_496266_0003.jpg', '/home/pi/Desktop/images/11012025/18/35/image_11012025_18_35_02_638369_0000.jpg', '/home/pi/Desktop/images/11012025/18/35/image_11012025_18_35_02_638369_0001.jpg', '/home/pi/Desktop/images/11012025/18/35/image_11012025_18_35_02_638369_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/34/image_11012025_18_34_02_496266_0003.jpg
/home/pi/Desktop/images/11012025/18/35/image_11012025_18_35_02_638369_0000.jpg
/home/pi/Desktop/images/11012025/18/35/image_11012025_18_35_02_638369_0001.jpg
/home/pi/Desktop/images/11012025/18/35/image_11012025_18_35_02_638369_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328226086","1328226085","1328226088","1328226082"],"photo_ids_order":["1328226082","1328226085","1328226086","1328226088"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b7f5cd8c575604a4a5e070b0b4a90763.jpg","text":"TemporaryFile(/tmp/multipartBody4249123954822001194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616992741,"filename":"image_11012025_18_35_02_638369_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/30bd2cba0c8b58f14a28eb3380b4fee7.jpg","text":"TemporaryFile(/tmp/multipartBody3015996857495451225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616992741,"filename":"image_11012025_18_35_02_638369_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/28a6f51586a34689d78e5913f522c9d5.jpg","text":"TemporaryFile(/tmp/multipartBody180482028761971093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616992741,"filename":"image_11012025_18_35_02_638369_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e35144345aa4f0c07808b4166f58ab2c.jpg","text":"TemporaryFile(/tmp/multipartBody608241788479090494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736616992741,"filename":"image_11012025_18_34_02_496266_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328226086","file1":"1328226085","file0":"1328226082","file3":"1328226088"},"map_files_photo_id_array":[{"photo_id":"1328226086","filename":"file2"},{"photo_id":"1328226085","filename":"file1"},{"photo_id":"1328226082","filename":"file0"},{"photo_id":"1328226088","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328226086":["hashtag1","hashtag2"]},{"1328226085":["hashtag1","hashtag2"]},{"1328226088":["hashtag1","hashtag2"]},{"1328226082":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328226086, 1328226085, 1328226088, 1328226082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.655919551849365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:36:22.702381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/35/image_11012025_18_35_02_638369_0003.jpg', '/home/pi/Desktop/images/11012025/18/36/image_11012025_18_36_02_830050_0000.jpg', '/home/pi/Desktop/images/11012025/18/36/image_11012025_18_36_02_830050_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/35/image_11012025_18_35_02_638369_0003.jpg
/home/pi/Desktop/images/11012025/18/36/image_11012025_18_36_02_830050_0000.jpg
/home/pi/Desktop/images/11012025/18/36/image_11012025_18_36_02_830050_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":["1328226108","1328226101","1328226104"],"photo_ids_order":["1328226101","1328226104","1328226108"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/add1771f8171ffc8ef43b6860e7a6748.jpg","text":"TemporaryFile(/tmp/multipartBody7494042713385844346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617050498,"filename":"image_11012025_18_36_02_830050_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cd34208bd163a6a396751c62d77927f2.jpg","text":"TemporaryFile(/tmp/multipartBody871809253287815677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617050498,"filename":"image_11012025_18_35_02_638369_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2d1aa4aae2c14a8f6f42d3c4844e67cb.jpg","text":"TemporaryFile(/tmp/multipartBody2208483474825232306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617050498,"filename":"image_11012025_18_36_02_830050_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328226108","file1":"1328226104","file0":"1328226101"},"map_files_photo_id_array":[{"photo_id":"1328226108","filename":"file2"},{"photo_id":"1328226104","filename":"file1"},{"photo_id":"1328226101","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328226108":["hashtag1","hashtag2"]},{"1328226101":["hashtag1","hashtag2"]},{"1328226104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328226108, 1328226101, 1328226104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.099659204483032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:37:02.488910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:37:21.945475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/36/image_11012025_18_36_02_830050_0003.jpg', '/home/pi/Desktop/images/11012025/18/37/image_11012025_18_37_03_096445_0000.jpg', '/home/pi/Desktop/images/11012025/18/37/image_11012025_18_37_03_096445_0001.jpg', '/home/pi/Desktop/images/11012025/18/37/image_11012025_18_37_03_096445_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/36/image_11012025_18_36_02_830050_0003.jpg
/home/pi/Desktop/images/11012025/18/37/image_11012025_18_37_03_096445_0000.jpg
/home/pi/Desktop/images/11012025/18/37/image_11012025_18_37_03_096445_0001.jpg
/home/pi/Desktop/images/11012025/18/37/image_11012025_18_37_03_096445_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328226250","1328226211","1328226214","1328226247"],"photo_ids_order":["1328226211","1328226214","1328226247","1328226250"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/909b39d1b3b05f644f1bb786e0aeae39.jpg","text":"TemporaryFile(/tmp/multipartBody3388360435296722952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617112161,"filename":"image_11012025_18_37_03_096445_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7cc3270d43fec66f87260d62076918fb.jpg","text":"TemporaryFile(/tmp/multipartBody6867537624073449285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617112161,"filename":"image_11012025_18_36_02_830050_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/27234ea56ac7a5352e8471e0c3bc6bad.jpg","text":"TemporaryFile(/tmp/multipartBody496934175371974896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617112161,"filename":"image_11012025_18_37_03_096445_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6303ab595c3e3b1d7c4a7b21a3a87972.jpg","text":"TemporaryFile(/tmp/multipartBody3310971901642881282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617112161,"filename":"image_11012025_18_37_03_096445_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328226247","file1":"1328226214","file0":"1328226211","file3":"1328226250"},"map_files_photo_id_array":[{"photo_id":"1328226247","filename":"file2"},{"photo_id":"1328226214","filename":"file1"},{"photo_id":"1328226211","filename":"file0"},{"photo_id":"1328226250","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328226250":["hashtag1","hashtag2"]},{"1328226211":["hashtag1","hashtag2"]},{"1328226214":["hashtag1","hashtag2"]},{"1328226247":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328226250, 1328226211, 1328226214, 1328226247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.00071740150452 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:38:02.432322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:38:22.029340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/37/image_11012025_18_37_03_096445_0003.jpg', '/home/pi/Desktop/images/11012025/18/38/image_11012025_18_38_02_243910_0000.jpg', '/home/pi/Desktop/images/11012025/18/38/image_11012025_18_38_02_243910_0001.jpg', '/home/pi/Desktop/images/11012025/18/38/image_11012025_18_38_02_243910_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/37/image_11012025_18_37_03_096445_0003.jpg
/home/pi/Desktop/images/11012025/18/38/image_11012025_18_38_02_243910_0000.jpg
/home/pi/Desktop/images/11012025/18/38/image_11012025_18_38_02_243910_0001.jpg
/home/pi/Desktop/images/11012025/18/38/image_11012025_18_38_02_243910_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328226279","1328226284","1328226278","1328226280"],"photo_ids_order":["1328226278","1328226279","1328226280","1328226284"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/72aa7a38e8ceed85bac056ca2b967670.jpg","text":"TemporaryFile(/tmp/multipartBody7624103343541800269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617172148,"filename":"image_11012025_18_38_02_243910_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/86c6261933f4eba0b7d829bf0825ef20.jpg","text":"TemporaryFile(/tmp/multipartBody8506251385339133652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617172148,"filename":"image_11012025_18_38_02_243910_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3852579b0b21de926e5e0cca727f5909.jpg","text":"TemporaryFile(/tmp/multipartBody5117217941921693990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617172148,"filename":"image_11012025_18_37_03_096445_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7f7b5534acbe9374052fe19cb3f58633.jpg","text":"TemporaryFile(/tmp/multipartBody3929886627203914261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617172148,"filename":"image_11012025_18_38_02_243910_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328226280","file1":"1328226279","file0":"1328226278","file3":"1328226284"},"map_files_photo_id_array":[{"photo_id":"1328226280","filename":"file2"},{"photo_id":"1328226279","filename":"file1"},{"photo_id":"1328226278","filename":"file0"},{"photo_id":"1328226284","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328226279":["hashtag1","hashtag2"]},{"1328226284":["hashtag1","hashtag2"]},{"1328226278":["hashtag1","hashtag2"]},{"1328226280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328226279, 1328226284, 1328226278, 1328226280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.5497088432312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:39:22.170308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/38/image_11012025_18_38_02_243910_0003.jpg', '/home/pi/Desktop/images/11012025/18/39/image_11012025_18_39_02_321146_0000.jpg', '/home/pi/Desktop/images/11012025/18/39/image_11012025_18_39_02_321146_0001.jpg', '/home/pi/Desktop/images/11012025/18/39/image_11012025_18_39_02_321146_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/38/image_11012025_18_38_02_243910_0003.jpg
/home/pi/Desktop/images/11012025/18/39/image_11012025_18_39_02_321146_0000.jpg
/home/pi/Desktop/images/11012025/18/39/image_11012025_18_39_02_321146_0001.jpg
/home/pi/Desktop/images/11012025/18/39/image_11012025_18_39_02_321146_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328226313","1328226315","1328226317","1328226311"],"photo_ids_order":["1328226311","1328226313","1328226315","1328226317"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e1637816a7630ba7810492cbf9cefdb8.jpg","text":"TemporaryFile(/tmp/multipartBody3188535336942143119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617232497,"filename":"image_11012025_18_39_02_321146_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cb726377f847e2755973964e1a025d7c.jpg","text":"TemporaryFile(/tmp/multipartBody637682258672816921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617232497,"filename":"image_11012025_18_39_02_321146_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1ed33039b22e188f127e72d3784ccd7a.jpg","text":"TemporaryFile(/tmp/multipartBody128934931830880663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617232497,"filename":"image_11012025_18_39_02_321146_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f7b8e1fc4cc3c731a1797f0cbe22963d.jpg","text":"TemporaryFile(/tmp/multipartBody2536486370607675776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617232497,"filename":"image_11012025_18_38_02_243910_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328226315","file1":"1328226313","file0":"1328226311","file3":"1328226317"},"map_files_photo_id_array":[{"photo_id":"1328226315","filename":"file2"},{"photo_id":"1328226313","filename":"file1"},{"photo_id":"1328226311","filename":"file0"},{"photo_id":"1328226317","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328226313":["hashtag1","hashtag2"]},{"1328226315":["hashtag1","hashtag2"]},{"1328226317":["hashtag1","hashtag2"]},{"1328226311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328226313, 1328226315, 1328226317, 1328226311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.366283655166626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:40:02.900093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:40:22.472972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/39/image_11012025_18_39_02_321146_0003.jpg', '/home/pi/Desktop/images/11012025/18/40/image_11012025_18_40_02_618220_0000.jpg', '/home/pi/Desktop/images/11012025/18/40/image_11012025_18_40_02_618220_0001.jpg', '/home/pi/Desktop/images/11012025/18/40/image_11012025_18_40_02_618220_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/39/image_11012025_18_39_02_321146_0003.jpg
/home/pi/Desktop/images/11012025/18/40/image_11012025_18_40_02_618220_0000.jpg
/home/pi/Desktop/images/11012025/18/40/image_11012025_18_40_02_618220_0001.jpg
/home/pi/Desktop/images/11012025/18/40/image_11012025_18_40_02_618220_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328226331","1328226345","1328226333","1328226334"],"photo_ids_order":["1328226331","1328226333","1328226334","1328226345"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/869ceda2b8366a7b19cb37bc4dfa6d86.jpg","text":"TemporaryFile(/tmp/multipartBody3927726607411384195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617292500,"filename":"image_11012025_18_39_02_321146_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ea7486198340c34e525252b59186e944.jpg","text":"TemporaryFile(/tmp/multipartBody8439064459341717607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617292500,"filename":"image_11012025_18_40_02_618220_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cf2eb74ebe9913520f9a5da8d76b032d.jpg","text":"TemporaryFile(/tmp/multipartBody5514708967572883638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617292500,"filename":"image_11012025_18_40_02_618220_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/51c6df0f6251e6afba3bbcf16590312d.jpg","text":"TemporaryFile(/tmp/multipartBody5861962187167505301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617292500,"filename":"image_11012025_18_40_02_618220_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328226334","file1":"1328226333","file0":"1328226331","file3":"1328226345"},"map_files_photo_id_array":[{"photo_id":"1328226334","filename":"file2"},{"photo_id":"1328226333","filename":"file1"},{"photo_id":"1328226331","filename":"file0"},{"photo_id":"1328226345","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328226331":["hashtag1","hashtag2"]},{"1328226345":["hashtag1","hashtag2"]},{"1328226333":["hashtag1","hashtag2"]},{"1328226334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328226331, 1328226345, 1328226333, 1328226334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.23790192604065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:41:03.370240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:41:22.725661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/40/image_11012025_18_40_02_618220_0003.jpg', '/home/pi/Desktop/images/11012025/18/41/image_11012025_18_41_02_809641_0000.jpg', '/home/pi/Desktop/images/11012025/18/41/image_11012025_18_41_02_809641_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/40/image_11012025_18_40_02_618220_0003.jpg
/home/pi/Desktop/images/11012025/18/41/image_11012025_18_41_02_809641_0000.jpg
/home/pi/Desktop/images/11012025/18/41/image_11012025_18_41_02_809641_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328226371","1328226373","1328226367"],"photo_ids_order":["1328226367","1328226371","1328226373"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dce1167f1111cd4183db8a52d155e567.jpg","text":"TemporaryFile(/tmp/multipartBody3634168495983584041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617350578,"filename":"image_11012025_18_41_02_809641_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/997b696103009f316b10b26f3351b38d.jpg","text":"TemporaryFile(/tmp/multipartBody628074300886997516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617350578,"filename":"image_11012025_18_41_02_809641_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/21d6c0f28296b94c10c00ab267cc039d.jpg","text":"TemporaryFile(/tmp/multipartBody4326628020322657799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617350578,"filename":"image_11012025_18_40_02_618220_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328226373","file1":"1328226371","file0":"1328226367"},"map_files_photo_id_array":[{"photo_id":"1328226373","filename":"file2"},{"photo_id":"1328226371","filename":"file1"},{"photo_id":"1328226367","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328226371":["hashtag1","hashtag2"]},{"1328226373":["hashtag1","hashtag2"]},{"1328226367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328226371, 1328226373, 1328226367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.439598083496094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:42:02.294711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:42:21.900398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/41/image_11012025_18_41_02_809641_0003.jpg', '/home/pi/Desktop/images/11012025/18/42/image_11012025_18_42_03_152891_0000.jpg', '/home/pi/Desktop/images/11012025/18/42/image_11012025_18_42_03_152891_0001.jpg', '/home/pi/Desktop/images/11012025/18/42/image_11012025_18_42_03_152891_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/41/image_11012025_18_41_02_809641_0003.jpg
/home/pi/Desktop/images/11012025/18/42/image_11012025_18_42_03_152891_0000.jpg
/home/pi/Desktop/images/11012025/18/42/image_11012025_18_42_03_152891_0001.jpg
/home/pi/Desktop/images/11012025/18/42/image_11012025_18_42_03_152891_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328226418","1328226403","1328226389","1328226385"],"photo_ids_order":["1328226385","1328226389","1328226403","1328226418"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4e166958391fdb90ac88ea464412b13e.jpg","text":"TemporaryFile(/tmp/multipartBody170463130694738018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617412245,"filename":"image_11012025_18_42_03_152891_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d4490a1829110a48a7dd7029f48fb228.jpg","text":"TemporaryFile(/tmp/multipartBody5643848302626721813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617412245,"filename":"image_11012025_18_42_03_152891_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/05f78add3cc7df3dcfc7f39e5bcbc098.jpg","text":"TemporaryFile(/tmp/multipartBody434090924063850474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617412245,"filename":"image_11012025_18_42_03_152891_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c529a03c1714e15e6a362b6d82c11c6b.jpg","text":"TemporaryFile(/tmp/multipartBody7083148576635306999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617412245,"filename":"image_11012025_18_41_02_809641_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328226403","file1":"1328226389","file0":"1328226385","file3":"1328226418"},"map_files_photo_id_array":[{"photo_id":"1328226403","filename":"file2"},{"photo_id":"1328226389","filename":"file1"},{"photo_id":"1328226385","filename":"file0"},{"photo_id":"1328226418","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328226418":["hashtag1","hashtag2"]},{"1328226403":["hashtag1","hashtag2"]},{"1328226389":["hashtag1","hashtag2"]},{"1328226385":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328226418, 1328226403, 1328226389, 1328226385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.22438430786133 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:43:02.795845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:43:22.091382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/42/image_11012025_18_42_03_152891_0003.jpg', '/home/pi/Desktop/images/11012025/18/43/image_11012025_18_43_02_236105_0000.jpg', '/home/pi/Desktop/images/11012025/18/43/image_11012025_18_43_02_236105_0001.jpg', '/home/pi/Desktop/images/11012025/18/43/image_11012025_18_43_02_236105_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/42/image_11012025_18_42_03_152891_0003.jpg
/home/pi/Desktop/images/11012025/18/43/image_11012025_18_43_02_236105_0000.jpg
/home/pi/Desktop/images/11012025/18/43/image_11012025_18_43_02_236105_0001.jpg
/home/pi/Desktop/images/11012025/18/43/image_11012025_18_43_02_236105_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328226436","1328226430","1328226432","1328226440"],"photo_ids_order":["1328226430","1328226432","1328226436","1328226440"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/add7fef0bf897c40719b7ee0db0c5a10.jpg","text":"TemporaryFile(/tmp/multipartBody2694677853235931027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617472252,"filename":"image_11012025_18_43_02_236105_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c0dbacecd1756396851e9536f6f78ee8.jpg","text":"TemporaryFile(/tmp/multipartBody6974686206868970524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617472252,"filename":"image_11012025_18_42_03_152891_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6409086bfa1205f0044ed80eb406656a.jpg","text":"TemporaryFile(/tmp/multipartBody856872746575138208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617472252,"filename":"image_11012025_18_43_02_236105_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1a7bee515babcdbef90bb7ce2f5923df.jpg","text":"TemporaryFile(/tmp/multipartBody5661199496762101736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617472252,"filename":"image_11012025_18_43_02_236105_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328226436","file1":"1328226432","file0":"1328226430","file3":"1328226440"},"map_files_photo_id_array":[{"photo_id":"1328226436","filename":"file2"},{"photo_id":"1328226432","filename":"file1"},{"photo_id":"1328226430","filename":"file0"},{"photo_id":"1328226440","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328226436":["hashtag1","hashtag2"]},{"1328226430":["hashtag1","hashtag2"]},{"1328226432":["hashtag1","hashtag2"]},{"1328226440":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328226436, 1328226430, 1328226432, 1328226440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.52230167388916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:44:22.222064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/43/image_11012025_18_43_02_236105_0003.jpg', '/home/pi/Desktop/images/11012025/18/44/image_11012025_18_44_02_392170_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/43/image_11012025_18_43_02_236105_0003.jpg
/home/pi/Desktop/images/11012025/18/44/image_11012025_18_44_02_392170_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":["1328226461","1328226464"],"photo_ids_order":["1328226461","1328226464"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9bf237aeb9edffb14193885464cb7ca9.jpg","text":"TemporaryFile(/tmp/multipartBody7678679165910888236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617527652,"filename":"image_11012025_18_43_02_236105_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bd6365177a958e158fd0ef01ddf609a5.jpg","text":"TemporaryFile(/tmp/multipartBody5737638377377655610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617527652,"filename":"image_11012025_18_44_02_392170_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328226464","file0":"1328226461"},"map_files_photo_id_array":[{"photo_id":"1328226464","filename":"file1"},{"photo_id":"1328226461","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328226461":["hashtag1","hashtag2"]},{"1328226464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328226461, 1328226464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.75175189971924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 18:44:52.206584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:45:02.881236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:45:22.405193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/44/image_11012025_18_44_02_392170_0003.jpg', '/home/pi/Desktop/images/11012025/18/45/image_11012025_18_45_02_536761_0000.jpg', '/home/pi/Desktop/images/11012025/18/45/image_11012025_18_45_02_536761_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/44/image_11012025_18_44_02_392170_0003.jpg
/home/pi/Desktop/images/11012025/18/45/image_11012025_18_45_02_536761_0000.jpg
/home/pi/Desktop/images/11012025/18/45/image_11012025_18_45_02_536761_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":["1328226495","1328226498","1328226500"],"photo_ids_order":["1328226495","1328226498","1328226500"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cb95834213b986da2a3fe0fb236d9e98.jpg","text":"TemporaryFile(/tmp/multipartBody1430545909473728271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617590107,"filename":"image_11012025_18_44_02_392170_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d9c1c733c63ce73ff91758cdb81751b7.jpg","text":"TemporaryFile(/tmp/multipartBody5581692424014078083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617590107,"filename":"image_11012025_18_45_02_536761_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c971646c1360d0787fbbaa530e8f04f.jpg","text":"TemporaryFile(/tmp/multipartBody3018326995070747089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617590107,"filename":"image_11012025_18_45_02_536761_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328226500","file1":"1328226498","file0":"1328226495"},"map_files_photo_id_array":[{"photo_id":"1328226500","filename":"file2"},{"photo_id":"1328226498","filename":"file1"},{"photo_id":"1328226495","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328226495":["hashtag1","hashtag2"]},{"1328226498":["hashtag1","hashtag2"]},{"1328226500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328226495, 1328226498, 1328226500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.753199100494385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:46:03.096012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:46:22.654414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/45/image_11012025_18_45_02_536761_0002.jpg', '/home/pi/Desktop/images/11012025/18/46/image_11012025_18_46_02_761317_0001.jpg', '/home/pi/Desktop/images/11012025/18/46/image_11012025_18_46_02_761317_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/45/image_11012025_18_45_02_536761_0002.jpg
/home/pi/Desktop/images/11012025/18/46/image_11012025_18_46_02_761317_0001.jpg
/home/pi/Desktop/images/11012025/18/46/image_11012025_18_46_02_761317_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328226832","1328226769","1328226838"],"photo_ids_order":["1328226769","1328226832","1328226838"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/86b655fe638c74cdf14a2613a439158f.jpg","text":"TemporaryFile(/tmp/multipartBody7835532315326785302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617650385,"filename":"image_11012025_18_46_02_761317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bb6bd38c0142461dba8b25271c18f5bf.jpg","text":"TemporaryFile(/tmp/multipartBody424232159988057393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617650385,"filename":"image_11012025_18_45_02_536761_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8b9c61919ddec5f4364dc69d902250d7.jpg","text":"TemporaryFile(/tmp/multipartBody5905836713217685996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617650385,"filename":"image_11012025_18_46_02_761317_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328226838","file1":"1328226832","file0":"1328226769"},"map_files_photo_id_array":[{"photo_id":"1328226838","filename":"file2"},{"photo_id":"1328226832","filename":"file1"},{"photo_id":"1328226769","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328226832":["hashtag1","hashtag2"]},{"1328226769":["hashtag1","hashtag2"]},{"1328226838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328226832, 1328226769, 1328226838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.33666443824768 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:47:02.419668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:47:21.825136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/46/image_11012025_18_46_02_761317_0003.jpg', '/home/pi/Desktop/images/11012025/18/47/image_11012025_18_47_03_004776_0000.jpg', '/home/pi/Desktop/images/11012025/18/47/image_11012025_18_47_03_004776_0001.jpg', '/home/pi/Desktop/images/11012025/18/47/image_11012025_18_47_03_004776_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/46/image_11012025_18_46_02_761317_0003.jpg
/home/pi/Desktop/images/11012025/18/47/image_11012025_18_47_03_004776_0000.jpg
/home/pi/Desktop/images/11012025/18/47/image_11012025_18_47_03_004776_0001.jpg
/home/pi/Desktop/images/11012025/18/47/image_11012025_18_47_03_004776_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328227467","1328227475","1328227471","1328227464"],"photo_ids_order":["1328227464","1328227467","1328227471","1328227475"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/baa328a99bd709770b589a411c562ed5.jpg","text":"TemporaryFile(/tmp/multipartBody1396731223193628413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617711991,"filename":"image_11012025_18_47_03_004776_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9496ff2108da44f7e20d61fea0c965c6.jpg","text":"TemporaryFile(/tmp/multipartBody5968461273604215189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617711991,"filename":"image_11012025_18_47_03_004776_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bdb474f5f993cf0276d8677a24fd03e2.jpg","text":"TemporaryFile(/tmp/multipartBody5723010367632130023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617711991,"filename":"image_11012025_18_47_03_004776_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/88f22a11ffb88e457955dc32e782e68a.jpg","text":"TemporaryFile(/tmp/multipartBody7343391307680684181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617711991,"filename":"image_11012025_18_46_02_761317_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328227471","file1":"1328227467","file0":"1328227464","file3":"1328227475"},"map_files_photo_id_array":[{"photo_id":"1328227471","filename":"file2"},{"photo_id":"1328227467","filename":"file1"},{"photo_id":"1328227464","filename":"file0"},{"photo_id":"1328227475","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328227467":["hashtag1","hashtag2"]},{"1328227475":["hashtag1","hashtag2"]},{"1328227471":["hashtag1","hashtag2"]},{"1328227464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328227467, 1328227475, 1328227471, 1328227464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.214744329452515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:48:02.540960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:48:22.029557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/47/image_11012025_18_47_03_004776_0003.jpg', '/home/pi/Desktop/images/11012025/18/48/image_11012025_18_48_02_165610_0000.jpg', '/home/pi/Desktop/images/11012025/18/48/image_11012025_18_48_02_165610_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/47/image_11012025_18_47_03_004776_0003.jpg
/home/pi/Desktop/images/11012025/18/48/image_11012025_18_48_02_165610_0000.jpg
/home/pi/Desktop/images/11012025/18/48/image_11012025_18_48_02_165610_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.2649900913238525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 18:48:32.081375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/47/image_11012025_18_47_03_004776_0003.jpg', '/home/pi/Desktop/images/11012025/18/48/image_11012025_18_48_02_165610_0000.jpg', '/home/pi/Desktop/images/11012025/18/48/image_11012025_18_48_02_165610_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/47/image_11012025_18_47_03_004776_0003.jpg
/home/pi/Desktop/images/11012025/18/48/image_11012025_18_48_02_165610_0000.jpg
/home/pi/Desktop/images/11012025/18/48/image_11012025_18_48_02_165610_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":["1328227952","1328227942","1328227915"],"photo_ids_order":["1328227915","1328227942","1328227952"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c3c72edc61bf7dae7d7b9cb97fe5da23.jpg","text":"TemporaryFile(/tmp/multipartBody4980258645897268435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617779750,"filename":"image_11012025_18_48_02_165610_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e9b760c36c2b30a72ae5ee7a73fd53f2.jpg","text":"TemporaryFile(/tmp/multipartBody7177325030858252377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617779750,"filename":"image_11012025_18_48_02_165610_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3ed0b5246774e653142b3365fe3e926a.jpg","text":"TemporaryFile(/tmp/multipartBody1445643747682920639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617779750,"filename":"image_11012025_18_47_03_004776_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328227952","file1":"1328227942","file0":"1328227915"},"map_files_photo_id_array":[{"photo_id":"1328227952","filename":"file2"},{"photo_id":"1328227942","filename":"file1"},{"photo_id":"1328227915","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328227952":["hashtag1","hashtag2"]},{"1328227942":["hashtag1","hashtag2"]},{"1328227915":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328227952, 1328227942, 1328227915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.891352891921997 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:49:22.262632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/48/image_11012025_18_48_02_165610_0002.jpg', '/home/pi/Desktop/images/11012025/18/49/image_11012025_18_49_02_411393_0000.jpg', '/home/pi/Desktop/images/11012025/18/49/image_11012025_18_49_02_411393_0001.jpg', '/home/pi/Desktop/images/11012025/18/49/image_11012025_18_49_02_411393_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/48/image_11012025_18_48_02_165610_0002.jpg
/home/pi/Desktop/images/11012025/18/49/image_11012025_18_49_02_411393_0000.jpg
/home/pi/Desktop/images/11012025/18/49/image_11012025_18_49_02_411393_0001.jpg
/home/pi/Desktop/images/11012025/18/49/image_11012025_18_49_02_411393_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328228159","1328228161","1328228166","1328228163"],"photo_ids_order":["1328228159","1328228161","1328228163","1328228166"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7af4367ce9ce317434c6ca07f9cfce08.jpg","text":"TemporaryFile(/tmp/multipartBody7726233002010698591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617832299,"filename":"image_11012025_18_48_02_165610_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9035cd6dfc3650e8614455337a15dca7.jpg","text":"TemporaryFile(/tmp/multipartBody639516632239187737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617832299,"filename":"image_11012025_18_49_02_411393_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/11e197ff858904e70af105e49c634590.jpg","text":"TemporaryFile(/tmp/multipartBody3081056717208725889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617832299,"filename":"image_11012025_18_49_02_411393_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6fafed2659bc5c6f9b370494361d2e40.jpg","text":"TemporaryFile(/tmp/multipartBody1430265814180821072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617832299,"filename":"image_11012025_18_49_02_411393_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328228163","file1":"1328228161","file0":"1328228159","file3":"1328228166"},"map_files_photo_id_array":[{"photo_id":"1328228163","filename":"file2"},{"photo_id":"1328228161","filename":"file1"},{"photo_id":"1328228159","filename":"file0"},{"photo_id":"1328228166","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328228159":["hashtag1","hashtag2"]},{"1328228161":["hashtag1","hashtag2"]},{"1328228166":["hashtag1","hashtag2"]},{"1328228163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328228159, 1328228161, 1328228166, 1328228163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.83228540420532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:50:02.883998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:50:22.468855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/49/image_11012025_18_49_02_411393_0003.jpg', '/home/pi/Desktop/images/11012025/18/50/image_11012025_18_50_02_589755_0000.jpg', '/home/pi/Desktop/images/11012025/18/50/image_11012025_18_50_02_589755_0001.jpg', '/home/pi/Desktop/images/11012025/18/50/image_11012025_18_50_02_589755_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/49/image_11012025_18_49_02_411393_0003.jpg
/home/pi/Desktop/images/11012025/18/50/image_11012025_18_50_02_589755_0000.jpg
/home/pi/Desktop/images/11012025/18/50/image_11012025_18_50_02_589755_0001.jpg
/home/pi/Desktop/images/11012025/18/50/image_11012025_18_50_02_589755_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328228337","1328228330","1328228333","1328228335"],"photo_ids_order":["1328228330","1328228333","1328228335","1328228337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/96647eed526544cddaac95c407c06453.jpg","text":"TemporaryFile(/tmp/multipartBody2141876930176038547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617892492,"filename":"image_11012025_18_50_02_589755_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/da4cecb519b21b13ca65b05a94cc4be3.jpg","text":"TemporaryFile(/tmp/multipartBody2189806453719457453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617892492,"filename":"image_11012025_18_49_02_411393_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cca185960604ae56d0019d01970b81b6.jpg","text":"TemporaryFile(/tmp/multipartBody5068463974012696345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617892492,"filename":"image_11012025_18_50_02_589755_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/73ed7a4d617855b33477f66ec524148d.jpg","text":"TemporaryFile(/tmp/multipartBody1291286645149663259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617892492,"filename":"image_11012025_18_50_02_589755_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328228335","file1":"1328228333","file0":"1328228330","file3":"1328228337"},"map_files_photo_id_array":[{"photo_id":"1328228335","filename":"file2"},{"photo_id":"1328228333","filename":"file1"},{"photo_id":"1328228330","filename":"file0"},{"photo_id":"1328228337","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328228337":["hashtag1","hashtag2"]},{"1328228330":["hashtag1","hashtag2"]},{"1328228333":["hashtag1","hashtag2"]},{"1328228335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328228337, 1328228330, 1328228333, 1328228335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.927231550216675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:51:22.710674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/50/image_11012025_18_50_02_589755_0003.jpg', '/home/pi/Desktop/images/11012025/18/51/image_11012025_18_51_02_857243_0000.jpg', '/home/pi/Desktop/images/11012025/18/51/image_11012025_18_51_02_857243_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/50/image_11012025_18_50_02_589755_0003.jpg
/home/pi/Desktop/images/11012025/18/51/image_11012025_18_51_02_857243_0000.jpg
/home/pi/Desktop/images/11012025/18/51/image_11012025_18_51_02_857243_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":["1328228381","1328228380","1328228377"],"photo_ids_order":["1328228377","1328228380","1328228381"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/acbbdf6de07f37cbd9757daa1ff20b2b.jpg","text":"TemporaryFile(/tmp/multipartBody3641162390053182331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617950383,"filename":"image_11012025_18_51_02_857243_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/877afd863f4c3000cb36b3ef6621c7dd.jpg","text":"TemporaryFile(/tmp/multipartBody4567873085657229407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617950383,"filename":"image_11012025_18_51_02_857243_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a49fd79c13752d0fa03c731128102865.jpg","text":"TemporaryFile(/tmp/multipartBody6056215137173882213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736617950383,"filename":"image_11012025_18_50_02_589755_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328228381","file1":"1328228380","file0":"1328228377"},"map_files_photo_id_array":[{"photo_id":"1328228381","filename":"file2"},{"photo_id":"1328228380","filename":"file1"},{"photo_id":"1328228377","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328228381":["hashtag1","hashtag2"]},{"1328228380":["hashtag1","hashtag2"]},{"1328228377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328228381, 1328228380, 1328228377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.209843158721924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:52:03.236276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:52:22.840224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/51/image_11012025_18_51_02_857243_0003.jpg', '/home/pi/Desktop/images/11012025/18/52/image_11012025_18_52_03_042650_0000.jpg', '/home/pi/Desktop/images/11012025/18/52/image_11012025_18_52_03_042650_0001.jpg', '/home/pi/Desktop/images/11012025/18/52/image_11012025_18_52_03_042650_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/51/image_11012025_18_51_02_857243_0003.jpg
/home/pi/Desktop/images/11012025/18/52/image_11012025_18_52_03_042650_0000.jpg
/home/pi/Desktop/images/11012025/18/52/image_11012025_18_52_03_042650_0001.jpg
/home/pi/Desktop/images/11012025/18/52/image_11012025_18_52_03_042650_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328228418","1328228420","1328228449","1328228416"],"photo_ids_order":["1328228416","1328228418","1328228420","1328228449"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8d0ccb6ff81f79dc7f34b1d08693f16d.jpg","text":"TemporaryFile(/tmp/multipartBody8158934200952377084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618012847,"filename":"image_11012025_18_52_03_042650_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/710989bacfdcca17f4f4933082f4ed41.jpg","text":"TemporaryFile(/tmp/multipartBody2325292545649461870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618012847,"filename":"image_11012025_18_52_03_042650_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/be85e1015e85b24856e0229c5cb4a6a3.jpg","text":"TemporaryFile(/tmp/multipartBody957395590956003092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618012847,"filename":"image_11012025_18_52_03_042650_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/40aae6d52c60be316e5f3197f7eb8682.jpg","text":"TemporaryFile(/tmp/multipartBody8049903802261087025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618012847,"filename":"image_11012025_18_51_02_857243_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328228420","file1":"1328228418","file0":"1328228416","file3":"1328228449"},"map_files_photo_id_array":[{"photo_id":"1328228420","filename":"file2"},{"photo_id":"1328228418","filename":"file1"},{"photo_id":"1328228416","filename":"file0"},{"photo_id":"1328228449","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328228418":["hashtag1","hashtag2"]},{"1328228420":["hashtag1","hashtag2"]},{"1328228449":["hashtag1","hashtag2"]},{"1328228416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328228418, 1328228420, 1328228449, 1328228416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.55760169029236 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-11 18:53:21.972619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/52/image_11012025_18_52_03_042650_0003.jpg', '/home/pi/Desktop/images/11012025/18/53/image_11012025_18_53_03_154961_0000.jpg', '/home/pi/Desktop/images/11012025/18/53/image_11012025_18_53_03_154961_0001.jpg', '/home/pi/Desktop/images/11012025/18/53/image_11012025_18_53_03_154961_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/52/image_11012025_18_52_03_042650_0003.jpg
/home/pi/Desktop/images/11012025/18/53/image_11012025_18_53_03_154961_0000.jpg
/home/pi/Desktop/images/11012025/18/53/image_11012025_18_53_03_154961_0001.jpg
/home/pi/Desktop/images/11012025/18/53/image_11012025_18_53_03_154961_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328228486","1328228489","1328228485","1328228484"],"photo_ids_order":["1328228484","1328228485","1328228486","1328228489"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d20d36985156fe65b8895168c615653b.jpg","text":"TemporaryFile(/tmp/multipartBody6545561206774239315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618072094,"filename":"image_11012025_18_53_03_154961_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1e0714d4b08aefddb25ea6c89323bcdb.jpg","text":"TemporaryFile(/tmp/multipartBody1489197585076629261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618072094,"filename":"image_11012025_18_53_03_154961_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/645ca48a4ff87922cfca491841507780.jpg","text":"TemporaryFile(/tmp/multipartBody7568111432070599333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618072094,"filename":"image_11012025_18_53_03_154961_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/29578571a253948ed566f1c1be0130f5.jpg","text":"TemporaryFile(/tmp/multipartBody3891796680247166770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618072094,"filename":"image_11012025_18_52_03_042650_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328228486","file1":"1328228485","file0":"1328228484","file3":"1328228489"},"map_files_photo_id_array":[{"photo_id":"1328228486","filename":"file2"},{"photo_id":"1328228485","filename":"file1"},{"photo_id":"1328228484","filename":"file0"},{"photo_id":"1328228489","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328228486":["hashtag1","hashtag2"]},{"1328228489":["hashtag1","hashtag2"]},{"1328228485":["hashtag1","hashtag2"]},{"1328228484":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328228486, 1328228489, 1328228485, 1328228484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.232341289520264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:54:02.441153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:54:22.041665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/53/image_11012025_18_53_03_154961_0003.jpg', '/home/pi/Desktop/images/11012025/18/54/image_11012025_18_54_02_341482_0000.jpg', '/home/pi/Desktop/images/11012025/18/54/image_11012025_18_54_02_341482_0001.jpg', '/home/pi/Desktop/images/11012025/18/54/image_11012025_18_54_02_341482_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/53/image_11012025_18_53_03_154961_0003.jpg
/home/pi/Desktop/images/11012025/18/54/image_11012025_18_54_02_341482_0000.jpg
/home/pi/Desktop/images/11012025/18/54/image_11012025_18_54_02_341482_0001.jpg
/home/pi/Desktop/images/11012025/18/54/image_11012025_18_54_02_341482_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328228505","1328228510","1328228507","1328228501"],"photo_ids_order":["1328228501","1328228505","1328228507","1328228510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f4a32b89389afeefff878c95a4067951.jpg","text":"TemporaryFile(/tmp/multipartBody1025810763710853293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618132224,"filename":"image_11012025_18_54_02_341482_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/396c3a3d08f38682ba0ed6beee58da2b.jpg","text":"TemporaryFile(/tmp/multipartBody8772425150678016434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618132224,"filename":"image_11012025_18_54_02_341482_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5698083d0258b79ca3c78dcfddd8449a.jpg","text":"TemporaryFile(/tmp/multipartBody8922673355382961415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618132224,"filename":"image_11012025_18_54_02_341482_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/724c53f66bd52405b1e848949eba8462.jpg","text":"TemporaryFile(/tmp/multipartBody2592656616869547813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618132224,"filename":"image_11012025_18_53_03_154961_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328228507","file1":"1328228505","file0":"1328228501","file3":"1328228510"},"map_files_photo_id_array":[{"photo_id":"1328228507","filename":"file2"},{"photo_id":"1328228505","filename":"file1"},{"photo_id":"1328228501","filename":"file0"},{"photo_id":"1328228510","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328228505":["hashtag1","hashtag2"]},{"1328228510":["hashtag1","hashtag2"]},{"1328228507":["hashtag1","hashtag2"]},{"1328228501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328228505, 1328228510, 1328228507, 1328228501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.35845899581909 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:55:02.856936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:55:22.217035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/54/image_11012025_18_54_02_341482_0003.jpg', '/home/pi/Desktop/images/11012025/18/55/image_11012025_18_55_02_481835_0000.jpg', '/home/pi/Desktop/images/11012025/18/55/image_11012025_18_55_02_481835_0001.jpg', '/home/pi/Desktop/images/11012025/18/55/image_11012025_18_55_02_481835_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/54/image_11012025_18_54_02_341482_0003.jpg
/home/pi/Desktop/images/11012025/18/55/image_11012025_18_55_02_481835_0000.jpg
/home/pi/Desktop/images/11012025/18/55/image_11012025_18_55_02_481835_0001.jpg
/home/pi/Desktop/images/11012025/18/55/image_11012025_18_55_02_481835_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328228552","1328228549","1328228556","1328228547"],"photo_ids_order":["1328228547","1328228549","1328228552","1328228556"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/faa082f0e51616de93c0cb01fa7261a9.jpg","text":"TemporaryFile(/tmp/multipartBody9208239870100018988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618192390,"filename":"image_11012025_18_55_02_481835_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6f7c10f678416f414a60198b919d240a.jpg","text":"TemporaryFile(/tmp/multipartBody4952338246069100593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618192390,"filename":"image_11012025_18_55_02_481835_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1c3919a67830bb8f6dfcdcbb9748fc2b.jpg","text":"TemporaryFile(/tmp/multipartBody8377020218885683403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618192390,"filename":"image_11012025_18_55_02_481835_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dc18f975f7c703ae3582e095ca041f73.jpg","text":"TemporaryFile(/tmp/multipartBody1487662015387991847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618192390,"filename":"image_11012025_18_54_02_341482_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328228552","file1":"1328228549","file0":"1328228547","file3":"1328228556"},"map_files_photo_id_array":[{"photo_id":"1328228552","filename":"file2"},{"photo_id":"1328228549","filename":"file1"},{"photo_id":"1328228547","filename":"file0"},{"photo_id":"1328228556","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328228552":["hashtag1","hashtag2"]},{"1328228549":["hashtag1","hashtag2"]},{"1328228556":["hashtag1","hashtag2"]},{"1328228547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328228552, 1328228549, 1328228556, 1328228547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.88966369628906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:56:22.394548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/55/image_11012025_18_55_02_481835_0003.jpg', '/home/pi/Desktop/images/11012025/18/56/image_11012025_18_56_02_626984_0000.jpg', '/home/pi/Desktop/images/11012025/18/56/image_11012025_18_56_02_626984_0001.jpg', '/home/pi/Desktop/images/11012025/18/56/image_11012025_18_56_02_626984_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/55/image_11012025_18_55_02_481835_0003.jpg
/home/pi/Desktop/images/11012025/18/56/image_11012025_18_56_02_626984_0000.jpg
/home/pi/Desktop/images/11012025/18/56/image_11012025_18_56_02_626984_0001.jpg
/home/pi/Desktop/images/11012025/18/56/image_11012025_18_56_02_626984_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328228727","1328228715","1328228713","1328228716"],"photo_ids_order":["1328228713","1328228715","1328228716","1328228727"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2889bf12bf0c8b6ee8215341b811f47a.jpg","text":"TemporaryFile(/tmp/multipartBody1458167186478665918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618252469,"filename":"image_11012025_18_56_02_626984_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5da6f803b29ee9a6354ad3a5be58f604.jpg","text":"TemporaryFile(/tmp/multipartBody8070361322386979619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618252469,"filename":"image_11012025_18_56_02_626984_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/883d2682955e731635b87e4c81e7455b.jpg","text":"TemporaryFile(/tmp/multipartBody7657323115231110990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618252469,"filename":"image_11012025_18_55_02_481835_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ad1f15f8bdd7bbf0a284a420f9da484b.jpg","text":"TemporaryFile(/tmp/multipartBody8342537927884766250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618252469,"filename":"image_11012025_18_56_02_626984_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328228716","file1":"1328228715","file0":"1328228713","file3":"1328228727"},"map_files_photo_id_array":[{"photo_id":"1328228716","filename":"file2"},{"photo_id":"1328228715","filename":"file1"},{"photo_id":"1328228713","filename":"file0"},{"photo_id":"1328228727","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328228727":["hashtag1","hashtag2"]},{"1328228715":["hashtag1","hashtag2"]},{"1328228713":["hashtag1","hashtag2"]},{"1328228716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328228727, 1328228715, 1328228713, 1328228716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.58262038230896 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-11 18:57:22.617906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/56/image_11012025_18_56_02_626984_0003.jpg', '/home/pi/Desktop/images/11012025/18/57/image_11012025_18_57_02_843104_0000.jpg', '/home/pi/Desktop/images/11012025/18/57/image_11012025_18_57_02_843104_0001.jpg', '/home/pi/Desktop/images/11012025/18/57/image_11012025_18_57_02_843104_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/56/image_11012025_18_56_02_626984_0003.jpg
/home/pi/Desktop/images/11012025/18/57/image_11012025_18_57_02_843104_0000.jpg
/home/pi/Desktop/images/11012025/18/57/image_11012025_18_57_02_843104_0001.jpg
/home/pi/Desktop/images/11012025/18/57/image_11012025_18_57_02_843104_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328228765","1328228741","1328228767","1328228748"],"photo_ids_order":["1328228741","1328228748","1328228765","1328228767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9a949a05586ded73b06621455920fe9d.jpg","text":"TemporaryFile(/tmp/multipartBody518015756511530690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618312743,"filename":"image_11012025_18_57_02_843104_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/19daae621a4a78fc49452fd968cfe994.jpg","text":"TemporaryFile(/tmp/multipartBody3821062662339064656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618312743,"filename":"image_11012025_18_56_02_626984_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d94eb4ade7d003bdf7c00c9d743af0b8.jpg","text":"TemporaryFile(/tmp/multipartBody3241832821032531742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618312743,"filename":"image_11012025_18_57_02_843104_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4fde6248029d47338dfc5aa6bc1237f0.jpg","text":"TemporaryFile(/tmp/multipartBody876290102354645812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618312743,"filename":"image_11012025_18_57_02_843104_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328228765","file1":"1328228748","file0":"1328228741","file3":"1328228767"},"map_files_photo_id_array":[{"photo_id":"1328228765","filename":"file2"},{"photo_id":"1328228748","filename":"file1"},{"photo_id":"1328228741","filename":"file0"},{"photo_id":"1328228767","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328228765":["hashtag1","hashtag2"]},{"1328228741":["hashtag1","hashtag2"]},{"1328228767":["hashtag1","hashtag2"]},{"1328228748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328228765, 1328228741, 1328228767, 1328228748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.86013889312744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 18:59:02.398826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 18:59:21.884797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/57/image_11012025_18_57_02_843104_0003.jpg', '/home/pi/Desktop/images/11012025/18/58/image_11012025_18_58_02_909546_0001.jpg', '/home/pi/Desktop/images/11012025/18/58/image_11012025_18_58_02_909546_0002.jpg', '/home/pi/Desktop/images/11012025/18/58/image_11012025_18_58_02_909546_0003.jpg', '/home/pi/Desktop/images/11012025/18/59/image_11012025_18_59_03_027887_0000.jpg', '/home/pi/Desktop/images/11012025/18/59/image_11012025_18_59_03_027887_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/57/image_11012025_18_57_02_843104_0003.jpg
/home/pi/Desktop/images/11012025/18/58/image_11012025_18_58_02_909546_0001.jpg
/home/pi/Desktop/images/11012025/18/58/image_11012025_18_58_02_909546_0002.jpg
/home/pi/Desktop/images/11012025/18/58/image_11012025_18_58_02_909546_0003.jpg
/home/pi/Desktop/images/11012025/18/59/image_11012025_18_59_03_027887_0000.jpg
/home/pi/Desktop/images/11012025/18/59/image_11012025_18_59_03_027887_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":["1328228834","1328228828","1328228813","1328228812","1328228823","1328228817"],"photo_ids_order":["1328228812","1328228813","1328228817","1328228823","1328228828","1328228834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f4a8480f216a5c6dbb969f6ccca34766.jpg","text":"TemporaryFile(/tmp/multipartBody6488956477941093184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618436712,"filename":"image_11012025_18_59_03_027887_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a4113bbe974cf411a4a3220898aebbc3.jpg","text":"TemporaryFile(/tmp/multipartBody7850399287220531668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618436712,"filename":"image_11012025_18_59_03_027887_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cc56496458a29650f487ccbfce8c63b1.jpg","text":"TemporaryFile(/tmp/multipartBody8286394904769243908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618436712,"filename":"image_11012025_18_58_02_909546_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/293ae36c8b4eecadb103b5fbf84baef3.jpg","text":"TemporaryFile(/tmp/multipartBody9020550605213012642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618436712,"filename":"image_11012025_18_57_02_843104_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c9cdffd700c402df512184b458378db.jpg","text":"TemporaryFile(/tmp/multipartBody9221776465319648195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618436712,"filename":"image_11012025_18_58_02_909546_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b0f89501af65940c43a210f4bb9ea2c9.jpg","text":"TemporaryFile(/tmp/multipartBody4038682522028503144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618436712,"filename":"image_11012025_18_58_02_909546_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328228817","file1":"1328228813","file0":"1328228812","file4":"1328228828","file5":"1328228834","file3":"1328228823"},"map_files_photo_id_array":[{"photo_id":"1328228834","filename":"file5"},{"photo_id":"1328228817","filename":"file2"},{"photo_id":"1328228828","filename":"file4"},{"photo_id":"1328228813","filename":"file1"},{"photo_id":"1328228812","filename":"file0"},{"photo_id":"1328228823","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328228834":["hashtag1","hashtag2"]},{"1328228828":["hashtag1","hashtag2"]},{"1328228813":["hashtag1","hashtag2"]},{"1328228812":["hashtag1","hashtag2"]},{"1328228823":["hashtag1","hashtag2"]},{"1328228817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328228834, 1328228828, 1328228813, 1328228812, 1328228823, 1328228817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.8359375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:00:22.069761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/59/image_11012025_18_59_03_027887_0002.jpg', '/home/pi/Desktop/images/11012025/18/59/image_11012025_18_59_03_027887_0003.jpg', '/home/pi/Desktop/images/11012025/19/00/image_11012025_19_00_02_233879_0000.jpg', '/home/pi/Desktop/images/11012025/19/00/image_11012025_19_00_02_233879_0001.jpg', '/home/pi/Desktop/images/11012025/19/00/image_11012025_19_00_02_233879_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/18/59/image_11012025_18_59_03_027887_0002.jpg
/home/pi/Desktop/images/11012025/18/59/image_11012025_18_59_03_027887_0003.jpg
/home/pi/Desktop/images/11012025/19/00/image_11012025_19_00_02_233879_0000.jpg
/home/pi/Desktop/images/11012025/19/00/image_11012025_19_00_02_233879_0001.jpg
/home/pi/Desktop/images/11012025/19/00/image_11012025_19_00_02_233879_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328228867","1328228881","1328228884","1328228871","1328228874"],"photo_ids_order":["1328228867","1328228871","1328228874","1328228881","1328228884"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ce4f07c066eb2b6fdd0974c4a3625a12.jpg","text":"TemporaryFile(/tmp/multipartBody7049076203450371679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618494768,"filename":"image_11012025_18_59_03_027887_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fd507bd115edfba9ecc612908d800dd4.jpg","text":"TemporaryFile(/tmp/multipartBody6031307128136959079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618494768,"filename":"image_11012025_19_00_02_233879_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eba5b9e3a9f49002a26688cf392a5372.jpg","text":"TemporaryFile(/tmp/multipartBody8308614494775630695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618494768,"filename":"image_11012025_19_00_02_233879_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e329c5aff0454dc65780ce8577799698.jpg","text":"TemporaryFile(/tmp/multipartBody5959434283486587925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618494768,"filename":"image_11012025_18_59_03_027887_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d74985994c7f8b968b63e20b64b47884.jpg","text":"TemporaryFile(/tmp/multipartBody5291666508383636632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618494768,"filename":"image_11012025_19_00_02_233879_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328228874","file1":"1328228871","file0":"1328228867","file4":"1328228884","file3":"1328228881"},"map_files_photo_id_array":[{"photo_id":"1328228874","filename":"file2"},{"photo_id":"1328228884","filename":"file4"},{"photo_id":"1328228871","filename":"file1"},{"photo_id":"1328228867","filename":"file0"},{"photo_id":"1328228881","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328228867":["hashtag1","hashtag2"]},{"1328228881":["hashtag1","hashtag2"]},{"1328228884":["hashtag1","hashtag2"]},{"1328228871":["hashtag1","hashtag2"]},{"1328228874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328228867, 1328228881, 1328228884, 1328228871, 1328228874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 53.684964179992676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:01:22.203106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/00/image_11012025_19_00_02_233879_0003.jpg', '/home/pi/Desktop/images/11012025/19/01/image_11012025_19_01_02_362105_0000.jpg', '/home/pi/Desktop/images/11012025/19/01/image_11012025_19_01_02_362105_0001.jpg', '/home/pi/Desktop/images/11012025/19/01/image_11012025_19_01_02_362105_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/00/image_11012025_19_00_02_233879_0003.jpg
/home/pi/Desktop/images/11012025/19/01/image_11012025_19_01_02_362105_0000.jpg
/home/pi/Desktop/images/11012025/19/01/image_11012025_19_01_02_362105_0001.jpg
/home/pi/Desktop/images/11012025/19/01/image_11012025_19_01_02_362105_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328229140","1328229134","1328229136","1328229127"],"photo_ids_order":["1328229127","1328229134","1328229136","1328229140"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2205b5fb9e91d952ca7848f11b9c7057.jpg","text":"TemporaryFile(/tmp/multipartBody2212631857961040921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618552363,"filename":"image_11012025_19_01_02_362105_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e6900fe4d31016a78aa3620ef8c6a1c3.jpg","text":"TemporaryFile(/tmp/multipartBody6161104066268136650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618552363,"filename":"image_11012025_19_01_02_362105_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5d8d9f46016e0c9b851b14567744693e.jpg","text":"TemporaryFile(/tmp/multipartBody7849117405930505901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618552363,"filename":"image_11012025_19_01_02_362105_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1019592432d00c9605c1b4303dc4702c.jpg","text":"TemporaryFile(/tmp/multipartBody5203802643315855210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618552363,"filename":"image_11012025_19_00_02_233879_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328229136","file1":"1328229134","file0":"1328229127","file3":"1328229140"},"map_files_photo_id_array":[{"photo_id":"1328229136","filename":"file2"},{"photo_id":"1328229134","filename":"file1"},{"photo_id":"1328229127","filename":"file0"},{"photo_id":"1328229140","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328229140":["hashtag1","hashtag2"]},{"1328229134":["hashtag1","hashtag2"]},{"1328229136":["hashtag1","hashtag2"]},{"1328229127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328229140, 1328229134, 1328229136, 1328229127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.09908580780029 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:02:02.870199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:02:22.362943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/01/image_11012025_19_01_02_362105_0003.jpg', '/home/pi/Desktop/images/11012025/19/02/image_11012025_19_02_02_538469_0000.jpg', '/home/pi/Desktop/images/11012025/19/02/image_11012025_19_02_02_538469_0001.jpg', '/home/pi/Desktop/images/11012025/19/02/image_11012025_19_02_02_538469_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/01/image_11012025_19_01_02_362105_0003.jpg
/home/pi/Desktop/images/11012025/19/02/image_11012025_19_02_02_538469_0000.jpg
/home/pi/Desktop/images/11012025/19/02/image_11012025_19_02_02_538469_0001.jpg
/home/pi/Desktop/images/11012025/19/02/image_11012025_19_02_02_538469_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328229331","1328229334","1328229328","1328229333"],"photo_ids_order":["1328229328","1328229331","1328229333","1328229334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9ad64327494c688de5cc22c8037e4258.jpg","text":"TemporaryFile(/tmp/multipartBody6115852823162446655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618612443,"filename":"image_11012025_19_02_02_538469_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f53e7fb2bf678d3555796bf5e182b9c4.jpg","text":"TemporaryFile(/tmp/multipartBody4060605775837203759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618612443,"filename":"image_11012025_19_02_02_538469_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/602832f55f9aa9029f6fae826840a535.jpg","text":"TemporaryFile(/tmp/multipartBody3144751776405345263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618612443,"filename":"image_11012025_19_01_02_362105_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/de636a6d440c225542e0dbb9cb33c4cc.jpg","text":"TemporaryFile(/tmp/multipartBody1822285182824831356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618612443,"filename":"image_11012025_19_02_02_538469_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328229333","file1":"1328229331","file0":"1328229328","file3":"1328229334"},"map_files_photo_id_array":[{"photo_id":"1328229333","filename":"file2"},{"photo_id":"1328229331","filename":"file1"},{"photo_id":"1328229328","filename":"file0"},{"photo_id":"1328229334","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328229331":["hashtag1","hashtag2"]},{"1328229334":["hashtag1","hashtag2"]},{"1328229328":["hashtag1","hashtag2"]},{"1328229333":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328229331, 1328229334, 1328229328, 1328229333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.30097532272339 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:03:22.564276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/02/image_11012025_19_02_02_538469_0003.jpg', '/home/pi/Desktop/images/11012025/19/03/image_11012025_19_03_02_714299_0000.jpg', '/home/pi/Desktop/images/11012025/19/03/image_11012025_19_03_02_714299_0001.jpg', '/home/pi/Desktop/images/11012025/19/03/image_11012025_19_03_02_714299_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/02/image_11012025_19_02_02_538469_0003.jpg
/home/pi/Desktop/images/11012025/19/03/image_11012025_19_03_02_714299_0000.jpg
/home/pi/Desktop/images/11012025/19/03/image_11012025_19_03_02_714299_0001.jpg
/home/pi/Desktop/images/11012025/19/03/image_11012025_19_03_02_714299_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328229944","1328229923","1328229919","1328229933"],"photo_ids_order":["1328229919","1328229923","1328229933","1328229944"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5efe371998a5825e6e277c28a1f7e326.jpg","text":"TemporaryFile(/tmp/multipartBody2496005429109113886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618672854,"filename":"image_11012025_19_03_02_714299_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/33708194b81dfb3a08f9fc9a5c7e4fdd.jpg","text":"TemporaryFile(/tmp/multipartBody5085163827951596814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618672854,"filename":"image_11012025_19_03_02_714299_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1b43953ba3bdc414198ef0ed4e488149.jpg","text":"TemporaryFile(/tmp/multipartBody1853884300615619208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618672854,"filename":"image_11012025_19_02_02_538469_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f26365b4d638806d1e995b10c6db6b57.jpg","text":"TemporaryFile(/tmp/multipartBody6609786524407739532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618672854,"filename":"image_11012025_19_03_02_714299_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328229933","file1":"1328229923","file0":"1328229919","file3":"1328229944"},"map_files_photo_id_array":[{"photo_id":"1328229933","filename":"file2"},{"photo_id":"1328229923","filename":"file1"},{"photo_id":"1328229919","filename":"file0"},{"photo_id":"1328229944","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328229944":["hashtag1","hashtag2"]},{"1328229923":["hashtag1","hashtag2"]},{"1328229919":["hashtag1","hashtag2"]},{"1328229933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328229944, 1328229923, 1328229919, 1328229933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.05558395385742 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:04:22.708255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/03/image_11012025_19_03_02_714299_0003.jpg', '/home/pi/Desktop/images/11012025/19/04/image_11012025_19_04_02_882594_0000.jpg', '/home/pi/Desktop/images/11012025/19/04/image_11012025_19_04_02_882594_0001.jpg', '/home/pi/Desktop/images/11012025/19/04/image_11012025_19_04_02_882594_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/03/image_11012025_19_03_02_714299_0003.jpg
/home/pi/Desktop/images/11012025/19/04/image_11012025_19_04_02_882594_0000.jpg
/home/pi/Desktop/images/11012025/19/04/image_11012025_19_04_02_882594_0001.jpg
/home/pi/Desktop/images/11012025/19/04/image_11012025_19_04_02_882594_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.877563238143921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 19:04:42.753103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/03/image_11012025_19_03_02_714299_0003.jpg', '/home/pi/Desktop/images/11012025/19/04/image_11012025_19_04_02_882594_0000.jpg', '/home/pi/Desktop/images/11012025/19/04/image_11012025_19_04_02_882594_0001.jpg', '/home/pi/Desktop/images/11012025/19/04/image_11012025_19_04_02_882594_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/03/image_11012025_19_03_02_714299_0003.jpg
/home/pi/Desktop/images/11012025/19/04/image_11012025_19_04_02_882594_0000.jpg
/home/pi/Desktop/images/11012025/19/04/image_11012025_19_04_02_882594_0001.jpg
/home/pi/Desktop/images/11012025/19/04/image_11012025_19_04_02_882594_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328230277","1328230337","1328230331","1328230339"],"photo_ids_order":["1328230277","1328230331","1328230337","1328230339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/02b85aef62e40c818f573864af1939cf.jpg","text":"TemporaryFile(/tmp/multipartBody357199347745827999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618753034,"filename":"image_11012025_19_03_02_714299_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4ee6ad5b10f48943fef340e2af456809.jpg","text":"TemporaryFile(/tmp/multipartBody4707268455947642650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618753034,"filename":"image_11012025_19_04_02_882594_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/90ada0d3494a349d764e22a5136ad3c8.jpg","text":"TemporaryFile(/tmp/multipartBody4871835194424175465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618753034,"filename":"image_11012025_19_04_02_882594_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bd82959149ea17c3e0685626b7f5254b.jpg","text":"TemporaryFile(/tmp/multipartBody1934813042731330200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618753034,"filename":"image_11012025_19_04_02_882594_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328230337","file1":"1328230331","file0":"1328230277","file3":"1328230339"},"map_files_photo_id_array":[{"photo_id":"1328230337","filename":"file2"},{"photo_id":"1328230331","filename":"file1"},{"photo_id":"1328230277","filename":"file0"},{"photo_id":"1328230339","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328230277":["hashtag1","hashtag2"]},{"1328230337":["hashtag1","hashtag2"]},{"1328230331":["hashtag1","hashtag2"]},{"1328230339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328230277, 1328230337, 1328230331, 1328230339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.6395161151886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 19:05:31.877983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/04/image_11012025_19_04_02_882594_0003.jpg', '/home/pi/Desktop/images/11012025/19/05/image_11012025_19_05_03_055014_0000.jpg', '/home/pi/Desktop/images/11012025/19/05/image_11012025_19_05_03_055014_0001.jpg', '/home/pi/Desktop/images/11012025/19/05/image_11012025_19_05_03_055014_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/04/image_11012025_19_04_02_882594_0003.jpg
/home/pi/Desktop/images/11012025/19/05/image_11012025_19_05_03_055014_0000.jpg
/home/pi/Desktop/images/11012025/19/05/image_11012025_19_05_03_055014_0001.jpg
/home/pi/Desktop/images/11012025/19/05/image_11012025_19_05_03_055014_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328230364","1328230360","1328230357","1328230362"],"photo_ids_order":["1328230357","1328230360","1328230362","1328230364"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bcaf704fdde37e70f8e62afd2ddbd798.jpg","text":"TemporaryFile(/tmp/multipartBody1651444239140825751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618802138,"filename":"image_11012025_19_05_03_055014_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c4742c27f4f51a27cccf87aef0434c23.jpg","text":"TemporaryFile(/tmp/multipartBody4930078626379907314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618802138,"filename":"image_11012025_19_05_03_055014_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9719904425bbbd9ad051a12a16ae1a9a.jpg","text":"TemporaryFile(/tmp/multipartBody1075921890171933595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618802138,"filename":"image_11012025_19_04_02_882594_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3b383b4f1769b1e1dcf65861f04491c0.jpg","text":"TemporaryFile(/tmp/multipartBody3628563148346231943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618802138,"filename":"image_11012025_19_05_03_055014_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328230362","file1":"1328230360","file0":"1328230357","file3":"1328230364"},"map_files_photo_id_array":[{"photo_id":"1328230362","filename":"file2"},{"photo_id":"1328230360","filename":"file1"},{"photo_id":"1328230357","filename":"file0"},{"photo_id":"1328230364","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328230364":["hashtag1","hashtag2"]},{"1328230360":["hashtag1","hashtag2"]},{"1328230357":["hashtag1","hashtag2"]},{"1328230362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328230364, 1328230360, 1328230357, 1328230362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.409584045410156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:06:22.057902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/05/image_11012025_19_05_03_055014_0003.jpg', '/home/pi/Desktop/images/11012025/19/06/image_11012025_19_06_02_348669_0000.jpg', '/home/pi/Desktop/images/11012025/19/06/image_11012025_19_06_02_348669_0001.jpg', '/home/pi/Desktop/images/11012025/19/06/image_11012025_19_06_02_348669_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/05/image_11012025_19_05_03_055014_0003.jpg
/home/pi/Desktop/images/11012025/19/06/image_11012025_19_06_02_348669_0000.jpg
/home/pi/Desktop/images/11012025/19/06/image_11012025_19_06_02_348669_0001.jpg
/home/pi/Desktop/images/11012025/19/06/image_11012025_19_06_02_348669_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328230382","1328230379","1328230373","1328230377"],"photo_ids_order":["1328230373","1328230377","1328230379","1328230382"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e26937ad06fab1f80b6be4c4e7bc6bd3.jpg","text":"TemporaryFile(/tmp/multipartBody8337256460146776772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618852298,"filename":"image_11012025_19_06_02_348669_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/caea4c249d9ed4a6dc54d5380985e802.jpg","text":"TemporaryFile(/tmp/multipartBody1587281392630801305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618852298,"filename":"image_11012025_19_06_02_348669_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/795b32312663b440d331306d5b82f7d3.jpg","text":"TemporaryFile(/tmp/multipartBody754246962397171413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618852298,"filename":"image_11012025_19_05_03_055014_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c6d42687150d7312d222a4e232ef196a.jpg","text":"TemporaryFile(/tmp/multipartBody463727787760982669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618852298,"filename":"image_11012025_19_06_02_348669_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328230379","file1":"1328230377","file0":"1328230373","file3":"1328230382"},"map_files_photo_id_array":[{"photo_id":"1328230379","filename":"file2"},{"photo_id":"1328230377","filename":"file1"},{"photo_id":"1328230373","filename":"file0"},{"photo_id":"1328230382","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328230382":["hashtag1","hashtag2"]},{"1328230379":["hashtag1","hashtag2"]},{"1328230373":["hashtag1","hashtag2"]},{"1328230377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328230382, 1328230379, 1328230373, 1328230377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.890090465545654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:07:02.749317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:07:22.153607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/06/image_11012025_19_06_02_348669_0003.jpg', '/home/pi/Desktop/images/11012025/19/07/image_11012025_19_07_02_382416_0000.jpg', '/home/pi/Desktop/images/11012025/19/07/image_11012025_19_07_02_382416_0001.jpg', '/home/pi/Desktop/images/11012025/19/07/image_11012025_19_07_02_382416_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/06/image_11012025_19_06_02_348669_0003.jpg
/home/pi/Desktop/images/11012025/19/07/image_11012025_19_07_02_382416_0000.jpg
/home/pi/Desktop/images/11012025/19/07/image_11012025_19_07_02_382416_0001.jpg
/home/pi/Desktop/images/11012025/19/07/image_11012025_19_07_02_382416_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328230433","1328230440","1328230443","1328230437"],"photo_ids_order":["1328230433","1328230437","1328230440","1328230443"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/02d81f05d35b7065be8ec72ca7575adb.jpg","text":"TemporaryFile(/tmp/multipartBody2329987929667566626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618912262,"filename":"image_11012025_19_06_02_348669_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d6ebe3aa54646631944cbed02c25658b.jpg","text":"TemporaryFile(/tmp/multipartBody3034465762295343440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618912262,"filename":"image_11012025_19_07_02_382416_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a3a025e436d677a2d1fbf5e42f65c679.jpg","text":"TemporaryFile(/tmp/multipartBody1508655736163793749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618912262,"filename":"image_11012025_19_07_02_382416_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9bf0d46dc0058147a420a82828e89264.jpg","text":"TemporaryFile(/tmp/multipartBody3404189091484152957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618912262,"filename":"image_11012025_19_07_02_382416_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328230440","file1":"1328230437","file0":"1328230433","file3":"1328230443"},"map_files_photo_id_array":[{"photo_id":"1328230440","filename":"file2"},{"photo_id":"1328230437","filename":"file1"},{"photo_id":"1328230433","filename":"file0"},{"photo_id":"1328230443","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328230433":["hashtag1","hashtag2"]},{"1328230440":["hashtag1","hashtag2"]},{"1328230443":["hashtag1","hashtag2"]},{"1328230437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328230433, 1328230440, 1328230443, 1328230437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.37820267677307 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:08:02.771122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:08:22.326482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/07/image_11012025_19_07_02_382416_0003.jpg', '/home/pi/Desktop/images/11012025/19/08/image_11012025_19_08_02_482773_0000.jpg', '/home/pi/Desktop/images/11012025/19/08/image_11012025_19_08_02_482773_0001.jpg', '/home/pi/Desktop/images/11012025/19/08/image_11012025_19_08_02_482773_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/07/image_11012025_19_07_02_382416_0003.jpg
/home/pi/Desktop/images/11012025/19/08/image_11012025_19_08_02_482773_0000.jpg
/home/pi/Desktop/images/11012025/19/08/image_11012025_19_08_02_482773_0001.jpg
/home/pi/Desktop/images/11012025/19/08/image_11012025_19_08_02_482773_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.722933292388916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 19:08:42.327638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/07/image_11012025_19_07_02_382416_0003.jpg', '/home/pi/Desktop/images/11012025/19/08/image_11012025_19_08_02_482773_0000.jpg', '/home/pi/Desktop/images/11012025/19/08/image_11012025_19_08_02_482773_0001.jpg', '/home/pi/Desktop/images/11012025/19/08/image_11012025_19_08_02_482773_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/07/image_11012025_19_07_02_382416_0003.jpg
/home/pi/Desktop/images/11012025/19/08/image_11012025_19_08_02_482773_0000.jpg
/home/pi/Desktop/images/11012025/19/08/image_11012025_19_08_02_482773_0001.jpg
/home/pi/Desktop/images/11012025/19/08/image_11012025_19_08_02_482773_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328231129","1328231344","1328231466","1328231591"],"photo_ids_order":["1328231129","1328231344","1328231466","1328231591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eb8b54bda33f61a68ace45e90e50c9ef.jpg","text":"TemporaryFile(/tmp/multipartBody7426299195893824869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618992453,"filename":"image_11012025_19_07_02_382416_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e6da21ddbb89487794eaacb03de78503.jpg","text":"TemporaryFile(/tmp/multipartBody7516366305568331220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618992453,"filename":"image_11012025_19_08_02_482773_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8f2f79695dc2833a5058c9dca4dd6324.jpg","text":"TemporaryFile(/tmp/multipartBody2463848530961100147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618992453,"filename":"image_11012025_19_08_02_482773_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/41feed5cc87f3465b647b749f55474d0.jpg","text":"TemporaryFile(/tmp/multipartBody6533156584636556734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736618992453,"filename":"image_11012025_19_08_02_482773_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328231466","file1":"1328231344","file0":"1328231129","file3":"1328231591"},"map_files_photo_id_array":[{"photo_id":"1328231466","filename":"file2"},{"photo_id":"1328231344","filename":"file1"},{"photo_id":"1328231129","filename":"file0"},{"photo_id":"1328231591","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328231129":["hashtag1","hashtag2"]},{"1328231344":["hashtag1","hashtag2"]},{"1328231466":["hashtag1","hashtag2"]},{"1328231591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328231129, 1328231344, 1328231466, 1328231591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.44221568107605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:09:22.543511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/08/image_11012025_19_08_02_482773_0003.jpg', '/home/pi/Desktop/images/11012025/19/09/image_11012025_19_09_02_722064_0000.jpg', '/home/pi/Desktop/images/11012025/19/09/image_11012025_19_09_02_722064_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/08/image_11012025_19_08_02_482773_0003.jpg
/home/pi/Desktop/images/11012025/19/09/image_11012025_19_09_02_722064_0000.jpg
/home/pi/Desktop/images/11012025/19/09/image_11012025_19_09_02_722064_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328231921","1328231920","1328231917"],"photo_ids_order":["1328231917","1328231920","1328231921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/77a881d022199462cb70c268cd9b85fa.jpg","text":"TemporaryFile(/tmp/multipartBody913656618326551142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619030376,"filename":"image_11012025_19_09_02_722064_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f6a8fde68b40a36445234d446a7cc3e9.jpg","text":"TemporaryFile(/tmp/multipartBody7424457841871158661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619030376,"filename":"image_11012025_19_09_02_722064_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1c12d1290f40b07f3b034036373251a0.jpg","text":"TemporaryFile(/tmp/multipartBody1596332687284761070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619030376,"filename":"image_11012025_19_08_02_482773_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328231921","file1":"1328231920","file0":"1328231917"},"map_files_photo_id_array":[{"photo_id":"1328231921","filename":"file2"},{"photo_id":"1328231920","filename":"file1"},{"photo_id":"1328231917","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328231921":["hashtag1","hashtag2"]},{"1328231920":["hashtag1","hashtag2"]},{"1328231917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328231921, 1328231920, 1328231917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.14359426498413 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:10:03.274946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:10:22.741270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/09/image_11012025_19_09_02_722064_0003.jpg', '/home/pi/Desktop/images/11012025/19/10/image_11012025_19_10_02_908492_0000.jpg', '/home/pi/Desktop/images/11012025/19/10/image_11012025_19_10_02_908492_0001.jpg', '/home/pi/Desktop/images/11012025/19/10/image_11012025_19_10_02_908492_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/09/image_11012025_19_09_02_722064_0003.jpg
/home/pi/Desktop/images/11012025/19/10/image_11012025_19_10_02_908492_0000.jpg
/home/pi/Desktop/images/11012025/19/10/image_11012025_19_10_02_908492_0001.jpg
/home/pi/Desktop/images/11012025/19/10/image_11012025_19_10_02_908492_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328232227","1328232162","1328232228","1328232275"],"photo_ids_order":["1328232162","1328232227","1328232228","1328232275"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/56ccf043d45612ee4fb3126cb8e70b1f.jpg","text":"TemporaryFile(/tmp/multipartBody2142681623653758386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619092941,"filename":"image_11012025_19_10_02_908492_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7be28418a9c8ee9a03d4b1f01f59eb94.jpg","text":"TemporaryFile(/tmp/multipartBody8071856230043495087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619092941,"filename":"image_11012025_19_09_02_722064_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/93a0228b9d6d90c8d0a179190615b402.jpg","text":"TemporaryFile(/tmp/multipartBody4582141929226359487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619092941,"filename":"image_11012025_19_10_02_908492_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/96eb818af56b7282e92e9d0762be62f2.jpg","text":"TemporaryFile(/tmp/multipartBody4309712874967585537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619092941,"filename":"image_11012025_19_10_02_908492_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328232228","file1":"1328232227","file0":"1328232162","file3":"1328232275"},"map_files_photo_id_array":[{"photo_id":"1328232228","filename":"file2"},{"photo_id":"1328232227","filename":"file1"},{"photo_id":"1328232162","filename":"file0"},{"photo_id":"1328232275","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328232227":["hashtag1","hashtag2"]},{"1328232162":["hashtag1","hashtag2"]},{"1328232228":["hashtag1","hashtag2"]},{"1328232275":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328232227, 1328232162, 1328232228, 1328232275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.696799516677856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:11:21.912810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/10/image_11012025_19_10_02_908492_0003.jpg', '/home/pi/Desktop/images/11012025/19/11/image_11012025_19_11_03_112095_0000.jpg', '/home/pi/Desktop/images/11012025/19/11/image_11012025_19_11_03_112095_0001.jpg', '/home/pi/Desktop/images/11012025/19/11/image_11012025_19_11_03_112095_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/10/image_11012025_19_10_02_908492_0003.jpg
/home/pi/Desktop/images/11012025/19/11/image_11012025_19_11_03_112095_0000.jpg
/home/pi/Desktop/images/11012025/19/11/image_11012025_19_11_03_112095_0001.jpg
/home/pi/Desktop/images/11012025/19/11/image_11012025_19_11_03_112095_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328232346","1328232343","1328232339","1328232347"],"photo_ids_order":["1328232339","1328232343","1328232346","1328232347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ed825faa76ab46e34e6338344ab34012.jpg","text":"TemporaryFile(/tmp/multipartBody6502425207708341703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619152064,"filename":"image_11012025_19_11_03_112095_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/af26af04b176cbb43c85332f645fa741.jpg","text":"TemporaryFile(/tmp/multipartBody833869039758881982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619152064,"filename":"image_11012025_19_11_03_112095_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/335e784b1dda1f35d7b237ff23833be1.jpg","text":"TemporaryFile(/tmp/multipartBody9025348716171486705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619152064,"filename":"image_11012025_19_10_02_908492_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b8b0656b6300773103173c3fb0e6b04a.jpg","text":"TemporaryFile(/tmp/multipartBody265974044616157232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619152064,"filename":"image_11012025_19_11_03_112095_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328232346","file1":"1328232343","file0":"1328232339","file3":"1328232347"},"map_files_photo_id_array":[{"photo_id":"1328232346","filename":"file2"},{"photo_id":"1328232343","filename":"file1"},{"photo_id":"1328232339","filename":"file0"},{"photo_id":"1328232347","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328232346":["hashtag1","hashtag2"]},{"1328232343":["hashtag1","hashtag2"]},{"1328232339":["hashtag1","hashtag2"]},{"1328232347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328232346, 1328232343, 1328232339, 1328232347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.22358059883118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:12:02.552808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:12:22.095567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/11/image_11012025_19_11_03_112095_0003.jpg', '/home/pi/Desktop/images/11012025/19/12/image_11012025_19_12_02_231754_0000.jpg', '/home/pi/Desktop/images/11012025/19/12/image_11012025_19_12_02_231754_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/11/image_11012025_19_11_03_112095_0003.jpg
/home/pi/Desktop/images/11012025/19/12/image_11012025_19_12_02_231754_0000.jpg
/home/pi/Desktop/images/11012025/19/12/image_11012025_19_12_02_231754_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.450470924377441 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 19:12:32.114767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/11/image_11012025_19_11_03_112095_0003.jpg', '/home/pi/Desktop/images/11012025/19/12/image_11012025_19_12_02_231754_0000.jpg', '/home/pi/Desktop/images/11012025/19/12/image_11012025_19_12_02_231754_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/11/image_11012025_19_11_03_112095_0003.jpg
/home/pi/Desktop/images/11012025/19/12/image_11012025_19_12_02_231754_0000.jpg
/home/pi/Desktop/images/11012025/19/12/image_11012025_19_12_02_231754_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":["1328232365","1328232368","1328232362"],"photo_ids_order":["1328232362","1328232365","1328232368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/343322f3841be2ca9f7549c3f6245db8.jpg","text":"TemporaryFile(/tmp/multipartBody1545166830585079474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619219961,"filename":"image_11012025_19_12_02_231754_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d9318dcb934e7eb8c290e5d754d0a545.jpg","text":"TemporaryFile(/tmp/multipartBody6033748109679487852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619219961,"filename":"image_11012025_19_12_02_231754_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/52768ce4a96a919a9cb3d9ced8631d86.jpg","text":"TemporaryFile(/tmp/multipartBody801818455195477412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619219961,"filename":"image_11012025_19_11_03_112095_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328232368","file1":"1328232365","file0":"1328232362"},"map_files_photo_id_array":[{"photo_id":"1328232368","filename":"file2"},{"photo_id":"1328232365","filename":"file1"},{"photo_id":"1328232362","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328232365":["hashtag1","hashtag2"]},{"1328232368":["hashtag1","hashtag2"]},{"1328232362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328232365, 1328232368, 1328232362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.956848621368408 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:13:22.329169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/12/image_11012025_19_12_02_231754_0002.jpg', '/home/pi/Desktop/images/11012025/19/13/image_11012025_19_13_02_449061_0000.jpg', '/home/pi/Desktop/images/11012025/19/13/image_11012025_19_13_02_449061_0001.jpg', '/home/pi/Desktop/images/11012025/19/13/image_11012025_19_13_02_449061_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/12/image_11012025_19_12_02_231754_0002.jpg
/home/pi/Desktop/images/11012025/19/13/image_11012025_19_13_02_449061_0000.jpg
/home/pi/Desktop/images/11012025/19/13/image_11012025_19_13_02_449061_0001.jpg
/home/pi/Desktop/images/11012025/19/13/image_11012025_19_13_02_449061_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328232673","1328232615","1328232627","1328232629"],"photo_ids_order":["1328232615","1328232627","1328232629","1328232673"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/410897280e98f09e4caf7ce53bf11885.jpg","text":"TemporaryFile(/tmp/multipartBody7470858588359443123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619272487,"filename":"image_11012025_19_13_02_449061_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/30a4711b147ca4a9ababfc5a6240526f.jpg","text":"TemporaryFile(/tmp/multipartBody8225617309887908885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619272487,"filename":"image_11012025_19_12_02_231754_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c3fd789e7da495b0e3af0fc6c9356c7a.jpg","text":"TemporaryFile(/tmp/multipartBody9098023161917116767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619272487,"filename":"image_11012025_19_13_02_449061_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/98bbc0bf247aeabed8cb161fb84b78ee.jpg","text":"TemporaryFile(/tmp/multipartBody5155939103599933124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619272487,"filename":"image_11012025_19_13_02_449061_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328232629","file1":"1328232627","file0":"1328232615","file3":"1328232673"},"map_files_photo_id_array":[{"photo_id":"1328232629","filename":"file2"},{"photo_id":"1328232627","filename":"file1"},{"photo_id":"1328232615","filename":"file0"},{"photo_id":"1328232673","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328232673":["hashtag1","hashtag2"]},{"1328232615":["hashtag1","hashtag2"]},{"1328232627":["hashtag1","hashtag2"]},{"1328232629":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328232673, 1328232615, 1328232627, 1328232629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.81706738471985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:14:03.011052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:14:22.415306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/13/image_11012025_19_13_02_449061_0003.jpg', '/home/pi/Desktop/images/11012025/19/14/image_11012025_19_14_02_638756_0000.jpg', '/home/pi/Desktop/images/11012025/19/14/image_11012025_19_14_02_638756_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/13/image_11012025_19_13_02_449061_0003.jpg
/home/pi/Desktop/images/11012025/19/14/image_11012025_19_14_02_638756_0000.jpg
/home/pi/Desktop/images/11012025/19/14/image_11012025_19_14_02_638756_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328232759","1328232761","1328232755"],"photo_ids_order":["1328232755","1328232759","1328232761"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/78bf43c905235fb9d6ea0437b44a2d45.jpg","text":"TemporaryFile(/tmp/multipartBody1294226987485899940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619330116,"filename":"image_11012025_19_14_02_638756_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/696de88b291a8a4ec751f36b3743b7f7.jpg","text":"TemporaryFile(/tmp/multipartBody1524540308859077454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619330116,"filename":"image_11012025_19_14_02_638756_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4d6052dd67a2ff8c78557b8164a99448.jpg","text":"TemporaryFile(/tmp/multipartBody6203508306591944780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619330116,"filename":"image_11012025_19_13_02_449061_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328232761","file1":"1328232759","file0":"1328232755"},"map_files_photo_id_array":[{"photo_id":"1328232761","filename":"file2"},{"photo_id":"1328232759","filename":"file1"},{"photo_id":"1328232755","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328232759":["hashtag1","hashtag2"]},{"1328232761":["hashtag1","hashtag2"]},{"1328232755":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328232759, 1328232761, 1328232755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.757357597351074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:15:03.146307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:15:22.644977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/14/image_11012025_19_14_02_638756_0003.jpg', '/home/pi/Desktop/images/11012025/19/15/image_11012025_19_15_02_879533_0001.jpg', '/home/pi/Desktop/images/11012025/19/15/image_11012025_19_15_02_879533_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/14/image_11012025_19_14_02_638756_0003.jpg
/home/pi/Desktop/images/11012025/19/15/image_11012025_19_15_02_879533_0001.jpg
/home/pi/Desktop/images/11012025/19/15/image_11012025_19_15_02_879533_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328232815","1328232834","1328232848"],"photo_ids_order":["1328232815","1328232834","1328232848"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5f33ebfb9c42f2f204f725bb0852454e.jpg","text":"TemporaryFile(/tmp/multipartBody7717947189246039479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619390393,"filename":"image_11012025_19_14_02_638756_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/929d81130fc7102e7d17657b6d302069.jpg","text":"TemporaryFile(/tmp/multipartBody7255420471912986489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619390393,"filename":"image_11012025_19_15_02_879533_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6265c52807e0d7ae456e4efb4f228aab.jpg","text":"TemporaryFile(/tmp/multipartBody3987772670316627895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619390393,"filename":"image_11012025_19_15_02_879533_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328232848","file1":"1328232834","file0":"1328232815"},"map_files_photo_id_array":[{"photo_id":"1328232848","filename":"file2"},{"photo_id":"1328232834","filename":"file1"},{"photo_id":"1328232815","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328232815":["hashtag1","hashtag2"]},{"1328232834":["hashtag1","hashtag2"]},{"1328232848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328232815, 1328232834, 1328232848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.43428897857666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:16:02.211403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:16:21.788758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/15/image_11012025_19_15_02_879533_0003.jpg', '/home/pi/Desktop/images/11012025/19/16/image_11012025_19_16_02_981455_0000.jpg', '/home/pi/Desktop/images/11012025/19/16/image_11012025_19_16_02_981455_0001.jpg', '/home/pi/Desktop/images/11012025/19/16/image_11012025_19_16_02_981455_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/15/image_11012025_19_15_02_879533_0003.jpg
/home/pi/Desktop/images/11012025/19/16/image_11012025_19_16_02_981455_0000.jpg
/home/pi/Desktop/images/11012025/19/16/image_11012025_19_16_02_981455_0001.jpg
/home/pi/Desktop/images/11012025/19/16/image_11012025_19_16_02_981455_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328232925","1328232888","1328232890","1328232875"],"photo_ids_order":["1328232875","1328232888","1328232890","1328232925"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f8afc80154f2d9bc35282aab65e9f973.jpg","text":"TemporaryFile(/tmp/multipartBody745312267750041242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619452001,"filename":"image_11012025_19_16_02_981455_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0daf6a9b93981cbb191f5f85db01be2b.jpg","text":"TemporaryFile(/tmp/multipartBody8829653606125637495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619452001,"filename":"image_11012025_19_16_02_981455_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cf28d99662bc83581ef9faa33cda9678.jpg","text":"TemporaryFile(/tmp/multipartBody2109120074376165292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619452001,"filename":"image_11012025_19_16_02_981455_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/21857f714c2f4a77e31157e1e79ad12b.jpg","text":"TemporaryFile(/tmp/multipartBody3561624664625254419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619452001,"filename":"image_11012025_19_15_02_879533_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328232890","file1":"1328232888","file0":"1328232875","file3":"1328232925"},"map_files_photo_id_array":[{"photo_id":"1328232890","filename":"file2"},{"photo_id":"1328232888","filename":"file1"},{"photo_id":"1328232875","filename":"file0"},{"photo_id":"1328232925","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328232925":["hashtag1","hashtag2"]},{"1328232888":["hashtag1","hashtag2"]},{"1328232890":["hashtag1","hashtag2"]},{"1328232875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328232925, 1328232888, 1328232890, 1328232875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.01522350311279 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:17:21.879799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/16/image_11012025_19_16_02_981455_0003.jpg', '/home/pi/Desktop/images/11012025/19/17/image_11012025_19_17_02_105737_0000.jpg', '/home/pi/Desktop/images/11012025/19/17/image_11012025_19_17_02_105737_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/16/image_11012025_19_16_02_981455_0003.jpg
/home/pi/Desktop/images/11012025/19/17/image_11012025_19_17_02_105737_0000.jpg
/home/pi/Desktop/images/11012025/19/17/image_11012025_19_17_02_105737_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":["1328232939","1328232942","1328232936"],"photo_ids_order":["1328232936","1328232939","1328232942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3ec9dabbb3065f4c7072fb0bc8b0a0a9.jpg","text":"TemporaryFile(/tmp/multipartBody4012753053186804418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619509601,"filename":"image_11012025_19_17_02_105737_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b3f0ac3bd77fde6875cacf13d05cc300.jpg","text":"TemporaryFile(/tmp/multipartBody2481409578880307743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619509601,"filename":"image_11012025_19_17_02_105737_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3bd17c354e86e20f96596bf8ec985038.jpg","text":"TemporaryFile(/tmp/multipartBody5370276560440477307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619509601,"filename":"image_11012025_19_16_02_981455_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328232942","file1":"1328232939","file0":"1328232936"},"map_files_photo_id_array":[{"photo_id":"1328232942","filename":"file2"},{"photo_id":"1328232939","filename":"file1"},{"photo_id":"1328232936","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328232939":["hashtag1","hashtag2"]},{"1328232942":["hashtag1","hashtag2"]},{"1328232936":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328232939, 1328232942, 1328232936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.966773748397827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:18:02.455232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:18:22.083203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/17/image_11012025_19_17_02_105737_0002.jpg', '/home/pi/Desktop/images/11012025/19/18/image_11012025_19_18_02_308087_0001.jpg', '/home/pi/Desktop/images/11012025/19/18/image_11012025_19_18_02_308087_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/17/image_11012025_19_17_02_105737_0002.jpg
/home/pi/Desktop/images/11012025/19/18/image_11012025_19_18_02_308087_0001.jpg
/home/pi/Desktop/images/11012025/19/18/image_11012025_19_18_02_308087_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328233630","1328233782","1328233707"],"photo_ids_order":["1328233630","1328233707","1328233782"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2a48862e72f98212124882fbadc8d70e.jpg","text":"TemporaryFile(/tmp/multipartBody23527322929500591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619569795,"filename":"image_11012025_19_17_02_105737_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6afc7c6a5f9bb3e61046af509f2addec.jpg","text":"TemporaryFile(/tmp/multipartBody3383844012484392668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619569795,"filename":"image_11012025_19_18_02_308087_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/de10b7ebc976243edfb65741574c3919.jpg","text":"TemporaryFile(/tmp/multipartBody4108387841163566431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619569795,"filename":"image_11012025_19_18_02_308087_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328233782","file1":"1328233707","file0":"1328233630"},"map_files_photo_id_array":[{"photo_id":"1328233782","filename":"file2"},{"photo_id":"1328233707","filename":"file1"},{"photo_id":"1328233630","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328233630":["hashtag1","hashtag2"]},{"1328233782":["hashtag1","hashtag2"]},{"1328233707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328233630, 1328233782, 1328233707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.09897780418396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:19:02.912333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:19:22.403445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/18/image_11012025_19_18_02_308087_0003.jpg', '/home/pi/Desktop/images/11012025/19/19/image_11012025_19_19_02_454462_0000.jpg', '/home/pi/Desktop/images/11012025/19/19/image_11012025_19_19_02_454462_0001.jpg', '/home/pi/Desktop/images/11012025/19/19/image_11012025_19_19_02_454462_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/18/image_11012025_19_18_02_308087_0003.jpg
/home/pi/Desktop/images/11012025/19/19/image_11012025_19_19_02_454462_0000.jpg
/home/pi/Desktop/images/11012025/19/19/image_11012025_19_19_02_454462_0001.jpg
/home/pi/Desktop/images/11012025/19/19/image_11012025_19_19_02_454462_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328234223","1328234207","1328234108","1328234149"],"photo_ids_order":["1328234108","1328234149","1328234207","1328234223"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b8b07664e288d7c8557db6ad5aa72089.jpg","text":"TemporaryFile(/tmp/multipartBody2478359219567521031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619632554,"filename":"image_11012025_19_19_02_454462_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/65404a9e7be1efd020088c2b54baf184.jpg","text":"TemporaryFile(/tmp/multipartBody5170295978613650239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619632554,"filename":"image_11012025_19_19_02_454462_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f55361147d9e8e91009d40b6296ce642.jpg","text":"TemporaryFile(/tmp/multipartBody9027694848544741234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619632554,"filename":"image_11012025_19_18_02_308087_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a387622bd6e33440895d1c49f80ba8ec.jpg","text":"TemporaryFile(/tmp/multipartBody8058157608009527453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619632554,"filename":"image_11012025_19_19_02_454462_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328234207","file1":"1328234149","file0":"1328234108","file3":"1328234223"},"map_files_photo_id_array":[{"photo_id":"1328234207","filename":"file2"},{"photo_id":"1328234149","filename":"file1"},{"photo_id":"1328234108","filename":"file0"},{"photo_id":"1328234223","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328234223":["hashtag1","hashtag2"]},{"1328234207":["hashtag1","hashtag2"]},{"1328234108":["hashtag1","hashtag2"]},{"1328234149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328234223, 1328234207, 1328234108, 1328234149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.41559314727783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:20:22.577883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/19/image_11012025_19_19_02_454462_0003.jpg', '/home/pi/Desktop/images/11012025/19/20/image_11012025_19_20_02_716923_0000.jpg', '/home/pi/Desktop/images/11012025/19/20/image_11012025_19_20_02_716923_0001.jpg', '/home/pi/Desktop/images/11012025/19/20/image_11012025_19_20_02_716923_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/19/image_11012025_19_19_02_454462_0003.jpg
/home/pi/Desktop/images/11012025/19/20/image_11012025_19_20_02_716923_0000.jpg
/home/pi/Desktop/images/11012025/19/20/image_11012025_19_20_02_716923_0001.jpg
/home/pi/Desktop/images/11012025/19/20/image_11012025_19_20_02_716923_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328234314","1328234316","1328234312","1328234320"],"photo_ids_order":["1328234312","1328234314","1328234316","1328234320"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d0f555afbe497ef705c17eda26b49e5e.jpg","text":"TemporaryFile(/tmp/multipartBody5883181290628398722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619692746,"filename":"image_11012025_19_20_02_716923_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/59b5b91d8e64e8380641d20405bfa1de.jpg","text":"TemporaryFile(/tmp/multipartBody8770433379167601976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619692746,"filename":"image_11012025_19_20_02_716923_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0c5c9fffcd5e96dc9829ed3d22301450.jpg","text":"TemporaryFile(/tmp/multipartBody9023709328580228638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619692746,"filename":"image_11012025_19_19_02_454462_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8b5ca7b5aa107df915d12b19fa50fd5a.jpg","text":"TemporaryFile(/tmp/multipartBody6065602447867978650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619692746,"filename":"image_11012025_19_20_02_716923_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328234316","file1":"1328234314","file0":"1328234312","file3":"1328234320"},"map_files_photo_id_array":[{"photo_id":"1328234316","filename":"file2"},{"photo_id":"1328234314","filename":"file1"},{"photo_id":"1328234312","filename":"file0"},{"photo_id":"1328234320","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328234314":["hashtag1","hashtag2"]},{"1328234316":["hashtag1","hashtag2"]},{"1328234312":["hashtag1","hashtag2"]},{"1328234320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328234314, 1328234316, 1328234312, 1328234320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.39374899864197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:21:03.421663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:21:22.752784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/20/image_11012025_19_20_02_716923_0003.jpg', '/home/pi/Desktop/images/11012025/19/21/image_11012025_19_21_02_906766_0000.jpg', '/home/pi/Desktop/images/11012025/19/21/image_11012025_19_21_02_906766_0001.jpg', '/home/pi/Desktop/images/11012025/19/21/image_11012025_19_21_02_906766_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/20/image_11012025_19_20_02_716923_0003.jpg
/home/pi/Desktop/images/11012025/19/21/image_11012025_19_21_02_906766_0000.jpg
/home/pi/Desktop/images/11012025/19/21/image_11012025_19_21_02_906766_0001.jpg
/home/pi/Desktop/images/11012025/19/21/image_11012025_19_21_02_906766_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328235497","1328235499","1328235478","1328235498"],"photo_ids_order":["1328235478","1328235497","1328235498","1328235499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/be8784e67619d56522761ea069e4d217.jpg","text":"TemporaryFile(/tmp/multipartBody2766394189288154469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619752899,"filename":"image_11012025_19_21_02_906766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ca767719477224ca17daf8d9cd4468d5.jpg","text":"TemporaryFile(/tmp/multipartBody7612302532412697416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619752899,"filename":"image_11012025_19_21_02_906766_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8a5a88d388100f31eac8d9b893a786ce.jpg","text":"TemporaryFile(/tmp/multipartBody5281354117403018157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619752899,"filename":"image_11012025_19_20_02_716923_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7ba9f077391203297de8f4f8b69c202b.jpg","text":"TemporaryFile(/tmp/multipartBody7183577732409399152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619752899,"filename":"image_11012025_19_21_02_906766_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328235498","file1":"1328235497","file0":"1328235478","file3":"1328235499"},"map_files_photo_id_array":[{"photo_id":"1328235498","filename":"file2"},{"photo_id":"1328235497","filename":"file1"},{"photo_id":"1328235478","filename":"file0"},{"photo_id":"1328235499","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328235497":["hashtag1","hashtag2"]},{"1328235499":["hashtag1","hashtag2"]},{"1328235478":["hashtag1","hashtag2"]},{"1328235498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328235497, 1328235499, 1328235478, 1328235498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13491439819336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:22:22.020794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/21/image_11012025_19_21_02_906766_0003.jpg', '/home/pi/Desktop/images/11012025/19/22/image_11012025_19_22_03_144571_0000.jpg', '/home/pi/Desktop/images/11012025/19/22/image_11012025_19_22_03_144571_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/21/image_11012025_19_21_02_906766_0003.jpg
/home/pi/Desktop/images/11012025/19/22/image_11012025_19_22_03_144571_0000.jpg
/home/pi/Desktop/images/11012025/19/22/image_11012025_19_22_03_144571_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":["1328235841","1328235835","1328235870"],"photo_ids_order":["1328235835","1328235841","1328235870"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0c9fa70d8dd572a855bac8625347e155.jpg","text":"TemporaryFile(/tmp/multipartBody7597756972714303120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619809863,"filename":"image_11012025_19_22_03_144571_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6d0326fad3c544d463a248476eebe79c.jpg","text":"TemporaryFile(/tmp/multipartBody4661773697391770983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619809863,"filename":"image_11012025_19_21_02_906766_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3ac26cc38f41b340078b07fa11fdf6b5.jpg","text":"TemporaryFile(/tmp/multipartBody572586193744085282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619809863,"filename":"image_11012025_19_22_03_144571_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328235870","file1":"1328235841","file0":"1328235835"},"map_files_photo_id_array":[{"photo_id":"1328235870","filename":"file2"},{"photo_id":"1328235841","filename":"file1"},{"photo_id":"1328235835","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328235841":["hashtag1","hashtag2"]},{"1328235835":["hashtag1","hashtag2"]},{"1328235870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328235841, 1328235835, 1328235870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.02339768409729 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:23:02.815261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:23:22.180936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/22/image_11012025_19_22_03_144571_0002.jpg', '/home/pi/Desktop/images/11012025/19/23/image_11012025_19_23_02_377321_0000.jpg', '/home/pi/Desktop/images/11012025/19/23/image_11012025_19_23_02_377321_0001.jpg', '/home/pi/Desktop/images/11012025/19/23/image_11012025_19_23_02_377321_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/22/image_11012025_19_22_03_144571_0002.jpg
/home/pi/Desktop/images/11012025/19/23/image_11012025_19_23_02_377321_0000.jpg
/home/pi/Desktop/images/11012025/19/23/image_11012025_19_23_02_377321_0001.jpg
/home/pi/Desktop/images/11012025/19/23/image_11012025_19_23_02_377321_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328236271","1328236150","1328236531","1328236408"],"photo_ids_order":["1328236150","1328236271","1328236408","1328236531"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/79d27e9fd31b0de53adb63a425fe1a1a.jpg","text":"TemporaryFile(/tmp/multipartBody7863711420400078788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619872209,"filename":"image_11012025_19_23_02_377321_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e3202400da4f5f3ebd08f90837e9487d.jpg","text":"TemporaryFile(/tmp/multipartBody9146374283790837187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619872209,"filename":"image_11012025_19_22_03_144571_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e82b41b5a881389d7ca54d620fb316ca.jpg","text":"TemporaryFile(/tmp/multipartBody5215150609549231552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619872209,"filename":"image_11012025_19_23_02_377321_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0ad9ae5ae8c8af2604d2380db0c495f2.jpg","text":"TemporaryFile(/tmp/multipartBody7971455147985845215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619872209,"filename":"image_11012025_19_23_02_377321_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328236408","file1":"1328236271","file0":"1328236150","file3":"1328236531"},"map_files_photo_id_array":[{"photo_id":"1328236408","filename":"file2"},{"photo_id":"1328236271","filename":"file1"},{"photo_id":"1328236150","filename":"file0"},{"photo_id":"1328236531","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328236271":["hashtag1","hashtag2"]},{"1328236150":["hashtag1","hashtag2"]},{"1328236531":["hashtag1","hashtag2"]},{"1328236408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328236271, 1328236150, 1328236531, 1328236408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.681180238723755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:24:22.273488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/23/image_11012025_19_23_02_377321_0003.jpg', '/home/pi/Desktop/images/11012025/19/24/image_11012025_19_24_02_548625_0000.jpg', '/home/pi/Desktop/images/11012025/19/24/image_11012025_19_24_02_548625_0001.jpg', '/home/pi/Desktop/images/11012025/19/24/image_11012025_19_24_02_548625_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/23/image_11012025_19_23_02_377321_0003.jpg
/home/pi/Desktop/images/11012025/19/24/image_11012025_19_24_02_548625_0000.jpg
/home/pi/Desktop/images/11012025/19/24/image_11012025_19_24_02_548625_0001.jpg
/home/pi/Desktop/images/11012025/19/24/image_11012025_19_24_02_548625_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328236815","1328236853","1328236816","1328236947"],"photo_ids_order":["1328236815","1328236816","1328236853","1328236947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/db5b9e5808b60004ad0a6e216743c7de.jpg","text":"TemporaryFile(/tmp/multipartBody4146838230791975464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619932477,"filename":"image_11012025_19_23_02_377321_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c100486259eb7681a55231fe2ce9bd96.jpg","text":"TemporaryFile(/tmp/multipartBody6063536054273736714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619932477,"filename":"image_11012025_19_24_02_548625_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b83a6c022310166770fd357e8329d52a.jpg","text":"TemporaryFile(/tmp/multipartBody2293985173293067681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619932477,"filename":"image_11012025_19_24_02_548625_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/faf94dca67a0168e5eae2e476657ec71.jpg","text":"TemporaryFile(/tmp/multipartBody6313665850034856370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619932477,"filename":"image_11012025_19_24_02_548625_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328236853","file1":"1328236816","file0":"1328236815","file3":"1328236947"},"map_files_photo_id_array":[{"photo_id":"1328236853","filename":"file2"},{"photo_id":"1328236816","filename":"file1"},{"photo_id":"1328236815","filename":"file0"},{"photo_id":"1328236947","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328236815":["hashtag1","hashtag2"]},{"1328236853":["hashtag1","hashtag2"]},{"1328236816":["hashtag1","hashtag2"]},{"1328236947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328236815, 1328236853, 1328236816, 1328236947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.76429867744446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:25:03.105967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:25:22.442018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/24/image_11012025_19_24_02_548625_0003.jpg', '/home/pi/Desktop/images/11012025/19/25/image_11012025_19_25_02_651950_0000.jpg', '/home/pi/Desktop/images/11012025/19/25/image_11012025_19_25_02_651950_0001.jpg', '/home/pi/Desktop/images/11012025/19/25/image_11012025_19_25_02_651950_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/24/image_11012025_19_24_02_548625_0003.jpg
/home/pi/Desktop/images/11012025/19/25/image_11012025_19_25_02_651950_0000.jpg
/home/pi/Desktop/images/11012025/19/25/image_11012025_19_25_02_651950_0001.jpg
/home/pi/Desktop/images/11012025/19/25/image_11012025_19_25_02_651950_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328237233","1328237077","1328237134","1328237229"],"photo_ids_order":["1328237077","1328237134","1328237229","1328237233"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/444e0a0204b7fb661fad201afc01f475.jpg","text":"TemporaryFile(/tmp/multipartBody6657562389455493564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619992724,"filename":"image_11012025_19_25_02_651950_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/78aa4e66836af955ae2f050c4ef40b22.jpg","text":"TemporaryFile(/tmp/multipartBody6882379062991425123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619992724,"filename":"image_11012025_19_24_02_548625_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9d4b0ba7ec0c4385b2df8bebaaa5793c.jpg","text":"TemporaryFile(/tmp/multipartBody4432315206543481532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619992724,"filename":"image_11012025_19_25_02_651950_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e91ea7e9cfb5ee326f5229a98221b822.jpg","text":"TemporaryFile(/tmp/multipartBody4982216085473930311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736619992724,"filename":"image_11012025_19_25_02_651950_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328237229","file1":"1328237134","file0":"1328237077","file3":"1328237233"},"map_files_photo_id_array":[{"photo_id":"1328237229","filename":"file2"},{"photo_id":"1328237134","filename":"file1"},{"photo_id":"1328237077","filename":"file0"},{"photo_id":"1328237233","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328237233":["hashtag1","hashtag2"]},{"1328237077":["hashtag1","hashtag2"]},{"1328237134":["hashtag1","hashtag2"]},{"1328237229":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328237233, 1328237077, 1328237134, 1328237229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.69652032852173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:26:03.012248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:26:22.576315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/25/image_11012025_19_25_02_651950_0003.jpg', '/home/pi/Desktop/images/11012025/19/26/image_11012025_19_26_02_795363_0000.jpg', '/home/pi/Desktop/images/11012025/19/26/image_11012025_19_26_02_795363_0001.jpg', '/home/pi/Desktop/images/11012025/19/26/image_11012025_19_26_02_795363_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/25/image_11012025_19_25_02_651950_0003.jpg
/home/pi/Desktop/images/11012025/19/26/image_11012025_19_26_02_795363_0000.jpg
/home/pi/Desktop/images/11012025/19/26/image_11012025_19_26_02_795363_0001.jpg
/home/pi/Desktop/images/11012025/19/26/image_11012025_19_26_02_795363_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328237377","1328237371","1328237380","1328237374"],"photo_ids_order":["1328237371","1328237374","1328237377","1328237380"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d002b7bf3d7f4f2d75bc837d3ef004e1.jpg","text":"TemporaryFile(/tmp/multipartBody1137895890589960069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620052673,"filename":"image_11012025_19_26_02_795363_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b7573633d1e4ae73a008217ba45e7419.jpg","text":"TemporaryFile(/tmp/multipartBody3841282482941571418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620052673,"filename":"image_11012025_19_25_02_651950_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bf0a9565333d7df5dd4139b90f343b8a.jpg","text":"TemporaryFile(/tmp/multipartBody6856945595330036221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620052673,"filename":"image_11012025_19_26_02_795363_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/daf27051fb2bc7931eda80927c3620b2.jpg","text":"TemporaryFile(/tmp/multipartBody3476497112014659498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620052673,"filename":"image_11012025_19_26_02_795363_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328237377","file1":"1328237374","file0":"1328237371","file3":"1328237380"},"map_files_photo_id_array":[{"photo_id":"1328237377","filename":"file2"},{"photo_id":"1328237374","filename":"file1"},{"photo_id":"1328237371","filename":"file0"},{"photo_id":"1328237380","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328237377":["hashtag1","hashtag2"]},{"1328237371":["hashtag1","hashtag2"]},{"1328237380":["hashtag1","hashtag2"]},{"1328237374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328237377, 1328237371, 1328237380, 1328237374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58610463142395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:27:02.453607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:27:21.964094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/26/image_11012025_19_26_02_795363_0003.jpg', '/home/pi/Desktop/images/11012025/19/27/image_11012025_19_27_03_021097_0000.jpg', '/home/pi/Desktop/images/11012025/19/27/image_11012025_19_27_03_021097_0001.jpg', '/home/pi/Desktop/images/11012025/19/27/image_11012025_19_27_03_021097_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/26/image_11012025_19_26_02_795363_0003.jpg
/home/pi/Desktop/images/11012025/19/27/image_11012025_19_27_03_021097_0000.jpg
/home/pi/Desktop/images/11012025/19/27/image_11012025_19_27_03_021097_0001.jpg
/home/pi/Desktop/images/11012025/19/27/image_11012025_19_27_03_021097_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328237420","1328237425","1328237391","1328237390"],"photo_ids_order":["1328237390","1328237391","1328237420","1328237425"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aed98e77e5b642d5feef10376496647c.jpg","text":"TemporaryFile(/tmp/multipartBody8336035846513243049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620112122,"filename":"image_11012025_19_27_03_021097_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9177dbd0dafa2e479356ecde209e43d3.jpg","text":"TemporaryFile(/tmp/multipartBody8696427138029825438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620112122,"filename":"image_11012025_19_27_03_021097_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3e735615aec7fbaecdf6a5d5b57581f7.jpg","text":"TemporaryFile(/tmp/multipartBody8428651095860244021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620112122,"filename":"image_11012025_19_27_03_021097_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/78a04caf804882596d16c4ede0c028c9.jpg","text":"TemporaryFile(/tmp/multipartBody2911958167414464854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620112122,"filename":"image_11012025_19_26_02_795363_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328237420","file1":"1328237391","file0":"1328237390","file3":"1328237425"},"map_files_photo_id_array":[{"photo_id":"1328237420","filename":"file2"},{"photo_id":"1328237391","filename":"file1"},{"photo_id":"1328237390","filename":"file0"},{"photo_id":"1328237425","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328237420":["hashtag1","hashtag2"]},{"1328237425":["hashtag1","hashtag2"]},{"1328237391":["hashtag1","hashtag2"]},{"1328237390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328237420, 1328237425, 1328237391, 1328237390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.1469624042511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:28:02.354600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:28:21.969544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/27/image_11012025_19_27_03_021097_0003.jpg', '/home/pi/Desktop/images/11012025/19/28/image_11012025_19_28_02_195640_0000.jpg', '/home/pi/Desktop/images/11012025/19/28/image_11012025_19_28_02_195640_0001.jpg', '/home/pi/Desktop/images/11012025/19/28/image_11012025_19_28_02_195640_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/27/image_11012025_19_27_03_021097_0003.jpg
/home/pi/Desktop/images/11012025/19/28/image_11012025_19_28_02_195640_0000.jpg
/home/pi/Desktop/images/11012025/19/28/image_11012025_19_28_02_195640_0001.jpg
/home/pi/Desktop/images/11012025/19/28/image_11012025_19_28_02_195640_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328237476","1328237473","1328237481","1328237478"],"photo_ids_order":["1328237473","1328237476","1328237478","1328237481"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/773e15a1f9215ef54e7290f96496cd32.jpg","text":"TemporaryFile(/tmp/multipartBody5056936859431226173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620172065,"filename":"image_11012025_19_28_02_195640_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d591ae1e5a540a7c459c2073e112fca9.jpg","text":"TemporaryFile(/tmp/multipartBody4527871763454983346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620172065,"filename":"image_11012025_19_27_03_021097_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4cf3aabe8cc5a5c677c9b245ae93c9c5.jpg","text":"TemporaryFile(/tmp/multipartBody2161744599898889118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620172065,"filename":"image_11012025_19_28_02_195640_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/730191163e2588ed80e98169e2ea1398.jpg","text":"TemporaryFile(/tmp/multipartBody6848408351896655904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620172065,"filename":"image_11012025_19_28_02_195640_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328237478","file1":"1328237476","file0":"1328237473","file3":"1328237481"},"map_files_photo_id_array":[{"photo_id":"1328237478","filename":"file2"},{"photo_id":"1328237476","filename":"file1"},{"photo_id":"1328237473","filename":"file0"},{"photo_id":"1328237481","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328237476":["hashtag1","hashtag2"]},{"1328237473":["hashtag1","hashtag2"]},{"1328237481":["hashtag1","hashtag2"]},{"1328237478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328237476, 1328237473, 1328237481, 1328237478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.87739872932434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:29:22.123917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/28/image_11012025_19_28_02_195640_0003.jpg', '/home/pi/Desktop/images/11012025/19/29/image_11012025_19_29_02_368144_0000.jpg', '/home/pi/Desktop/images/11012025/19/29/image_11012025_19_29_02_368144_0001.jpg', '/home/pi/Desktop/images/11012025/19/29/image_11012025_19_29_02_368144_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/28/image_11012025_19_28_02_195640_0003.jpg
/home/pi/Desktop/images/11012025/19/29/image_11012025_19_29_02_368144_0000.jpg
/home/pi/Desktop/images/11012025/19/29/image_11012025_19_29_02_368144_0001.jpg
/home/pi/Desktop/images/11012025/19/29/image_11012025_19_29_02_368144_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328237563","1328237566","1328237569","1328237560"],"photo_ids_order":["1328237560","1328237563","1328237566","1328237569"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ba77da063609f8f18b8d914f652484db.jpg","text":"TemporaryFile(/tmp/multipartBody6446000229647222361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620232190,"filename":"image_11012025_19_29_02_368144_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e126dd6ae5d2a52e61cd37080695939a.jpg","text":"TemporaryFile(/tmp/multipartBody6554751334259390954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620232190,"filename":"image_11012025_19_29_02_368144_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b2150c681eb099b156339f3d1bbe39da.jpg","text":"TemporaryFile(/tmp/multipartBody3677067978672104247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620232190,"filename":"image_11012025_19_29_02_368144_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d7805b96fa116988f76cc773dd1718f6.jpg","text":"TemporaryFile(/tmp/multipartBody3188171409755715069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620232190,"filename":"image_11012025_19_28_02_195640_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328237566","file1":"1328237563","file0":"1328237560","file3":"1328237569"},"map_files_photo_id_array":[{"photo_id":"1328237566","filename":"file2"},{"photo_id":"1328237563","filename":"file1"},{"photo_id":"1328237560","filename":"file0"},{"photo_id":"1328237569","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328237563":["hashtag1","hashtag2"]},{"1328237566":["hashtag1","hashtag2"]},{"1328237569":["hashtag1","hashtag2"]},{"1328237560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328237563, 1328237566, 1328237569, 1328237560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.74148225784302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:30:02.714399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:30:22.299439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/29/image_11012025_19_29_02_368144_0003.jpg', '/home/pi/Desktop/images/11012025/19/30/image_11012025_19_30_02_483176_0000.jpg', '/home/pi/Desktop/images/11012025/19/30/image_11012025_19_30_02_483176_0001.jpg', '/home/pi/Desktop/images/11012025/19/30/image_11012025_19_30_02_483176_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/29/image_11012025_19_29_02_368144_0003.jpg
/home/pi/Desktop/images/11012025/19/30/image_11012025_19_30_02_483176_0000.jpg
/home/pi/Desktop/images/11012025/19/30/image_11012025_19_30_02_483176_0001.jpg
/home/pi/Desktop/images/11012025/19/30/image_11012025_19_30_02_483176_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328237615","1328237790","1328237700","1328237594"],"photo_ids_order":["1328237594","1328237615","1328237700","1328237790"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6f9290706c3c453504ddfcd1b74f3aae.jpg","text":"TemporaryFile(/tmp/multipartBody6631704803790801462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620292305,"filename":"image_11012025_19_30_02_483176_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c541cc60793f267498492e2b015f77db.jpg","text":"TemporaryFile(/tmp/multipartBody7162210402096983723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620292305,"filename":"image_11012025_19_30_02_483176_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f37bd334ed75fff7f71ceea023ff19d3.jpg","text":"TemporaryFile(/tmp/multipartBody3365514673737318916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620292305,"filename":"image_11012025_19_30_02_483176_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a33b394ca692f40389506bba74652a11.jpg","text":"TemporaryFile(/tmp/multipartBody214050414892042022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620292305,"filename":"image_11012025_19_29_02_368144_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328237700","file1":"1328237615","file0":"1328237594","file3":"1328237790"},"map_files_photo_id_array":[{"photo_id":"1328237700","filename":"file2"},{"photo_id":"1328237615","filename":"file1"},{"photo_id":"1328237594","filename":"file0"},{"photo_id":"1328237790","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328237615":["hashtag1","hashtag2"]},{"1328237790":["hashtag1","hashtag2"]},{"1328237700":["hashtag1","hashtag2"]},{"1328237594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328237615, 1328237790, 1328237700, 1328237594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43604588508606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:31:03.154886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:31:22.399260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/30/image_11012025_19_30_02_483176_0003.jpg', '/home/pi/Desktop/images/11012025/19/31/image_11012025_19_31_02_639736_0000.jpg', '/home/pi/Desktop/images/11012025/19/31/image_11012025_19_31_02_639736_0001.jpg', '/home/pi/Desktop/images/11012025/19/31/image_11012025_19_31_02_639736_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/30/image_11012025_19_30_02_483176_0003.jpg
/home/pi/Desktop/images/11012025/19/31/image_11012025_19_31_02_639736_0000.jpg
/home/pi/Desktop/images/11012025/19/31/image_11012025_19_31_02_639736_0001.jpg
/home/pi/Desktop/images/11012025/19/31/image_11012025_19_31_02_639736_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328237966","1328237956","1328237961","1328237957"],"photo_ids_order":["1328237956","1328237957","1328237961","1328237966"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0e0c876698914e7db736fd301124dc06.jpg","text":"TemporaryFile(/tmp/multipartBody9211415601811692711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620352572,"filename":"image_11012025_19_31_02_639736_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/76c3754be8d79764bf9d6fc2fc13d49e.jpg","text":"TemporaryFile(/tmp/multipartBody7290525308373150832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620352572,"filename":"image_11012025_19_30_02_483176_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/01eb79cd790cbdb5298f53f0e78e891b.jpg","text":"TemporaryFile(/tmp/multipartBody8637720255615453173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620352572,"filename":"image_11012025_19_31_02_639736_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5c7ddef1620d0e6d1ea0dc1e21d8de89.jpg","text":"TemporaryFile(/tmp/multipartBody4375612562863210135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620352572,"filename":"image_11012025_19_31_02_639736_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328237961","file1":"1328237957","file0":"1328237956","file3":"1328237966"},"map_files_photo_id_array":[{"photo_id":"1328237961","filename":"file2"},{"photo_id":"1328237957","filename":"file1"},{"photo_id":"1328237956","filename":"file0"},{"photo_id":"1328237966","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328237966":["hashtag1","hashtag2"]},{"1328237956":["hashtag1","hashtag2"]},{"1328237961":["hashtag1","hashtag2"]},{"1328237957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328237966, 1328237956, 1328237961, 1328237957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.348520040512085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:32:22.756541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/31/image_11012025_19_31_02_639736_0003.jpg', '/home/pi/Desktop/images/11012025/19/32/image_11012025_19_32_02_858159_0000.jpg', '/home/pi/Desktop/images/11012025/19/32/image_11012025_19_32_02_858159_0001.jpg', '/home/pi/Desktop/images/11012025/19/32/image_11012025_19_32_02_858159_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/31/image_11012025_19_31_02_639736_0003.jpg
/home/pi/Desktop/images/11012025/19/32/image_11012025_19_32_02_858159_0000.jpg
/home/pi/Desktop/images/11012025/19/32/image_11012025_19_32_02_858159_0001.jpg
/home/pi/Desktop/images/11012025/19/32/image_11012025_19_32_02_858159_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.677379608154297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 19:32:42.806628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/31/image_11012025_19_31_02_639736_0003.jpg', '/home/pi/Desktop/images/11012025/19/32/image_11012025_19_32_02_858159_0000.jpg', '/home/pi/Desktop/images/11012025/19/32/image_11012025_19_32_02_858159_0001.jpg', '/home/pi/Desktop/images/11012025/19/32/image_11012025_19_32_02_858159_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/31/image_11012025_19_31_02_639736_0003.jpg
/home/pi/Desktop/images/11012025/19/32/image_11012025_19_32_02_858159_0000.jpg
/home/pi/Desktop/images/11012025/19/32/image_11012025_19_32_02_858159_0001.jpg
/home/pi/Desktop/images/11012025/19/32/image_11012025_19_32_02_858159_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328237988","1328237999","1328237993","1328237996"],"photo_ids_order":["1328237988","1328237993","1328237996","1328237999"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a149bc63a637a47c8c6d42003c9c0685.jpg","text":"TemporaryFile(/tmp/multipartBody662109524578711702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620432875,"filename":"image_11012025_19_31_02_639736_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b4ef34bfb179c0c19df8ff716e143154.jpg","text":"TemporaryFile(/tmp/multipartBody110143892319690134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620432875,"filename":"image_11012025_19_32_02_858159_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cb8bb567fa347c9b93bcddad57499a99.jpg","text":"TemporaryFile(/tmp/multipartBody5179840561075925119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620432875,"filename":"image_11012025_19_32_02_858159_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1a39fa3b085d69405976920a0d58fbad.jpg","text":"TemporaryFile(/tmp/multipartBody2161478557733278986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620432875,"filename":"image_11012025_19_32_02_858159_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328237996","file1":"1328237993","file0":"1328237988","file3":"1328237999"},"map_files_photo_id_array":[{"photo_id":"1328237996","filename":"file2"},{"photo_id":"1328237993","filename":"file1"},{"photo_id":"1328237988","filename":"file0"},{"photo_id":"1328237999","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328237988":["hashtag1","hashtag2"]},{"1328237999":["hashtag1","hashtag2"]},{"1328237993":["hashtag1","hashtag2"]},{"1328237996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328237988, 1328237999, 1328237993, 1328237996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.95365333557129 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 19:33:31.919837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/32/image_11012025_19_32_02_858159_0003.jpg', '/home/pi/Desktop/images/11012025/19/33/image_11012025_19_33_03_132967_0000.jpg', '/home/pi/Desktop/images/11012025/19/33/image_11012025_19_33_03_132967_0001.jpg', '/home/pi/Desktop/images/11012025/19/33/image_11012025_19_33_03_132967_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/32/image_11012025_19_32_02_858159_0003.jpg
/home/pi/Desktop/images/11012025/19/33/image_11012025_19_33_03_132967_0000.jpg
/home/pi/Desktop/images/11012025/19/33/image_11012025_19_33_03_132967_0001.jpg
/home/pi/Desktop/images/11012025/19/33/image_11012025_19_33_03_132967_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.714775323867798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 19:33:51.935841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/32/image_11012025_19_32_02_858159_0003.jpg', '/home/pi/Desktop/images/11012025/19/33/image_11012025_19_33_03_132967_0000.jpg', '/home/pi/Desktop/images/11012025/19/33/image_11012025_19_33_03_132967_0001.jpg', '/home/pi/Desktop/images/11012025/19/33/image_11012025_19_33_03_132967_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/32/image_11012025_19_32_02_858159_0003.jpg
/home/pi/Desktop/images/11012025/19/33/image_11012025_19_33_03_132967_0000.jpg
/home/pi/Desktop/images/11012025/19/33/image_11012025_19_33_03_132967_0001.jpg
/home/pi/Desktop/images/11012025/19/33/image_11012025_19_33_03_132967_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328238043","1328238045","1328238041","1328238038"],"photo_ids_order":["1328238038","1328238041","1328238043","1328238045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e70e5c84b4093e69a8e52257aef00247.jpg","text":"TemporaryFile(/tmp/multipartBody4840069303411608070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620502089,"filename":"image_11012025_19_33_03_132967_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9ac19b2570329d24359e831476fb2225.jpg","text":"TemporaryFile(/tmp/multipartBody6121349899968460315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620502089,"filename":"image_11012025_19_33_03_132967_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ca38a15519032a2748951897cc5d9d87.jpg","text":"TemporaryFile(/tmp/multipartBody2780575127118909078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620502089,"filename":"image_11012025_19_33_03_132967_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4b20b944a6af53c8fe45f631c818cfc4.jpg","text":"TemporaryFile(/tmp/multipartBody7054365837731225360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620502089,"filename":"image_11012025_19_32_02_858159_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328238043","file1":"1328238041","file0":"1328238038","file3":"1328238045"},"map_files_photo_id_array":[{"photo_id":"1328238043","filename":"file2"},{"photo_id":"1328238041","filename":"file1"},{"photo_id":"1328238038","filename":"file0"},{"photo_id":"1328238045","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328238043":["hashtag1","hashtag2"]},{"1328238045":["hashtag1","hashtag2"]},{"1328238041":["hashtag1","hashtag2"]},{"1328238038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328238043, 1328238045, 1328238041, 1328238038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.09010124206543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 19:34:42.117919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/33/image_11012025_19_33_03_132967_0003.jpg', '/home/pi/Desktop/images/11012025/19/34/image_11012025_19_34_02_364074_0000.jpg', '/home/pi/Desktop/images/11012025/19/34/image_11012025_19_34_02_364074_0001.jpg', '/home/pi/Desktop/images/11012025/19/34/image_11012025_19_34_02_364074_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/33/image_11012025_19_33_03_132967_0003.jpg
/home/pi/Desktop/images/11012025/19/34/image_11012025_19_34_02_364074_0000.jpg
/home/pi/Desktop/images/11012025/19/34/image_11012025_19_34_02_364074_0001.jpg
/home/pi/Desktop/images/11012025/19/34/image_11012025_19_34_02_364074_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328238113","1328238088","1328238246","1328238608"],"photo_ids_order":["1328238088","1328238113","1328238246","1328238608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/551bae4a07a46b0dd96b7f2af546a40c.jpg","text":"TemporaryFile(/tmp/multipartBody2737737396913805676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620552270,"filename":"image_11012025_19_34_02_364074_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1c0a153bb5663ff1795025a1c053457f.jpg","text":"TemporaryFile(/tmp/multipartBody1903020237010073642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620552270,"filename":"image_11012025_19_33_03_132967_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5bf8d0ad6033c1716dc91f75d95971d0.jpg","text":"TemporaryFile(/tmp/multipartBody4166083178038616795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620552270,"filename":"image_11012025_19_34_02_364074_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dbcc671470ca4ea39c3207e81ce8cd47.jpg","text":"TemporaryFile(/tmp/multipartBody8528947397883327092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620552270,"filename":"image_11012025_19_34_02_364074_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328238246","file1":"1328238113","file0":"1328238088","file3":"1328238608"},"map_files_photo_id_array":[{"photo_id":"1328238246","filename":"file2"},{"photo_id":"1328238113","filename":"file1"},{"photo_id":"1328238088","filename":"file0"},{"photo_id":"1328238608","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328238113":["hashtag1","hashtag2"]},{"1328238088":["hashtag1","hashtag2"]},{"1328238246":["hashtag1","hashtag2"]},{"1328238608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328238113, 1328238088, 1328238246, 1328238608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.679914236068726 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 19:35:32.314323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/34/image_11012025_19_34_02_364074_0003.jpg', '/home/pi/Desktop/images/11012025/19/35/image_11012025_19_35_02_540991_0000.jpg', '/home/pi/Desktop/images/11012025/19/35/image_11012025_19_35_02_540991_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/34/image_11012025_19_34_02_364074_0003.jpg
/home/pi/Desktop/images/11012025/19/35/image_11012025_19_35_02_540991_0000.jpg
/home/pi/Desktop/images/11012025/19/35/image_11012025_19_35_02_540991_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":["1328239191","1328239190","1328239192"],"photo_ids_order":["1328239190","1328239191","1328239192"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/707a2d8cd7d40488e7a8410ae9eab0ce.jpg","text":"TemporaryFile(/tmp/multipartBody4746998748481803545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620600050,"filename":"image_11012025_19_35_02_540991_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b45c482dfe527870a05b5159be3b7d0f.jpg","text":"TemporaryFile(/tmp/multipartBody912960574859016297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620600050,"filename":"image_11012025_19_34_02_364074_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b4417d15328524b63b1b0dffa2bfc270.jpg","text":"TemporaryFile(/tmp/multipartBody2414790001174588650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620600050,"filename":"image_11012025_19_35_02_540991_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328239192","file1":"1328239191","file0":"1328239190"},"map_files_photo_id_array":[{"photo_id":"1328239192","filename":"file2"},{"photo_id":"1328239191","filename":"file1"},{"photo_id":"1328239190","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328239191":["hashtag1","hashtag2"]},{"1328239190":["hashtag1","hashtag2"]},{"1328239192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328239191, 1328239190, 1328239192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.86115050315857 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:36:22.639123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/35/image_11012025_19_35_02_540991_0003.jpg', '/home/pi/Desktop/images/11012025/19/36/image_11012025_19_36_02_710665_0000.jpg', '/home/pi/Desktop/images/11012025/19/36/image_11012025_19_36_02_710665_0001.jpg', '/home/pi/Desktop/images/11012025/19/36/image_11012025_19_36_02_710665_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/35/image_11012025_19_35_02_540991_0003.jpg
/home/pi/Desktop/images/11012025/19/36/image_11012025_19_36_02_710665_0000.jpg
/home/pi/Desktop/images/11012025/19/36/image_11012025_19_36_02_710665_0001.jpg
/home/pi/Desktop/images/11012025/19/36/image_11012025_19_36_02_710665_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328239689","1328239830","1328239914","1328239843"],"photo_ids_order":["1328239689","1328239830","1328239843","1328239914"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ddfa7f209bbcbd8b2c6f73e2a81bea29.jpg","text":"TemporaryFile(/tmp/multipartBody7714970248606482785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620652817,"filename":"image_11012025_19_35_02_540991_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/900e4051afbdfcbe2be9df1fed9cca41.jpg","text":"TemporaryFile(/tmp/multipartBody1925199444147574915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620652817,"filename":"image_11012025_19_36_02_710665_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6802a7b79b57316fbb13a78fe0d92677.jpg","text":"TemporaryFile(/tmp/multipartBody6128241592702845380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620652817,"filename":"image_11012025_19_36_02_710665_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e87640991bf3b50a14ea4ac5443a5766.jpg","text":"TemporaryFile(/tmp/multipartBody7566868852646235517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620652817,"filename":"image_11012025_19_36_02_710665_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328239843","file1":"1328239830","file0":"1328239689","file3":"1328239914"},"map_files_photo_id_array":[{"photo_id":"1328239843","filename":"file2"},{"photo_id":"1328239830","filename":"file1"},{"photo_id":"1328239689","filename":"file0"},{"photo_id":"1328239914","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328239689":["hashtag1","hashtag2"]},{"1328239830":["hashtag1","hashtag2"]},{"1328239914":["hashtag1","hashtag2"]},{"1328239843":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328239689, 1328239830, 1328239914, 1328239843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.14359521865845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:37:22.661351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/36/image_11012025_19_36_02_710665_0003.jpg', '/home/pi/Desktop/images/11012025/19/37/image_11012025_19_37_02_874167_0000.jpg', '/home/pi/Desktop/images/11012025/19/37/image_11012025_19_37_02_874167_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/36/image_11012025_19_36_02_710665_0003.jpg
/home/pi/Desktop/images/11012025/19/37/image_11012025_19_37_02_874167_0000.jpg
/home/pi/Desktop/images/11012025/19/37/image_11012025_19_37_02_874167_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":["1328240062","1328240063","1328240066"],"photo_ids_order":["1328240062","1328240063","1328240066"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2b7e521640f35f6b3e22efd0927317c3.jpg","text":"TemporaryFile(/tmp/multipartBody1556698780244062591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620710392,"filename":"image_11012025_19_36_02_710665_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8a13188b02fa6d1715bddc28136425c2.jpg","text":"TemporaryFile(/tmp/multipartBody3027187467331863718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620710392,"filename":"image_11012025_19_37_02_874167_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fad1cd0f52544100c8e6eee24d10d28a.jpg","text":"TemporaryFile(/tmp/multipartBody957739726856830300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620710392,"filename":"image_11012025_19_37_02_874167_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328240066","file1":"1328240063","file0":"1328240062"},"map_files_photo_id_array":[{"photo_id":"1328240066","filename":"file2"},{"photo_id":"1328240063","filename":"file1"},{"photo_id":"1328240062","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328240062":["hashtag1","hashtag2"]},{"1328240063":["hashtag1","hashtag2"]},{"1328240066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328240062, 1328240063, 1328240066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.803406953811646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:38:02.310547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:38:21.882940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/37/image_11012025_19_37_02_874167_0003.jpg', '/home/pi/Desktop/images/11012025/19/38/image_11012025_19_38_03_066368_0000.jpg', '/home/pi/Desktop/images/11012025/19/38/image_11012025_19_38_03_066368_0001.jpg', '/home/pi/Desktop/images/11012025/19/38/image_11012025_19_38_03_066368_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/37/image_11012025_19_37_02_874167_0003.jpg
/home/pi/Desktop/images/11012025/19/38/image_11012025_19_38_03_066368_0000.jpg
/home/pi/Desktop/images/11012025/19/38/image_11012025_19_38_03_066368_0001.jpg
/home/pi/Desktop/images/11012025/19/38/image_11012025_19_38_03_066368_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328240089","1328240082","1328240085","1328240087"],"photo_ids_order":["1328240082","1328240085","1328240087","1328240089"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/89b2c8e2afbbe2def606820716938ec7.jpg","text":"TemporaryFile(/tmp/multipartBody2513107686106542619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620772090,"filename":"image_11012025_19_38_03_066368_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1c21aa6f95a6343691ba13161250f881.jpg","text":"TemporaryFile(/tmp/multipartBody8610970114178292504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620772090,"filename":"image_11012025_19_37_02_874167_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/68ed3afd447d28371713be497eccfd77.jpg","text":"TemporaryFile(/tmp/multipartBody3936021245951602740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620772090,"filename":"image_11012025_19_38_03_066368_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4ecb3c455ead4c714bcedbadd4b6f5a6.jpg","text":"TemporaryFile(/tmp/multipartBody4116703368847792135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620772090,"filename":"image_11012025_19_38_03_066368_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328240087","file1":"1328240085","file0":"1328240082","file3":"1328240089"},"map_files_photo_id_array":[{"photo_id":"1328240087","filename":"file2"},{"photo_id":"1328240085","filename":"file1"},{"photo_id":"1328240082","filename":"file0"},{"photo_id":"1328240089","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328240089":["hashtag1","hashtag2"]},{"1328240082":["hashtag1","hashtag2"]},{"1328240085":["hashtag1","hashtag2"]},{"1328240087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328240089, 1328240082, 1328240085, 1328240087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.005414724349976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:39:02.515220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:39:21.965567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/38/image_11012025_19_38_03_066368_0003.jpg', '/home/pi/Desktop/images/11012025/19/39/image_11012025_19_39_02_244874_0000.jpg', '/home/pi/Desktop/images/11012025/19/39/image_11012025_19_39_02_244874_0001.jpg', '/home/pi/Desktop/images/11012025/19/39/image_11012025_19_39_02_244874_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/38/image_11012025_19_38_03_066368_0003.jpg
/home/pi/Desktop/images/11012025/19/39/image_11012025_19_39_02_244874_0000.jpg
/home/pi/Desktop/images/11012025/19/39/image_11012025_19_39_02_244874_0001.jpg
/home/pi/Desktop/images/11012025/19/39/image_11012025_19_39_02_244874_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328240131","1328240119","1328240107","1328240130"],"photo_ids_order":["1328240107","1328240119","1328240130","1328240131"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b9f8439a6697b9688c7f9c80dfcc06af.jpg","text":"TemporaryFile(/tmp/multipartBody2134106425535818202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620831886,"filename":"image_11012025_19_39_02_244874_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1d4bfbd580524a45f4b2266c9649d09a.jpg","text":"TemporaryFile(/tmp/multipartBody1780576410905098598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620831886,"filename":"image_11012025_19_39_02_244874_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/993e93c914674c6a17a8c506638e5b9a.jpg","text":"TemporaryFile(/tmp/multipartBody5086279321955914686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620831886,"filename":"image_11012025_19_38_03_066368_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ec184bc3c2b305c705fa4beffa2273fa.jpg","text":"TemporaryFile(/tmp/multipartBody5797363300243077836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620831886,"filename":"image_11012025_19_39_02_244874_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328240130","file1":"1328240119","file0":"1328240107","file3":"1328240131"},"map_files_photo_id_array":[{"photo_id":"1328240130","filename":"file2"},{"photo_id":"1328240119","filename":"file1"},{"photo_id":"1328240107","filename":"file0"},{"photo_id":"1328240131","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328240131":["hashtag1","hashtag2"]},{"1328240119":["hashtag1","hashtag2"]},{"1328240107":["hashtag1","hashtag2"]},{"1328240130":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328240131, 1328240119, 1328240107, 1328240130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.555471897125244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:40:02.625619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:40:22.146434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/39/image_11012025_19_39_02_244874_0003.jpg', '/home/pi/Desktop/images/11012025/19/40/image_11012025_19_40_02_338003_0001.jpg', '/home/pi/Desktop/images/11012025/19/40/image_11012025_19_40_02_338003_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/39/image_11012025_19_39_02_244874_0003.jpg
/home/pi/Desktop/images/11012025/19/40/image_11012025_19_40_02_338003_0001.jpg
/home/pi/Desktop/images/11012025/19/40/image_11012025_19_40_02_338003_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328240139","1328240144","1328240141"],"photo_ids_order":["1328240139","1328240141","1328240144"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5f20cc962680b36cc6bca009bca24f1b.jpg","text":"TemporaryFile(/tmp/multipartBody1246133209486773723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620889979,"filename":"image_11012025_19_39_02_244874_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/799a1d1234f5f3dac5da96516108e298.jpg","text":"TemporaryFile(/tmp/multipartBody2665121732945917206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620889979,"filename":"image_11012025_19_40_02_338003_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7e580e7298187001bf512dec4dea5e1c.jpg","text":"TemporaryFile(/tmp/multipartBody8181478126214617311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620889979,"filename":"image_11012025_19_40_02_338003_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328240144","file1":"1328240141","file0":"1328240139"},"map_files_photo_id_array":[{"photo_id":"1328240144","filename":"file2"},{"photo_id":"1328240141","filename":"file1"},{"photo_id":"1328240139","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328240139":["hashtag1","hashtag2"]},{"1328240144":["hashtag1","hashtag2"]},{"1328240141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328240139, 1328240144, 1328240141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.458148956298828 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:41:02.931811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:41:22.413184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/40/image_11012025_19_40_02_338003_0003.jpg', '/home/pi/Desktop/images/11012025/19/41/image_11012025_19_41_02_524641_0000.jpg', '/home/pi/Desktop/images/11012025/19/41/image_11012025_19_41_02_524641_0001.jpg', '/home/pi/Desktop/images/11012025/19/41/image_11012025_19_41_02_524641_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/40/image_11012025_19_40_02_338003_0003.jpg
/home/pi/Desktop/images/11012025/19/41/image_11012025_19_41_02_524641_0000.jpg
/home/pi/Desktop/images/11012025/19/41/image_11012025_19_41_02_524641_0001.jpg
/home/pi/Desktop/images/11012025/19/41/image_11012025_19_41_02_524641_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328240482","1328240476","1328240486","1328240480"],"photo_ids_order":["1328240476","1328240480","1328240482","1328240486"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a65c3d3a44f525026155171130b478dc.jpg","text":"TemporaryFile(/tmp/multipartBody437297481691790408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620952635,"filename":"image_11012025_19_41_02_524641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e020c4cf1807c23412361f830b82e4fb.jpg","text":"TemporaryFile(/tmp/multipartBody7388575631586359449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620952635,"filename":"image_11012025_19_40_02_338003_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/beeb761bb8df40e13bfc951f51e9ef69.jpg","text":"TemporaryFile(/tmp/multipartBody8279097411584053022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620952635,"filename":"image_11012025_19_41_02_524641_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/61a96d9261343f458d99390eaa9fe567.jpg","text":"TemporaryFile(/tmp/multipartBody8880882110644578390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736620952635,"filename":"image_11012025_19_41_02_524641_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328240482","file1":"1328240480","file0":"1328240476","file3":"1328240486"},"map_files_photo_id_array":[{"photo_id":"1328240482","filename":"file2"},{"photo_id":"1328240480","filename":"file1"},{"photo_id":"1328240476","filename":"file0"},{"photo_id":"1328240486","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328240482":["hashtag1","hashtag2"]},{"1328240476":["hashtag1","hashtag2"]},{"1328240486":["hashtag1","hashtag2"]},{"1328240480":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328240482, 1328240476, 1328240486, 1328240480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.78204703330994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:42:22.629193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/41/image_11012025_19_41_02_524641_0003.jpg', '/home/pi/Desktop/images/11012025/19/42/image_11012025_19_42_02_735158_0000.jpg', '/home/pi/Desktop/images/11012025/19/42/image_11012025_19_42_02_735158_0001.jpg', '/home/pi/Desktop/images/11012025/19/42/image_11012025_19_42_02_735158_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/41/image_11012025_19_41_02_524641_0003.jpg
/home/pi/Desktop/images/11012025/19/42/image_11012025_19_42_02_735158_0000.jpg
/home/pi/Desktop/images/11012025/19/42/image_11012025_19_42_02_735158_0001.jpg
/home/pi/Desktop/images/11012025/19/42/image_11012025_19_42_02_735158_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328240527","1328240524","1328240523","1328240525"],"photo_ids_order":["1328240523","1328240524","1328240525","1328240527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ccf7e5f9dfd7fabc6f3997d450d9907d.jpg","text":"TemporaryFile(/tmp/multipartBody8913524041867057421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621012726,"filename":"image_11012025_19_42_02_735158_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7722e7d6e958b3f8acf25209e5f06146.jpg","text":"TemporaryFile(/tmp/multipartBody140964026157129149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621012726,"filename":"image_11012025_19_42_02_735158_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/72e31904f1b020d9187f69e888a44bef.jpg","text":"TemporaryFile(/tmp/multipartBody7436993685948263250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621012726,"filename":"image_11012025_19_41_02_524641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/90866f1949bf7e64a86ccb3bc429acea.jpg","text":"TemporaryFile(/tmp/multipartBody5412942910463101817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621012726,"filename":"image_11012025_19_42_02_735158_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328240525","file1":"1328240524","file0":"1328240523","file3":"1328240527"},"map_files_photo_id_array":[{"photo_id":"1328240525","filename":"file2"},{"photo_id":"1328240524","filename":"file1"},{"photo_id":"1328240523","filename":"file0"},{"photo_id":"1328240527","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328240527":["hashtag1","hashtag2"]},{"1328240524":["hashtag1","hashtag2"]},{"1328240523":["hashtag1","hashtag2"]},{"1328240525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328240527, 1328240524, 1328240523, 1328240525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.84146165847778 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:43:03.275354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:43:22.711852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/42/image_11012025_19_42_02_735158_0003.jpg', '/home/pi/Desktop/images/11012025/19/43/image_11012025_19_43_02_896073_0000.jpg', '/home/pi/Desktop/images/11012025/19/43/image_11012025_19_43_02_896073_0001.jpg', '/home/pi/Desktop/images/11012025/19/43/image_11012025_19_43_02_896073_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/42/image_11012025_19_42_02_735158_0003.jpg
/home/pi/Desktop/images/11012025/19/43/image_11012025_19_43_02_896073_0000.jpg
/home/pi/Desktop/images/11012025/19/43/image_11012025_19_43_02_896073_0001.jpg
/home/pi/Desktop/images/11012025/19/43/image_11012025_19_43_02_896073_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328240548","1328240550","1328240547","1328240549"],"photo_ids_order":["1328240547","1328240548","1328240549","1328240550"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/28377d005c2af980ef1f026ee9b584c1.jpg","text":"TemporaryFile(/tmp/multipartBody8547662477414187672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621072791,"filename":"image_11012025_19_43_02_896073_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7fb0ccd3a39b94a6dc50550c64ae8fe9.jpg","text":"TemporaryFile(/tmp/multipartBody1313705141841235370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621072791,"filename":"image_11012025_19_43_02_896073_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c631a74954a721509f3cb33919179cd7.jpg","text":"TemporaryFile(/tmp/multipartBody6129674893010221573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621072791,"filename":"image_11012025_19_42_02_735158_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b2c300813ecac12693a2b1b0bc438f22.jpg","text":"TemporaryFile(/tmp/multipartBody7633183959046200499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621072791,"filename":"image_11012025_19_43_02_896073_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328240549","file1":"1328240548","file0":"1328240547","file3":"1328240550"},"map_files_photo_id_array":[{"photo_id":"1328240549","filename":"file2"},{"photo_id":"1328240548","filename":"file1"},{"photo_id":"1328240547","filename":"file0"},{"photo_id":"1328240550","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328240548":["hashtag1","hashtag2"]},{"1328240550":["hashtag1","hashtag2"]},{"1328240547":["hashtag1","hashtag2"]},{"1328240549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328240548, 1328240550, 1328240547, 1328240549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.3142409324646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:44:21.835006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/43/image_11012025_19_43_02_896073_0003.jpg', '/home/pi/Desktop/images/11012025/19/44/image_11012025_19_44_03_105851_0000.jpg', '/home/pi/Desktop/images/11012025/19/44/image_11012025_19_44_03_105851_0001.jpg', '/home/pi/Desktop/images/11012025/19/44/image_11012025_19_44_03_105851_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/43/image_11012025_19_43_02_896073_0003.jpg
/home/pi/Desktop/images/11012025/19/44/image_11012025_19_44_03_105851_0000.jpg
/home/pi/Desktop/images/11012025/19/44/image_11012025_19_44_03_105851_0001.jpg
/home/pi/Desktop/images/11012025/19/44/image_11012025_19_44_03_105851_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328240577","1328240579","1328240573","1328240576"],"photo_ids_order":["1328240573","1328240576","1328240577","1328240579"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/60bc802907df79718a9b8cdc4047c476.jpg","text":"TemporaryFile(/tmp/multipartBody9154178269052378790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621131975,"filename":"image_11012025_19_44_03_105851_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/df575bbfa943d7ddbfd6606fceb92e6b.jpg","text":"TemporaryFile(/tmp/multipartBody4889262102925823971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621131975,"filename":"image_11012025_19_44_03_105851_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3aca94f62c2c0bb9ee6131a3f2d61391.jpg","text":"TemporaryFile(/tmp/multipartBody7224694498902984921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621131975,"filename":"image_11012025_19_43_02_896073_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b5eb78b96785a89c21e64f9cc1e0e83b.jpg","text":"TemporaryFile(/tmp/multipartBody7374827198702415244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621131975,"filename":"image_11012025_19_44_03_105851_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328240577","file1":"1328240576","file0":"1328240573","file3":"1328240579"},"map_files_photo_id_array":[{"photo_id":"1328240577","filename":"file2"},{"photo_id":"1328240576","filename":"file1"},{"photo_id":"1328240573","filename":"file0"},{"photo_id":"1328240579","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328240577":["hashtag1","hashtag2"]},{"1328240579":["hashtag1","hashtag2"]},{"1328240573":["hashtag1","hashtag2"]},{"1328240576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328240577, 1328240579, 1328240573, 1328240576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.86925196647644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:45:02.698570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:45:22.027621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/44/image_11012025_19_44_03_105851_0003.jpg', '/home/pi/Desktop/images/11012025/19/45/image_11012025_19_45_02_252219_0000.jpg', '/home/pi/Desktop/images/11012025/19/45/image_11012025_19_45_02_252219_0001.jpg', '/home/pi/Desktop/images/11012025/19/45/image_11012025_19_45_02_252219_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/44/image_11012025_19_44_03_105851_0003.jpg
/home/pi/Desktop/images/11012025/19/45/image_11012025_19_45_02_252219_0000.jpg
/home/pi/Desktop/images/11012025/19/45/image_11012025_19_45_02_252219_0001.jpg
/home/pi/Desktop/images/11012025/19/45/image_11012025_19_45_02_252219_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328240830","1328240833","1328240832","1328240829"],"photo_ids_order":["1328240829","1328240830","1328240832","1328240833"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/516dce1657bd73fa245087fd1d929ccb.jpg","text":"TemporaryFile(/tmp/multipartBody8498831629781790117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621192251,"filename":"image_11012025_19_45_02_252219_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ce302a318001abc5a73d6856abeee31f.jpg","text":"TemporaryFile(/tmp/multipartBody2619623619495963894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621192251,"filename":"image_11012025_19_45_02_252219_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8934510723fc2a89591c37e14af765cb.jpg","text":"TemporaryFile(/tmp/multipartBody8356914518467375028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621192251,"filename":"image_11012025_19_45_02_252219_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/708f0c5df21ba3b2b73505aeb91ed89b.jpg","text":"TemporaryFile(/tmp/multipartBody4045915461400712533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621192251,"filename":"image_11012025_19_44_03_105851_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328240832","file1":"1328240830","file0":"1328240829","file3":"1328240833"},"map_files_photo_id_array":[{"photo_id":"1328240832","filename":"file2"},{"photo_id":"1328240830","filename":"file1"},{"photo_id":"1328240829","filename":"file0"},{"photo_id":"1328240833","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328240830":["hashtag1","hashtag2"]},{"1328240833":["hashtag1","hashtag2"]},{"1328240832":["hashtag1","hashtag2"]},{"1328240829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328240830, 1328240833, 1328240832, 1328240829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.45500087738037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:46:02.660549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:46:22.316269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/45/image_11012025_19_45_02_252219_0003.jpg', '/home/pi/Desktop/images/11012025/19/46/image_11012025_19_46_02_477515_0000.jpg', '/home/pi/Desktop/images/11012025/19/46/image_11012025_19_46_02_477515_0001.jpg', '/home/pi/Desktop/images/11012025/19/46/image_11012025_19_46_02_477515_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/45/image_11012025_19_45_02_252219_0003.jpg
/home/pi/Desktop/images/11012025/19/46/image_11012025_19_46_02_477515_0000.jpg
/home/pi/Desktop/images/11012025/19/46/image_11012025_19_46_02_477515_0001.jpg
/home/pi/Desktop/images/11012025/19/46/image_11012025_19_46_02_477515_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328241154","1328241171","1328241111","1328241166"],"photo_ids_order":["1328241111","1328241154","1328241166","1328241171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f1bb080c441d155432f9222edc301971.jpg","text":"TemporaryFile(/tmp/multipartBody4947495611334753684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621252609,"filename":"image_11012025_19_46_02_477515_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e9460feb59066a7c086d53d977a5e3c8.jpg","text":"TemporaryFile(/tmp/multipartBody1322106578348308625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621252609,"filename":"image_11012025_19_46_02_477515_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e5e614e090e5b13732fa28304acfefa2.jpg","text":"TemporaryFile(/tmp/multipartBody5362660169627373892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621252609,"filename":"image_11012025_19_45_02_252219_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fe21a165c47a7bd2b17fb52a967242e4.jpg","text":"TemporaryFile(/tmp/multipartBody7279277860113016672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621252609,"filename":"image_11012025_19_46_02_477515_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328241166","file1":"1328241154","file0":"1328241111","file3":"1328241171"},"map_files_photo_id_array":[{"photo_id":"1328241166","filename":"file2"},{"photo_id":"1328241154","filename":"file1"},{"photo_id":"1328241111","filename":"file0"},{"photo_id":"1328241171","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328241154":["hashtag1","hashtag2"]},{"1328241171":["hashtag1","hashtag2"]},{"1328241111":["hashtag1","hashtag2"]},{"1328241166":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328241154, 1328241171, 1328241111, 1328241166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.22990870475769 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:47:22.512546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/46/image_11012025_19_46_02_477515_0003.jpg', '/home/pi/Desktop/images/11012025/19/47/image_11012025_19_47_02_608127_0000.jpg', '/home/pi/Desktop/images/11012025/19/47/image_11012025_19_47_02_608127_0001.jpg', '/home/pi/Desktop/images/11012025/19/47/image_11012025_19_47_02_608127_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/46/image_11012025_19_46_02_477515_0003.jpg
/home/pi/Desktop/images/11012025/19/47/image_11012025_19_47_02_608127_0000.jpg
/home/pi/Desktop/images/11012025/19/47/image_11012025_19_47_02_608127_0001.jpg
/home/pi/Desktop/images/11012025/19/47/image_11012025_19_47_02_608127_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328241189","1328241186","1328241191","1328241194"],"photo_ids_order":["1328241186","1328241189","1328241191","1328241194"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0e45876b84c13ff58fbbdcbdd4fd8943.jpg","text":"TemporaryFile(/tmp/multipartBody1139839683760994418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621312648,"filename":"image_11012025_19_47_02_608127_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/455a98413091ba282b9d8056d86a4b65.jpg","text":"TemporaryFile(/tmp/multipartBody4290448109970893024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621312648,"filename":"image_11012025_19_46_02_477515_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a3859cb1c9213ccfcac4edd31105f78e.jpg","text":"TemporaryFile(/tmp/multipartBody5063152546458897637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621312648,"filename":"image_11012025_19_47_02_608127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/739fc41a2cf25f19233582165ba11cbc.jpg","text":"TemporaryFile(/tmp/multipartBody2284525304618902493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621312648,"filename":"image_11012025_19_47_02_608127_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328241191","file1":"1328241189","file0":"1328241186","file3":"1328241194"},"map_files_photo_id_array":[{"photo_id":"1328241191","filename":"file2"},{"photo_id":"1328241189","filename":"file1"},{"photo_id":"1328241186","filename":"file0"},{"photo_id":"1328241194","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328241189":["hashtag1","hashtag2"]},{"1328241186":["hashtag1","hashtag2"]},{"1328241191":["hashtag1","hashtag2"]},{"1328241194":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328241189, 1328241186, 1328241191, 1328241194)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.61683893203735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:48:22.559806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/47/image_11012025_19_47_02_608127_0003.jpg', '/home/pi/Desktop/images/11012025/19/48/image_11012025_19_48_02_802966_0000.jpg', '/home/pi/Desktop/images/11012025/19/48/image_11012025_19_48_02_802966_0001.jpg', '/home/pi/Desktop/images/11012025/19/48/image_11012025_19_48_02_802966_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/47/image_11012025_19_47_02_608127_0003.jpg
/home/pi/Desktop/images/11012025/19/48/image_11012025_19_48_02_802966_0000.jpg
/home/pi/Desktop/images/11012025/19/48/image_11012025_19_48_02_802966_0001.jpg
/home/pi/Desktop/images/11012025/19/48/image_11012025_19_48_02_802966_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328241228","1328241230","1328241224","1328241227"],"photo_ids_order":["1328241224","1328241227","1328241228","1328241230"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c7f55693dd062323db6e026449437f10.jpg","text":"TemporaryFile(/tmp/multipartBody1385162145480730297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621372649,"filename":"image_11012025_19_48_02_802966_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/af535279a5abe8e0798122404c94ac4a.jpg","text":"TemporaryFile(/tmp/multipartBody7106088054365515685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621372649,"filename":"image_11012025_19_48_02_802966_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/61ca1c8dafa596b1e7054bfd38bd52f9.jpg","text":"TemporaryFile(/tmp/multipartBody4079380138550834580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621372649,"filename":"image_11012025_19_47_02_608127_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/80cf8e4ab51a85f3fbbd423263e82d8e.jpg","text":"TemporaryFile(/tmp/multipartBody9036735288918046761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621372649,"filename":"image_11012025_19_48_02_802966_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328241228","file1":"1328241227","file0":"1328241224","file3":"1328241230"},"map_files_photo_id_array":[{"photo_id":"1328241228","filename":"file2"},{"photo_id":"1328241227","filename":"file1"},{"photo_id":"1328241224","filename":"file0"},{"photo_id":"1328241230","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328241228":["hashtag1","hashtag2"]},{"1328241230":["hashtag1","hashtag2"]},{"1328241224":["hashtag1","hashtag2"]},{"1328241227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328241228, 1328241230, 1328241224, 1328241227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.8321328163147 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:49:21.813531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/48/image_11012025_19_48_02_802966_0003.jpg', '/home/pi/Desktop/images/11012025/19/49/image_11012025_19_49_02_985567_0000.jpg', '/home/pi/Desktop/images/11012025/19/49/image_11012025_19_49_02_985567_0001.jpg', '/home/pi/Desktop/images/11012025/19/49/image_11012025_19_49_02_985567_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/48/image_11012025_19_48_02_802966_0003.jpg
/home/pi/Desktop/images/11012025/19/49/image_11012025_19_49_02_985567_0000.jpg
/home/pi/Desktop/images/11012025/19/49/image_11012025_19_49_02_985567_0001.jpg
/home/pi/Desktop/images/11012025/19/49/image_11012025_19_49_02_985567_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.69024395942688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 19:49:41.763038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/48/image_11012025_19_48_02_802966_0003.jpg', '/home/pi/Desktop/images/11012025/19/49/image_11012025_19_49_02_985567_0000.jpg', '/home/pi/Desktop/images/11012025/19/49/image_11012025_19_49_02_985567_0001.jpg', '/home/pi/Desktop/images/11012025/19/49/image_11012025_19_49_02_985567_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/48/image_11012025_19_48_02_802966_0003.jpg
/home/pi/Desktop/images/11012025/19/49/image_11012025_19_49_02_985567_0000.jpg
/home/pi/Desktop/images/11012025/19/49/image_11012025_19_49_02_985567_0001.jpg
/home/pi/Desktop/images/11012025/19/49/image_11012025_19_49_02_985567_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328241255","1328241249","1328241251","1328241248"],"photo_ids_order":["1328241248","1328241249","1328241251","1328241255"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/64179f2e62d3403f914ddb6e5b94082a.jpg","text":"TemporaryFile(/tmp/multipartBody2838630384089239006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621451869,"filename":"image_11012025_19_49_02_985567_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9824e3458b1f3b89f12f530b1e1af249.jpg","text":"TemporaryFile(/tmp/multipartBody4275774634621554548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621451869,"filename":"image_11012025_19_49_02_985567_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/11429f43b344933ff64fa921a9eba6eb.jpg","text":"TemporaryFile(/tmp/multipartBody474674866459111177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621451869,"filename":"image_11012025_19_49_02_985567_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eff9ac542fd52aeb2ab0b77e0c660659.jpg","text":"TemporaryFile(/tmp/multipartBody8757538716076031533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621451869,"filename":"image_11012025_19_48_02_802966_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328241251","file1":"1328241249","file0":"1328241248","file3":"1328241255"},"map_files_photo_id_array":[{"photo_id":"1328241251","filename":"file2"},{"photo_id":"1328241249","filename":"file1"},{"photo_id":"1328241248","filename":"file0"},{"photo_id":"1328241255","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328241255":["hashtag1","hashtag2"]},{"1328241249":["hashtag1","hashtag2"]},{"1328241251":["hashtag1","hashtag2"]},{"1328241248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328241255, 1328241249, 1328241251, 1328241248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.204806089401245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 19:50:31.957728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/49/image_11012025_19_49_02_985567_0003.jpg', '/home/pi/Desktop/images/11012025/19/50/image_11012025_19_50_02_208752_0000.jpg', '/home/pi/Desktop/images/11012025/19/50/image_11012025_19_50_02_208752_0001.jpg', '/home/pi/Desktop/images/11012025/19/50/image_11012025_19_50_02_208752_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/49/image_11012025_19_49_02_985567_0003.jpg
/home/pi/Desktop/images/11012025/19/50/image_11012025_19_50_02_208752_0000.jpg
/home/pi/Desktop/images/11012025/19/50/image_11012025_19_50_02_208752_0001.jpg
/home/pi/Desktop/images/11012025/19/50/image_11012025_19_50_02_208752_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328241399","1328241447","1328241378","1328241417"],"photo_ids_order":["1328241378","1328241399","1328241417","1328241447"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bd32640525a42e2c32ca1d305e775caa.jpg","text":"TemporaryFile(/tmp/multipartBody4855329161130538703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621502079,"filename":"image_11012025_19_50_02_208752_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c20160561675b04da8616a1c65da9971.jpg","text":"TemporaryFile(/tmp/multipartBody8004443755196241198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621502079,"filename":"image_11012025_19_50_02_208752_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1099f2e4219d8bd39c05d32ca1808e39.jpg","text":"TemporaryFile(/tmp/multipartBody5359635670273493301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621502079,"filename":"image_11012025_19_49_02_985567_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6fcc93296b960d54aa14dfcc3fa42085.jpg","text":"TemporaryFile(/tmp/multipartBody2574972847867012909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621502079,"filename":"image_11012025_19_50_02_208752_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328241417","file1":"1328241399","file0":"1328241378","file3":"1328241447"},"map_files_photo_id_array":[{"photo_id":"1328241417","filename":"file2"},{"photo_id":"1328241399","filename":"file1"},{"photo_id":"1328241378","filename":"file0"},{"photo_id":"1328241447","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328241399":["hashtag1","hashtag2"]},{"1328241447":["hashtag1","hashtag2"]},{"1328241378":["hashtag1","hashtag2"]},{"1328241417":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328241399, 1328241447, 1328241378, 1328241417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.39567589759827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:51:22.145370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/50/image_11012025_19_50_02_208752_0003.jpg', '/home/pi/Desktop/images/11012025/19/51/image_11012025_19_51_02_319267_0000.jpg', '/home/pi/Desktop/images/11012025/19/51/image_11012025_19_51_02_319267_0001.jpg', '/home/pi/Desktop/images/11012025/19/51/image_11012025_19_51_02_319267_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/50/image_11012025_19_50_02_208752_0003.jpg
/home/pi/Desktop/images/11012025/19/51/image_11012025_19_51_02_319267_0000.jpg
/home/pi/Desktop/images/11012025/19/51/image_11012025_19_51_02_319267_0001.jpg
/home/pi/Desktop/images/11012025/19/51/image_11012025_19_51_02_319267_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328241483","1328241486","1328241468","1328241485"],"photo_ids_order":["1328241468","1328241483","1328241485","1328241486"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d727a9bec28ed2028fe237fe2d492fc7.jpg","text":"TemporaryFile(/tmp/multipartBody9014401780795046604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621552266,"filename":"image_11012025_19_51_02_319267_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/134b917a6d4aa557faa2abeca12014fa.jpg","text":"TemporaryFile(/tmp/multipartBody6478742009850581903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621552266,"filename":"image_11012025_19_51_02_319267_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d596f34afa3a2cf38951f37dd79b7aae.jpg","text":"TemporaryFile(/tmp/multipartBody70939572521042690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621552266,"filename":"image_11012025_19_50_02_208752_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fe3dc304fb5df4f0c1b258162c17dbb4.jpg","text":"TemporaryFile(/tmp/multipartBody6617171295753524168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621552266,"filename":"image_11012025_19_51_02_319267_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328241485","file1":"1328241483","file0":"1328241468","file3":"1328241486"},"map_files_photo_id_array":[{"photo_id":"1328241485","filename":"file2"},{"photo_id":"1328241483","filename":"file1"},{"photo_id":"1328241468","filename":"file0"},{"photo_id":"1328241486","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328241483":["hashtag1","hashtag2"]},{"1328241486":["hashtag1","hashtag2"]},{"1328241468":["hashtag1","hashtag2"]},{"1328241485":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328241483, 1328241486, 1328241468, 1328241485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64210486412048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:52:02.779996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:52:22.254828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/51/image_11012025_19_51_02_319267_0003.jpg', '/home/pi/Desktop/images/11012025/19/52/image_11012025_19_52_02_592406_0000.jpg', '/home/pi/Desktop/images/11012025/19/52/image_11012025_19_52_02_592406_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/51/image_11012025_19_51_02_319267_0003.jpg
/home/pi/Desktop/images/11012025/19/52/image_11012025_19_52_02_592406_0000.jpg
/home/pi/Desktop/images/11012025/19/52/image_11012025_19_52_02_592406_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.544856786727905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 19:52:32.281980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/51/image_11012025_19_51_02_319267_0003.jpg', '/home/pi/Desktop/images/11012025/19/52/image_11012025_19_52_02_592406_0000.jpg', '/home/pi/Desktop/images/11012025/19/52/image_11012025_19_52_02_592406_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/51/image_11012025_19_51_02_319267_0003.jpg
/home/pi/Desktop/images/11012025/19/52/image_11012025_19_52_02_592406_0000.jpg
/home/pi/Desktop/images/11012025/19/52/image_11012025_19_52_02_592406_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":["1328241505","1328241504","1328241503"],"photo_ids_order":["1328241503","1328241504","1328241505"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/333cbd092605d8e7a00e24ea279f9059.jpg","text":"TemporaryFile(/tmp/multipartBody7780822217369803721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621620223,"filename":"image_11012025_19_52_02_592406_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c7af9e6356694734bbcc3a568a9ab6fc.jpg","text":"TemporaryFile(/tmp/multipartBody4626122098096715748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621620223,"filename":"image_11012025_19_52_02_592406_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e196eb4758840e5415aaeeacf893d2e8.jpg","text":"TemporaryFile(/tmp/multipartBody6582429997880624206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621620223,"filename":"image_11012025_19_51_02_319267_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328241505","file1":"1328241504","file0":"1328241503"},"map_files_photo_id_array":[{"photo_id":"1328241505","filename":"file2"},{"photo_id":"1328241504","filename":"file1"},{"photo_id":"1328241503","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328241505":["hashtag1","hashtag2"]},{"1328241504":["hashtag1","hashtag2"]},{"1328241503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328241505, 1328241504, 1328241503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.856826066970825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:53:22.539943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/52/image_11012025_19_52_02_592406_0002.jpg', '/home/pi/Desktop/images/11012025/19/53/image_11012025_19_53_02_707064_0000.jpg', '/home/pi/Desktop/images/11012025/19/53/image_11012025_19_53_02_707064_0001.jpg', '/home/pi/Desktop/images/11012025/19/53/image_11012025_19_53_02_707064_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/52/image_11012025_19_52_02_592406_0002.jpg
/home/pi/Desktop/images/11012025/19/53/image_11012025_19_53_02_707064_0000.jpg
/home/pi/Desktop/images/11012025/19/53/image_11012025_19_53_02_707064_0001.jpg
/home/pi/Desktop/images/11012025/19/53/image_11012025_19_53_02_707064_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328241523","1328241525","1328241519","1328241524"],"photo_ids_order":["1328241519","1328241523","1328241524","1328241525"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ee7c687361667db0576017b3054dfd7f.jpg","text":"TemporaryFile(/tmp/multipartBody818148555882948039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621672691,"filename":"image_11012025_19_53_02_707064_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3b08c2359bf2290dbd43c250aa9968ac.jpg","text":"TemporaryFile(/tmp/multipartBody1463181523134719910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621672691,"filename":"image_11012025_19_53_02_707064_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a5fbfaf0ca9d864b04559161146196e2.jpg","text":"TemporaryFile(/tmp/multipartBody3378417364438291907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621672691,"filename":"image_11012025_19_52_02_592406_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5c141eb79f05cec81120aea2139f237e.jpg","text":"TemporaryFile(/tmp/multipartBody4301648782733153337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621672691,"filename":"image_11012025_19_53_02_707064_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328241524","file1":"1328241523","file0":"1328241519","file3":"1328241525"},"map_files_photo_id_array":[{"photo_id":"1328241524","filename":"file2"},{"photo_id":"1328241523","filename":"file1"},{"photo_id":"1328241519","filename":"file0"},{"photo_id":"1328241525","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328241523":["hashtag1","hashtag2"]},{"1328241525":["hashtag1","hashtag2"]},{"1328241519":["hashtag1","hashtag2"]},{"1328241524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328241523, 1328241525, 1328241519, 1328241524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.64103150367737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:54:22.848154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/53/image_11012025_19_53_02_707064_0003.jpg', '/home/pi/Desktop/images/11012025/19/54/image_11012025_19_54_02_965372_0000.jpg', '/home/pi/Desktop/images/11012025/19/54/image_11012025_19_54_02_965372_0001.jpg', '/home/pi/Desktop/images/11012025/19/54/image_11012025_19_54_02_965372_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/53/image_11012025_19_53_02_707064_0003.jpg
/home/pi/Desktop/images/11012025/19/54/image_11012025_19_54_02_965372_0000.jpg
/home/pi/Desktop/images/11012025/19/54/image_11012025_19_54_02_965372_0001.jpg
/home/pi/Desktop/images/11012025/19/54/image_11012025_19_54_02_965372_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328241544","1328241555","1328241540","1328241560"],"photo_ids_order":["1328241540","1328241544","1328241555","1328241560"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/55bc73e4b76133a89d7ec7112b16d7c7.jpg","text":"TemporaryFile(/tmp/multipartBody3011892805341423403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621732911,"filename":"image_11012025_19_54_02_965372_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4a9fe135300f5d5fb6d01e5e528feb40.jpg","text":"TemporaryFile(/tmp/multipartBody8015002943732368737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621732911,"filename":"image_11012025_19_54_02_965372_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f763c91415382c5bebf1e255ad4f0a4f.jpg","text":"TemporaryFile(/tmp/multipartBody2480572967334349703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621732911,"filename":"image_11012025_19_53_02_707064_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/63b988ca77c99518a6ba00c7df91db6c.jpg","text":"TemporaryFile(/tmp/multipartBody5660898991415792203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621732911,"filename":"image_11012025_19_54_02_965372_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328241555","file1":"1328241544","file0":"1328241540","file3":"1328241560"},"map_files_photo_id_array":[{"photo_id":"1328241555","filename":"file2"},{"photo_id":"1328241544","filename":"file1"},{"photo_id":"1328241540","filename":"file0"},{"photo_id":"1328241560","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328241544":["hashtag1","hashtag2"]},{"1328241555":["hashtag1","hashtag2"]},{"1328241540":["hashtag1","hashtag2"]},{"1328241560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328241544, 1328241555, 1328241540, 1328241560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.18717050552368 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:55:21.915818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/54/image_11012025_19_54_02_965372_0003.jpg', '/home/pi/Desktop/images/11012025/19/55/image_11012025_19_55_03_103736_0000.jpg', '/home/pi/Desktop/images/11012025/19/55/image_11012025_19_55_03_103736_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/54/image_11012025_19_54_02_965372_0003.jpg
/home/pi/Desktop/images/11012025/19/55/image_11012025_19_55_03_103736_0000.jpg
/home/pi/Desktop/images/11012025/19/55/image_11012025_19_55_03_103736_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328241576","1328241572","1328241580"],"photo_ids_order":["1328241572","1328241576","1328241580"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b54c82c8a11278c90b677321d7dae5ff.jpg","text":"TemporaryFile(/tmp/multipartBody5132678822627747354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621789626,"filename":"image_11012025_19_55_03_103736_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6ff91fe7f0285e005ced887303cdfc4f.jpg","text":"TemporaryFile(/tmp/multipartBody572760532690032888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621789626,"filename":"image_11012025_19_54_02_965372_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7d3edb3e590f6118e0dac947590f75f9.jpg","text":"TemporaryFile(/tmp/multipartBody7562154125918469339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621789626,"filename":"image_11012025_19_55_03_103736_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328241580","file1":"1328241576","file0":"1328241572"},"map_files_photo_id_array":[{"photo_id":"1328241580","filename":"file2"},{"photo_id":"1328241576","filename":"file1"},{"photo_id":"1328241572","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328241576":["hashtag1","hashtag2"]},{"1328241572":["hashtag1","hashtag2"]},{"1328241580":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328241576, 1328241572, 1328241580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.244757413864136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:56:02.543003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:56:22.051404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/55/image_11012025_19_55_03_103736_0003.jpg', '/home/pi/Desktop/images/11012025/19/56/image_11012025_19_56_02_273110_0000.jpg', '/home/pi/Desktop/images/11012025/19/56/image_11012025_19_56_02_273110_0001.jpg', '/home/pi/Desktop/images/11012025/19/56/image_11012025_19_56_02_273110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/55/image_11012025_19_55_03_103736_0003.jpg
/home/pi/Desktop/images/11012025/19/56/image_11012025_19_56_02_273110_0000.jpg
/home/pi/Desktop/images/11012025/19/56/image_11012025_19_56_02_273110_0001.jpg
/home/pi/Desktop/images/11012025/19/56/image_11012025_19_56_02_273110_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.699422359466553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 19:56:42.100509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/55/image_11012025_19_55_03_103736_0003.jpg', '/home/pi/Desktop/images/11012025/19/56/image_11012025_19_56_02_273110_0000.jpg', '/home/pi/Desktop/images/11012025/19/56/image_11012025_19_56_02_273110_0001.jpg', '/home/pi/Desktop/images/11012025/19/56/image_11012025_19_56_02_273110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/55/image_11012025_19_55_03_103736_0003.jpg
/home/pi/Desktop/images/11012025/19/56/image_11012025_19_56_02_273110_0000.jpg
/home/pi/Desktop/images/11012025/19/56/image_11012025_19_56_02_273110_0001.jpg
/home/pi/Desktop/images/11012025/19/56/image_11012025_19_56_02_273110_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328241600","1328241603","1328241602","1328241605"],"photo_ids_order":["1328241600","1328241602","1328241603","1328241605"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/953d0d5a73e6084fed6b147e1a971507.jpg","text":"TemporaryFile(/tmp/multipartBody3150408623200531800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621872201,"filename":"image_11012025_19_55_03_103736_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/09d4eab65ec342eb4cdb02d16fe25c60.jpg","text":"TemporaryFile(/tmp/multipartBody7580157225291716958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621872201,"filename":"image_11012025_19_56_02_273110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/df64ec8340c6bc6aa5724a066a169af9.jpg","text":"TemporaryFile(/tmp/multipartBody3887802689840355171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621872201,"filename":"image_11012025_19_56_02_273110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0e2417bcdab0ec4e21d07a8e1de7ea17.jpg","text":"TemporaryFile(/tmp/multipartBody100535612926920162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621872201,"filename":"image_11012025_19_56_02_273110_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328241603","file1":"1328241602","file0":"1328241600","file3":"1328241605"},"map_files_photo_id_array":[{"photo_id":"1328241603","filename":"file2"},{"photo_id":"1328241602","filename":"file1"},{"photo_id":"1328241600","filename":"file0"},{"photo_id":"1328241605","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328241600":["hashtag1","hashtag2"]},{"1328241603":["hashtag1","hashtag2"]},{"1328241602":["hashtag1","hashtag2"]},{"1328241605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328241600, 1328241603, 1328241602, 1328241605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.561245918273926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:57:22.370713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/56/image_11012025_19_56_02_273110_0003.jpg', '/home/pi/Desktop/images/11012025/19/57/image_11012025_19_57_02_504322_0000.jpg', '/home/pi/Desktop/images/11012025/19/57/image_11012025_19_57_02_504322_0001.jpg', '/home/pi/Desktop/images/11012025/19/57/image_11012025_19_57_02_504322_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/56/image_11012025_19_56_02_273110_0003.jpg
/home/pi/Desktop/images/11012025/19/57/image_11012025_19_57_02_504322_0000.jpg
/home/pi/Desktop/images/11012025/19/57/image_11012025_19_57_02_504322_0001.jpg
/home/pi/Desktop/images/11012025/19/57/image_11012025_19_57_02_504322_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328241637","1328241619","1328241628","1328241638"],"photo_ids_order":["1328241619","1328241628","1328241637","1328241638"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7d725d73661cf451780f70fb5199ab5b.jpg","text":"TemporaryFile(/tmp/multipartBody7160514989573064993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621912505,"filename":"image_11012025_19_57_02_504322_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2fe07bac1a3d1de1c7ba84514aa62eef.jpg","text":"TemporaryFile(/tmp/multipartBody8750648840124903683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621912505,"filename":"image_11012025_19_56_02_273110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/672f5b5104a54d3000c159abac687d44.jpg","text":"TemporaryFile(/tmp/multipartBody1445524572183442285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621912505,"filename":"image_11012025_19_57_02_504322_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d35e6e713d0aafaa5a06364918beee7c.jpg","text":"TemporaryFile(/tmp/multipartBody6873725629017101321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736621912505,"filename":"image_11012025_19_57_02_504322_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328241637","file1":"1328241628","file0":"1328241619","file3":"1328241638"},"map_files_photo_id_array":[{"photo_id":"1328241637","filename":"file2"},{"photo_id":"1328241628","filename":"file1"},{"photo_id":"1328241619","filename":"file0"},{"photo_id":"1328241638","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328241637":["hashtag1","hashtag2"]},{"1328241619":["hashtag1","hashtag2"]},{"1328241628":["hashtag1","hashtag2"]},{"1328241638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328241637, 1328241619, 1328241628, 1328241638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.53621220588684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 19:59:03.226645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 19:59:22.571999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/57/image_11012025_19_57_02_504322_0003.jpg', '/home/pi/Desktop/images/11012025/19/58/image_11012025_19_58_02_742597_0000.jpg', '/home/pi/Desktop/images/11012025/19/58/image_11012025_19_58_02_742597_0001.jpg', '/home/pi/Desktop/images/11012025/19/58/image_11012025_19_58_02_742597_0002.jpg', '/home/pi/Desktop/images/11012025/19/58/image_11012025_19_58_02_742597_0003.jpg', '/home/pi/Desktop/images/11012025/19/59/image_11012025_19_59_02_803849_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/57/image_11012025_19_57_02_504322_0003.jpg
/home/pi/Desktop/images/11012025/19/58/image_11012025_19_58_02_742597_0000.jpg
/home/pi/Desktop/images/11012025/19/58/image_11012025_19_58_02_742597_0001.jpg
/home/pi/Desktop/images/11012025/19/58/image_11012025_19_58_02_742597_0002.jpg
/home/pi/Desktop/images/11012025/19/58/image_11012025_19_58_02_742597_0003.jpg
/home/pi/Desktop/images/11012025/19/59/image_11012025_19_59_02_803849_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328241684","1328241686","1328241691","1328241685","1328241694","1328241688"],"photo_ids_order":["1328241684","1328241685","1328241686","1328241688","1328241691","1328241694"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ec799504de8b98e1c2a841e478b01bb0.jpg","text":"TemporaryFile(/tmp/multipartBody4065131966203490613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622037609,"filename":"image_11012025_19_57_02_504322_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dc4a712ad34edf7a2aa5674bb50c7c63.jpg","text":"TemporaryFile(/tmp/multipartBody1677167539322091597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622037609,"filename":"image_11012025_19_58_02_742597_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0eeded9133452d1d5d583b53701a99de.jpg","text":"TemporaryFile(/tmp/multipartBody6135288472050021712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622037609,"filename":"image_11012025_19_58_02_742597_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/471042887cf27b775770aa317bb636b4.jpg","text":"TemporaryFile(/tmp/multipartBody1368716480853578762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622037609,"filename":"image_11012025_19_58_02_742597_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7f22fd3358c5c2fc7d968b32939d8e50.jpg","text":"TemporaryFile(/tmp/multipartBody9080055585786749508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622037609,"filename":"image_11012025_19_59_02_803849_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e928bd3c71e5b06d441e2abd006710d9.jpg","text":"TemporaryFile(/tmp/multipartBody3494861742713189090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622037609,"filename":"image_11012025_19_58_02_742597_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328241686","file1":"1328241685","file0":"1328241684","file4":"1328241691","file5":"1328241694","file3":"1328241688"},"map_files_photo_id_array":[{"photo_id":"1328241694","filename":"file5"},{"photo_id":"1328241686","filename":"file2"},{"photo_id":"1328241691","filename":"file4"},{"photo_id":"1328241685","filename":"file1"},{"photo_id":"1328241684","filename":"file0"},{"photo_id":"1328241688","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328241684":["hashtag1","hashtag2"]},{"1328241686":["hashtag1","hashtag2"]},{"1328241691":["hashtag1","hashtag2"]},{"1328241685":["hashtag1","hashtag2"]},{"1328241694":["hashtag1","hashtag2"]},{"1328241688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328241684, 1328241686, 1328241691, 1328241685, 1328241694, 1328241688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.556161880493164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:00:21.862535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/19/59/image_11012025_19_59_02_803849_0001.jpg', '/home/pi/Desktop/images/11012025/19/59/image_11012025_19_59_02_803849_0002.jpg', '/home/pi/Desktop/images/11012025/19/59/image_11012025_19_59_02_803849_0003.jpg', '/home/pi/Desktop/images/11012025/20/00/image_11012025_20_00_02_964595_0000.jpg', '/home/pi/Desktop/images/11012025/20/00/image_11012025_20_00_02_964595_0001.jpg', '/home/pi/Desktop/images/11012025/20/00/image_11012025_20_00_02_964595_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/19/59/image_11012025_19_59_02_803849_0001.jpg
/home/pi/Desktop/images/11012025/19/59/image_11012025_19_59_02_803849_0002.jpg
/home/pi/Desktop/images/11012025/19/59/image_11012025_19_59_02_803849_0003.jpg
/home/pi/Desktop/images/11012025/20/00/image_11012025_20_00_02_964595_0000.jpg
/home/pi/Desktop/images/11012025/20/00/image_11012025_20_00_02_964595_0001.jpg
/home/pi/Desktop/images/11012025/20/00/image_11012025_20_00_02_964595_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328242386","1328242638","1328242623","1328242640","1328242642","1328242630"],"photo_ids_order":["1328242386","1328242623","1328242630","1328242638","1328242640","1328242642"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/74c163a568bc55aa670d14cd8fa4d80f.jpg","text":"TemporaryFile(/tmp/multipartBody2037544975651816117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622099218,"filename":"image_11012025_19_59_02_803849_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cea8d1a02a87c9a6583ad32d4f85c995.jpg","text":"TemporaryFile(/tmp/multipartBody2079255730985218416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622099218,"filename":"image_11012025_20_00_02_964595_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/29b763643755918aeb6167b493ede5ea.jpg","text":"TemporaryFile(/tmp/multipartBody1520168600035276567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622099218,"filename":"image_11012025_19_59_02_803849_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d521a4e6bd5ceb203006e6e962c6f3eb.jpg","text":"TemporaryFile(/tmp/multipartBody5615150984335910499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622099218,"filename":"image_11012025_20_00_02_964595_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2a0a3e770d55a5447a64b42232e142ea.jpg","text":"TemporaryFile(/tmp/multipartBody1754204064128414611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622099218,"filename":"image_11012025_20_00_02_964595_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a346e6fcbfb43198e1cfb813bae1e743.jpg","text":"TemporaryFile(/tmp/multipartBody1211450776175542032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622099218,"filename":"image_11012025_19_59_02_803849_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328242630","file1":"1328242623","file0":"1328242386","file4":"1328242640","file5":"1328242642","file3":"1328242638"},"map_files_photo_id_array":[{"photo_id":"1328242642","filename":"file5"},{"photo_id":"1328242630","filename":"file2"},{"photo_id":"1328242640","filename":"file4"},{"photo_id":"1328242623","filename":"file1"},{"photo_id":"1328242386","filename":"file0"},{"photo_id":"1328242638","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328242386":["hashtag1","hashtag2"]},{"1328242638":["hashtag1","hashtag2"]},{"1328242623":["hashtag1","hashtag2"]},{"1328242640":["hashtag1","hashtag2"]},{"1328242642":["hashtag1","hashtag2"]},{"1328242630":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328242386, 1328242638, 1328242623, 1328242640, 1328242642, 1328242630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.26426339149475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:01:22.021445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/00/image_11012025_20_00_02_964595_0003.jpg', '/home/pi/Desktop/images/11012025/20/01/image_11012025_20_01_02_222693_0000.jpg', '/home/pi/Desktop/images/11012025/20/01/image_11012025_20_01_02_222693_0001.jpg', '/home/pi/Desktop/images/11012025/20/01/image_11012025_20_01_02_222693_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/00/image_11012025_20_00_02_964595_0003.jpg
/home/pi/Desktop/images/11012025/20/01/image_11012025_20_01_02_222693_0000.jpg
/home/pi/Desktop/images/11012025/20/01/image_11012025_20_01_02_222693_0001.jpg
/home/pi/Desktop/images/11012025/20/01/image_11012025_20_01_02_222693_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328242878","1328242739","1328242910","1328242879"],"photo_ids_order":["1328242739","1328242878","1328242879","1328242910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c2fe00e7307750c42472f94893004bc2.jpg","text":"TemporaryFile(/tmp/multipartBody8307296928716637686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622152309,"filename":"image_11012025_20_01_02_222693_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b6fb29332b3816d7b8b3f8cb88204ae0.jpg","text":"TemporaryFile(/tmp/multipartBody3394430519521776033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622152309,"filename":"image_11012025_20_00_02_964595_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1c9fd8d3482e0a9d301a630b166beeab.jpg","text":"TemporaryFile(/tmp/multipartBody5691635814969350518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622152309,"filename":"image_11012025_20_01_02_222693_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/abe3cd11b05aa4975e9f2853758ac8c8.jpg","text":"TemporaryFile(/tmp/multipartBody8497227696035628396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622152309,"filename":"image_11012025_20_01_02_222693_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328242879","file1":"1328242878","file0":"1328242739","file3":"1328242910"},"map_files_photo_id_array":[{"photo_id":"1328242879","filename":"file2"},{"photo_id":"1328242878","filename":"file1"},{"photo_id":"1328242739","filename":"file0"},{"photo_id":"1328242910","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328242878":["hashtag1","hashtag2"]},{"1328242739":["hashtag1","hashtag2"]},{"1328242910":["hashtag1","hashtag2"]},{"1328242879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328242878, 1328242739, 1328242910, 1328242879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.95055627822876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:02:22.229479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/01/image_11012025_20_01_02_222693_0003.jpg', '/home/pi/Desktop/images/11012025/20/02/image_11012025_20_02_02_414308_0000.jpg', '/home/pi/Desktop/images/11012025/20/02/image_11012025_20_02_02_414308_0001.jpg', '/home/pi/Desktop/images/11012025/20/02/image_11012025_20_02_02_414308_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/01/image_11012025_20_01_02_222693_0003.jpg
/home/pi/Desktop/images/11012025/20/02/image_11012025_20_02_02_414308_0000.jpg
/home/pi/Desktop/images/11012025/20/02/image_11012025_20_02_02_414308_0001.jpg
/home/pi/Desktop/images/11012025/20/02/image_11012025_20_02_02_414308_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328242980","1328242981","1328242975","1328242978"],"photo_ids_order":["1328242975","1328242978","1328242980","1328242981"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4708ec90fa5bfb6f26e46619d5a22be3.jpg","text":"TemporaryFile(/tmp/multipartBody3875878814704651509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622212427,"filename":"image_11012025_20_02_02_414308_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0c8a535a29e1e81857506aa45ad53b00.jpg","text":"TemporaryFile(/tmp/multipartBody933162753634252402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622212427,"filename":"image_11012025_20_02_02_414308_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d1826a75a42b1a96d9b5dce6962c7262.jpg","text":"TemporaryFile(/tmp/multipartBody7457648086925783405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622212427,"filename":"image_11012025_20_01_02_222693_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/90fe4060c0e1557d92ccd41fe6c37b58.jpg","text":"TemporaryFile(/tmp/multipartBody4283315332972351262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622212427,"filename":"image_11012025_20_02_02_414308_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328242980","file1":"1328242978","file0":"1328242975","file3":"1328242981"},"map_files_photo_id_array":[{"photo_id":"1328242980","filename":"file2"},{"photo_id":"1328242978","filename":"file1"},{"photo_id":"1328242975","filename":"file0"},{"photo_id":"1328242981","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328242980":["hashtag1","hashtag2"]},{"1328242981":["hashtag1","hashtag2"]},{"1328242975":["hashtag1","hashtag2"]},{"1328242978":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328242980, 1328242981, 1328242975, 1328242978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.93269109725952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:03:22.397694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/02/image_11012025_20_02_02_414308_0003.jpg', '/home/pi/Desktop/images/11012025/20/03/image_11012025_20_03_02_613001_0000.jpg', '/home/pi/Desktop/images/11012025/20/03/image_11012025_20_03_02_613001_0001.jpg', '/home/pi/Desktop/images/11012025/20/03/image_11012025_20_03_02_613001_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/02/image_11012025_20_02_02_414308_0003.jpg
/home/pi/Desktop/images/11012025/20/03/image_11012025_20_03_02_613001_0000.jpg
/home/pi/Desktop/images/11012025/20/03/image_11012025_20_03_02_613001_0001.jpg
/home/pi/Desktop/images/11012025/20/03/image_11012025_20_03_02_613001_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328242996","1328243005","1328243289","1328242998"],"photo_ids_order":["1328242996","1328242998","1328243005","1328243289"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d81aadb17730f79958415f55e5f929f7.jpg","text":"TemporaryFile(/tmp/multipartBody3075252482449919787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622272469,"filename":"image_11012025_20_02_02_414308_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/52caeb710a648ff642b95cca988e6156.jpg","text":"TemporaryFile(/tmp/multipartBody5770361628189118990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622272469,"filename":"image_11012025_20_03_02_613001_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c35914e08a52b4527e2d029d32bede86.jpg","text":"TemporaryFile(/tmp/multipartBody7017650973125751853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622272469,"filename":"image_11012025_20_03_02_613001_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/907fd833c4a7c5856e0686c32c34ebdf.jpg","text":"TemporaryFile(/tmp/multipartBody1213132992142843702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622272469,"filename":"image_11012025_20_03_02_613001_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328243005","file1":"1328242998","file0":"1328242996","file3":"1328243289"},"map_files_photo_id_array":[{"photo_id":"1328243005","filename":"file2"},{"photo_id":"1328242998","filename":"file1"},{"photo_id":"1328242996","filename":"file0"},{"photo_id":"1328243289","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328242996":["hashtag1","hashtag2"]},{"1328243005":["hashtag1","hashtag2"]},{"1328243289":["hashtag1","hashtag2"]},{"1328242998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328242996, 1328243005, 1328243289, 1328242998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.87671875953674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:04:22.561326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/03/image_11012025_20_03_02_613001_0003.jpg', '/home/pi/Desktop/images/11012025/20/04/image_11012025_20_04_02_771386_0000.jpg', '/home/pi/Desktop/images/11012025/20/04/image_11012025_20_04_02_771386_0001.jpg', '/home/pi/Desktop/images/11012025/20/04/image_11012025_20_04_02_771386_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/03/image_11012025_20_03_02_613001_0003.jpg
/home/pi/Desktop/images/11012025/20/04/image_11012025_20_04_02_771386_0000.jpg
/home/pi/Desktop/images/11012025/20/04/image_11012025_20_04_02_771386_0001.jpg
/home/pi/Desktop/images/11012025/20/04/image_11012025_20_04_02_771386_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328243854","1328243845","1328243850","1328243847"],"photo_ids_order":["1328243845","1328243847","1328243850","1328243854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/26675183a572946066b3680c8f2de51a.jpg","text":"TemporaryFile(/tmp/multipartBody6082500675080444761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622332925,"filename":"image_11012025_20_04_02_771386_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f88375b2c5f6849a5baec75a38a5c0a5.jpg","text":"TemporaryFile(/tmp/multipartBody8466271991955701286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622332925,"filename":"image_11012025_20_03_02_613001_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/640af3e2a0c3990662f5905f7a7b1f04.jpg","text":"TemporaryFile(/tmp/multipartBody2717895834227739407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622332925,"filename":"image_11012025_20_04_02_771386_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d0606bae63bf85e7ff87ec1a2f2e6aff.jpg","text":"TemporaryFile(/tmp/multipartBody1187487786283719820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622332925,"filename":"image_11012025_20_04_02_771386_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328243850","file1":"1328243847","file0":"1328243845","file3":"1328243854"},"map_files_photo_id_array":[{"photo_id":"1328243850","filename":"file2"},{"photo_id":"1328243847","filename":"file1"},{"photo_id":"1328243845","filename":"file0"},{"photo_id":"1328243854","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328243854":["hashtag1","hashtag2"]},{"1328243845":["hashtag1","hashtag2"]},{"1328243850":["hashtag1","hashtag2"]},{"1328243847":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328243854, 1328243845, 1328243850, 1328243847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.95205616950989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:05:21.912980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/04/image_11012025_20_04_02_771386_0003.jpg', '/home/pi/Desktop/images/11012025/20/05/image_11012025_20_05_02_926002_0000.jpg', '/home/pi/Desktop/images/11012025/20/05/image_11012025_20_05_02_926002_0001.jpg', '/home/pi/Desktop/images/11012025/20/05/image_11012025_20_05_02_926002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/04/image_11012025_20_04_02_771386_0003.jpg
/home/pi/Desktop/images/11012025/20/05/image_11012025_20_05_02_926002_0000.jpg
/home/pi/Desktop/images/11012025/20/05/image_11012025_20_05_02_926002_0001.jpg
/home/pi/Desktop/images/11012025/20/05/image_11012025_20_05_02_926002_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328244254","1328244255","1328244336","1328244252"],"photo_ids_order":["1328244252","1328244254","1328244255","1328244336"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/816e3fb53ef2f4b9515e0dd3f24a80e1.jpg","text":"TemporaryFile(/tmp/multipartBody2688204781569060690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622392199,"filename":"image_11012025_20_05_02_926002_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/163f83f4c70e0a1a73d23c29739712c2.jpg","text":"TemporaryFile(/tmp/multipartBody5990902432996750868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622392199,"filename":"image_11012025_20_05_02_926002_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e64a91c79f451884dcd93ec129453651.jpg","text":"TemporaryFile(/tmp/multipartBody8661570929167887130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622392199,"filename":"image_11012025_20_05_02_926002_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/50800852217746bd339ae3b06fc8ac96.jpg","text":"TemporaryFile(/tmp/multipartBody8987816230350998652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622392199,"filename":"image_11012025_20_04_02_771386_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328244255","file1":"1328244254","file0":"1328244252","file3":"1328244336"},"map_files_photo_id_array":[{"photo_id":"1328244255","filename":"file2"},{"photo_id":"1328244254","filename":"file1"},{"photo_id":"1328244252","filename":"file0"},{"photo_id":"1328244336","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328244254":["hashtag1","hashtag2"]},{"1328244255":["hashtag1","hashtag2"]},{"1328244336":["hashtag1","hashtag2"]},{"1328244252":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328244254, 1328244255, 1328244336, 1328244252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.913193225860596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:06:22.050926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/05/image_11012025_20_05_02_926002_0003.jpg', '/home/pi/Desktop/images/11012025/20/06/image_11012025_20_06_02_241036_0000.jpg', '/home/pi/Desktop/images/11012025/20/06/image_11012025_20_06_02_241036_0001.jpg', '/home/pi/Desktop/images/11012025/20/06/image_11012025_20_06_02_241036_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/05/image_11012025_20_05_02_926002_0003.jpg
/home/pi/Desktop/images/11012025/20/06/image_11012025_20_06_02_241036_0000.jpg
/home/pi/Desktop/images/11012025/20/06/image_11012025_20_06_02_241036_0001.jpg
/home/pi/Desktop/images/11012025/20/06/image_11012025_20_06_02_241036_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328244362","1328244359","1328244374","1328244356"],"photo_ids_order":["1328244356","1328244359","1328244362","1328244374"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/df9a925c324c416e8bd998c5e35bbafd.jpg","text":"TemporaryFile(/tmp/multipartBody7680913447810344954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622452190,"filename":"image_11012025_20_06_02_241036_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d3bbe90cf540295e2c00be54f0270533.jpg","text":"TemporaryFile(/tmp/multipartBody8805761699890861026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622452190,"filename":"image_11012025_20_06_02_241036_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/60e46fcf06f25a7f6ec80e08e138b3fc.jpg","text":"TemporaryFile(/tmp/multipartBody3164754484109488109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622452190,"filename":"image_11012025_20_06_02_241036_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1a74fe219551ca2eca5953167a12f910.jpg","text":"TemporaryFile(/tmp/multipartBody2890033915042772697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622452190,"filename":"image_11012025_20_05_02_926002_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328244362","file1":"1328244359","file0":"1328244356","file3":"1328244374"},"map_files_photo_id_array":[{"photo_id":"1328244362","filename":"file2"},{"photo_id":"1328244359","filename":"file1"},{"photo_id":"1328244356","filename":"file0"},{"photo_id":"1328244374","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328244362":["hashtag1","hashtag2"]},{"1328244359":["hashtag1","hashtag2"]},{"1328244374":["hashtag1","hashtag2"]},{"1328244356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328244362, 1328244359, 1328244374, 1328244356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.099745988845825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:07:02.856419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:07:22.336019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/06/image_11012025_20_06_02_241036_0003.jpg', '/home/pi/Desktop/images/11012025/20/07/image_11012025_20_07_02_369678_0000.jpg', '/home/pi/Desktop/images/11012025/20/07/image_11012025_20_07_02_369678_0001.jpg', '/home/pi/Desktop/images/11012025/20/07/image_11012025_20_07_02_369678_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/06/image_11012025_20_06_02_241036_0003.jpg
/home/pi/Desktop/images/11012025/20/07/image_11012025_20_07_02_369678_0000.jpg
/home/pi/Desktop/images/11012025/20/07/image_11012025_20_07_02_369678_0001.jpg
/home/pi/Desktop/images/11012025/20/07/image_11012025_20_07_02_369678_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328244407","1328244404","1328244402","1328244411"],"photo_ids_order":["1328244402","1328244404","1328244407","1328244411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/40ee571668e745d371197986764b7d7f.jpg","text":"TemporaryFile(/tmp/multipartBody8219105602980962469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622512402,"filename":"image_11012025_20_07_02_369678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ee29879f0e198a4be625f211dfdb6d3c.jpg","text":"TemporaryFile(/tmp/multipartBody6400645102065596200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622512402,"filename":"image_11012025_20_07_02_369678_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3b9ce949811c00ac50a3b5f84f9ead97.jpg","text":"TemporaryFile(/tmp/multipartBody1427271782071215713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622512402,"filename":"image_11012025_20_06_02_241036_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2205b49535fea0376b2b46ae1c3327dd.jpg","text":"TemporaryFile(/tmp/multipartBody1370570406545034709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622512402,"filename":"image_11012025_20_07_02_369678_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328244407","file1":"1328244404","file0":"1328244402","file3":"1328244411"},"map_files_photo_id_array":[{"photo_id":"1328244407","filename":"file2"},{"photo_id":"1328244404","filename":"file1"},{"photo_id":"1328244402","filename":"file0"},{"photo_id":"1328244411","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328244407":["hashtag1","hashtag2"]},{"1328244404":["hashtag1","hashtag2"]},{"1328244402":["hashtag1","hashtag2"]},{"1328244411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328244407, 1328244404, 1328244402, 1328244411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.09535884857178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:08:22.399578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/07/image_11012025_20_07_02_369678_0003.jpg', '/home/pi/Desktop/images/11012025/20/08/image_11012025_20_08_02_626994_0000.jpg', '/home/pi/Desktop/images/11012025/20/08/image_11012025_20_08_02_626994_0001.jpg', '/home/pi/Desktop/images/11012025/20/08/image_11012025_20_08_02_626994_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/07/image_11012025_20_07_02_369678_0003.jpg
/home/pi/Desktop/images/11012025/20/08/image_11012025_20_08_02_626994_0000.jpg
/home/pi/Desktop/images/11012025/20/08/image_11012025_20_08_02_626994_0001.jpg
/home/pi/Desktop/images/11012025/20/08/image_11012025_20_08_02_626994_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328244431","1328244422","1328244424","1328244427"],"photo_ids_order":["1328244422","1328244424","1328244427","1328244431"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e0a2ad521fdacfaf7f2d95f8d471bd79.jpg","text":"TemporaryFile(/tmp/multipartBody3836545569236003140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622572548,"filename":"image_11012025_20_08_02_626994_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3091cdf074c1e75cfa458a9bb4612f23.jpg","text":"TemporaryFile(/tmp/multipartBody4045405211694504780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622572548,"filename":"image_11012025_20_07_02_369678_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f5d08813cab640d7fc88233e83c8f302.jpg","text":"TemporaryFile(/tmp/multipartBody3817484448752494207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622572548,"filename":"image_11012025_20_08_02_626994_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e5dbcbf0be531352b0a6842add902fe3.jpg","text":"TemporaryFile(/tmp/multipartBody699248870436749229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622572548,"filename":"image_11012025_20_08_02_626994_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328244427","file1":"1328244424","file0":"1328244422","file3":"1328244431"},"map_files_photo_id_array":[{"photo_id":"1328244427","filename":"file2"},{"photo_id":"1328244424","filename":"file1"},{"photo_id":"1328244422","filename":"file0"},{"photo_id":"1328244431","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328244431":["hashtag1","hashtag2"]},{"1328244422":["hashtag1","hashtag2"]},{"1328244424":["hashtag1","hashtag2"]},{"1328244427":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328244431, 1328244422, 1328244424, 1328244427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.64968943595886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:09:22.665037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/08/image_11012025_20_08_02_626994_0003.jpg', '/home/pi/Desktop/images/11012025/20/09/image_11012025_20_09_02_777956_0000.jpg', '/home/pi/Desktop/images/11012025/20/09/image_11012025_20_09_02_777956_0001.jpg', '/home/pi/Desktop/images/11012025/20/09/image_11012025_20_09_02_777956_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/08/image_11012025_20_08_02_626994_0003.jpg
/home/pi/Desktop/images/11012025/20/09/image_11012025_20_09_02_777956_0000.jpg
/home/pi/Desktop/images/11012025/20/09/image_11012025_20_09_02_777956_0001.jpg
/home/pi/Desktop/images/11012025/20/09/image_11012025_20_09_02_777956_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328244515","1328244500","1328244503","1328244457"],"photo_ids_order":["1328244457","1328244500","1328244503","1328244515"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4b82ea20cf5007d2c4b4448ffe929c51.jpg","text":"TemporaryFile(/tmp/multipartBody1658681480353920426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622632914,"filename":"image_11012025_20_09_02_777956_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f2a4f9f446bef062fa5416abac3bdd24.jpg","text":"TemporaryFile(/tmp/multipartBody4255220434850385343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622632914,"filename":"image_11012025_20_09_02_777956_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/92ad900864f5f8caff5264510b553688.jpg","text":"TemporaryFile(/tmp/multipartBody2040508587858169002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622632914,"filename":"image_11012025_20_09_02_777956_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/15735d865a5b09f4fb3aa847d09da972.jpg","text":"TemporaryFile(/tmp/multipartBody9218677423864602397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622632914,"filename":"image_11012025_20_08_02_626994_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328244503","file1":"1328244500","file0":"1328244457","file3":"1328244515"},"map_files_photo_id_array":[{"photo_id":"1328244503","filename":"file2"},{"photo_id":"1328244500","filename":"file1"},{"photo_id":"1328244457","filename":"file0"},{"photo_id":"1328244515","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328244515":["hashtag1","hashtag2"]},{"1328244500":["hashtag1","hashtag2"]},{"1328244503":["hashtag1","hashtag2"]},{"1328244457":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328244515, 1328244500, 1328244503, 1328244457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.79534840583801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:10:21.865014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/09/image_11012025_20_09_02_777956_0003.jpg', '/home/pi/Desktop/images/11012025/20/10/image_11012025_20_10_02_998851_0000.jpg', '/home/pi/Desktop/images/11012025/20/10/image_11012025_20_10_02_998851_0001.jpg', '/home/pi/Desktop/images/11012025/20/10/image_11012025_20_10_02_998851_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/09/image_11012025_20_09_02_777956_0003.jpg
/home/pi/Desktop/images/11012025/20/10/image_11012025_20_10_02_998851_0000.jpg
/home/pi/Desktop/images/11012025/20/10/image_11012025_20_10_02_998851_0001.jpg
/home/pi/Desktop/images/11012025/20/10/image_11012025_20_10_02_998851_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328244539","1328244541","1328244544","1328244547"],"photo_ids_order":["1328244539","1328244541","1328244544","1328244547"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7ab851fc71ce2b2e452b509c0af42f67.jpg","text":"TemporaryFile(/tmp/multipartBody8577598360484585290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622692137,"filename":"image_11012025_20_09_02_777956_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fb7f70f41f0228f25cdae8f3a66794b4.jpg","text":"TemporaryFile(/tmp/multipartBody7155905055871699926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622692137,"filename":"image_11012025_20_10_02_998851_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/87e1c98ad68889e990ac020eb712e393.jpg","text":"TemporaryFile(/tmp/multipartBody4005460750452011829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622692137,"filename":"image_11012025_20_10_02_998851_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8d78f2a814ca0906b95dcad79344a279.jpg","text":"TemporaryFile(/tmp/multipartBody5663250027540592984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622692137,"filename":"image_11012025_20_10_02_998851_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328244544","file1":"1328244541","file0":"1328244539","file3":"1328244547"},"map_files_photo_id_array":[{"photo_id":"1328244544","filename":"file2"},{"photo_id":"1328244541","filename":"file1"},{"photo_id":"1328244539","filename":"file0"},{"photo_id":"1328244547","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328244539":["hashtag1","hashtag2"]},{"1328244541":["hashtag1","hashtag2"]},{"1328244544":["hashtag1","hashtag2"]},{"1328244547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328244539, 1328244541, 1328244544, 1328244547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.03239297866821 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:11:22.032104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/10/image_11012025_20_10_02_998851_0003.jpg', '/home/pi/Desktop/images/11012025/20/11/image_11012025_20_11_02_175276_0000.jpg', '/home/pi/Desktop/images/11012025/20/11/image_11012025_20_11_02_175276_0001.jpg', '/home/pi/Desktop/images/11012025/20/11/image_11012025_20_11_02_175276_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/10/image_11012025_20_10_02_998851_0003.jpg
/home/pi/Desktop/images/11012025/20/11/image_11012025_20_11_02_175276_0000.jpg
/home/pi/Desktop/images/11012025/20/11/image_11012025_20_11_02_175276_0001.jpg
/home/pi/Desktop/images/11012025/20/11/image_11012025_20_11_02_175276_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328244569","1328244563","1328244572","1328244566"],"photo_ids_order":["1328244563","1328244566","1328244569","1328244572"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cc6cd6deaa99c663419d37d2578b03bc.jpg","text":"TemporaryFile(/tmp/multipartBody2426285984585085699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622752268,"filename":"image_11012025_20_11_02_175276_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d6bb57bc6f9722ff44d72601788b7112.jpg","text":"TemporaryFile(/tmp/multipartBody1493096628667871598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622752268,"filename":"image_11012025_20_10_02_998851_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ba4636d9cf09cff333825ac9e53d5a2f.jpg","text":"TemporaryFile(/tmp/multipartBody7737369337108913910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622752268,"filename":"image_11012025_20_11_02_175276_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7699a64a551696ec66d2f0b56158f146.jpg","text":"TemporaryFile(/tmp/multipartBody7366810351942997500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622752268,"filename":"image_11012025_20_11_02_175276_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328244569","file1":"1328244566","file0":"1328244563","file3":"1328244572"},"map_files_photo_id_array":[{"photo_id":"1328244569","filename":"file2"},{"photo_id":"1328244566","filename":"file1"},{"photo_id":"1328244563","filename":"file0"},{"photo_id":"1328244572","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328244569":["hashtag1","hashtag2"]},{"1328244563":["hashtag1","hashtag2"]},{"1328244572":["hashtag1","hashtag2"]},{"1328244566":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328244569, 1328244563, 1328244572, 1328244566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.91856050491333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:12:22.192675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/11/image_11012025_20_11_02_175276_0003.jpg', '/home/pi/Desktop/images/11012025/20/12/image_11012025_20_12_02_392553_0000.jpg', '/home/pi/Desktop/images/11012025/20/12/image_11012025_20_12_02_392553_0001.jpg', '/home/pi/Desktop/images/11012025/20/12/image_11012025_20_12_02_392553_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/11/image_11012025_20_11_02_175276_0003.jpg
/home/pi/Desktop/images/11012025/20/12/image_11012025_20_12_02_392553_0000.jpg
/home/pi/Desktop/images/11012025/20/12/image_11012025_20_12_02_392553_0001.jpg
/home/pi/Desktop/images/11012025/20/12/image_11012025_20_12_02_392553_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328244599","1328244582","1328244585","1328244587"],"photo_ids_order":["1328244582","1328244585","1328244587","1328244599"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4463d9c7b0db3984906ef4ecbe56b6b3.jpg","text":"TemporaryFile(/tmp/multipartBody3389863824697957038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622812441,"filename":"image_11012025_20_12_02_392553_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/68e40cb9844561c4b0ea96dadd96ee8f.jpg","text":"TemporaryFile(/tmp/multipartBody4202271154860887647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622812441,"filename":"image_11012025_20_11_02_175276_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/79da465d1877b4e3a64ab3b2c7ca4dba.jpg","text":"TemporaryFile(/tmp/multipartBody6294273241806604170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622812441,"filename":"image_11012025_20_12_02_392553_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bb48c27e3e06e0b662e04fdf170e801a.jpg","text":"TemporaryFile(/tmp/multipartBody6220809806811778913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622812441,"filename":"image_11012025_20_12_02_392553_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328244587","file1":"1328244585","file0":"1328244582","file3":"1328244599"},"map_files_photo_id_array":[{"photo_id":"1328244587","filename":"file2"},{"photo_id":"1328244585","filename":"file1"},{"photo_id":"1328244582","filename":"file0"},{"photo_id":"1328244599","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328244599":["hashtag1","hashtag2"]},{"1328244582":["hashtag1","hashtag2"]},{"1328244585":["hashtag1","hashtag2"]},{"1328244587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328244599, 1328244582, 1328244585, 1328244587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.747509479522705 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-11 20:13:22.513423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/12/image_11012025_20_12_02_392553_0003.jpg', '/home/pi/Desktop/images/11012025/20/13/image_11012025_20_13_02_551759_0000.jpg', '/home/pi/Desktop/images/11012025/20/13/image_11012025_20_13_02_551759_0001.jpg', '/home/pi/Desktop/images/11012025/20/13/image_11012025_20_13_02_551759_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/12/image_11012025_20_12_02_392553_0003.jpg
/home/pi/Desktop/images/11012025/20/13/image_11012025_20_13_02_551759_0000.jpg
/home/pi/Desktop/images/11012025/20/13/image_11012025_20_13_02_551759_0001.jpg
/home/pi/Desktop/images/11012025/20/13/image_11012025_20_13_02_551759_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328244635","1328244637","1328244633","1328244636"],"photo_ids_order":["1328244633","1328244635","1328244636","1328244637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dbf34bcc1f68b54c0dfd480235be27c7.jpg","text":"TemporaryFile(/tmp/multipartBody3690871473940833068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622872721,"filename":"image_11012025_20_13_02_551759_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/abcc01894ebde7d47c0b134b117bde6e.jpg","text":"TemporaryFile(/tmp/multipartBody1184290745434752148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622872721,"filename":"image_11012025_20_13_02_551759_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4855c6eb6c5594854f0d28da1f331973.jpg","text":"TemporaryFile(/tmp/multipartBody8674122296170963310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622872721,"filename":"image_11012025_20_12_02_392553_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f6528d9604b79cd45323d8a5003a9fe5.jpg","text":"TemporaryFile(/tmp/multipartBody1040756426677274690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622872721,"filename":"image_11012025_20_13_02_551759_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328244636","file1":"1328244635","file0":"1328244633","file3":"1328244637"},"map_files_photo_id_array":[{"photo_id":"1328244636","filename":"file2"},{"photo_id":"1328244635","filename":"file1"},{"photo_id":"1328244633","filename":"file0"},{"photo_id":"1328244637","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328244635":["hashtag1","hashtag2"]},{"1328244637":["hashtag1","hashtag2"]},{"1328244633":["hashtag1","hashtag2"]},{"1328244636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328244635, 1328244637, 1328244633, 1328244636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.54371237754822 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-11 20:14:22.639922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/13/image_11012025_20_13_02_551759_0003.jpg', '/home/pi/Desktop/images/11012025/20/14/image_11012025_20_14_02_823059_0000.jpg', '/home/pi/Desktop/images/11012025/20/14/image_11012025_20_14_02_823059_0001.jpg', '/home/pi/Desktop/images/11012025/20/14/image_11012025_20_14_02_823059_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/13/image_11012025_20_13_02_551759_0003.jpg
/home/pi/Desktop/images/11012025/20/14/image_11012025_20_14_02_823059_0000.jpg
/home/pi/Desktop/images/11012025/20/14/image_11012025_20_14_02_823059_0001.jpg
/home/pi/Desktop/images/11012025/20/14/image_11012025_20_14_02_823059_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328244665","1328244667","1328244658","1328244663"],"photo_ids_order":["1328244658","1328244663","1328244665","1328244667"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/28f1d2535bb62332395490f9f7b3d01f.jpg","text":"TemporaryFile(/tmp/multipartBody6740417044984980328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622932716,"filename":"image_11012025_20_14_02_823059_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0354525e6452e85ac60a504d8e565c01.jpg","text":"TemporaryFile(/tmp/multipartBody6968167834815868028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622932716,"filename":"image_11012025_20_14_02_823059_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/96d76ba3ca7ae01900997960dda79c08.jpg","text":"TemporaryFile(/tmp/multipartBody445086375350326362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622932716,"filename":"image_11012025_20_13_02_551759_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5ce2d537942f531c81c14de14e03f7c8.jpg","text":"TemporaryFile(/tmp/multipartBody5688042234213604229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622932716,"filename":"image_11012025_20_14_02_823059_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328244665","file1":"1328244663","file0":"1328244658","file3":"1328244667"},"map_files_photo_id_array":[{"photo_id":"1328244665","filename":"file2"},{"photo_id":"1328244663","filename":"file1"},{"photo_id":"1328244658","filename":"file0"},{"photo_id":"1328244667","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328244665":["hashtag1","hashtag2"]},{"1328244667":["hashtag1","hashtag2"]},{"1328244658":["hashtag1","hashtag2"]},{"1328244663":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328244665, 1328244667, 1328244658, 1328244663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.35977005958557 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:15:21.848493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/14/image_11012025_20_14_02_823059_0003.jpg', '/home/pi/Desktop/images/11012025/20/15/image_11012025_20_15_02_989315_0000.jpg', '/home/pi/Desktop/images/11012025/20/15/image_11012025_20_15_02_989315_0001.jpg', '/home/pi/Desktop/images/11012025/20/15/image_11012025_20_15_02_989315_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/14/image_11012025_20_14_02_823059_0003.jpg
/home/pi/Desktop/images/11012025/20/15/image_11012025_20_15_02_989315_0000.jpg
/home/pi/Desktop/images/11012025/20/15/image_11012025_20_15_02_989315_0001.jpg
/home/pi/Desktop/images/11012025/20/15/image_11012025_20_15_02_989315_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328244683","1328244694","1328244690","1328244687"],"photo_ids_order":["1328244683","1328244687","1328244690","1328244694"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7251676603ecbda4efb470a23e08b88d.jpg","text":"TemporaryFile(/tmp/multipartBody2459919928036677781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622991975,"filename":"image_11012025_20_14_02_823059_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d4c7e7da405dcc2df74f7db7ef84e722.jpg","text":"TemporaryFile(/tmp/multipartBody6324411321458357292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622991975,"filename":"image_11012025_20_15_02_989315_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6a994fd02306af1fcac97ee4d811e240.jpg","text":"TemporaryFile(/tmp/multipartBody4630717094336180275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622991975,"filename":"image_11012025_20_15_02_989315_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/319eb48b27293abe007685b3960de095.jpg","text":"TemporaryFile(/tmp/multipartBody1092820223143954531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736622991975,"filename":"image_11012025_20_15_02_989315_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328244690","file1":"1328244687","file0":"1328244683","file3":"1328244694"},"map_files_photo_id_array":[{"photo_id":"1328244690","filename":"file2"},{"photo_id":"1328244687","filename":"file1"},{"photo_id":"1328244683","filename":"file0"},{"photo_id":"1328244694","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328244683":["hashtag1","hashtag2"]},{"1328244694":["hashtag1","hashtag2"]},{"1328244690":["hashtag1","hashtag2"]},{"1328244687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328244683, 1328244694, 1328244690, 1328244687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.37833261489868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:16:22.036727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/15/image_11012025_20_15_02_989315_0003.jpg', '/home/pi/Desktop/images/11012025/20/16/image_11012025_20_16_02_214702_0000.jpg', '/home/pi/Desktop/images/11012025/20/16/image_11012025_20_16_02_214702_0001.jpg', '/home/pi/Desktop/images/11012025/20/16/image_11012025_20_16_02_214702_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/15/image_11012025_20_15_02_989315_0003.jpg
/home/pi/Desktop/images/11012025/20/16/image_11012025_20_16_02_214702_0000.jpg
/home/pi/Desktop/images/11012025/20/16/image_11012025_20_16_02_214702_0001.jpg
/home/pi/Desktop/images/11012025/20/16/image_11012025_20_16_02_214702_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.928229093551636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 20:16:42.074233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/15/image_11012025_20_15_02_989315_0003.jpg', '/home/pi/Desktop/images/11012025/20/16/image_11012025_20_16_02_214702_0000.jpg', '/home/pi/Desktop/images/11012025/20/16/image_11012025_20_16_02_214702_0001.jpg', '/home/pi/Desktop/images/11012025/20/16/image_11012025_20_16_02_214702_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/15/image_11012025_20_15_02_989315_0003.jpg
/home/pi/Desktop/images/11012025/20/16/image_11012025_20_16_02_214702_0000.jpg
/home/pi/Desktop/images/11012025/20/16/image_11012025_20_16_02_214702_0001.jpg
/home/pi/Desktop/images/11012025/20/16/image_11012025_20_16_02_214702_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328244761","1328244763","1328244762","1328244765"],"photo_ids_order":["1328244761","1328244762","1328244763","1328244765"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eb40d3418a2595f14b23228565024dc3.jpg","text":"TemporaryFile(/tmp/multipartBody8990699405350319331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623072393,"filename":"image_11012025_20_15_02_989315_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c6cb12f3a244169139becd60ddc5636b.jpg","text":"TemporaryFile(/tmp/multipartBody3471499082647758937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623072393,"filename":"image_11012025_20_16_02_214702_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a48f6dcedca397026704945d6404d5f0.jpg","text":"TemporaryFile(/tmp/multipartBody8849933980743578755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623072393,"filename":"image_11012025_20_16_02_214702_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5b366dbd02be4e2db88df364e7c39210.jpg","text":"TemporaryFile(/tmp/multipartBody1345773604636040787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623072393,"filename":"image_11012025_20_16_02_214702_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328244763","file1":"1328244762","file0":"1328244761","file3":"1328244765"},"map_files_photo_id_array":[{"photo_id":"1328244763","filename":"file2"},{"photo_id":"1328244762","filename":"file1"},{"photo_id":"1328244761","filename":"file0"},{"photo_id":"1328244765","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328244761":["hashtag1","hashtag2"]},{"1328244763":["hashtag1","hashtag2"]},{"1328244762":["hashtag1","hashtag2"]},{"1328244765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328244761, 1328244763, 1328244762, 1328244765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.89312410354614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:17:22.193044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/16/image_11012025_20_16_02_214702_0003.jpg', '/home/pi/Desktop/images/11012025/20/17/image_11012025_20_17_02_343102_0000.jpg', '/home/pi/Desktop/images/11012025/20/17/image_11012025_20_17_02_343102_0001.jpg', '/home/pi/Desktop/images/11012025/20/17/image_11012025_20_17_02_343102_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/16/image_11012025_20_16_02_214702_0003.jpg
/home/pi/Desktop/images/11012025/20/17/image_11012025_20_17_02_343102_0000.jpg
/home/pi/Desktop/images/11012025/20/17/image_11012025_20_17_02_343102_0001.jpg
/home/pi/Desktop/images/11012025/20/17/image_11012025_20_17_02_343102_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328244782","1328244784","1328244780","1328244783"],"photo_ids_order":["1328244780","1328244782","1328244783","1328244784"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d8b173a06bd9fcd460d7f7cf9af060ab.jpg","text":"TemporaryFile(/tmp/multipartBody1346939705110461885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623112304,"filename":"image_11012025_20_17_02_343102_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/116c13beadb27fe46b8de91d8ac077a8.jpg","text":"TemporaryFile(/tmp/multipartBody4732804570850318819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623112304,"filename":"image_11012025_20_17_02_343102_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1dff6b48009e5bfc17464b000812800f.jpg","text":"TemporaryFile(/tmp/multipartBody1249328107225753435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623112304,"filename":"image_11012025_20_16_02_214702_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/702ac0d3e8124db76a54da8aea1959a7.jpg","text":"TemporaryFile(/tmp/multipartBody6319376464669722807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623112304,"filename":"image_11012025_20_17_02_343102_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328244783","file1":"1328244782","file0":"1328244780","file3":"1328244784"},"map_files_photo_id_array":[{"photo_id":"1328244783","filename":"file2"},{"photo_id":"1328244782","filename":"file1"},{"photo_id":"1328244780","filename":"file0"},{"photo_id":"1328244784","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328244782":["hashtag1","hashtag2"]},{"1328244784":["hashtag1","hashtag2"]},{"1328244780":["hashtag1","hashtag2"]},{"1328244783":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328244782, 1328244784, 1328244780, 1328244783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.735225439071655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:18:02.830450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:18:22.392421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/17/image_11012025_20_17_02_343102_0003.jpg', '/home/pi/Desktop/images/11012025/20/18/image_11012025_20_18_02_603907_0000.jpg', '/home/pi/Desktop/images/11012025/20/18/image_11012025_20_18_02_603907_0001.jpg', '/home/pi/Desktop/images/11012025/20/18/image_11012025_20_18_02_603907_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/17/image_11012025_20_17_02_343102_0003.jpg
/home/pi/Desktop/images/11012025/20/18/image_11012025_20_18_02_603907_0000.jpg
/home/pi/Desktop/images/11012025/20/18/image_11012025_20_18_02_603907_0001.jpg
/home/pi/Desktop/images/11012025/20/18/image_11012025_20_18_02_603907_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328244821","1328244803","1328244817","1328244819"],"photo_ids_order":["1328244803","1328244817","1328244819","1328244821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/027ae5a1732f53ae0b2d92289f68b6d5.jpg","text":"TemporaryFile(/tmp/multipartBody7066505080792239733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623172598,"filename":"image_11012025_20_18_02_603907_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e4d520e72bb102cab009e943e8259f38.jpg","text":"TemporaryFile(/tmp/multipartBody351737256580481385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623172598,"filename":"image_11012025_20_17_02_343102_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1ae2a395c93400a5e9fee653c1eced96.jpg","text":"TemporaryFile(/tmp/multipartBody8020877129953538512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623172598,"filename":"image_11012025_20_18_02_603907_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c5edfa928578d741542d414ff8818d28.jpg","text":"TemporaryFile(/tmp/multipartBody8065292039209761725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623172598,"filename":"image_11012025_20_18_02_603907_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328244819","file1":"1328244817","file0":"1328244803","file3":"1328244821"},"map_files_photo_id_array":[{"photo_id":"1328244819","filename":"file2"},{"photo_id":"1328244817","filename":"file1"},{"photo_id":"1328244803","filename":"file0"},{"photo_id":"1328244821","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328244821":["hashtag1","hashtag2"]},{"1328244803":["hashtag1","hashtag2"]},{"1328244817":["hashtag1","hashtag2"]},{"1328244819":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328244821, 1328244803, 1328244817, 1328244819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.07102918624878 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:19:22.607836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/18/image_11012025_20_18_02_603907_0003.jpg', '/home/pi/Desktop/images/11012025/20/19/image_11012025_20_19_02_809765_0000.jpg', '/home/pi/Desktop/images/11012025/20/19/image_11012025_20_19_02_809765_0001.jpg', '/home/pi/Desktop/images/11012025/20/19/image_11012025_20_19_02_809765_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/18/image_11012025_20_18_02_603907_0003.jpg
/home/pi/Desktop/images/11012025/20/19/image_11012025_20_19_02_809765_0000.jpg
/home/pi/Desktop/images/11012025/20/19/image_11012025_20_19_02_809765_0001.jpg
/home/pi/Desktop/images/11012025/20/19/image_11012025_20_19_02_809765_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328245594","1328245294","1328244945","1328245973"],"photo_ids_order":["1328244945","1328245294","1328245594","1328245973"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/353160a200073b2c1af10f998901f07d.jpg","text":"TemporaryFile(/tmp/multipartBody8911241135428988744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623232781,"filename":"image_11012025_20_19_02_809765_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/985a4bf7b161700802a4ecdf720ff9f8.jpg","text":"TemporaryFile(/tmp/multipartBody894924249849527749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623232781,"filename":"image_11012025_20_19_02_809765_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/475ded4f858c417c84216f83e1f76dd8.jpg","text":"TemporaryFile(/tmp/multipartBody4262211565353886943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623232781,"filename":"image_11012025_20_18_02_603907_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4837157d2cf4be3332036c181bb2abb9.jpg","text":"TemporaryFile(/tmp/multipartBody6126844922877723167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623232781,"filename":"image_11012025_20_19_02_809765_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328245594","file1":"1328245294","file0":"1328244945","file3":"1328245973"},"map_files_photo_id_array":[{"photo_id":"1328245594","filename":"file2"},{"photo_id":"1328245294","filename":"file1"},{"photo_id":"1328244945","filename":"file0"},{"photo_id":"1328245973","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328245594":["hashtag1","hashtag2"]},{"1328245294":["hashtag1","hashtag2"]},{"1328244945":["hashtag1","hashtag2"]},{"1328245973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328245594, 1328245294, 1328244945, 1328245973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08052849769592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:20:03.124302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:20:22.672858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/19/image_11012025_20_19_02_809765_0003.jpg', '/home/pi/Desktop/images/11012025/20/20/image_11012025_20_20_02_862260_0000.jpg', '/home/pi/Desktop/images/11012025/20/20/image_11012025_20_20_02_862260_0001.jpg', '/home/pi/Desktop/images/11012025/20/20/image_11012025_20_20_02_862260_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/19/image_11012025_20_19_02_809765_0003.jpg
/home/pi/Desktop/images/11012025/20/20/image_11012025_20_20_02_862260_0000.jpg
/home/pi/Desktop/images/11012025/20/20/image_11012025_20_20_02_862260_0001.jpg
/home/pi/Desktop/images/11012025/20/20/image_11012025_20_20_02_862260_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328246227","1328246042","1328246039","1328246098"],"photo_ids_order":["1328246039","1328246042","1328246098","1328246227"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/950972e77330aa1b839b471662b82e4c.jpg","text":"TemporaryFile(/tmp/multipartBody7362441444882487964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623292938,"filename":"image_11012025_20_20_02_862260_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5a24910d2f14e363f23fabb84f0d3e54.jpg","text":"TemporaryFile(/tmp/multipartBody7886576723854266469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623292938,"filename":"image_11012025_20_20_02_862260_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d958ac64a4940f6bbeef1c026748ba28.jpg","text":"TemporaryFile(/tmp/multipartBody2385212242464028667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623292938,"filename":"image_11012025_20_19_02_809765_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c8f57ea9c96246810b558091bc2a73ce.jpg","text":"TemporaryFile(/tmp/multipartBody7597253914800840266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623292938,"filename":"image_11012025_20_20_02_862260_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328246098","file1":"1328246042","file0":"1328246039","file3":"1328246227"},"map_files_photo_id_array":[{"photo_id":"1328246098","filename":"file2"},{"photo_id":"1328246042","filename":"file1"},{"photo_id":"1328246039","filename":"file0"},{"photo_id":"1328246227","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328246227":["hashtag1","hashtag2"]},{"1328246042":["hashtag1","hashtag2"]},{"1328246039":["hashtag1","hashtag2"]},{"1328246098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328246227, 1328246042, 1328246039, 1328246098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.86674928665161 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:21:21.905332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/20/image_11012025_20_20_02_862260_0003.jpg', '/home/pi/Desktop/images/11012025/20/21/image_11012025_20_21_03_021119_0000.jpg', '/home/pi/Desktop/images/11012025/20/21/image_11012025_20_21_03_021119_0001.jpg', '/home/pi/Desktop/images/11012025/20/21/image_11012025_20_21_03_021119_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/20/image_11012025_20_20_02_862260_0003.jpg
/home/pi/Desktop/images/11012025/20/21/image_11012025_20_21_03_021119_0000.jpg
/home/pi/Desktop/images/11012025/20/21/image_11012025_20_21_03_021119_0001.jpg
/home/pi/Desktop/images/11012025/20/21/image_11012025_20_21_03_021119_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328246507","1328246468","1328246504","1328246488"],"photo_ids_order":["1328246468","1328246488","1328246504","1328246507"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d6d808d757592ffb2c0637f42fd54ff2.jpg","text":"TemporaryFile(/tmp/multipartBody4019877391931188751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623352259,"filename":"image_11012025_20_21_03_021119_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e37ecad79dfd5b7198310acb6d882c37.jpg","text":"TemporaryFile(/tmp/multipartBody3935494041809988619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623352259,"filename":"image_11012025_20_20_02_862260_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/22ef2b0bb3ae44f7f1b03ec08b12ec0e.jpg","text":"TemporaryFile(/tmp/multipartBody6935758732428089242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623352259,"filename":"image_11012025_20_21_03_021119_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/606b1f5f60451c4531a825fbabba43db.jpg","text":"TemporaryFile(/tmp/multipartBody5781934235055846660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623352259,"filename":"image_11012025_20_21_03_021119_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328246504","file1":"1328246488","file0":"1328246468","file3":"1328246507"},"map_files_photo_id_array":[{"photo_id":"1328246504","filename":"file2"},{"photo_id":"1328246488","filename":"file1"},{"photo_id":"1328246468","filename":"file0"},{"photo_id":"1328246507","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328246507":["hashtag1","hashtag2"]},{"1328246468":["hashtag1","hashtag2"]},{"1328246504":["hashtag1","hashtag2"]},{"1328246488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328246507, 1328246468, 1328246504, 1328246488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.38343930244446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:22:02.485717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:22:22.114436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/21/image_11012025_20_21_03_021119_0003.jpg', '/home/pi/Desktop/images/11012025/20/22/image_11012025_20_22_02_210515_0000.jpg', '/home/pi/Desktop/images/11012025/20/22/image_11012025_20_22_02_210515_0001.jpg', '/home/pi/Desktop/images/11012025/20/22/image_11012025_20_22_02_210515_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/21/image_11012025_20_21_03_021119_0003.jpg
/home/pi/Desktop/images/11012025/20/22/image_11012025_20_22_02_210515_0000.jpg
/home/pi/Desktop/images/11012025/20/22/image_11012025_20_22_02_210515_0001.jpg
/home/pi/Desktop/images/11012025/20/22/image_11012025_20_22_02_210515_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328246539","1328246541","1328246538","1328246587"],"photo_ids_order":["1328246538","1328246539","1328246541","1328246587"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/34efd31734c216c13ba2bb27d92d6bc4.jpg","text":"TemporaryFile(/tmp/multipartBody7604255590652642536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623412375,"filename":"image_11012025_20_22_02_210515_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ba020236f8f8a17246308b4b2687517a.jpg","text":"TemporaryFile(/tmp/multipartBody1784963744411472431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623412375,"filename":"image_11012025_20_22_02_210515_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/badd76e335ea6378414f1881eb597451.jpg","text":"TemporaryFile(/tmp/multipartBody3822464729383879708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623412375,"filename":"image_11012025_20_21_03_021119_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/de2978d11beb25b36d8234ea805487a5.jpg","text":"TemporaryFile(/tmp/multipartBody1447582115912797339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623412375,"filename":"image_11012025_20_22_02_210515_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328246541","file1":"1328246539","file0":"1328246538","file3":"1328246587"},"map_files_photo_id_array":[{"photo_id":"1328246541","filename":"file2"},{"photo_id":"1328246539","filename":"file1"},{"photo_id":"1328246538","filename":"file0"},{"photo_id":"1328246587","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328246539":["hashtag1","hashtag2"]},{"1328246541":["hashtag1","hashtag2"]},{"1328246538":["hashtag1","hashtag2"]},{"1328246587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328246539, 1328246541, 1328246538, 1328246587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.84427571296692 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:23:02.945718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:23:22.184727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/22/image_11012025_20_22_02_210515_0003.jpg', '/home/pi/Desktop/images/11012025/20/23/image_11012025_20_23_02_426639_0000.jpg', '/home/pi/Desktop/images/11012025/20/23/image_11012025_20_23_02_426639_0001.jpg', '/home/pi/Desktop/images/11012025/20/23/image_11012025_20_23_02_426639_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/22/image_11012025_20_22_02_210515_0003.jpg
/home/pi/Desktop/images/11012025/20/23/image_11012025_20_23_02_426639_0000.jpg
/home/pi/Desktop/images/11012025/20/23/image_11012025_20_23_02_426639_0001.jpg
/home/pi/Desktop/images/11012025/20/23/image_11012025_20_23_02_426639_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328246641","1328246650","1328246647","1328246645"],"photo_ids_order":["1328246641","1328246645","1328246647","1328246650"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/edd1a010faad316dbce08204b759cdf8.jpg","text":"TemporaryFile(/tmp/multipartBody2599311276281810419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623472419,"filename":"image_11012025_20_22_02_210515_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/afef902ecc1c52af73a28c8448f41288.jpg","text":"TemporaryFile(/tmp/multipartBody59211183819759732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623472419,"filename":"image_11012025_20_23_02_426639_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e1a3bc0f1b1250a08481de56ca1a5a85.jpg","text":"TemporaryFile(/tmp/multipartBody3772559911062388550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623472419,"filename":"image_11012025_20_23_02_426639_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fb867f0fb8b780fad8ed359d8f34ad5e.jpg","text":"TemporaryFile(/tmp/multipartBody4638918015081858246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623472419,"filename":"image_11012025_20_23_02_426639_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328246647","file1":"1328246645","file0":"1328246641","file3":"1328246650"},"map_files_photo_id_array":[{"photo_id":"1328246647","filename":"file2"},{"photo_id":"1328246645","filename":"file1"},{"photo_id":"1328246641","filename":"file0"},{"photo_id":"1328246650","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328246641":["hashtag1","hashtag2"]},{"1328246650":["hashtag1","hashtag2"]},{"1328246647":["hashtag1","hashtag2"]},{"1328246645":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328246641, 1328246650, 1328246647, 1328246645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.39943552017212 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:24:22.369230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/23/image_11012025_20_23_02_426639_0003.jpg', '/home/pi/Desktop/images/11012025/20/24/image_11012025_20_24_02_629421_0000.jpg', '/home/pi/Desktop/images/11012025/20/24/image_11012025_20_24_02_629421_0001.jpg', '/home/pi/Desktop/images/11012025/20/24/image_11012025_20_24_02_629421_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/23/image_11012025_20_23_02_426639_0003.jpg
/home/pi/Desktop/images/11012025/20/24/image_11012025_20_24_02_629421_0000.jpg
/home/pi/Desktop/images/11012025/20/24/image_11012025_20_24_02_629421_0001.jpg
/home/pi/Desktop/images/11012025/20/24/image_11012025_20_24_02_629421_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.821998834609985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 20:24:42.441066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/23/image_11012025_20_23_02_426639_0003.jpg', '/home/pi/Desktop/images/11012025/20/24/image_11012025_20_24_02_629421_0000.jpg', '/home/pi/Desktop/images/11012025/20/24/image_11012025_20_24_02_629421_0001.jpg', '/home/pi/Desktop/images/11012025/20/24/image_11012025_20_24_02_629421_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/23/image_11012025_20_23_02_426639_0003.jpg
/home/pi/Desktop/images/11012025/20/24/image_11012025_20_24_02_629421_0000.jpg
/home/pi/Desktop/images/11012025/20/24/image_11012025_20_24_02_629421_0001.jpg
/home/pi/Desktop/images/11012025/20/24/image_11012025_20_24_02_629421_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328246815","1328246809","1328246688","1328246817"],"photo_ids_order":["1328246688","1328246809","1328246815","1328246817"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/153f000e25df8ea65ea10145807f3f5c.jpg","text":"TemporaryFile(/tmp/multipartBody537853928600867616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623552660,"filename":"image_11012025_20_24_02_629421_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ef04ffec173cac48a4040fd4c967b3c4.jpg","text":"TemporaryFile(/tmp/multipartBody1546505738554979690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623552660,"filename":"image_11012025_20_24_02_629421_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7265def7ebeb91d372edbdb0e5501074.jpg","text":"TemporaryFile(/tmp/multipartBody8592541226838445523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623552660,"filename":"image_11012025_20_23_02_426639_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3ce66f367250a848cd9b904c3caed981.jpg","text":"TemporaryFile(/tmp/multipartBody8178646026111632287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623552660,"filename":"image_11012025_20_24_02_629421_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328246815","file1":"1328246809","file0":"1328246688","file3":"1328246817"},"map_files_photo_id_array":[{"photo_id":"1328246815","filename":"file2"},{"photo_id":"1328246809","filename":"file1"},{"photo_id":"1328246688","filename":"file0"},{"photo_id":"1328246817","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328246815":["hashtag1","hashtag2"]},{"1328246809":["hashtag1","hashtag2"]},{"1328246688":["hashtag1","hashtag2"]},{"1328246817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328246815, 1328246809, 1328246688, 1328246817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.85532474517822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 20:25:32.619125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/24/image_11012025_20_24_02_629421_0003.jpg', '/home/pi/Desktop/images/11012025/20/25/image_11012025_20_25_02_756159_0000.jpg', '/home/pi/Desktop/images/11012025/20/25/image_11012025_20_25_02_756159_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/24/image_11012025_20_24_02_629421_0003.jpg
/home/pi/Desktop/images/11012025/20/25/image_11012025_20_25_02_756159_0000.jpg
/home/pi/Desktop/images/11012025/20/25/image_11012025_20_25_02_756159_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328246833","1328246829","1328246834"],"photo_ids_order":["1328246829","1328246833","1328246834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2c9efa3e52fa6760854d8141d63184e3.jpg","text":"TemporaryFile(/tmp/multipartBody7057946145864842066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623600331,"filename":"image_11012025_20_25_02_756159_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/929781dcd51f614daa7f22de16c01715.jpg","text":"TemporaryFile(/tmp/multipartBody8550574586257954702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623600331,"filename":"image_11012025_20_24_02_629421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2f5f40e4b7fe31fdac63e216ac4e49c4.jpg","text":"TemporaryFile(/tmp/multipartBody272127536796123633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623600331,"filename":"image_11012025_20_25_02_756159_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328246834","file1":"1328246833","file0":"1328246829"},"map_files_photo_id_array":[{"photo_id":"1328246834","filename":"file2"},{"photo_id":"1328246833","filename":"file1"},{"photo_id":"1328246829","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328246833":["hashtag1","hashtag2"]},{"1328246829":["hashtag1","hashtag2"]},{"1328246834":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328246833, 1328246829, 1328246834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 36.192448139190674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:26:22.765291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/25/image_11012025_20_25_02_756159_0003.jpg', '/home/pi/Desktop/images/11012025/20/26/image_11012025_20_26_03_023225_0000.jpg', '/home/pi/Desktop/images/11012025/20/26/image_11012025_20_26_03_023225_0001.jpg', '/home/pi/Desktop/images/11012025/20/26/image_11012025_20_26_03_023225_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/25/image_11012025_20_25_02_756159_0003.jpg
/home/pi/Desktop/images/11012025/20/26/image_11012025_20_26_03_023225_0000.jpg
/home/pi/Desktop/images/11012025/20/26/image_11012025_20_26_03_023225_0001.jpg
/home/pi/Desktop/images/11012025/20/26/image_11012025_20_26_03_023225_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328246854","1328246853","1328246847","1328246852"],"photo_ids_order":["1328246847","1328246852","1328246853","1328246854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ee195627c1d8a055458e014dd66f4d6b.jpg","text":"TemporaryFile(/tmp/multipartBody8550551541837912940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623652908,"filename":"image_11012025_20_26_03_023225_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f3baf830312241e4f1865fef5a0ff74f.jpg","text":"TemporaryFile(/tmp/multipartBody7579694956949011587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623652908,"filename":"image_11012025_20_26_03_023225_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b6167779a88149f642cea7eee78d669b.jpg","text":"TemporaryFile(/tmp/multipartBody3393544016553701431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623652908,"filename":"image_11012025_20_25_02_756159_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d6f88790e3574f4d7cff01f08413172b.jpg","text":"TemporaryFile(/tmp/multipartBody7849832891905429007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623652908,"filename":"image_11012025_20_26_03_023225_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328246853","file1":"1328246852","file0":"1328246847","file3":"1328246854"},"map_files_photo_id_array":[{"photo_id":"1328246853","filename":"file2"},{"photo_id":"1328246852","filename":"file1"},{"photo_id":"1328246847","filename":"file0"},{"photo_id":"1328246854","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328246854":["hashtag1","hashtag2"]},{"1328246853":["hashtag1","hashtag2"]},{"1328246847":["hashtag1","hashtag2"]},{"1328246852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328246854, 1328246853, 1328246847, 1328246852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.436774253845215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:27:21.971575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/26/image_11012025_20_26_03_023225_0003.jpg', '/home/pi/Desktop/images/11012025/20/27/image_11012025_20_27_03_146651_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/26/image_11012025_20_26_03_023225_0003.jpg
/home/pi/Desktop/images/11012025/20/27/image_11012025_20_27_03_146651_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":["1328246885","1328246882"],"photo_ids_order":["1328246882","1328246885"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4dba61a74038c799bd028f6c9e2237d0.jpg","text":"TemporaryFile(/tmp/multipartBody7721361243745981512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623707204,"filename":"image_11012025_20_27_03_146651_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7eebaba2fd5da5ddc3c8f16279d65bee.jpg","text":"TemporaryFile(/tmp/multipartBody8044410467530811561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623707204,"filename":"image_11012025_20_26_03_023225_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328246885","file0":"1328246882"},"map_files_photo_id_array":[{"photo_id":"1328246885","filename":"file1"},{"photo_id":"1328246882","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328246885":["hashtag1","hashtag2"]},{"1328246882":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328246885, 1328246882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.78415036201477 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 20:27:51.933716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:28:02.660698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:28:22.135876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/27/image_11012025_20_27_03_146651_0002.jpg', '/home/pi/Desktop/images/11012025/20/28/image_11012025_20_28_02_299844_0000.jpg', '/home/pi/Desktop/images/11012025/20/28/image_11012025_20_28_02_299844_0001.jpg', '/home/pi/Desktop/images/11012025/20/28/image_11012025_20_28_02_299844_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/27/image_11012025_20_27_03_146651_0002.jpg
/home/pi/Desktop/images/11012025/20/28/image_11012025_20_28_02_299844_0000.jpg
/home/pi/Desktop/images/11012025/20/28/image_11012025_20_28_02_299844_0001.jpg
/home/pi/Desktop/images/11012025/20/28/image_11012025_20_28_02_299844_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.450329303741455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 20:28:42.151831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/27/image_11012025_20_27_03_146651_0002.jpg', '/home/pi/Desktop/images/11012025/20/28/image_11012025_20_28_02_299844_0000.jpg', '/home/pi/Desktop/images/11012025/20/28/image_11012025_20_28_02_299844_0001.jpg', '/home/pi/Desktop/images/11012025/20/28/image_11012025_20_28_02_299844_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/27/image_11012025_20_27_03_146651_0002.jpg
/home/pi/Desktop/images/11012025/20/28/image_11012025_20_28_02_299844_0000.jpg
/home/pi/Desktop/images/11012025/20/28/image_11012025_20_28_02_299844_0001.jpg
/home/pi/Desktop/images/11012025/20/28/image_11012025_20_28_02_299844_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328246902","1328246908","1328246904","1328246915"],"photo_ids_order":["1328246902","1328246904","1328246908","1328246915"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9cd52c5cb61d297c59db522655f83678.jpg","text":"TemporaryFile(/tmp/multipartBody2481351513231736211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623792012,"filename":"image_11012025_20_27_03_146651_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4b7e25fe16bc3553e47a815c0571a13c.jpg","text":"TemporaryFile(/tmp/multipartBody2749119760837528311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623792012,"filename":"image_11012025_20_28_02_299844_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ad88659cb69b2af55b8d121448ae40c3.jpg","text":"TemporaryFile(/tmp/multipartBody1805891973814480771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623792012,"filename":"image_11012025_20_28_02_299844_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8fdb5c1f35c21e13e18255698d0283d5.jpg","text":"TemporaryFile(/tmp/multipartBody873470143237483808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623792012,"filename":"image_11012025_20_28_02_299844_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328246908","file1":"1328246904","file0":"1328246902","file3":"1328246915"},"map_files_photo_id_array":[{"photo_id":"1328246908","filename":"file2"},{"photo_id":"1328246904","filename":"file1"},{"photo_id":"1328246902","filename":"file0"},{"photo_id":"1328246915","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328246902":["hashtag1","hashtag2"]},{"1328246908":["hashtag1","hashtag2"]},{"1328246904":["hashtag1","hashtag2"]},{"1328246915":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328246902, 1328246908, 1328246904, 1328246915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.89584255218506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 20:29:32.301004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/28/image_11012025_20_28_02_299844_0003.jpg', '/home/pi/Desktop/images/11012025/20/29/image_11012025_20_29_02_467518_0000.jpg', '/home/pi/Desktop/images/11012025/20/29/image_11012025_20_29_02_467518_0001.jpg', '/home/pi/Desktop/images/11012025/20/29/image_11012025_20_29_02_467518_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/28/image_11012025_20_28_02_299844_0003.jpg
/home/pi/Desktop/images/11012025/20/29/image_11012025_20_29_02_467518_0000.jpg
/home/pi/Desktop/images/11012025/20/29/image_11012025_20_29_02_467518_0001.jpg
/home/pi/Desktop/images/11012025/20/29/image_11012025_20_29_02_467518_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.474096775054932 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-11 20:29:52.301875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/28/image_11012025_20_28_02_299844_0003.jpg', '/home/pi/Desktop/images/11012025/20/29/image_11012025_20_29_02_467518_0000.jpg', '/home/pi/Desktop/images/11012025/20/29/image_11012025_20_29_02_467518_0001.jpg', '/home/pi/Desktop/images/11012025/20/29/image_11012025_20_29_02_467518_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/28/image_11012025_20_28_02_299844_0003.jpg
/home/pi/Desktop/images/11012025/20/29/image_11012025_20_29_02_467518_0000.jpg
/home/pi/Desktop/images/11012025/20/29/image_11012025_20_29_02_467518_0001.jpg
/home/pi/Desktop/images/11012025/20/29/image_11012025_20_29_02_467518_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328246943","1328246946","1328246949","1328246940"],"photo_ids_order":["1328246940","1328246943","1328246946","1328246949"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3605865e8cb19e3c45611fce5035b3fa.jpg","text":"TemporaryFile(/tmp/multipartBody6705270845587610514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623862188,"filename":"image_11012025_20_29_02_467518_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/90c7d12e1ddce896728f0c4004632265.jpg","text":"TemporaryFile(/tmp/multipartBody8285839842225851142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623862188,"filename":"image_11012025_20_29_02_467518_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/546811daf352b07c2140977147a3da8b.jpg","text":"TemporaryFile(/tmp/multipartBody8053502843941889157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623862188,"filename":"image_11012025_20_29_02_467518_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/91cdd157c4cab0567177b8805545bffa.jpg","text":"TemporaryFile(/tmp/multipartBody6251853754663547645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623862188,"filename":"image_11012025_20_28_02_299844_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328246946","file1":"1328246943","file0":"1328246940","file3":"1328246949"},"map_files_photo_id_array":[{"photo_id":"1328246946","filename":"file2"},{"photo_id":"1328246943","filename":"file1"},{"photo_id":"1328246940","filename":"file0"},{"photo_id":"1328246949","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328246943":["hashtag1","hashtag2"]},{"1328246946":["hashtag1","hashtag2"]},{"1328246949":["hashtag1","hashtag2"]},{"1328246940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328246943, 1328246946, 1328246949, 1328246940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.6795699596405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 20:30:32.447020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/29/image_11012025_20_29_02_467518_0003.jpg', '/home/pi/Desktop/images/11012025/20/30/image_11012025_20_30_02_759937_0000.jpg', '/home/pi/Desktop/images/11012025/20/30/image_11012025_20_30_02_759937_0001.jpg', '/home/pi/Desktop/images/11012025/20/30/image_11012025_20_30_02_759937_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/29/image_11012025_20_29_02_467518_0003.jpg
/home/pi/Desktop/images/11012025/20/30/image_11012025_20_30_02_759937_0000.jpg
/home/pi/Desktop/images/11012025/20/30/image_11012025_20_30_02_759937_0001.jpg
/home/pi/Desktop/images/11012025/20/30/image_11012025_20_30_02_759937_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328246982","1328246984","1328246981","1328246983"],"photo_ids_order":["1328246981","1328246982","1328246983","1328246984"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8ea196ee6938c6ae7eec1df910f4ef60.jpg","text":"TemporaryFile(/tmp/multipartBody1348132860233683224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623902334,"filename":"image_11012025_20_30_02_759937_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f0b76e754e5b188099ba13bb1f1d9daa.jpg","text":"TemporaryFile(/tmp/multipartBody8144313075675125978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623902334,"filename":"image_11012025_20_30_02_759937_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/21ed00d95961b6a6d6233d1f3af1f068.jpg","text":"TemporaryFile(/tmp/multipartBody7216830119031516055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623902334,"filename":"image_11012025_20_29_02_467518_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c28a454529c37a509bd07f7c705aa09e.jpg","text":"TemporaryFile(/tmp/multipartBody3487538948586609486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623902334,"filename":"image_11012025_20_30_02_759937_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328246983","file1":"1328246982","file0":"1328246981","file3":"1328246984"},"map_files_photo_id_array":[{"photo_id":"1328246983","filename":"file2"},{"photo_id":"1328246982","filename":"file1"},{"photo_id":"1328246981","filename":"file0"},{"photo_id":"1328246984","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328246982":["hashtag1","hashtag2"]},{"1328246984":["hashtag1","hashtag2"]},{"1328246981":["hashtag1","hashtag2"]},{"1328246983":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328246982, 1328246984, 1328246981, 1328246983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60268545150757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:31:22.808128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/30/image_11012025_20_30_02_759937_0003.jpg', '/home/pi/Desktop/images/11012025/20/31/image_11012025_20_31_02_852148_0001.jpg', '/home/pi/Desktop/images/11012025/20/31/image_11012025_20_31_02_852148_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/30/image_11012025_20_30_02_759937_0003.jpg
/home/pi/Desktop/images/11012025/20/31/image_11012025_20_31_02_852148_0001.jpg
/home/pi/Desktop/images/11012025/20/31/image_11012025_20_31_02_852148_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328247001","1328247006","1328247005"],"photo_ids_order":["1328247001","1328247005","1328247006"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/653f15c027d9e177afe336ec3f6bc1aa.jpg","text":"TemporaryFile(/tmp/multipartBody6307557438541078786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623950314,"filename":"image_11012025_20_30_02_759937_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e26c08c8c1ab66f6b0fc723428299b3a.jpg","text":"TemporaryFile(/tmp/multipartBody5257487296735940523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623950314,"filename":"image_11012025_20_31_02_852148_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2703aff318a6a6d698307f76c7bf2884.jpg","text":"TemporaryFile(/tmp/multipartBody4992997676696840581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736623950314,"filename":"image_11012025_20_31_02_852148_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328247006","file1":"1328247005","file0":"1328247001"},"map_files_photo_id_array":[{"photo_id":"1328247006","filename":"file2"},{"photo_id":"1328247005","filename":"file1"},{"photo_id":"1328247001","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328247001":["hashtag1","hashtag2"]},{"1328247006":["hashtag1","hashtag2"]},{"1328247005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328247001, 1328247006, 1328247005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.731123447418213 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:32:02.302241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:32:21.835557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/31/image_11012025_20_31_02_852148_0003.jpg', '/home/pi/Desktop/images/11012025/20/32/image_11012025_20_32_03_036659_0000.jpg', '/home/pi/Desktop/images/11012025/20/32/image_11012025_20_32_03_036659_0001.jpg', '/home/pi/Desktop/images/11012025/20/32/image_11012025_20_32_03_036659_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/31/image_11012025_20_31_02_852148_0003.jpg
/home/pi/Desktop/images/11012025/20/32/image_11012025_20_32_03_036659_0000.jpg
/home/pi/Desktop/images/11012025/20/32/image_11012025_20_32_03_036659_0001.jpg
/home/pi/Desktop/images/11012025/20/32/image_11012025_20_32_03_036659_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.466422080993652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 20:32:41.850156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/31/image_11012025_20_31_02_852148_0003.jpg', '/home/pi/Desktop/images/11012025/20/32/image_11012025_20_32_03_036659_0000.jpg', '/home/pi/Desktop/images/11012025/20/32/image_11012025_20_32_03_036659_0001.jpg', '/home/pi/Desktop/images/11012025/20/32/image_11012025_20_32_03_036659_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/31/image_11012025_20_31_02_852148_0003.jpg
/home/pi/Desktop/images/11012025/20/32/image_11012025_20_32_03_036659_0000.jpg
/home/pi/Desktop/images/11012025/20/32/image_11012025_20_32_03_036659_0001.jpg
/home/pi/Desktop/images/11012025/20/32/image_11012025_20_32_03_036659_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328247028","1328247030","1328247027","1328247032"],"photo_ids_order":["1328247027","1328247028","1328247030","1328247032"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8cc0c2a4ed42f3f84e87c09c75ab79da.jpg","text":"TemporaryFile(/tmp/multipartBody369256705702535591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624031739,"filename":"image_11012025_20_32_03_036659_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ce459e821f57a2d896ce09f162d250ce.jpg","text":"TemporaryFile(/tmp/multipartBody9141444263006400410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624031739,"filename":"image_11012025_20_32_03_036659_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f0a4b91275970467e20de8de38fbf870.jpg","text":"TemporaryFile(/tmp/multipartBody3092036658885524676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624031739,"filename":"image_11012025_20_31_02_852148_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/db56d58b72be03b82a9809c8d6aa5384.jpg","text":"TemporaryFile(/tmp/multipartBody163467026231198084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624031739,"filename":"image_11012025_20_32_03_036659_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328247030","file1":"1328247028","file0":"1328247027","file3":"1328247032"},"map_files_photo_id_array":[{"photo_id":"1328247030","filename":"file2"},{"photo_id":"1328247028","filename":"file1"},{"photo_id":"1328247027","filename":"file0"},{"photo_id":"1328247032","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328247028":["hashtag1","hashtag2"]},{"1328247030":["hashtag1","hashtag2"]},{"1328247027":["hashtag1","hashtag2"]},{"1328247032":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328247028, 1328247030, 1328247027, 1328247032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.65885090827942 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 20:33:32.003535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/32/image_11012025_20_32_03_036659_0003.jpg', '/home/pi/Desktop/images/11012025/20/33/image_11012025_20_33_02_317272_0000.jpg', '/home/pi/Desktop/images/11012025/20/33/image_11012025_20_33_02_317272_0001.jpg', '/home/pi/Desktop/images/11012025/20/33/image_11012025_20_33_02_317272_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/32/image_11012025_20_32_03_036659_0003.jpg
/home/pi/Desktop/images/11012025/20/33/image_11012025_20_33_02_317272_0000.jpg
/home/pi/Desktop/images/11012025/20/33/image_11012025_20_33_02_317272_0001.jpg
/home/pi/Desktop/images/11012025/20/33/image_11012025_20_33_02_317272_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328247066","1328247083","1328247065","1328247067"],"photo_ids_order":["1328247065","1328247066","1328247067","1328247083"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7d37489509a5160d7615f91816723bbc.jpg","text":"TemporaryFile(/tmp/multipartBody6530486604920789214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624081836,"filename":"image_11012025_20_33_02_317272_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/59c55af1f239bcae7401010e54a8df00.jpg","text":"TemporaryFile(/tmp/multipartBody4038376329699020488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624081836,"filename":"image_11012025_20_33_02_317272_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/49931c7adfd50814ee31c53afbdd2ee9.jpg","text":"TemporaryFile(/tmp/multipartBody5729364027447764625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624081836,"filename":"image_11012025_20_32_03_036659_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/709666443e8086c959716eef45497571.jpg","text":"TemporaryFile(/tmp/multipartBody2441030135645586060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624081836,"filename":"image_11012025_20_33_02_317272_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328247067","file1":"1328247066","file0":"1328247065","file3":"1328247083"},"map_files_photo_id_array":[{"photo_id":"1328247067","filename":"file2"},{"photo_id":"1328247066","filename":"file1"},{"photo_id":"1328247065","filename":"file0"},{"photo_id":"1328247083","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328247066":["hashtag1","hashtag2"]},{"1328247083":["hashtag1","hashtag2"]},{"1328247065":["hashtag1","hashtag2"]},{"1328247067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328247066, 1328247083, 1328247065, 1328247067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.01247787475586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:34:22.293174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/33/image_11012025_20_33_02_317272_0003.jpg', '/home/pi/Desktop/images/11012025/20/34/image_11012025_20_34_02_408368_0000.jpg', '/home/pi/Desktop/images/11012025/20/34/image_11012025_20_34_02_408368_0001.jpg', '/home/pi/Desktop/images/11012025/20/34/image_11012025_20_34_02_408368_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/33/image_11012025_20_33_02_317272_0003.jpg
/home/pi/Desktop/images/11012025/20/34/image_11012025_20_34_02_408368_0000.jpg
/home/pi/Desktop/images/11012025/20/34/image_11012025_20_34_02_408368_0001.jpg
/home/pi/Desktop/images/11012025/20/34/image_11012025_20_34_02_408368_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328247252","1328247251","1328247248","1328247250"],"photo_ids_order":["1328247248","1328247250","1328247251","1328247252"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ae11f3856f4fb96382bd1c59f8847592.jpg","text":"TemporaryFile(/tmp/multipartBody8755370338839101069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624132293,"filename":"image_11012025_20_34_02_408368_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7583072fc67d57a2973ab0f9e529ddc4.jpg","text":"TemporaryFile(/tmp/multipartBody5288229023574047315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624132293,"filename":"image_11012025_20_34_02_408368_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7a26b0074674ca568ed5490acd95cc2c.jpg","text":"TemporaryFile(/tmp/multipartBody7281354462219806892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624132293,"filename":"image_11012025_20_33_02_317272_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a15fa561cb59197ac9b5d291472befda.jpg","text":"TemporaryFile(/tmp/multipartBody6055588453385896642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624132293,"filename":"image_11012025_20_34_02_408368_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328247251","file1":"1328247250","file0":"1328247248","file3":"1328247252"},"map_files_photo_id_array":[{"photo_id":"1328247251","filename":"file2"},{"photo_id":"1328247250","filename":"file1"},{"photo_id":"1328247248","filename":"file0"},{"photo_id":"1328247252","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328247252":["hashtag1","hashtag2"]},{"1328247251":["hashtag1","hashtag2"]},{"1328247248":["hashtag1","hashtag2"]},{"1328247250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328247252, 1328247251, 1328247248, 1328247250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.320629835128784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:35:22.478288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/34/image_11012025_20_34_02_408368_0003.jpg', '/home/pi/Desktop/images/11012025/20/35/image_11012025_20_35_02_635348_0000.jpg', '/home/pi/Desktop/images/11012025/20/35/image_11012025_20_35_02_635348_0001.jpg', '/home/pi/Desktop/images/11012025/20/35/image_11012025_20_35_02_635348_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/34/image_11012025_20_34_02_408368_0003.jpg
/home/pi/Desktop/images/11012025/20/35/image_11012025_20_35_02_635348_0000.jpg
/home/pi/Desktop/images/11012025/20/35/image_11012025_20_35_02_635348_0001.jpg
/home/pi/Desktop/images/11012025/20/35/image_11012025_20_35_02_635348_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328247387","1328247294","1328247290","1328247323"],"photo_ids_order":["1328247290","1328247294","1328247323","1328247387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/787de7440a076adf7fbd567fc6c7affd.jpg","text":"TemporaryFile(/tmp/multipartBody7083340955641186086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624192349,"filename":"image_11012025_20_35_02_635348_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1e8f5eae21eeb021c393279eb1d8b6cb.jpg","text":"TemporaryFile(/tmp/multipartBody1571869808901502360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624192349,"filename":"image_11012025_20_35_02_635348_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0f26c8c00b442fa74cb811303d55d1de.jpg","text":"TemporaryFile(/tmp/multipartBody7636265832885217440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624192349,"filename":"image_11012025_20_34_02_408368_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/adf461a1f179b03e9acdc47a06067470.jpg","text":"TemporaryFile(/tmp/multipartBody8371867941222929771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624192349,"filename":"image_11012025_20_35_02_635348_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328247323","file1":"1328247294","file0":"1328247290","file3":"1328247387"},"map_files_photo_id_array":[{"photo_id":"1328247323","filename":"file2"},{"photo_id":"1328247294","filename":"file1"},{"photo_id":"1328247290","filename":"file0"},{"photo_id":"1328247387","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328247387":["hashtag1","hashtag2"]},{"1328247294":["hashtag1","hashtag2"]},{"1328247290":["hashtag1","hashtag2"]},{"1328247323":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328247387, 1328247294, 1328247290, 1328247323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.674736738204956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:36:22.593632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/35/image_11012025_20_35_02_635348_0003.jpg', '/home/pi/Desktop/images/11012025/20/36/image_11012025_20_36_02_764990_0000.jpg', '/home/pi/Desktop/images/11012025/20/36/image_11012025_20_36_02_764990_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/35/image_11012025_20_35_02_635348_0003.jpg
/home/pi/Desktop/images/11012025/20/36/image_11012025_20_36_02_764990_0000.jpg
/home/pi/Desktop/images/11012025/20/36/image_11012025_20_36_02_764990_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":["1328249363","1328249389","1328249398"],"photo_ids_order":["1328249363","1328249389","1328249398"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eaecb45dfc1442d86c513bf80b7c1d3c.jpg","text":"TemporaryFile(/tmp/multipartBody1490178296782301991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624250097,"filename":"image_11012025_20_35_02_635348_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bce4bf38c90eef716d9daad5b095e2d7.jpg","text":"TemporaryFile(/tmp/multipartBody7663466027875160605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624250097,"filename":"image_11012025_20_36_02_764990_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e8a6bf3bc6c25ce283828054bb04a6a6.jpg","text":"TemporaryFile(/tmp/multipartBody6609715783581898518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624250097,"filename":"image_11012025_20_36_02_764990_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328249398","file1":"1328249389","file0":"1328249363"},"map_files_photo_id_array":[{"photo_id":"1328249398","filename":"file2"},{"photo_id":"1328249389","filename":"file1"},{"photo_id":"1328249363","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328249363":["hashtag1","hashtag2"]},{"1328249389":["hashtag1","hashtag2"]},{"1328249398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328249363, 1328249389, 1328249398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.274888515472412 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:37:03.446539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:37:22.688897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/36/image_11012025_20_36_02_764990_0003.jpg', '/home/pi/Desktop/images/11012025/20/37/image_11012025_20_37_02_919810_0000.jpg', '/home/pi/Desktop/images/11012025/20/37/image_11012025_20_37_02_919810_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/36/image_11012025_20_36_02_764990_0003.jpg
/home/pi/Desktop/images/11012025/20/37/image_11012025_20_37_02_919810_0000.jpg
/home/pi/Desktop/images/11012025/20/37/image_11012025_20_37_02_919810_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":["1328249523","1328249440","1328249503"],"photo_ids_order":["1328249440","1328249503","1328249523"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fd502e53247ac0ac038350013e91effe.jpg","text":"TemporaryFile(/tmp/multipartBody6921927345424725218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624310305,"filename":"image_11012025_20_37_02_919810_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ba74cb1f640c805a57159c1a75724e21.jpg","text":"TemporaryFile(/tmp/multipartBody7739507681089148435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624310305,"filename":"image_11012025_20_36_02_764990_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3c10a37ddc0aee0889a27c5df77fb32b.jpg","text":"TemporaryFile(/tmp/multipartBody5193346802052367773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624310305,"filename":"image_11012025_20_37_02_919810_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328249523","file1":"1328249503","file0":"1328249440"},"map_files_photo_id_array":[{"photo_id":"1328249523","filename":"file2"},{"photo_id":"1328249503","filename":"file1"},{"photo_id":"1328249440","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328249523":["hashtag1","hashtag2"]},{"1328249440":["hashtag1","hashtag2"]},{"1328249503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328249523, 1328249440, 1328249503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.350147485733032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:38:02.322654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:38:21.945045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/37/image_11012025_20_37_02_919810_0003.jpg', '/home/pi/Desktop/images/11012025/20/38/image_11012025_20_38_03_180491_0000.jpg', '/home/pi/Desktop/images/11012025/20/38/image_11012025_20_38_03_180491_0001.jpg', '/home/pi/Desktop/images/11012025/20/38/image_11012025_20_38_03_180491_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/37/image_11012025_20_37_02_919810_0003.jpg
/home/pi/Desktop/images/11012025/20/38/image_11012025_20_38_03_180491_0000.jpg
/home/pi/Desktop/images/11012025/20/38/image_11012025_20_38_03_180491_0001.jpg
/home/pi/Desktop/images/11012025/20/38/image_11012025_20_38_03_180491_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328250296","1328250437","1328250457","1328250421"],"photo_ids_order":["1328250296","1328250421","1328250437","1328250457"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4ecf23e97ee9b214c4bcc29b1ede917d.jpg","text":"TemporaryFile(/tmp/multipartBody5618344567904528437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624371753,"filename":"image_11012025_20_37_02_919810_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c7ca5252c5d317a671179f379c71ce7d.jpg","text":"TemporaryFile(/tmp/multipartBody7622250738755555822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624371753,"filename":"image_11012025_20_38_03_180491_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1772faece511ad91e7be8d11cc6dda2f.jpg","text":"TemporaryFile(/tmp/multipartBody5922763072525042655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624371753,"filename":"image_11012025_20_38_03_180491_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a95ef4c5c2e9dd0cff6536ad6440f595.jpg","text":"TemporaryFile(/tmp/multipartBody300549965238697546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624371753,"filename":"image_11012025_20_38_03_180491_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328250437","file1":"1328250421","file0":"1328250296","file3":"1328250457"},"map_files_photo_id_array":[{"photo_id":"1328250437","filename":"file2"},{"photo_id":"1328250421","filename":"file1"},{"photo_id":"1328250296","filename":"file0"},{"photo_id":"1328250457","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328250296":["hashtag1","hashtag2"]},{"1328250437":["hashtag1","hashtag2"]},{"1328250457":["hashtag1","hashtag2"]},{"1328250421":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328250296, 1328250437, 1328250457, 1328250421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.079315423965454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:39:02.610692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:39:22.078965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/38/image_11012025_20_38_03_180491_0003.jpg', '/home/pi/Desktop/images/11012025/20/39/image_11012025_20_39_02_282242_0000.jpg', '/home/pi/Desktop/images/11012025/20/39/image_11012025_20_39_02_282242_0001.jpg', '/home/pi/Desktop/images/11012025/20/39/image_11012025_20_39_02_282242_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/38/image_11012025_20_38_03_180491_0003.jpg
/home/pi/Desktop/images/11012025/20/39/image_11012025_20_39_02_282242_0000.jpg
/home/pi/Desktop/images/11012025/20/39/image_11012025_20_39_02_282242_0001.jpg
/home/pi/Desktop/images/11012025/20/39/image_11012025_20_39_02_282242_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.427616119384766 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-11 20:39:42.073262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/38/image_11012025_20_38_03_180491_0003.jpg', '/home/pi/Desktop/images/11012025/20/39/image_11012025_20_39_02_282242_0000.jpg', '/home/pi/Desktop/images/11012025/20/39/image_11012025_20_39_02_282242_0001.jpg', '/home/pi/Desktop/images/11012025/20/39/image_11012025_20_39_02_282242_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/38/image_11012025_20_38_03_180491_0003.jpg
/home/pi/Desktop/images/11012025/20/39/image_11012025_20_39_02_282242_0000.jpg
/home/pi/Desktop/images/11012025/20/39/image_11012025_20_39_02_282242_0001.jpg
/home/pi/Desktop/images/11012025/20/39/image_11012025_20_39_02_282242_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328250849","1328250852","1328250846","1328250842"],"photo_ids_order":["1328250842","1328250846","1328250849","1328250852"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c841365c10c901fcef87d4672f7ff1c.jpg","text":"TemporaryFile(/tmp/multipartBody5677484213381982615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624451893,"filename":"image_11012025_20_39_02_282242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8812b7eb624f8d91c6700ce4e71e50e0.jpg","text":"TemporaryFile(/tmp/multipartBody8893923711148991364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624451893,"filename":"image_11012025_20_39_02_282242_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7d9d4f571bc626ab392faeadc4ef0323.jpg","text":"TemporaryFile(/tmp/multipartBody6947356322160649184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624451893,"filename":"image_11012025_20_39_02_282242_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7dd158bb9cb927cb10885de45f791244.jpg","text":"TemporaryFile(/tmp/multipartBody4842399480312157815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624451893,"filename":"image_11012025_20_38_03_180491_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328250849","file1":"1328250846","file0":"1328250842","file3":"1328250852"},"map_files_photo_id_array":[{"photo_id":"1328250849","filename":"file2"},{"photo_id":"1328250846","filename":"file1"},{"photo_id":"1328250842","filename":"file0"},{"photo_id":"1328250852","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328250849":["hashtag1","hashtag2"]},{"1328250852":["hashtag1","hashtag2"]},{"1328250846":["hashtag1","hashtag2"]},{"1328250842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328250849, 1328250852, 1328250846, 1328250842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.71158504486084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:40:22.310247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/39/image_11012025_20_39_02_282242_0003.jpg', '/home/pi/Desktop/images/11012025/20/40/image_11012025_20_40_02_515835_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/39/image_11012025_20_39_02_282242_0003.jpg
/home/pi/Desktop/images/11012025/20/40/image_11012025_20_40_02_515835_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":["1328250858","1328250860"],"photo_ids_order":["1328250858","1328250860"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/12835805b16b43bbd98a626ff06cfc9d.jpg","text":"TemporaryFile(/tmp/multipartBody7409801551804760070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624487572,"filename":"image_11012025_20_39_02_282242_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e5f936fad2d3ac8d369e515f55cd9bc1.jpg","text":"TemporaryFile(/tmp/multipartBody2258142439864269816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624487572,"filename":"image_11012025_20_40_02_515835_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328250860","file0":"1328250858"},"map_files_photo_id_array":[{"photo_id":"1328250860","filename":"file1"},{"photo_id":"1328250858","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328250858":["hashtag1","hashtag2"]},{"1328250860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328250858, 1328250860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.860088109970093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 20:40:52.212280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:41:02.973959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:41:22.492111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/40/image_11012025_20_40_02_515835_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/40/image_11012025_20_40_02_515835_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328250888"],"photo_id":"1328250888","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/931f37d2d8921026c445218ec3e91a30.jpg","text":"TemporaryFile(/tmp/multipartBody392540475694069476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624545463,"filename":"image_11012025_20_40_02_515835_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328250888"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328250888"}],"hashtags":[],"portfolio_id":"19511890","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.640753746032715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 20:41:42.364462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 20:41:52.368740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:42:02.966840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:42:22.598211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/41/image_11012025_20_41_02_716309_0003.jpg', '/home/pi/Desktop/images/11012025/20/42/image_11012025_20_42_02_850936_0000.jpg', '/home/pi/Desktop/images/11012025/20/42/image_11012025_20_42_02_850936_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/41/image_11012025_20_41_02_716309_0003.jpg
/home/pi/Desktop/images/11012025/20/42/image_11012025_20_42_02_850936_0000.jpg
/home/pi/Desktop/images/11012025/20/42/image_11012025_20_42_02_850936_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":["1328250920","1328250923","1328250904"],"photo_ids_order":["1328250904","1328250920","1328250923"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5ecd03987742c1f601d439fd10e5f6af.jpg","text":"TemporaryFile(/tmp/multipartBody5186882445277948015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624610159,"filename":"image_11012025_20_42_02_850936_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5f8c9998781bf1ce2f9ff8ac4083ca56.jpg","text":"TemporaryFile(/tmp/multipartBody2429709325727188628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624610159,"filename":"image_11012025_20_42_02_850936_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b15f3e875e5836ed4414098ca3c9256f.jpg","text":"TemporaryFile(/tmp/multipartBody3319417064848990213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624610159,"filename":"image_11012025_20_41_02_716309_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328250923","file1":"1328250920","file0":"1328250904"},"map_files_photo_id_array":[{"photo_id":"1328250923","filename":"file2"},{"photo_id":"1328250920","filename":"file1"},{"photo_id":"1328250904","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328250920":["hashtag1","hashtag2"]},{"1328250923":["hashtag1","hashtag2"]},{"1328250904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328250920, 1328250923, 1328250904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.384865045547485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:43:03.364290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:43:22.604597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/42/image_11012025_20_42_02_850936_0003.jpg', '/home/pi/Desktop/images/11012025/20/43/image_11012025_20_43_02_929914_0000.jpg', '/home/pi/Desktop/images/11012025/20/43/image_11012025_20_43_02_929914_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/42/image_11012025_20_42_02_850936_0003.jpg
/home/pi/Desktop/images/11012025/20/43/image_11012025_20_43_02_929914_0000.jpg
/home/pi/Desktop/images/11012025/20/43/image_11012025_20_43_02_929914_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328250936","1328250939","1328250940"],"photo_ids_order":["1328250936","1328250939","1328250940"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/429d16530c066c50d5aa45d082ad9732.jpg","text":"TemporaryFile(/tmp/multipartBody8116952429031792096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624670141,"filename":"image_11012025_20_42_02_850936_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/17d8a8af417fbeca2140d51cb11f0176.jpg","text":"TemporaryFile(/tmp/multipartBody185312095946469379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624670141,"filename":"image_11012025_20_43_02_929914_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/19f88cfa7c13a24481f0e09b5d97d4d3.jpg","text":"TemporaryFile(/tmp/multipartBody7987016098440629317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624670141,"filename":"image_11012025_20_43_02_929914_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328250940","file1":"1328250939","file0":"1328250936"},"map_files_photo_id_array":[{"photo_id":"1328250940","filename":"file2"},{"photo_id":"1328250939","filename":"file1"},{"photo_id":"1328250936","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328250936":["hashtag1","hashtag2"]},{"1328250939":["hashtag1","hashtag2"]},{"1328250940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328250936, 1328250939, 1328250940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.02916431427002 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:44:02.330696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:44:21.989470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/43/image_11012025_20_43_02_929914_0003.jpg', '/home/pi/Desktop/images/11012025/20/44/image_11012025_20_44_03_102436_0000.jpg', '/home/pi/Desktop/images/11012025/20/44/image_11012025_20_44_03_102436_0001.jpg', '/home/pi/Desktop/images/11012025/20/44/image_11012025_20_44_03_102436_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/43/image_11012025_20_43_02_929914_0003.jpg
/home/pi/Desktop/images/11012025/20/44/image_11012025_20_44_03_102436_0000.jpg
/home/pi/Desktop/images/11012025/20/44/image_11012025_20_44_03_102436_0001.jpg
/home/pi/Desktop/images/11012025/20/44/image_11012025_20_44_03_102436_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.416191101074219 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-11 20:44:42.002906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/43/image_11012025_20_43_02_929914_0003.jpg', '/home/pi/Desktop/images/11012025/20/44/image_11012025_20_44_03_102436_0000.jpg', '/home/pi/Desktop/images/11012025/20/44/image_11012025_20_44_03_102436_0001.jpg', '/home/pi/Desktop/images/11012025/20/44/image_11012025_20_44_03_102436_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/43/image_11012025_20_43_02_929914_0003.jpg
/home/pi/Desktop/images/11012025/20/44/image_11012025_20_44_03_102436_0000.jpg
/home/pi/Desktop/images/11012025/20/44/image_11012025_20_44_03_102436_0001.jpg
/home/pi/Desktop/images/11012025/20/44/image_11012025_20_44_03_102436_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328250975","1328250989","1328250983","1328250979"],"photo_ids_order":["1328250975","1328250979","1328250983","1328250989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c62d550af7af7f98e38c11b6698262c6.jpg","text":"TemporaryFile(/tmp/multipartBody4707484386233853473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624751817,"filename":"image_11012025_20_43_02_929914_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2aaa2f24d8fbb5e3a769d0e67d78d03d.jpg","text":"TemporaryFile(/tmp/multipartBody2709836384122234788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624751817,"filename":"image_11012025_20_44_03_102436_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/17a81dc4798ca6563b2c69b3b1f9a39b.jpg","text":"TemporaryFile(/tmp/multipartBody4762035589202045736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624751817,"filename":"image_11012025_20_44_03_102436_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3ecdd145b046a72d7b3c6317038ca821.jpg","text":"TemporaryFile(/tmp/multipartBody4138446449765240512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624751817,"filename":"image_11012025_20_44_03_102436_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328250983","file1":"1328250979","file0":"1328250975","file3":"1328250989"},"map_files_photo_id_array":[{"photo_id":"1328250983","filename":"file2"},{"photo_id":"1328250979","filename":"file1"},{"photo_id":"1328250975","filename":"file0"},{"photo_id":"1328250989","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328250975":["hashtag1","hashtag2"]},{"1328250989":["hashtag1","hashtag2"]},{"1328250983":["hashtag1","hashtag2"]},{"1328250979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328250975, 1328250989, 1328250983, 1328250979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.63849925994873 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:45:22.189639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/44/image_11012025_20_44_03_102436_0003.jpg', '/home/pi/Desktop/images/11012025/20/45/image_11012025_20_45_02_335943_0000.jpg', '/home/pi/Desktop/images/11012025/20/45/image_11012025_20_45_02_335943_0001.jpg', '/home/pi/Desktop/images/11012025/20/45/image_11012025_20_45_02_335943_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/44/image_11012025_20_44_03_102436_0003.jpg
/home/pi/Desktop/images/11012025/20/45/image_11012025_20_45_02_335943_0000.jpg
/home/pi/Desktop/images/11012025/20/45/image_11012025_20_45_02_335943_0001.jpg
/home/pi/Desktop/images/11012025/20/45/image_11012025_20_45_02_335943_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328251034","1328251010","1328251015","1328251029"],"photo_ids_order":["1328251010","1328251015","1328251029","1328251034"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/72cd1877cdf7390af4f084f659cd3ff9.jpg","text":"TemporaryFile(/tmp/multipartBody1072284961658380805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624791979,"filename":"image_11012025_20_45_02_335943_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c3b7e2a8f964884495110db7e28b857.jpg","text":"TemporaryFile(/tmp/multipartBody6179697080658706232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624791979,"filename":"image_11012025_20_44_03_102436_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d3463e0181966f0366d91a59a796a264.jpg","text":"TemporaryFile(/tmp/multipartBody2680720706928062487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624791979,"filename":"image_11012025_20_45_02_335943_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/85ee0b05f1a351e677bbc844d5d85a62.jpg","text":"TemporaryFile(/tmp/multipartBody890527636251847149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624791979,"filename":"image_11012025_20_45_02_335943_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328251029","file1":"1328251015","file0":"1328251010","file3":"1328251034"},"map_files_photo_id_array":[{"photo_id":"1328251029","filename":"file2"},{"photo_id":"1328251015","filename":"file1"},{"photo_id":"1328251010","filename":"file0"},{"photo_id":"1328251034","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328251034":["hashtag1","hashtag2"]},{"1328251010":["hashtag1","hashtag2"]},{"1328251015":["hashtag1","hashtag2"]},{"1328251029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328251034, 1328251010, 1328251015, 1328251029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.153966665267944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:46:02.742573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:46:22.278057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/45/image_11012025_20_45_02_335943_0003.jpg', '/home/pi/Desktop/images/11012025/20/46/image_11012025_20_46_02_577874_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/45/image_11012025_20_45_02_335943_0003.jpg
/home/pi/Desktop/images/11012025/20/46/image_11012025_20_46_02_577874_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":["1328251051","1328251053"],"photo_ids_order":["1328251051","1328251053"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d96f20b87087c413ca1b0fb6e589a2e3.jpg","text":"TemporaryFile(/tmp/multipartBody1265838389332102285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624847526,"filename":"image_11012025_20_45_02_335943_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d98ba6f9f3d8905b6f0e266bd823a825.jpg","text":"TemporaryFile(/tmp/multipartBody3364507335390069972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624847526,"filename":"image_11012025_20_46_02_577874_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328251053","file0":"1328251051"},"map_files_photo_id_array":[{"photo_id":"1328251053","filename":"file1"},{"photo_id":"1328251051","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328251051":["hashtag1","hashtag2"]},{"1328251053":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328251051, 1328251053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.33472228050232 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 20:46:52.293666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:47:03.177540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:47:22.447680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/46/image_11012025_20_46_02_577874_0002.jpg', '/home/pi/Desktop/images/11012025/20/47/image_11012025_20_47_02_683087_0000.jpg', '/home/pi/Desktop/images/11012025/20/47/image_11012025_20_47_02_683087_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/46/image_11012025_20_46_02_577874_0002.jpg
/home/pi/Desktop/images/11012025/20/47/image_11012025_20_47_02_683087_0000.jpg
/home/pi/Desktop/images/11012025/20/47/image_11012025_20_47_02_683087_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328251646","1328251797","1328251281"],"photo_ids_order":["1328251281","1328251646","1328251797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5141fc5322ac15e459e41721c577797c.jpg","text":"TemporaryFile(/tmp/multipartBody4886378718842700579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624909956,"filename":"image_11012025_20_47_02_683087_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/babd7930d6e3d6305b758d6c45468a20.jpg","text":"TemporaryFile(/tmp/multipartBody1741460424492635741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624909956,"filename":"image_11012025_20_47_02_683087_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/38e33ae4620553528be81e8f09c9fa5c.jpg","text":"TemporaryFile(/tmp/multipartBody3017294531955561270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624909956,"filename":"image_11012025_20_46_02_577874_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328251797","file1":"1328251646","file0":"1328251281"},"map_files_photo_id_array":[{"photo_id":"1328251797","filename":"file2"},{"photo_id":"1328251646","filename":"file1"},{"photo_id":"1328251281","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328251646":["hashtag1","hashtag2"]},{"1328251797":["hashtag1","hashtag2"]},{"1328251281":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328251646, 1328251797, 1328251281)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 3 photos
time to upload: 29.51904821395874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:48:03.135437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:48:22.686663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/47/image_11012025_20_47_02_683087_0003.jpg', '/home/pi/Desktop/images/11012025/20/48/image_11012025_20_48_02_852048_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/47/image_11012025_20_47_02_683087_0003.jpg
/home/pi/Desktop/images/11012025/20/48/image_11012025_20_48_02_852048_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":["1328252000","1328252077"],"photo_ids_order":["1328252000","1328252077"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c60557c1579bb7a5343a9ab0b3da81c5.jpg","text":"TemporaryFile(/tmp/multipartBody4777966276634935160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624967914,"filename":"image_11012025_20_47_02_683087_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7384977666092d200bd5896f4933a255.jpg","text":"TemporaryFile(/tmp/multipartBody3444080351371426729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736624967914,"filename":"image_11012025_20_48_02_852048_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328252077","file0":"1328252000"},"map_files_photo_id_array":[{"photo_id":"1328252077","filename":"file1"},{"photo_id":"1328252000","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328252000":["hashtag1","hashtag2"]},{"1328252077":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328252000, 1328252077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.328126907348633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 20:48:52.806594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:49:02.631384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:49:22.065398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/48/image_11012025_20_48_02_852048_0002.jpg', '/home/pi/Desktop/images/11012025/20/49/image_11012025_20_49_03_100799_0000.jpg', '/home/pi/Desktop/images/11012025/20/49/image_11012025_20_49_03_100799_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/48/image_11012025_20_48_02_852048_0002.jpg
/home/pi/Desktop/images/11012025/20/49/image_11012025_20_49_03_100799_0000.jpg
/home/pi/Desktop/images/11012025/20/49/image_11012025_20_49_03_100799_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328252266","1328252268","1328252262"],"photo_ids_order":["1328252262","1328252266","1328252268"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b1faead8f09f460d1d3290facaecdb67.jpg","text":"TemporaryFile(/tmp/multipartBody8812551356157861852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625029578,"filename":"image_11012025_20_49_03_100799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/94ba7837d75e6f8c4f0711afc5ac20d7.jpg","text":"TemporaryFile(/tmp/multipartBody3481419073237458791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625029578,"filename":"image_11012025_20_49_03_100799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/63cc971f18ca607222e2a86db20acf89.jpg","text":"TemporaryFile(/tmp/multipartBody1499783604305125187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625029578,"filename":"image_11012025_20_48_02_852048_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328252268","file1":"1328252266","file0":"1328252262"},"map_files_photo_id_array":[{"photo_id":"1328252268","filename":"file2"},{"photo_id":"1328252266","filename":"file1"},{"photo_id":"1328252262","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328252266":["hashtag1","hashtag2"]},{"1328252268":["hashtag1","hashtag2"]},{"1328252262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328252266, 1328252268, 1328252262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.51741886138916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:50:02.694770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:50:22.209028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/49/image_11012025_20_49_03_100799_0003.jpg', '/home/pi/Desktop/images/11012025/20/50/image_11012025_20_50_02_370946_0000.jpg', '/home/pi/Desktop/images/11012025/20/50/image_11012025_20_50_02_370946_0001.jpg', '/home/pi/Desktop/images/11012025/20/50/image_11012025_20_50_02_370946_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/49/image_11012025_20_49_03_100799_0003.jpg
/home/pi/Desktop/images/11012025/20/50/image_11012025_20_50_02_370946_0000.jpg
/home/pi/Desktop/images/11012025/20/50/image_11012025_20_50_02_370946_0001.jpg
/home/pi/Desktop/images/11012025/20/50/image_11012025_20_50_02_370946_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328252288","1328252284","1328252292","1328252280"],"photo_ids_order":["1328252280","1328252284","1328252288","1328252292"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/064386b3c98c605c8db9e929d4ebbc6d.jpg","text":"TemporaryFile(/tmp/multipartBody6267945130628029182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625091996,"filename":"image_11012025_20_50_02_370946_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/88dc17a7358e9d53517a55f95229b092.jpg","text":"TemporaryFile(/tmp/multipartBody1717802600330734417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625091996,"filename":"image_11012025_20_50_02_370946_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/40fdbfa84e78e364770a14d1edbf9a39.jpg","text":"TemporaryFile(/tmp/multipartBody4024991284476775846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625091996,"filename":"image_11012025_20_50_02_370946_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b93495db26eebdfbcd1130060ac87a86.jpg","text":"TemporaryFile(/tmp/multipartBody133926735858616239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625091996,"filename":"image_11012025_20_49_03_100799_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328252288","file1":"1328252284","file0":"1328252280","file3":"1328252292"},"map_files_photo_id_array":[{"photo_id":"1328252288","filename":"file2"},{"photo_id":"1328252284","filename":"file1"},{"photo_id":"1328252280","filename":"file0"},{"photo_id":"1328252292","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328252288":["hashtag1","hashtag2"]},{"1328252284":["hashtag1","hashtag2"]},{"1328252292":["hashtag1","hashtag2"]},{"1328252280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328252288, 1328252284, 1328252292, 1328252280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.46940851211548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:51:22.440098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/50/image_11012025_20_50_02_370946_0003.jpg', '/home/pi/Desktop/images/11012025/20/51/image_11012025_20_51_02_587712_0000.jpg', '/home/pi/Desktop/images/11012025/20/51/image_11012025_20_51_02_587712_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/50/image_11012025_20_50_02_370946_0003.jpg
/home/pi/Desktop/images/11012025/20/51/image_11012025_20_51_02_587712_0000.jpg
/home/pi/Desktop/images/11012025/20/51/image_11012025_20_51_02_587712_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328252317","1328252304","1328252301"],"photo_ids_order":["1328252301","1328252304","1328252317"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8f372c1c68fd348511d4ea8246c9cf34.jpg","text":"TemporaryFile(/tmp/multipartBody6226004015599923866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625149940,"filename":"image_11012025_20_51_02_587712_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/64d9d113306ba5f78d48ec0f490a81a0.jpg","text":"TemporaryFile(/tmp/multipartBody772326408380964520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625149940,"filename":"image_11012025_20_51_02_587712_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bba2c46e78f1bd187dbdf25b98018576.jpg","text":"TemporaryFile(/tmp/multipartBody3362261419237237724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625149940,"filename":"image_11012025_20_50_02_370946_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328252317","file1":"1328252304","file0":"1328252301"},"map_files_photo_id_array":[{"photo_id":"1328252317","filename":"file2"},{"photo_id":"1328252304","filename":"file1"},{"photo_id":"1328252301","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328252317":["hashtag1","hashtag2"]},{"1328252304":["hashtag1","hashtag2"]},{"1328252301":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328252317, 1328252304, 1328252301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.958247184753418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:52:02.954748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:52:22.547146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/51/image_11012025_20_51_02_587712_0003.jpg', '/home/pi/Desktop/images/11012025/20/52/image_11012025_20_52_02_754890_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/51/image_11012025_20_51_02_587712_0003.jpg
/home/pi/Desktop/images/11012025/20/52/image_11012025_20_52_02_754890_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":["1328252336","1328252339"],"photo_ids_order":["1328252336","1328252339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7f2b1482fd2674ebe8bf790996a00cdb.jpg","text":"TemporaryFile(/tmp/multipartBody8060648773950818598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625207777,"filename":"image_11012025_20_51_02_587712_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e2007eed6d3d04e3eeac304c27532f8b.jpg","text":"TemporaryFile(/tmp/multipartBody3569463488389181047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625207777,"filename":"image_11012025_20_52_02_754890_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328252339","file0":"1328252336"},"map_files_photo_id_array":[{"photo_id":"1328252339","filename":"file1"},{"photo_id":"1328252336","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328252336":["hashtag1","hashtag2"]},{"1328252339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328252336, 1328252339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.90194869041443 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 20:52:52.523324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:53:03.362925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:53:22.737890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/52/image_11012025_20_52_02_754890_0003.jpg', '/home/pi/Desktop/images/11012025/20/53/image_11012025_20_53_02_979341_0001.jpg', '/home/pi/Desktop/images/11012025/20/53/image_11012025_20_53_02_979341_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/52/image_11012025_20_52_02_754890_0003.jpg
/home/pi/Desktop/images/11012025/20/53/image_11012025_20_53_02_979341_0001.jpg
/home/pi/Desktop/images/11012025/20/53/image_11012025_20_53_02_979341_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328252366","1328252367","1328252361"],"photo_ids_order":["1328252361","1328252366","1328252367"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7a52fdf09b3da6cef1b7fb3583662bca.jpg","text":"TemporaryFile(/tmp/multipartBody4313330543230990768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625270216,"filename":"image_11012025_20_53_02_979341_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/430908f825e6bd1f8815958457f32288.jpg","text":"TemporaryFile(/tmp/multipartBody7798732890077617349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625270216,"filename":"image_11012025_20_53_02_979341_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9e06064b69828dcddb6a21c6cc183f4d.jpg","text":"TemporaryFile(/tmp/multipartBody9117882977742073886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625270216,"filename":"image_11012025_20_52_02_754890_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328252367","file1":"1328252366","file0":"1328252361"},"map_files_photo_id_array":[{"photo_id":"1328252367","filename":"file2"},{"photo_id":"1328252366","filename":"file1"},{"photo_id":"1328252361","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328252366":["hashtag1","hashtag2"]},{"1328252367":["hashtag1","hashtag2"]},{"1328252361":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328252366, 1328252367, 1328252361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.464848279953003 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:54:02.378274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:54:21.928048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/53/image_11012025_20_53_02_979341_0003.jpg', '/home/pi/Desktop/images/11012025/20/54/image_11012025_20_54_03_073978_0000.jpg', '/home/pi/Desktop/images/11012025/20/54/image_11012025_20_54_03_073978_0001.jpg', '/home/pi/Desktop/images/11012025/20/54/image_11012025_20_54_03_073978_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/53/image_11012025_20_53_02_979341_0003.jpg
/home/pi/Desktop/images/11012025/20/54/image_11012025_20_54_03_073978_0000.jpg
/home/pi/Desktop/images/11012025/20/54/image_11012025_20_54_03_073978_0001.jpg
/home/pi/Desktop/images/11012025/20/54/image_11012025_20_54_03_073978_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328252417","1328252395","1328252398","1328252382"],"photo_ids_order":["1328252382","1328252395","1328252398","1328252417"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2f0f129f36522e959fcdc2fc7a966a5e.jpg","text":"TemporaryFile(/tmp/multipartBody1633997317947351903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625331707,"filename":"image_11012025_20_54_03_073978_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/27cd9018f8d4ee22b83f39e3d32385cc.jpg","text":"TemporaryFile(/tmp/multipartBody7274107575968741142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625331707,"filename":"image_11012025_20_54_03_073978_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f411bce0e83b2fd7d83e2e095950ba32.jpg","text":"TemporaryFile(/tmp/multipartBody60269398193656084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625331707,"filename":"image_11012025_20_54_03_073978_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/371a7906424d7233c635dc303ada2918.jpg","text":"TemporaryFile(/tmp/multipartBody9207084798893160237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625331707,"filename":"image_11012025_20_53_02_979341_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328252398","file1":"1328252395","file0":"1328252382","file3":"1328252417"},"map_files_photo_id_array":[{"photo_id":"1328252398","filename":"file2"},{"photo_id":"1328252395","filename":"file1"},{"photo_id":"1328252382","filename":"file0"},{"photo_id":"1328252417","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328252417":["hashtag1","hashtag2"]},{"1328252395":["hashtag1","hashtag2"]},{"1328252398":["hashtag1","hashtag2"]},{"1328252382":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328252417, 1328252395, 1328252398, 1328252382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.07196497917175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:55:02.866881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:55:22.145138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/54/image_11012025_20_54_03_073978_0003.jpg', '/home/pi/Desktop/images/11012025/20/55/image_11012025_20_55_02_235995_0000.jpg', '/home/pi/Desktop/images/11012025/20/55/image_11012025_20_55_02_235995_0001.jpg', '/home/pi/Desktop/images/11012025/20/55/image_11012025_20_55_02_235995_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/54/image_11012025_20_54_03_073978_0003.jpg
/home/pi/Desktop/images/11012025/20/55/image_11012025_20_55_02_235995_0000.jpg
/home/pi/Desktop/images/11012025/20/55/image_11012025_20_55_02_235995_0001.jpg
/home/pi/Desktop/images/11012025/20/55/image_11012025_20_55_02_235995_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328252564","1328252557","1328252559","1328252556"],"photo_ids_order":["1328252556","1328252557","1328252559","1328252564"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6daf224840430a2d162423a31ee416d8.jpg","text":"TemporaryFile(/tmp/multipartBody605592600731872013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625391928,"filename":"image_11012025_20_55_02_235995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0a8c275f68fd8352c9a6be703083a5a9.jpg","text":"TemporaryFile(/tmp/multipartBody1172408011906771845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625391928,"filename":"image_11012025_20_55_02_235995_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dd18e3d85dcf5ef431a2b17cdfb42fe6.jpg","text":"TemporaryFile(/tmp/multipartBody8289310488766255477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625391928,"filename":"image_11012025_20_55_02_235995_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6452f86bfc33f6883bcc74f12385d699.jpg","text":"TemporaryFile(/tmp/multipartBody6871460310133385055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625391928,"filename":"image_11012025_20_54_03_073978_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328252559","file1":"1328252557","file0":"1328252556","file3":"1328252564"},"map_files_photo_id_array":[{"photo_id":"1328252559","filename":"file2"},{"photo_id":"1328252557","filename":"file1"},{"photo_id":"1328252556","filename":"file0"},{"photo_id":"1328252564","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328252564":["hashtag1","hashtag2"]},{"1328252557":["hashtag1","hashtag2"]},{"1328252559":["hashtag1","hashtag2"]},{"1328252556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328252564, 1328252557, 1328252559, 1328252556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.1412250995636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:56:22.321330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/55/image_11012025_20_55_02_235995_0003.jpg', '/home/pi/Desktop/images/11012025/20/56/image_11012025_20_56_02_479979_0000.jpg', '/home/pi/Desktop/images/11012025/20/56/image_11012025_20_56_02_479979_0001.jpg', '/home/pi/Desktop/images/11012025/20/56/image_11012025_20_56_02_479979_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/55/image_11012025_20_55_02_235995_0003.jpg
/home/pi/Desktop/images/11012025/20/56/image_11012025_20_56_02_479979_0000.jpg
/home/pi/Desktop/images/11012025/20/56/image_11012025_20_56_02_479979_0001.jpg
/home/pi/Desktop/images/11012025/20/56/image_11012025_20_56_02_479979_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328252575","1328252578","1328252574","1328252576"],"photo_ids_order":["1328252574","1328252575","1328252576","1328252578"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/51d9fa5fb21fd364319c24ab5e5e39a1.jpg","text":"TemporaryFile(/tmp/multipartBody8019368519865696170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625452150,"filename":"image_11012025_20_56_02_479979_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3bcaddcb285985a6b75ac525f7267692.jpg","text":"TemporaryFile(/tmp/multipartBody3110946175224872331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625452150,"filename":"image_11012025_20_56_02_479979_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e4e1476fcaa06dee77f3850b8d835f0d.jpg","text":"TemporaryFile(/tmp/multipartBody8168224913829896886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625452150,"filename":"image_11012025_20_55_02_235995_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fda10c641119c9eb7c8632b8d5f2fde2.jpg","text":"TemporaryFile(/tmp/multipartBody7807217138173360715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625452150,"filename":"image_11012025_20_56_02_479979_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328252576","file1":"1328252575","file0":"1328252574","file3":"1328252578"},"map_files_photo_id_array":[{"photo_id":"1328252576","filename":"file2"},{"photo_id":"1328252575","filename":"file1"},{"photo_id":"1328252574","filename":"file0"},{"photo_id":"1328252578","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328252575":["hashtag1","hashtag2"]},{"1328252578":["hashtag1","hashtag2"]},{"1328252574":["hashtag1","hashtag2"]},{"1328252576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328252575, 1328252578, 1328252574, 1328252576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.86625647544861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:57:22.554587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/56/image_11012025_20_56_02_479979_0003.jpg', '/home/pi/Desktop/images/11012025/20/57/image_11012025_20_57_02_696281_0000.jpg', '/home/pi/Desktop/images/11012025/20/57/image_11012025_20_57_02_696281_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/56/image_11012025_20_56_02_479979_0003.jpg
/home/pi/Desktop/images/11012025/20/57/image_11012025_20_57_02_696281_0000.jpg
/home/pi/Desktop/images/11012025/20/57/image_11012025_20_57_02_696281_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":["1328252705","1328252698","1328252701"],"photo_ids_order":["1328252698","1328252701","1328252705"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d0ba05fb4149a6584252120bbc3fef88.jpg","text":"TemporaryFile(/tmp/multipartBody595803031408598520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625510041,"filename":"image_11012025_20_57_02_696281_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/63e688345d008125ca039a3b91194044.jpg","text":"TemporaryFile(/tmp/multipartBody2140775747302382154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625510041,"filename":"image_11012025_20_56_02_479979_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f56e6a92d079eaa363fc023e39f72403.jpg","text":"TemporaryFile(/tmp/multipartBody3155371057779917423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625510041,"filename":"image_11012025_20_57_02_696281_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328252705","file1":"1328252701","file0":"1328252698"},"map_files_photo_id_array":[{"photo_id":"1328252705","filename":"file2"},{"photo_id":"1328252701","filename":"file1"},{"photo_id":"1328252698","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328252705":["hashtag1","hashtag2"]},{"1328252698":["hashtag1","hashtag2"]},{"1328252701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328252705, 1328252698, 1328252701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.765456438064575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 20:59:02.487191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 20:59:21.769993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/57/image_11012025_20_57_02_696281_0002.jpg', '/home/pi/Desktop/images/11012025/20/58/image_11012025_20_58_02_890344_0002.jpg', '/home/pi/Desktop/images/11012025/20/58/image_11012025_20_58_02_890344_0003.jpg', '/home/pi/Desktop/images/11012025/20/59/image_11012025_20_59_03_007595_0000.jpg', '/home/pi/Desktop/images/11012025/20/59/image_11012025_20_59_03_007595_0001.jpg', '/home/pi/Desktop/images/11012025/20/59/image_11012025_20_59_03_007595_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/57/image_11012025_20_57_02_696281_0002.jpg
/home/pi/Desktop/images/11012025/20/58/image_11012025_20_58_02_890344_0002.jpg
/home/pi/Desktop/images/11012025/20/58/image_11012025_20_58_02_890344_0003.jpg
/home/pi/Desktop/images/11012025/20/59/image_11012025_20_59_03_007595_0000.jpg
/home/pi/Desktop/images/11012025/20/59/image_11012025_20_59_03_007595_0001.jpg
/home/pi/Desktop/images/11012025/20/59/image_11012025_20_59_03_007595_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328253421","1328253412","1328253415","1328253417","1328253266","1328253419"],"photo_ids_order":["1328253266","1328253412","1328253415","1328253417","1328253419","1328253421"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4f8255aca5ae4c22f12377900f3ce071.jpg","text":"TemporaryFile(/tmp/multipartBody5862767117545612644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625636112,"filename":"image_11012025_20_59_03_007595_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/75b5bde7b1e2db76ea9fbc9f2b8a27ff.jpg","text":"TemporaryFile(/tmp/multipartBody8080415138742566583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625636112,"filename":"image_11012025_20_58_02_890344_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cb71c6753022984de9343cdee04e3c5d.jpg","text":"TemporaryFile(/tmp/multipartBody1920362262987224039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625636112,"filename":"image_11012025_20_58_02_890344_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ed0c2bbc86b5c2805a0d69773e5c8285.jpg","text":"TemporaryFile(/tmp/multipartBody4061831434762046433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625636112,"filename":"image_11012025_20_59_03_007595_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/61e8af51b55be1e740a0f79e592a9dea.jpg","text":"TemporaryFile(/tmp/multipartBody2620865000561719260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625636112,"filename":"image_11012025_20_57_02_696281_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/696f11eae3d5b172497d0be37343c100.jpg","text":"TemporaryFile(/tmp/multipartBody6720327316020830172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625636112,"filename":"image_11012025_20_59_03_007595_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328253415","file1":"1328253412","file0":"1328253266","file4":"1328253419","file5":"1328253421","file3":"1328253417"},"map_files_photo_id_array":[{"photo_id":"1328253421","filename":"file5"},{"photo_id":"1328253415","filename":"file2"},{"photo_id":"1328253419","filename":"file4"},{"photo_id":"1328253412","filename":"file1"},{"photo_id":"1328253266","filename":"file0"},{"photo_id":"1328253417","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328253421":["hashtag1","hashtag2"]},{"1328253412":["hashtag1","hashtag2"]},{"1328253415":["hashtag1","hashtag2"]},{"1328253417":["hashtag1","hashtag2"]},{"1328253266":["hashtag1","hashtag2"]},{"1328253419":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328253421, 1328253412, 1328253415, 1328253417, 1328253266, 1328253419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.74567437171936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:00:22.182619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/20/59/image_11012025_20_59_03_007595_0003.jpg', '/home/pi/Desktop/images/11012025/21/00/image_11012025_21_00_02_258691_0001.jpg', '/home/pi/Desktop/images/11012025/21/00/image_11012025_21_00_02_258691_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/20/59/image_11012025_20_59_03_007595_0003.jpg
/home/pi/Desktop/images/11012025/21/00/image_11012025_21_00_02_258691_0001.jpg
/home/pi/Desktop/images/11012025/21/00/image_11012025_21_00_02_258691_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328253664","1328253652","1328253672"],"photo_ids_order":["1328253652","1328253664","1328253672"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c34ffaf60eba7833a3ce4ad3cf319d0.jpg","text":"TemporaryFile(/tmp/multipartBody8539287726280998503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625689706,"filename":"image_11012025_21_00_02_258691_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7339480bed0f5520d0b324c4f83024f3.jpg","text":"TemporaryFile(/tmp/multipartBody7778532094100626312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625689706,"filename":"image_11012025_20_59_03_007595_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/70a1b1d7de5c8c09033486f2e77d3d5c.jpg","text":"TemporaryFile(/tmp/multipartBody8083761657017641471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625689706,"filename":"image_11012025_21_00_02_258691_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328253672","file1":"1328253664","file0":"1328253652"},"map_files_photo_id_array":[{"photo_id":"1328253672","filename":"file2"},{"photo_id":"1328253664","filename":"file1"},{"photo_id":"1328253652","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328253664":["hashtag1","hashtag2"]},{"1328253652":["hashtag1","hashtag2"]},{"1328253672":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328253664, 1328253652, 1328253672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.253135681152344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 21:01:02.869213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:01:22.262672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/00/image_11012025_21_00_02_258691_0003.jpg', '/home/pi/Desktop/images/11012025/21/01/image_11012025_21_01_02_491205_0000.jpg', '/home/pi/Desktop/images/11012025/21/01/image_11012025_21_01_02_491205_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/00/image_11012025_21_00_02_258691_0003.jpg
/home/pi/Desktop/images/11012025/21/01/image_11012025_21_01_02_491205_0000.jpg
/home/pi/Desktop/images/11012025/21/01/image_11012025_21_01_02_491205_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":["1328253701","1328253698","1328253695"],"photo_ids_order":["1328253695","1328253698","1328253701"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/86d067fb84a23e5a18d96988a4ee52d1.jpg","text":"TemporaryFile(/tmp/multipartBody8489742323052641495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625749789,"filename":"image_11012025_21_01_02_491205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8f0f7df22ca8b72d70d98f82371dbee3.jpg","text":"TemporaryFile(/tmp/multipartBody9222171030594588029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625749789,"filename":"image_11012025_21_01_02_491205_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/869332292801d7d5ccdb952d628b0717.jpg","text":"TemporaryFile(/tmp/multipartBody1467602340580247754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625749789,"filename":"image_11012025_21_00_02_258691_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328253701","file1":"1328253698","file0":"1328253695"},"map_files_photo_id_array":[{"photo_id":"1328253701","filename":"file2"},{"photo_id":"1328253698","filename":"file1"},{"photo_id":"1328253695","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328253701":["hashtag1","hashtag2"]},{"1328253698":["hashtag1","hashtag2"]},{"1328253695":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328253701, 1328253698, 1328253695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.504318475723267 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 21:02:02.918582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:02:22.518516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/01/image_11012025_21_01_02_491205_0002.jpg', '/home/pi/Desktop/images/11012025/21/02/image_11012025_21_02_02_687365_0001.jpg', '/home/pi/Desktop/images/11012025/21/02/image_11012025_21_02_02_687365_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/01/image_11012025_21_01_02_491205_0002.jpg
/home/pi/Desktop/images/11012025/21/02/image_11012025_21_02_02_687365_0001.jpg
/home/pi/Desktop/images/11012025/21/02/image_11012025_21_02_02_687365_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.2561047077178955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 21:02:32.501175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/01/image_11012025_21_01_02_491205_0002.jpg', '/home/pi/Desktop/images/11012025/21/02/image_11012025_21_02_02_687365_0001.jpg', '/home/pi/Desktop/images/11012025/21/02/image_11012025_21_02_02_687365_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/01/image_11012025_21_01_02_491205_0002.jpg
/home/pi/Desktop/images/11012025/21/02/image_11012025_21_02_02_687365_0001.jpg
/home/pi/Desktop/images/11012025/21/02/image_11012025_21_02_02_687365_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328253718","1328253720","1328253716"],"photo_ids_order":["1328253716","1328253718","1328253720"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/05676347e7b34eed1943279e732ff945.jpg","text":"TemporaryFile(/tmp/multipartBody4706855808697272733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625820168,"filename":"image_11012025_21_02_02_687365_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e7cf08e8227723fa09fe500c280e2c0f.jpg","text":"TemporaryFile(/tmp/multipartBody3986910981663945722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625820168,"filename":"image_11012025_21_02_02_687365_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/38773199257257e478a6e9c6804597d6.jpg","text":"TemporaryFile(/tmp/multipartBody8941095808484160859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625820168,"filename":"image_11012025_21_01_02_491205_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328253720","file1":"1328253718","file0":"1328253716"},"map_files_photo_id_array":[{"photo_id":"1328253720","filename":"file2"},{"photo_id":"1328253718","filename":"file1"},{"photo_id":"1328253716","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328253718":["hashtag1","hashtag2"]},{"1328253720":["hashtag1","hashtag2"]},{"1328253716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328253718, 1328253720, 1328253716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.48456621170044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:03:22.703728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/02/image_11012025_21_02_02_687365_0003.jpg', '/home/pi/Desktop/images/11012025/21/03/image_11012025_21_03_02_852394_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/02/image_11012025_21_02_02_687365_0003.jpg
/home/pi/Desktop/images/11012025/21/03/image_11012025_21_03_02_852394_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":["1328254563","1328254419"],"photo_ids_order":["1328254419","1328254563"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a334c6b0a5fe546b31c2175df4d4a17e.jpg","text":"TemporaryFile(/tmp/multipartBody2113990319300027687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625867939,"filename":"image_11012025_21_03_02_852394_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7326683310dec1dcaaffb8311d0a1324.jpg","text":"TemporaryFile(/tmp/multipartBody7742923146539670067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625867939,"filename":"image_11012025_21_02_02_687365_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328254563","file0":"1328254419"},"map_files_photo_id_array":[{"photo_id":"1328254563","filename":"file1"},{"photo_id":"1328254419","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328254563":["hashtag1","hashtag2"]},{"1328254419":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328254563, 1328254419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.133337259292603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 21:03:52.626031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 21:04:02.280678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:04:21.820039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/03/image_11012025_21_03_02_852394_0003.jpg', '/home/pi/Desktop/images/11012025/21/04/image_11012025_21_04_03_099501_0000.jpg', '/home/pi/Desktop/images/11012025/21/04/image_11012025_21_04_03_099501_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/03/image_11012025_21_03_02_852394_0003.jpg
/home/pi/Desktop/images/11012025/21/04/image_11012025_21_04_03_099501_0000.jpg
/home/pi/Desktop/images/11012025/21/04/image_11012025_21_04_03_099501_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328254863","1328254859","1328254867"],"photo_ids_order":["1328254859","1328254863","1328254867"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e34979d2810732c57bb27514c3bb56d2.jpg","text":"TemporaryFile(/tmp/multipartBody8300145624803866778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625929362,"filename":"image_11012025_21_04_03_099501_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a1fdd03e0695a45e7cc9b08a90e6aff5.jpg","text":"TemporaryFile(/tmp/multipartBody5612348213743617703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625929362,"filename":"image_11012025_21_03_02_852394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0424b45d1550be1423ec0ba376ae7690.jpg","text":"TemporaryFile(/tmp/multipartBody2881543597424454598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625929362,"filename":"image_11012025_21_04_03_099501_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328254867","file1":"1328254863","file0":"1328254859"},"map_files_photo_id_array":[{"photo_id":"1328254867","filename":"file2"},{"photo_id":"1328254863","filename":"file1"},{"photo_id":"1328254859","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328254863":["hashtag1","hashtag2"]},{"1328254859":["hashtag1","hashtag2"]},{"1328254867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328254863, 1328254859, 1328254867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.287655353546143 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 21:05:02.510614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:05:22.123600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/04/image_11012025_21_04_03_099501_0003.jpg', '/home/pi/Desktop/images/11012025/21/05/image_11012025_21_05_02_217595_0000.jpg', '/home/pi/Desktop/images/11012025/21/05/image_11012025_21_05_02_217595_0001.jpg', '/home/pi/Desktop/images/11012025/21/05/image_11012025_21_05_02_217595_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/04/image_11012025_21_04_03_099501_0003.jpg
/home/pi/Desktop/images/11012025/21/05/image_11012025_21_05_02_217595_0000.jpg
/home/pi/Desktop/images/11012025/21/05/image_11012025_21_05_02_217595_0001.jpg
/home/pi/Desktop/images/11012025/21/05/image_11012025_21_05_02_217595_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328254882","1328254881","1328254878","1328254880"],"photo_ids_order":["1328254878","1328254880","1328254881","1328254882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bfcc99ff0bdffb2d4550146cdd7cd09f.jpg","text":"TemporaryFile(/tmp/multipartBody1319250804381353807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625991935,"filename":"image_11012025_21_05_02_217595_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/711b3ea5368ad48c06bfa4f71f8d0478.jpg","text":"TemporaryFile(/tmp/multipartBody407377382485553071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625991935,"filename":"image_11012025_21_05_02_217595_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3e31910aff121d5035296dcd97bf5c8d.jpg","text":"TemporaryFile(/tmp/multipartBody6385996911120616273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625991935,"filename":"image_11012025_21_04_03_099501_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f4aeb72f60051df93daacad6135db842.jpg","text":"TemporaryFile(/tmp/multipartBody7424805739778888515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736625991935,"filename":"image_11012025_21_05_02_217595_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328254881","file1":"1328254880","file0":"1328254878","file3":"1328254882"},"map_files_photo_id_array":[{"photo_id":"1328254881","filename":"file2"},{"photo_id":"1328254880","filename":"file1"},{"photo_id":"1328254878","filename":"file0"},{"photo_id":"1328254882","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328254882":["hashtag1","hashtag2"]},{"1328254881":["hashtag1","hashtag2"]},{"1328254878":["hashtag1","hashtag2"]},{"1328254880":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328254882, 1328254881, 1328254878, 1328254880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.04717493057251 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:06:22.289545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/05/image_11012025_21_05_02_217595_0003.jpg', '/home/pi/Desktop/images/11012025/21/06/image_11012025_21_06_02_396545_0000.jpg', '/home/pi/Desktop/images/11012025/21/06/image_11012025_21_06_02_396545_0001.jpg', '/home/pi/Desktop/images/11012025/21/06/image_11012025_21_06_02_396545_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/05/image_11012025_21_05_02_217595_0003.jpg
/home/pi/Desktop/images/11012025/21/06/image_11012025_21_06_02_396545_0000.jpg
/home/pi/Desktop/images/11012025/21/06/image_11012025_21_06_02_396545_0001.jpg
/home/pi/Desktop/images/11012025/21/06/image_11012025_21_06_02_396545_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328254915","1328254900","1328254914","1328254916"],"photo_ids_order":["1328254900","1328254914","1328254915","1328254916"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6be98753ed81564ae2e68e1dcdb92d1e.jpg","text":"TemporaryFile(/tmp/multipartBody6509118834603283238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626052204,"filename":"image_11012025_21_06_02_396545_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dfd97d8049fed664f4f0ae31d3782681.jpg","text":"TemporaryFile(/tmp/multipartBody5312893713811942439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626052204,"filename":"image_11012025_21_05_02_217595_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/abb73c0f3d247a98174f804f0feac75d.jpg","text":"TemporaryFile(/tmp/multipartBody1047884507477058163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626052204,"filename":"image_11012025_21_06_02_396545_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/011304da9a36af5f5da39c6c888c5555.jpg","text":"TemporaryFile(/tmp/multipartBody5697553178182336487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626052204,"filename":"image_11012025_21_06_02_396545_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328254915","file1":"1328254914","file0":"1328254900","file3":"1328254916"},"map_files_photo_id_array":[{"photo_id":"1328254915","filename":"file2"},{"photo_id":"1328254914","filename":"file1"},{"photo_id":"1328254900","filename":"file0"},{"photo_id":"1328254916","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328254915":["hashtag1","hashtag2"]},{"1328254900":["hashtag1","hashtag2"]},{"1328254914":["hashtag1","hashtag2"]},{"1328254916":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328254915, 1328254900, 1328254914, 1328254916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.34659385681152 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:07:22.496844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/06/image_11012025_21_06_02_396545_0003.jpg', '/home/pi/Desktop/images/11012025/21/07/image_11012025_21_07_02_639396_0000.jpg', '/home/pi/Desktop/images/11012025/21/07/image_11012025_21_07_02_639396_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/06/image_11012025_21_06_02_396545_0003.jpg
/home/pi/Desktop/images/11012025/21/07/image_11012025_21_07_02_639396_0000.jpg
/home/pi/Desktop/images/11012025/21/07/image_11012025_21_07_02_639396_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328254933","1328254922","1328254925"],"photo_ids_order":["1328254922","1328254925","1328254933"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b5ebd68d58680907a81f1d3de5886c70.jpg","text":"TemporaryFile(/tmp/multipartBody6314389515177601660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626110131,"filename":"image_11012025_21_07_02_639396_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b3802d498233f5ddedc80e97783930fa.jpg","text":"TemporaryFile(/tmp/multipartBody6099234663505651127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626110131,"filename":"image_11012025_21_06_02_396545_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c8e96740884bddee5dd16ac44ec2aa18.jpg","text":"TemporaryFile(/tmp/multipartBody915197987134902745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626110131,"filename":"image_11012025_21_07_02_639396_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328254933","file1":"1328254925","file0":"1328254922"},"map_files_photo_id_array":[{"photo_id":"1328254933","filename":"file2"},{"photo_id":"1328254925","filename":"file1"},{"photo_id":"1328254922","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328254933":["hashtag1","hashtag2"]},{"1328254922":["hashtag1","hashtag2"]},{"1328254925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328254933, 1328254922, 1328254925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.341017484664917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 21:08:03.024296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:08:22.627798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/07/image_11012025_21_07_02_639396_0003.jpg', '/home/pi/Desktop/images/11012025/21/08/image_11012025_21_08_02_781267_0000.jpg', '/home/pi/Desktop/images/11012025/21/08/image_11012025_21_08_02_781267_0001.jpg', '/home/pi/Desktop/images/11012025/21/08/image_11012025_21_08_02_781267_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/07/image_11012025_21_07_02_639396_0003.jpg
/home/pi/Desktop/images/11012025/21/08/image_11012025_21_08_02_781267_0000.jpg
/home/pi/Desktop/images/11012025/21/08/image_11012025_21_08_02_781267_0001.jpg
/home/pi/Desktop/images/11012025/21/08/image_11012025_21_08_02_781267_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328254948","1328254953","1328254949","1328254951"],"photo_ids_order":["1328254948","1328254949","1328254951","1328254953"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/47b804a3b5491bc88c644eec82f61596.jpg","text":"TemporaryFile(/tmp/multipartBody9212179242374049112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626172729,"filename":"image_11012025_21_07_02_639396_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/96ddb08506c71add48423145c707c1ec.jpg","text":"TemporaryFile(/tmp/multipartBody9021426138573556186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626172729,"filename":"image_11012025_21_08_02_781267_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7c3c256f782fc46409ab882d40395b48.jpg","text":"TemporaryFile(/tmp/multipartBody6531541463989274917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626172729,"filename":"image_11012025_21_08_02_781267_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/04fee95789e8d96f3f69eb01db164ed7.jpg","text":"TemporaryFile(/tmp/multipartBody5568436880157376729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626172729,"filename":"image_11012025_21_08_02_781267_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328254951","file1":"1328254949","file0":"1328254948","file3":"1328254953"},"map_files_photo_id_array":[{"photo_id":"1328254951","filename":"file2"},{"photo_id":"1328254949","filename":"file1"},{"photo_id":"1328254948","filename":"file0"},{"photo_id":"1328254953","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328254948":["hashtag1","hashtag2"]},{"1328254953":["hashtag1","hashtag2"]},{"1328254949":["hashtag1","hashtag2"]},{"1328254951":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328254948, 1328254953, 1328254949, 1328254951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01093769073486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:09:21.777444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/08/image_11012025_21_08_02_781267_0003.jpg', '/home/pi/Desktop/images/11012025/21/09/image_11012025_21_09_02_982934_0000.jpg', '/home/pi/Desktop/images/11012025/21/09/image_11012025_21_09_02_982934_0001.jpg', '/home/pi/Desktop/images/11012025/21/09/image_11012025_21_09_02_982934_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/08/image_11012025_21_08_02_781267_0003.jpg
/home/pi/Desktop/images/11012025/21/09/image_11012025_21_09_02_982934_0000.jpg
/home/pi/Desktop/images/11012025/21/09/image_11012025_21_09_02_982934_0001.jpg
/home/pi/Desktop/images/11012025/21/09/image_11012025_21_09_02_982934_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328254969","1328254963","1328254971","1328254965"],"photo_ids_order":["1328254963","1328254965","1328254969","1328254971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fa3930edc02c781fafdcd8add2eab334.jpg","text":"TemporaryFile(/tmp/multipartBody5746128829841035708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626232011,"filename":"image_11012025_21_09_02_982934_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a89c3e590424f6e99ed93f79a6a5bda5.jpg","text":"TemporaryFile(/tmp/multipartBody5262032067647303349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626232011,"filename":"image_11012025_21_08_02_781267_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c7c1aff584c46958ee3a5bc5a3eb6a84.jpg","text":"TemporaryFile(/tmp/multipartBody6063329911446040249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626232011,"filename":"image_11012025_21_09_02_982934_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/39c2b839a81e96c0c20a557833ea62fd.jpg","text":"TemporaryFile(/tmp/multipartBody5547288781966828244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626232011,"filename":"image_11012025_21_09_02_982934_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328254969","file1":"1328254965","file0":"1328254963","file3":"1328254971"},"map_files_photo_id_array":[{"photo_id":"1328254969","filename":"file2"},{"photo_id":"1328254965","filename":"file1"},{"photo_id":"1328254963","filename":"file0"},{"photo_id":"1328254971","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328254969":["hashtag1","hashtag2"]},{"1328254963":["hashtag1","hashtag2"]},{"1328254971":["hashtag1","hashtag2"]},{"1328254965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328254969, 1328254963, 1328254971, 1328254965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.98149037361145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:10:21.993489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/09/image_11012025_21_09_02_982934_0003.jpg', '/home/pi/Desktop/images/11012025/21/10/image_11012025_21_10_02_206935_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/09/image_11012025_21_09_02_982934_0003.jpg
/home/pi/Desktop/images/11012025/21/10/image_11012025_21_10_02_206935_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":["1328255127","1328255128"],"photo_ids_order":["1328255127","1328255128"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8306b587c9b0342f1268a34f878795ff.jpg","text":"TemporaryFile(/tmp/multipartBody8828965807434815329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626287410,"filename":"image_11012025_21_09_02_982934_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8b0fa41d360e25fb98ad4b0314244215.jpg","text":"TemporaryFile(/tmp/multipartBody8219363855838886977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626287410,"filename":"image_11012025_21_10_02_206935_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328255128","file0":"1328255127"},"map_files_photo_id_array":[{"photo_id":"1328255128","filename":"file1"},{"photo_id":"1328255127","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328255127":["hashtag1","hashtag2"]},{"1328255128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328255127, 1328255128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.99915909767151 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 21:10:51.952616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 21:11:02.780276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:11:22.139624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/10/image_11012025_21_10_02_206935_0003.jpg', '/home/pi/Desktop/images/11012025/21/11/image_11012025_21_11_02_308403_0000.jpg', '/home/pi/Desktop/images/11012025/21/11/image_11012025_21_11_02_308403_0001.jpg', '/home/pi/Desktop/images/11012025/21/11/image_11012025_21_11_02_308403_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/10/image_11012025_21_10_02_206935_0003.jpg
/home/pi/Desktop/images/11012025/21/11/image_11012025_21_11_02_308403_0000.jpg
/home/pi/Desktop/images/11012025/21/11/image_11012025_21_11_02_308403_0001.jpg
/home/pi/Desktop/images/11012025/21/11/image_11012025_21_11_02_308403_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328255252","1328255210","1328255251","1328255161"],"photo_ids_order":["1328255161","1328255210","1328255251","1328255252"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/46825f16b683aec87d812bbf81d3625b.jpg","text":"TemporaryFile(/tmp/multipartBody7109765479998326755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626352261,"filename":"image_11012025_21_11_02_308403_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c3ec511dade531fa66cbbba79320c0ab.jpg","text":"TemporaryFile(/tmp/multipartBody8533773205421666362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626352261,"filename":"image_11012025_21_11_02_308403_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/38643593634478a89d3f258c06a605c6.jpg","text":"TemporaryFile(/tmp/multipartBody7433780457305149883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626352261,"filename":"image_11012025_21_11_02_308403_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cea6baee5765d494d388349929e56e81.jpg","text":"TemporaryFile(/tmp/multipartBody9214387628338160207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626352261,"filename":"image_11012025_21_10_02_206935_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328255251","file1":"1328255210","file0":"1328255161","file3":"1328255252"},"map_files_photo_id_array":[{"photo_id":"1328255251","filename":"file2"},{"photo_id":"1328255210","filename":"file1"},{"photo_id":"1328255161","filename":"file0"},{"photo_id":"1328255252","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328255252":["hashtag1","hashtag2"]},{"1328255210":["hashtag1","hashtag2"]},{"1328255251":["hashtag1","hashtag2"]},{"1328255161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328255252, 1328255210, 1328255251, 1328255161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.038405656814575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:12:22.369707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/11/image_11012025_21_11_02_308403_0003.jpg', '/home/pi/Desktop/images/11012025/21/12/image_11012025_21_12_02_493880_0000.jpg', '/home/pi/Desktop/images/11012025/21/12/image_11012025_21_12_02_493880_0001.jpg', '/home/pi/Desktop/images/11012025/21/12/image_11012025_21_12_02_493880_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/11/image_11012025_21_11_02_308403_0003.jpg
/home/pi/Desktop/images/11012025/21/12/image_11012025_21_12_02_493880_0000.jpg
/home/pi/Desktop/images/11012025/21/12/image_11012025_21_12_02_493880_0001.jpg
/home/pi/Desktop/images/11012025/21/12/image_11012025_21_12_02_493880_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328255271","1328255268","1328255265","1328255269"],"photo_ids_order":["1328255265","1328255268","1328255269","1328255271"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9c807651aae1c2a7893ac3ccadcdf719.jpg","text":"TemporaryFile(/tmp/multipartBody6403269017787843061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626412609,"filename":"image_11012025_21_12_02_493880_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/84d4950f92585a6225d11fe080353ba0.jpg","text":"TemporaryFile(/tmp/multipartBody5582784329538185820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626412609,"filename":"image_11012025_21_12_02_493880_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3a30902b013b1928083ef7c0fa35afec.jpg","text":"TemporaryFile(/tmp/multipartBody5778003718449356962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626412609,"filename":"image_11012025_21_11_02_308403_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/757ba7c5a42e7cbf813ebd09270ff596.jpg","text":"TemporaryFile(/tmp/multipartBody9090479277653619975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626412609,"filename":"image_11012025_21_12_02_493880_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328255269","file1":"1328255268","file0":"1328255265","file3":"1328255271"},"map_files_photo_id_array":[{"photo_id":"1328255269","filename":"file2"},{"photo_id":"1328255268","filename":"file1"},{"photo_id":"1328255265","filename":"file0"},{"photo_id":"1328255271","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328255271":["hashtag1","hashtag2"]},{"1328255268":["hashtag1","hashtag2"]},{"1328255265":["hashtag1","hashtag2"]},{"1328255269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328255271, 1328255268, 1328255265, 1328255269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.400500774383545 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:13:22.505384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/12/image_11012025_21_12_02_493880_0003.jpg', '/home/pi/Desktop/images/11012025/21/13/image_11012025_21_13_02_725182_0000.jpg', '/home/pi/Desktop/images/11012025/21/13/image_11012025_21_13_02_725182_0001.jpg', '/home/pi/Desktop/images/11012025/21/13/image_11012025_21_13_02_725182_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/12/image_11012025_21_12_02_493880_0003.jpg
/home/pi/Desktop/images/11012025/21/13/image_11012025_21_13_02_725182_0000.jpg
/home/pi/Desktop/images/11012025/21/13/image_11012025_21_13_02_725182_0001.jpg
/home/pi/Desktop/images/11012025/21/13/image_11012025_21_13_02_725182_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.758127689361572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 21:13:42.547247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/12/image_11012025_21_12_02_493880_0003.jpg', '/home/pi/Desktop/images/11012025/21/13/image_11012025_21_13_02_725182_0000.jpg', '/home/pi/Desktop/images/11012025/21/13/image_11012025_21_13_02_725182_0001.jpg', '/home/pi/Desktop/images/11012025/21/13/image_11012025_21_13_02_725182_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/12/image_11012025_21_12_02_493880_0003.jpg
/home/pi/Desktop/images/11012025/21/13/image_11012025_21_13_02_725182_0000.jpg
/home/pi/Desktop/images/11012025/21/13/image_11012025_21_13_02_725182_0001.jpg
/home/pi/Desktop/images/11012025/21/13/image_11012025_21_13_02_725182_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328255292","1328255288","1328255296","1328255290"],"photo_ids_order":["1328255288","1328255290","1328255292","1328255296"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aaf31c467a739887d102b2094478ea07.jpg","text":"TemporaryFile(/tmp/multipartBody663750056177467086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626492719,"filename":"image_11012025_21_13_02_725182_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8b28990788886772563d06a61b8f2b56.jpg","text":"TemporaryFile(/tmp/multipartBody8282525043500984259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626492719,"filename":"image_11012025_21_12_02_493880_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/14a5b012791efe2a50c84bfbf2288f6e.jpg","text":"TemporaryFile(/tmp/multipartBody7724256892963475327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626492719,"filename":"image_11012025_21_13_02_725182_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0e5b863f77ba92e48b744a6ab55c445b.jpg","text":"TemporaryFile(/tmp/multipartBody5088748412508037128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626492719,"filename":"image_11012025_21_13_02_725182_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328255292","file1":"1328255290","file0":"1328255288","file3":"1328255296"},"map_files_photo_id_array":[{"photo_id":"1328255292","filename":"file2"},{"photo_id":"1328255290","filename":"file1"},{"photo_id":"1328255288","filename":"file0"},{"photo_id":"1328255296","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328255292":["hashtag1","hashtag2"]},{"1328255288":["hashtag1","hashtag2"]},{"1328255296":["hashtag1","hashtag2"]},{"1328255290":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328255292, 1328255288, 1328255296, 1328255290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.93471837043762 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:14:22.663256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/13/image_11012025_21_13_02_725182_0003.jpg', '/home/pi/Desktop/images/11012025/21/14/image_11012025_21_14_02_860091_0000.jpg', '/home/pi/Desktop/images/11012025/21/14/image_11012025_21_14_02_860091_0001.jpg', '/home/pi/Desktop/images/11012025/21/14/image_11012025_21_14_02_860091_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/13/image_11012025_21_13_02_725182_0003.jpg
/home/pi/Desktop/images/11012025/21/14/image_11012025_21_14_02_860091_0000.jpg
/home/pi/Desktop/images/11012025/21/14/image_11012025_21_14_02_860091_0001.jpg
/home/pi/Desktop/images/11012025/21/14/image_11012025_21_14_02_860091_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328255314","1328255317","1328255316","1328255326"],"photo_ids_order":["1328255314","1328255316","1328255317","1328255326"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ad8e9d3cb24bbc93ec97c29e7b788ea7.jpg","text":"TemporaryFile(/tmp/multipartBody2208947221603541526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626532826,"filename":"image_11012025_21_13_02_725182_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aa2a630125aacca97c6b6aec988f0d3b.jpg","text":"TemporaryFile(/tmp/multipartBody2738832251097416748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626532826,"filename":"image_11012025_21_14_02_860091_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/44b09b3cf4502205c674d5ca82ba16f1.jpg","text":"TemporaryFile(/tmp/multipartBody2654937735955426821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626532826,"filename":"image_11012025_21_14_02_860091_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/381fdfc858c582a15022bf4f6c3931bf.jpg","text":"TemporaryFile(/tmp/multipartBody7596594052487744001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626532826,"filename":"image_11012025_21_14_02_860091_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328255317","file1":"1328255316","file0":"1328255314","file3":"1328255326"},"map_files_photo_id_array":[{"photo_id":"1328255317","filename":"file2"},{"photo_id":"1328255316","filename":"file1"},{"photo_id":"1328255314","filename":"file0"},{"photo_id":"1328255326","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328255314":["hashtag1","hashtag2"]},{"1328255317":["hashtag1","hashtag2"]},{"1328255316":["hashtag1","hashtag2"]},{"1328255326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328255314, 1328255317, 1328255316, 1328255326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.94820737838745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:15:21.933547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/14/image_11012025_21_14_02_860091_0003.jpg', '/home/pi/Desktop/images/11012025/21/15/image_11012025_21_15_03_102157_0000.jpg', '/home/pi/Desktop/images/11012025/21/15/image_11012025_21_15_03_102157_0001.jpg', '/home/pi/Desktop/images/11012025/21/15/image_11012025_21_15_03_102157_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/14/image_11012025_21_14_02_860091_0003.jpg
/home/pi/Desktop/images/11012025/21/15/image_11012025_21_15_03_102157_0000.jpg
/home/pi/Desktop/images/11012025/21/15/image_11012025_21_15_03_102157_0001.jpg
/home/pi/Desktop/images/11012025/21/15/image_11012025_21_15_03_102157_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328255475","1328255374","1328255470","1328255359"],"photo_ids_order":["1328255359","1328255374","1328255470","1328255475"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c1dce74cc15e684053406388a01f373b.jpg","text":"TemporaryFile(/tmp/multipartBody5852286129056029276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626592051,"filename":"image_11012025_21_15_03_102157_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2288b7e583d98729a33c7a8273b8c95c.jpg","text":"TemporaryFile(/tmp/multipartBody4027305196282186150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626592051,"filename":"image_11012025_21_15_03_102157_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/901e001c3f03623fc8b7d7c1d8f6bf64.jpg","text":"TemporaryFile(/tmp/multipartBody3297531139494881275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626592051,"filename":"image_11012025_21_15_03_102157_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a05d78a943391956cbe8ad500be81312.jpg","text":"TemporaryFile(/tmp/multipartBody3793379925036445098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626592051,"filename":"image_11012025_21_14_02_860091_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328255470","file1":"1328255374","file0":"1328255359","file3":"1328255475"},"map_files_photo_id_array":[{"photo_id":"1328255470","filename":"file2"},{"photo_id":"1328255374","filename":"file1"},{"photo_id":"1328255359","filename":"file0"},{"photo_id":"1328255475","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328255475":["hashtag1","hashtag2"]},{"1328255374":["hashtag1","hashtag2"]},{"1328255470":["hashtag1","hashtag2"]},{"1328255359":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328255475, 1328255374, 1328255470, 1328255359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.102779388427734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:16:22.171831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/15/image_11012025_21_15_03_102157_0003.jpg', '/home/pi/Desktop/images/11012025/21/16/image_11012025_21_16_02_248615_0000.jpg', '/home/pi/Desktop/images/11012025/21/16/image_11012025_21_16_02_248615_0001.jpg', '/home/pi/Desktop/images/11012025/21/16/image_11012025_21_16_02_248615_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/15/image_11012025_21_15_03_102157_0003.jpg
/home/pi/Desktop/images/11012025/21/16/image_11012025_21_16_02_248615_0000.jpg
/home/pi/Desktop/images/11012025/21/16/image_11012025_21_16_02_248615_0001.jpg
/home/pi/Desktop/images/11012025/21/16/image_11012025_21_16_02_248615_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328255493","1328255495","1328255492","1328255494"],"photo_ids_order":["1328255492","1328255493","1328255494","1328255495"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ab91f8cdad051c0bd7cf44f18e037e8e.jpg","text":"TemporaryFile(/tmp/multipartBody6792808625827105763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626652482,"filename":"image_11012025_21_16_02_248615_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c410b5159f0e2ab0d629e38cd06de8fd.jpg","text":"TemporaryFile(/tmp/multipartBody5737890710970529928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626652482,"filename":"image_11012025_21_16_02_248615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bec8769ce6fcdc6c7d6957d7e7633834.jpg","text":"TemporaryFile(/tmp/multipartBody6607313758373189991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626652482,"filename":"image_11012025_21_15_03_102157_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/181f55b55a457f19a3312853b9f6938a.jpg","text":"TemporaryFile(/tmp/multipartBody7869091292224907791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626652482,"filename":"image_11012025_21_16_02_248615_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328255494","file1":"1328255493","file0":"1328255492","file3":"1328255495"},"map_files_photo_id_array":[{"photo_id":"1328255494","filename":"file2"},{"photo_id":"1328255493","filename":"file1"},{"photo_id":"1328255492","filename":"file0"},{"photo_id":"1328255495","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328255493":["hashtag1","hashtag2"]},{"1328255495":["hashtag1","hashtag2"]},{"1328255492":["hashtag1","hashtag2"]},{"1328255494":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328255493, 1328255495, 1328255492, 1328255494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.81601309776306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:17:22.285220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/16/image_11012025_21_16_02_248615_0003.jpg', '/home/pi/Desktop/images/11012025/21/17/image_11012025_21_17_02_486863_0000.jpg', '/home/pi/Desktop/images/11012025/21/17/image_11012025_21_17_02_486863_0001.jpg', '/home/pi/Desktop/images/11012025/21/17/image_11012025_21_17_02_486863_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/16/image_11012025_21_16_02_248615_0003.jpg
/home/pi/Desktop/images/11012025/21/17/image_11012025_21_17_02_486863_0000.jpg
/home/pi/Desktop/images/11012025/21/17/image_11012025_21_17_02_486863_0001.jpg
/home/pi/Desktop/images/11012025/21/17/image_11012025_21_17_02_486863_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328255509","1328255511","1328255513","1328255504"],"photo_ids_order":["1328255504","1328255509","1328255511","1328255513"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b13e874b5f52a935c25bafff66444d83.jpg","text":"TemporaryFile(/tmp/multipartBody8999031505615327899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626712572,"filename":"image_11012025_21_17_02_486863_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3e9d151d63776fdf9ceb5533d25e3e33.jpg","text":"TemporaryFile(/tmp/multipartBody3172542715116614124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626712572,"filename":"image_11012025_21_17_02_486863_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/14c650aa9e3e05802f2d5164fe5a0f33.jpg","text":"TemporaryFile(/tmp/multipartBody2561057266396173773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626712572,"filename":"image_11012025_21_17_02_486863_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/76b356a3fd279990cf55e7e4aba9a6f9.jpg","text":"TemporaryFile(/tmp/multipartBody152148318850224391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626712572,"filename":"image_11012025_21_16_02_248615_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328255511","file1":"1328255509","file0":"1328255504","file3":"1328255513"},"map_files_photo_id_array":[{"photo_id":"1328255511","filename":"file2"},{"photo_id":"1328255509","filename":"file1"},{"photo_id":"1328255504","filename":"file0"},{"photo_id":"1328255513","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328255509":["hashtag1","hashtag2"]},{"1328255511":["hashtag1","hashtag2"]},{"1328255513":["hashtag1","hashtag2"]},{"1328255504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328255509, 1328255511, 1328255513, 1328255504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.70045733451843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:18:22.511099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/17/image_11012025_21_17_02_486863_0003.jpg', '/home/pi/Desktop/images/11012025/21/18/image_11012025_21_18_02_605667_0000.jpg', '/home/pi/Desktop/images/11012025/21/18/image_11012025_21_18_02_605667_0001.jpg', '/home/pi/Desktop/images/11012025/21/18/image_11012025_21_18_02_605667_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/17/image_11012025_21_17_02_486863_0003.jpg
/home/pi/Desktop/images/11012025/21/18/image_11012025_21_18_02_605667_0000.jpg
/home/pi/Desktop/images/11012025/21/18/image_11012025_21_18_02_605667_0001.jpg
/home/pi/Desktop/images/11012025/21/18/image_11012025_21_18_02_605667_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.916972398757935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 21:18:42.393730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/17/image_11012025_21_17_02_486863_0003.jpg', '/home/pi/Desktop/images/11012025/21/18/image_11012025_21_18_02_605667_0000.jpg', '/home/pi/Desktop/images/11012025/21/18/image_11012025_21_18_02_605667_0001.jpg', '/home/pi/Desktop/images/11012025/21/18/image_11012025_21_18_02_605667_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/17/image_11012025_21_17_02_486863_0003.jpg
/home/pi/Desktop/images/11012025/21/18/image_11012025_21_18_02_605667_0000.jpg
/home/pi/Desktop/images/11012025/21/18/image_11012025_21_18_02_605667_0001.jpg
/home/pi/Desktop/images/11012025/21/18/image_11012025_21_18_02_605667_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328255826","1328256299","1328256154","1328256301"],"photo_ids_order":["1328255826","1328256154","1328256299","1328256301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6feb00270eca1033aa5c7bc4d337e868.jpg","text":"TemporaryFile(/tmp/multipartBody3603641519674181050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626792719,"filename":"image_11012025_21_17_02_486863_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fb95c877a2337273a8bc553d17a52cdd.jpg","text":"TemporaryFile(/tmp/multipartBody3902594485397729165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626792719,"filename":"image_11012025_21_18_02_605667_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/80e40ff0452c0f0480a5f05e8864faa7.jpg","text":"TemporaryFile(/tmp/multipartBody9180383566242786231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626792719,"filename":"image_11012025_21_18_02_605667_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0ffa23082f4857f171ac9808a65dd719.jpg","text":"TemporaryFile(/tmp/multipartBody5522953432758109330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626792719,"filename":"image_11012025_21_18_02_605667_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328256299","file1":"1328256154","file0":"1328255826","file3":"1328256301"},"map_files_photo_id_array":[{"photo_id":"1328256299","filename":"file2"},{"photo_id":"1328256154","filename":"file1"},{"photo_id":"1328255826","filename":"file0"},{"photo_id":"1328256301","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328255826":["hashtag1","hashtag2"]},{"1328256299":["hashtag1","hashtag2"]},{"1328256154":["hashtag1","hashtag2"]},{"1328256301":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328255826, 1328256299, 1328256154, 1328256301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.38684058189392 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:19:22.743797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/18/image_11012025_21_18_02_605667_0003.jpg', '/home/pi/Desktop/images/11012025/21/19/image_11012025_21_19_02_793614_0000.jpg', '/home/pi/Desktop/images/11012025/21/19/image_11012025_21_19_02_793614_0001.jpg', '/home/pi/Desktop/images/11012025/21/19/image_11012025_21_19_02_793614_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/18/image_11012025_21_18_02_605667_0003.jpg
/home/pi/Desktop/images/11012025/21/19/image_11012025_21_19_02_793614_0000.jpg
/home/pi/Desktop/images/11012025/21/19/image_11012025_21_19_02_793614_0001.jpg
/home/pi/Desktop/images/11012025/21/19/image_11012025_21_19_02_793614_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328256969","1328256846","1328256720","1328256592"],"photo_ids_order":["1328256592","1328256720","1328256846","1328256969"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/405a6eec9214487f611244fa457596e3.jpg","text":"TemporaryFile(/tmp/multipartBody9189255110500302189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626833077,"filename":"image_11012025_21_19_02_793614_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c6d9e75529449fcdc5c65a1a083a6b36.jpg","text":"TemporaryFile(/tmp/multipartBody5361459531300791108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626833077,"filename":"image_11012025_21_19_02_793614_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/88e5c9a3f77bd519dfcb3c96f82d94b5.jpg","text":"TemporaryFile(/tmp/multipartBody6527838223081398771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626833077,"filename":"image_11012025_21_19_02_793614_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f13c324f04f336aeb66e3704ce98e71e.jpg","text":"TemporaryFile(/tmp/multipartBody695823438702293269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626833077,"filename":"image_11012025_21_18_02_605667_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328256846","file1":"1328256720","file0":"1328256592","file3":"1328256969"},"map_files_photo_id_array":[{"photo_id":"1328256846","filename":"file2"},{"photo_id":"1328256720","filename":"file1"},{"photo_id":"1328256592","filename":"file0"},{"photo_id":"1328256969","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328256969":["hashtag1","hashtag2"]},{"1328256846":["hashtag1","hashtag2"]},{"1328256720":["hashtag1","hashtag2"]},{"1328256592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328256969, 1328256846, 1328256720, 1328256592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.85996055603027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 21:20:02.309883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:20:21.888062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/19/image_11012025_21_19_02_793614_0003.jpg', '/home/pi/Desktop/images/11012025/21/20/image_11012025_21_20_03_049041_0000.jpg', '/home/pi/Desktop/images/11012025/21/20/image_11012025_21_20_03_049041_0001.jpg', '/home/pi/Desktop/images/11012025/21/20/image_11012025_21_20_03_049041_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/19/image_11012025_21_19_02_793614_0003.jpg
/home/pi/Desktop/images/11012025/21/20/image_11012025_21_20_03_049041_0000.jpg
/home/pi/Desktop/images/11012025/21/20/image_11012025_21_20_03_049041_0001.jpg
/home/pi/Desktop/images/11012025/21/20/image_11012025_21_20_03_049041_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328257613","1328257069","1328257284","1328257620"],"photo_ids_order":["1328257069","1328257284","1328257613","1328257620"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/73766cc629ee3773d1f4811358398c66.jpg","text":"TemporaryFile(/tmp/multipartBody7697591556746041210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626892206,"filename":"image_11012025_21_20_03_049041_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d15302691c133c2cfb9b631a5bf64453.jpg","text":"TemporaryFile(/tmp/multipartBody1658884873636530171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626892206,"filename":"image_11012025_21_19_02_793614_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/02d3720cb92ebb2ffcad38930d5ab836.jpg","text":"TemporaryFile(/tmp/multipartBody2048232919463713845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626892206,"filename":"image_11012025_21_20_03_049041_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7739e81f5c93abfb8785a66aa0e4f2aa.jpg","text":"TemporaryFile(/tmp/multipartBody8613931475963029399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626892206,"filename":"image_11012025_21_20_03_049041_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328257613","file1":"1328257284","file0":"1328257069","file3":"1328257620"},"map_files_photo_id_array":[{"photo_id":"1328257613","filename":"file2"},{"photo_id":"1328257284","filename":"file1"},{"photo_id":"1328257069","filename":"file0"},{"photo_id":"1328257620","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328257613":["hashtag1","hashtag2"]},{"1328257069":["hashtag1","hashtag2"]},{"1328257284":["hashtag1","hashtag2"]},{"1328257620":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328257613, 1328257069, 1328257284, 1328257620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.67708611488342 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 21:21:02.804115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:21:21.965370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/20/image_11012025_21_20_03_049041_0003.jpg', '/home/pi/Desktop/images/11012025/21/21/image_11012025_21_21_02_163475_0000.jpg', '/home/pi/Desktop/images/11012025/21/21/image_11012025_21_21_02_163475_0001.jpg', '/home/pi/Desktop/images/11012025/21/21/image_11012025_21_21_02_163475_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/20/image_11012025_21_20_03_049041_0003.jpg
/home/pi/Desktop/images/11012025/21/21/image_11012025_21_21_02_163475_0000.jpg
/home/pi/Desktop/images/11012025/21/21/image_11012025_21_21_02_163475_0001.jpg
/home/pi/Desktop/images/11012025/21/21/image_11012025_21_21_02_163475_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328257892","1328257792","1328257893","1328257890"],"photo_ids_order":["1328257792","1328257890","1328257892","1328257893"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f118488e7435b3cd4d8f15c20473965b.jpg","text":"TemporaryFile(/tmp/multipartBody8162179468041815665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626952347,"filename":"image_11012025_21_21_02_163475_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/811cda4a2161fe5e0bdbdb0036ae254c.jpg","text":"TemporaryFile(/tmp/multipartBody2073064947133510636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626952347,"filename":"image_11012025_21_20_03_049041_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4b3539b0b09fb7c8d412761bba5f3f3a.jpg","text":"TemporaryFile(/tmp/multipartBody830937504062809559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626952347,"filename":"image_11012025_21_21_02_163475_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9a9b3417a498adbac4dde1c1959eb723.jpg","text":"TemporaryFile(/tmp/multipartBody1231410346749589515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736626952347,"filename":"image_11012025_21_21_02_163475_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328257892","file1":"1328257890","file0":"1328257792","file3":"1328257893"},"map_files_photo_id_array":[{"photo_id":"1328257892","filename":"file2"},{"photo_id":"1328257890","filename":"file1"},{"photo_id":"1328257792","filename":"file0"},{"photo_id":"1328257893","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328257892":["hashtag1","hashtag2"]},{"1328257792":["hashtag1","hashtag2"]},{"1328257893":["hashtag1","hashtag2"]},{"1328257890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328257892, 1328257792, 1328257893, 1328257890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.11570382118225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:22:22.214929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/21/image_11012025_21_21_02_163475_0003.jpg', '/home/pi/Desktop/images/11012025/21/22/image_11012025_21_22_02_315071_0000.jpg', '/home/pi/Desktop/images/11012025/21/22/image_11012025_21_22_02_315071_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/21/image_11012025_21_21_02_163475_0003.jpg
/home/pi/Desktop/images/11012025/21/22/image_11012025_21_22_02_315071_0000.jpg
/home/pi/Desktop/images/11012025/21/22/image_11012025_21_22_02_315071_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.634155035018921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 21:22:32.143476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/21/image_11012025_21_21_02_163475_0003.jpg', '/home/pi/Desktop/images/11012025/21/22/image_11012025_21_22_02_315071_0000.jpg', '/home/pi/Desktop/images/11012025/21/22/image_11012025_21_22_02_315071_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/21/image_11012025_21_21_02_163475_0003.jpg
/home/pi/Desktop/images/11012025/21/22/image_11012025_21_22_02_315071_0000.jpg
/home/pi/Desktop/images/11012025/21/22/image_11012025_21_22_02_315071_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":["1328258132","1328258134","1328258133"],"photo_ids_order":["1328258132","1328258133","1328258134"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/24d19fe9b086e968c63907413af4c451.jpg","text":"TemporaryFile(/tmp/multipartBody3822024785589793648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627020201,"filename":"image_11012025_21_21_02_163475_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5bc755bc7f04d4edc7ac6e0a2fc151df.jpg","text":"TemporaryFile(/tmp/multipartBody1892006033047850259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627020201,"filename":"image_11012025_21_22_02_315071_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/82de31a5220d396d42a8475591f8ed15.jpg","text":"TemporaryFile(/tmp/multipartBody4894602999648837632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627020201,"filename":"image_11012025_21_22_02_315071_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328258134","file1":"1328258133","file0":"1328258132"},"map_files_photo_id_array":[{"photo_id":"1328258134","filename":"file2"},{"photo_id":"1328258133","filename":"file1"},{"photo_id":"1328258132","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328258132":["hashtag1","hashtag2"]},{"1328258134":["hashtag1","hashtag2"]},{"1328258133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328258132, 1328258134, 1328258133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.237834930419922 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:23:22.346728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/22/image_11012025_21_22_02_315071_0003.jpg', '/home/pi/Desktop/images/11012025/21/23/image_11012025_21_23_02_596420_0000.jpg', '/home/pi/Desktop/images/11012025/21/23/image_11012025_21_23_02_596420_0001.jpg', '/home/pi/Desktop/images/11012025/21/23/image_11012025_21_23_02_596420_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/22/image_11012025_21_22_02_315071_0003.jpg
/home/pi/Desktop/images/11012025/21/23/image_11012025_21_23_02_596420_0000.jpg
/home/pi/Desktop/images/11012025/21/23/image_11012025_21_23_02_596420_0001.jpg
/home/pi/Desktop/images/11012025/21/23/image_11012025_21_23_02_596420_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328258153","1328258150","1328258155","1328258149"],"photo_ids_order":["1328258149","1328258150","1328258153","1328258155"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/451714b7120e954b215f035f2fa2fa83.jpg","text":"TemporaryFile(/tmp/multipartBody4047142080546754007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627072264,"filename":"image_11012025_21_23_02_596420_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6855c71fc1e8af56ccb7118e464382ec.jpg","text":"TemporaryFile(/tmp/multipartBody2185622155500259292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627072264,"filename":"image_11012025_21_23_02_596420_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1986b8084837e965ad8890752a01d078.jpg","text":"TemporaryFile(/tmp/multipartBody345231755988462881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627072264,"filename":"image_11012025_21_23_02_596420_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fc55e1b62e72243fde7d5dc688088f41.jpg","text":"TemporaryFile(/tmp/multipartBody821783087931048766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627072264,"filename":"image_11012025_21_22_02_315071_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328258153","file1":"1328258150","file0":"1328258149","file3":"1328258155"},"map_files_photo_id_array":[{"photo_id":"1328258153","filename":"file2"},{"photo_id":"1328258150","filename":"file1"},{"photo_id":"1328258149","filename":"file0"},{"photo_id":"1328258155","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328258153":["hashtag1","hashtag2"]},{"1328258150":["hashtag1","hashtag2"]},{"1328258155":["hashtag1","hashtag2"]},{"1328258149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328258153, 1328258150, 1328258155, 1328258149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.20981168746948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:24:22.634240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/23/image_11012025_21_23_02_596420_0003.jpg', '/home/pi/Desktop/images/11012025/21/24/image_11012025_21_24_02_704993_0000.jpg', '/home/pi/Desktop/images/11012025/21/24/image_11012025_21_24_02_704993_0001.jpg', '/home/pi/Desktop/images/11012025/21/24/image_11012025_21_24_02_704993_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/23/image_11012025_21_23_02_596420_0003.jpg
/home/pi/Desktop/images/11012025/21/24/image_11012025_21_24_02_704993_0000.jpg
/home/pi/Desktop/images/11012025/21/24/image_11012025_21_24_02_704993_0001.jpg
/home/pi/Desktop/images/11012025/21/24/image_11012025_21_24_02_704993_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328258179","1328258175","1328258178","1328258177"],"photo_ids_order":["1328258175","1328258177","1328258178","1328258179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cdea8801b277bda8cb284649ca745b34.jpg","text":"TemporaryFile(/tmp/multipartBody5116099592720094351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627132662,"filename":"image_11012025_21_24_02_704993_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d29ddf3fa50c5740707919073cad29b5.jpg","text":"TemporaryFile(/tmp/multipartBody4245966096299685188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627132662,"filename":"image_11012025_21_23_02_596420_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c5f535d2454a6ff4760061416367edbd.jpg","text":"TemporaryFile(/tmp/multipartBody170804829567168447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627132662,"filename":"image_11012025_21_24_02_704993_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3836f2e67e9cf344a2c27a44adab4eb6.jpg","text":"TemporaryFile(/tmp/multipartBody4734144506506672350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627132662,"filename":"image_11012025_21_24_02_704993_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328258178","file1":"1328258177","file0":"1328258175","file3":"1328258179"},"map_files_photo_id_array":[{"photo_id":"1328258178","filename":"file2"},{"photo_id":"1328258177","filename":"file1"},{"photo_id":"1328258175","filename":"file0"},{"photo_id":"1328258179","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328258179":["hashtag1","hashtag2"]},{"1328258175":["hashtag1","hashtag2"]},{"1328258178":["hashtag1","hashtag2"]},{"1328258177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328258179, 1328258175, 1328258178, 1328258177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64450240135193 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 21:25:03.323606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:25:22.672158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/24/image_11012025_21_24_02_704993_0003.jpg', '/home/pi/Desktop/images/11012025/21/25/image_11012025_21_25_02_932350_0000.jpg', '/home/pi/Desktop/images/11012025/21/25/image_11012025_21_25_02_932350_0001.jpg', '/home/pi/Desktop/images/11012025/21/25/image_11012025_21_25_02_932350_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/24/image_11012025_21_24_02_704993_0003.jpg
/home/pi/Desktop/images/11012025/21/25/image_11012025_21_25_02_932350_0000.jpg
/home/pi/Desktop/images/11012025/21/25/image_11012025_21_25_02_932350_0001.jpg
/home/pi/Desktop/images/11012025/21/25/image_11012025_21_25_02_932350_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328258194","1328258197","1328258199","1328258198"],"photo_ids_order":["1328258194","1328258197","1328258198","1328258199"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/49110d869717247d146a3e53549129e9.jpg","text":"TemporaryFile(/tmp/multipartBody1351602949211948458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627193107,"filename":"image_11012025_21_24_02_704993_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fbd051ad4439bf3535e172630ee7d730.jpg","text":"TemporaryFile(/tmp/multipartBody5856839387619701913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627193107,"filename":"image_11012025_21_25_02_932350_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/96f89f0d38ed46fa3811f166bc78082e.jpg","text":"TemporaryFile(/tmp/multipartBody6369797145317277104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627193107,"filename":"image_11012025_21_25_02_932350_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d09e3633485227aba72a5221889b7542.jpg","text":"TemporaryFile(/tmp/multipartBody5839503587860270150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627193107,"filename":"image_11012025_21_25_02_932350_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328258198","file1":"1328258197","file0":"1328258194","file3":"1328258199"},"map_files_photo_id_array":[{"photo_id":"1328258198","filename":"file2"},{"photo_id":"1328258197","filename":"file1"},{"photo_id":"1328258194","filename":"file0"},{"photo_id":"1328258199","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328258194":["hashtag1","hashtag2"]},{"1328258197":["hashtag1","hashtag2"]},{"1328258199":["hashtag1","hashtag2"]},{"1328258198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328258194, 1328258197, 1328258199, 1328258198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.26572251319885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:26:21.968521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/25/image_11012025_21_25_02_932350_0003.jpg', '/home/pi/Desktop/images/11012025/21/26/image_11012025_21_26_03_069644_0000.jpg', '/home/pi/Desktop/images/11012025/21/26/image_11012025_21_26_03_069644_0001.jpg', '/home/pi/Desktop/images/11012025/21/26/image_11012025_21_26_03_069644_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/25/image_11012025_21_25_02_932350_0003.jpg
/home/pi/Desktop/images/11012025/21/26/image_11012025_21_26_03_069644_0000.jpg
/home/pi/Desktop/images/11012025/21/26/image_11012025_21_26_03_069644_0001.jpg
/home/pi/Desktop/images/11012025/21/26/image_11012025_21_26_03_069644_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328258213","1328258215","1328258211","1328258208"],"photo_ids_order":["1328258208","1328258211","1328258213","1328258215"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7b4a8a9263a2a6029e4d9a86eebead45.jpg","text":"TemporaryFile(/tmp/multipartBody4952667766044641185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627252354,"filename":"image_11012025_21_26_03_069644_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/438efd39b70d1d1cadc5239bd64e3bf8.jpg","text":"TemporaryFile(/tmp/multipartBody2442848175383930348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627252354,"filename":"image_11012025_21_26_03_069644_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e307f84669770a4c3d010cfe0e612496.jpg","text":"TemporaryFile(/tmp/multipartBody4487949362378957427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627252354,"filename":"image_11012025_21_26_03_069644_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b4ecd68956b8b5f5570cc85461b7b7e3.jpg","text":"TemporaryFile(/tmp/multipartBody2075547050147870562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627252354,"filename":"image_11012025_21_25_02_932350_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328258213","file1":"1328258211","file0":"1328258208","file3":"1328258215"},"map_files_photo_id_array":[{"photo_id":"1328258213","filename":"file2"},{"photo_id":"1328258211","filename":"file1"},{"photo_id":"1328258208","filename":"file0"},{"photo_id":"1328258215","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328258213":["hashtag1","hashtag2"]},{"1328258215":["hashtag1","hashtag2"]},{"1328258211":["hashtag1","hashtag2"]},{"1328258208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328258213, 1328258215, 1328258211, 1328258208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.72324180603027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:27:22.053357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/26/image_11012025_21_26_03_069644_0003.jpg', '/home/pi/Desktop/images/11012025/21/27/image_11012025_21_27_02_273075_0000.jpg', '/home/pi/Desktop/images/11012025/21/27/image_11012025_21_27_02_273075_0001.jpg', '/home/pi/Desktop/images/11012025/21/27/image_11012025_21_27_02_273075_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/26/image_11012025_21_26_03_069644_0003.jpg
/home/pi/Desktop/images/11012025/21/27/image_11012025_21_27_02_273075_0000.jpg
/home/pi/Desktop/images/11012025/21/27/image_11012025_21_27_02_273075_0001.jpg
/home/pi/Desktop/images/11012025/21/27/image_11012025_21_27_02_273075_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328258231","1328258228","1328258233","1328258232"],"photo_ids_order":["1328258228","1328258231","1328258232","1328258233"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b008bdea2291fc8dc97b116b054750ed.jpg","text":"TemporaryFile(/tmp/multipartBody1061685944882364133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627312254,"filename":"image_11012025_21_27_02_273075_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/af9a55b633ebb128a7931efd327f7218.jpg","text":"TemporaryFile(/tmp/multipartBody3214048438923304264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627312254,"filename":"image_11012025_21_26_03_069644_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/959dfa75327e388e095db768a1dfa49b.jpg","text":"TemporaryFile(/tmp/multipartBody3538360879055583824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627312254,"filename":"image_11012025_21_27_02_273075_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e536d7ac2cef515ebde25865d022a1dd.jpg","text":"TemporaryFile(/tmp/multipartBody6422167941050944792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627312254,"filename":"image_11012025_21_27_02_273075_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328258232","file1":"1328258231","file0":"1328258228","file3":"1328258233"},"map_files_photo_id_array":[{"photo_id":"1328258232","filename":"file2"},{"photo_id":"1328258231","filename":"file1"},{"photo_id":"1328258228","filename":"file0"},{"photo_id":"1328258233","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328258231":["hashtag1","hashtag2"]},{"1328258228":["hashtag1","hashtag2"]},{"1328258233":["hashtag1","hashtag2"]},{"1328258232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328258231, 1328258228, 1328258233, 1328258232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.936023473739624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 21:28:02.672259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:28:22.169058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/27/image_11012025_21_27_02_273075_0003.jpg', '/home/pi/Desktop/images/11012025/21/28/image_11012025_21_28_02_430568_0000.jpg', '/home/pi/Desktop/images/11012025/21/28/image_11012025_21_28_02_430568_0001.jpg', '/home/pi/Desktop/images/11012025/21/28/image_11012025_21_28_02_430568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/27/image_11012025_21_27_02_273075_0003.jpg
/home/pi/Desktop/images/11012025/21/28/image_11012025_21_28_02_430568_0000.jpg
/home/pi/Desktop/images/11012025/21/28/image_11012025_21_28_02_430568_0001.jpg
/home/pi/Desktop/images/11012025/21/28/image_11012025_21_28_02_430568_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.916918754577637 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 21:28:42.323917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/27/image_11012025_21_27_02_273075_0003.jpg', '/home/pi/Desktop/images/11012025/21/28/image_11012025_21_28_02_430568_0000.jpg', '/home/pi/Desktop/images/11012025/21/28/image_11012025_21_28_02_430568_0001.jpg', '/home/pi/Desktop/images/11012025/21/28/image_11012025_21_28_02_430568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/27/image_11012025_21_27_02_273075_0003.jpg
/home/pi/Desktop/images/11012025/21/28/image_11012025_21_28_02_430568_0000.jpg
/home/pi/Desktop/images/11012025/21/28/image_11012025_21_28_02_430568_0001.jpg
/home/pi/Desktop/images/11012025/21/28/image_11012025_21_28_02_430568_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328258252","1328258260","1328258253","1328258256"],"photo_ids_order":["1328258252","1328258253","1328258256","1328258260"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9768deeefd9e89c40886d69a9602daa0.jpg","text":"TemporaryFile(/tmp/multipartBody2867105243971893829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627392667,"filename":"image_11012025_21_27_02_273075_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aa65b5136c039b8c6a175a2e6f54dfce.jpg","text":"TemporaryFile(/tmp/multipartBody2778404608290756379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627392667,"filename":"image_11012025_21_28_02_430568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b9b6bd51914bd98e279c2123adf266d4.jpg","text":"TemporaryFile(/tmp/multipartBody6049212335342965617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627392667,"filename":"image_11012025_21_28_02_430568_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/24c643c0f4c61d7442e94da8a82a14ae.jpg","text":"TemporaryFile(/tmp/multipartBody636982054522837456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627392667,"filename":"image_11012025_21_28_02_430568_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328258256","file1":"1328258253","file0":"1328258252","file3":"1328258260"},"map_files_photo_id_array":[{"photo_id":"1328258256","filename":"file2"},{"photo_id":"1328258253","filename":"file1"},{"photo_id":"1328258252","filename":"file0"},{"photo_id":"1328258260","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328258252":["hashtag1","hashtag2"]},{"1328258260":["hashtag1","hashtag2"]},{"1328258253":["hashtag1","hashtag2"]},{"1328258256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328258252, 1328258260, 1328258253, 1328258256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.46330523490906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 21:29:32.405280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/28/image_11012025_21_28_02_430568_0003.jpg', '/home/pi/Desktop/images/11012025/21/29/image_11012025_21_29_02_549962_0000.jpg', '/home/pi/Desktop/images/11012025/21/29/image_11012025_21_29_02_549962_0001.jpg', '/home/pi/Desktop/images/11012025/21/29/image_11012025_21_29_02_549962_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/28/image_11012025_21_28_02_430568_0003.jpg
/home/pi/Desktop/images/11012025/21/29/image_11012025_21_29_02_549962_0000.jpg
/home/pi/Desktop/images/11012025/21/29/image_11012025_21_29_02_549962_0001.jpg
/home/pi/Desktop/images/11012025/21/29/image_11012025_21_29_02_549962_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328258275","1328258280","1328258277","1328258285"],"photo_ids_order":["1328258275","1328258277","1328258280","1328258285"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/27650892fbb94dc5f3b79355b055f2b9.jpg","text":"TemporaryFile(/tmp/multipartBody6334804220721975912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627442722,"filename":"image_11012025_21_28_02_430568_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/809ab0baaa345f4482a9bbe9efe1d426.jpg","text":"TemporaryFile(/tmp/multipartBody8851612038997427918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627442722,"filename":"image_11012025_21_29_02_549962_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/46d8e1cf332ab580f95ce77638bff72c.jpg","text":"TemporaryFile(/tmp/multipartBody3911858714490896332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627442722,"filename":"image_11012025_21_29_02_549962_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c53ee28134c7b46354fbace43b7f722e.jpg","text":"TemporaryFile(/tmp/multipartBody7016143465167886159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627442722,"filename":"image_11012025_21_29_02_549962_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328258280","file1":"1328258277","file0":"1328258275","file3":"1328258285"},"map_files_photo_id_array":[{"photo_id":"1328258280","filename":"file2"},{"photo_id":"1328258277","filename":"file1"},{"photo_id":"1328258275","filename":"file0"},{"photo_id":"1328258285","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328258275":["hashtag1","hashtag2"]},{"1328258280":["hashtag1","hashtag2"]},{"1328258277":["hashtag1","hashtag2"]},{"1328258285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328258275, 1328258280, 1328258277, 1328258285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.874810457229614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:30:22.655214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/29/image_11012025_21_29_02_549962_0003.jpg', '/home/pi/Desktop/images/11012025/21/30/image_11012025_21_30_02_828218_0000.jpg', '/home/pi/Desktop/images/11012025/21/30/image_11012025_21_30_02_828218_0001.jpg', '/home/pi/Desktop/images/11012025/21/30/image_11012025_21_30_02_828218_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/29/image_11012025_21_29_02_549962_0003.jpg
/home/pi/Desktop/images/11012025/21/30/image_11012025_21_30_02_828218_0000.jpg
/home/pi/Desktop/images/11012025/21/30/image_11012025_21_30_02_828218_0001.jpg
/home/pi/Desktop/images/11012025/21/30/image_11012025_21_30_02_828218_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328258554","1328258478","1328258535","1328258555"],"photo_ids_order":["1328258478","1328258535","1328258554","1328258555"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/80a79f348274dca56ba37e291bf8cc8a.jpg","text":"TemporaryFile(/tmp/multipartBody1518585753389510707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627492820,"filename":"image_11012025_21_30_02_828218_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3ad73f10075635a56abc5bae52b4397d.jpg","text":"TemporaryFile(/tmp/multipartBody5707331191844455201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627492820,"filename":"image_11012025_21_29_02_549962_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e0c27d14077dfa44bb3804c79b1cf587.jpg","text":"TemporaryFile(/tmp/multipartBody25422164898210078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627492820,"filename":"image_11012025_21_30_02_828218_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/72637d6214a14a1f8990de5ac806b759.jpg","text":"TemporaryFile(/tmp/multipartBody5265966487905114447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627492820,"filename":"image_11012025_21_30_02_828218_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328258554","file1":"1328258535","file0":"1328258478","file3":"1328258555"},"map_files_photo_id_array":[{"photo_id":"1328258554","filename":"file2"},{"photo_id":"1328258535","filename":"file1"},{"photo_id":"1328258478","filename":"file0"},{"photo_id":"1328258555","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328258554":["hashtag1","hashtag2"]},{"1328258478":["hashtag1","hashtag2"]},{"1328258535":["hashtag1","hashtag2"]},{"1328258555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328258554, 1328258478, 1328258535, 1328258555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.0928168296814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 21:31:03.475493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:31:22.777992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/30/image_11012025_21_30_02_828218_0003.jpg', '/home/pi/Desktop/images/11012025/21/31/image_11012025_21_31_03_003681_0000.jpg', '/home/pi/Desktop/images/11012025/21/31/image_11012025_21_31_03_003681_0001.jpg', '/home/pi/Desktop/images/11012025/21/31/image_11012025_21_31_03_003681_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/30/image_11012025_21_30_02_828218_0003.jpg
/home/pi/Desktop/images/11012025/21/31/image_11012025_21_31_03_003681_0000.jpg
/home/pi/Desktop/images/11012025/21/31/image_11012025_21_31_03_003681_0001.jpg
/home/pi/Desktop/images/11012025/21/31/image_11012025_21_31_03_003681_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328258612","1328258606","1328258609","1328258611"],"photo_ids_order":["1328258606","1328258609","1328258611","1328258612"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bcc068e2b9582b712a1de93bce6f3d85.jpg","text":"TemporaryFile(/tmp/multipartBody4001471793300186807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627552924,"filename":"image_11012025_21_31_03_003681_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/963d785d2ed1e43a9f050c32ac419c28.jpg","text":"TemporaryFile(/tmp/multipartBody3475447936496840526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627552924,"filename":"image_11012025_21_30_02_828218_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/387bed5883a2244acd29296e520aa728.jpg","text":"TemporaryFile(/tmp/multipartBody8404772649106684310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627552924,"filename":"image_11012025_21_31_03_003681_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d6d2baa412e41a37b106193e71431976.jpg","text":"TemporaryFile(/tmp/multipartBody6550621184220039256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627552924,"filename":"image_11012025_21_31_03_003681_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328258611","file1":"1328258609","file0":"1328258606","file3":"1328258612"},"map_files_photo_id_array":[{"photo_id":"1328258611","filename":"file2"},{"photo_id":"1328258609","filename":"file1"},{"photo_id":"1328258606","filename":"file0"},{"photo_id":"1328258612","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328258612":["hashtag1","hashtag2"]},{"1328258606":["hashtag1","hashtag2"]},{"1328258609":["hashtag1","hashtag2"]},{"1328258611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328258612, 1328258606, 1328258609, 1328258611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.95104217529297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:32:21.946170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/31/image_11012025_21_31_03_003681_0003.jpg', '/home/pi/Desktop/images/11012025/21/32/image_11012025_21_32_03_120702_0000.jpg', '/home/pi/Desktop/images/11012025/21/32/image_11012025_21_32_03_120702_0001.jpg', '/home/pi/Desktop/images/11012025/21/32/image_11012025_21_32_03_120702_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/31/image_11012025_21_31_03_003681_0003.jpg
/home/pi/Desktop/images/11012025/21/32/image_11012025_21_32_03_120702_0000.jpg
/home/pi/Desktop/images/11012025/21/32/image_11012025_21_32_03_120702_0001.jpg
/home/pi/Desktop/images/11012025/21/32/image_11012025_21_32_03_120702_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328258624","1328258621","1328258629","1328258626"],"photo_ids_order":["1328258621","1328258624","1328258626","1328258629"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c780968ec605d223772cda036971fc27.jpg","text":"TemporaryFile(/tmp/multipartBody7159944138687783304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627612393,"filename":"image_11012025_21_32_03_120702_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/caa4e0a6ea49cca80bf1e31650ba5bab.jpg","text":"TemporaryFile(/tmp/multipartBody6214258461286992437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627612393,"filename":"image_11012025_21_31_03_003681_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/06f744f85660f9f144e1d215f85a43af.jpg","text":"TemporaryFile(/tmp/multipartBody6467833136796638922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627612393,"filename":"image_11012025_21_32_03_120702_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/807f5087677a22eb76a4c6a088e5632d.jpg","text":"TemporaryFile(/tmp/multipartBody168473343139203886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627612393,"filename":"image_11012025_21_32_03_120702_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328258626","file1":"1328258624","file0":"1328258621","file3":"1328258629"},"map_files_photo_id_array":[{"photo_id":"1328258626","filename":"file2"},{"photo_id":"1328258624","filename":"file1"},{"photo_id":"1328258621","filename":"file0"},{"photo_id":"1328258629","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328258624":["hashtag1","hashtag2"]},{"1328258621":["hashtag1","hashtag2"]},{"1328258629":["hashtag1","hashtag2"]},{"1328258626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328258624, 1328258621, 1328258629, 1328258626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.03683400154114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 21:33:02.569252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:33:21.958520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/32/image_11012025_21_32_03_120702_0003.jpg', '/home/pi/Desktop/images/11012025/21/33/image_11012025_21_33_02_265270_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/32/image_11012025_21_32_03_120702_0003.jpg
/home/pi/Desktop/images/11012025/21/33/image_11012025_21_33_02_265270_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":["1328258657","1328258643"],"photo_ids_order":["1328258643","1328258657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fe005ab38232fd0bbb940aa29ec42c07.jpg","text":"TemporaryFile(/tmp/multipartBody9218865647004820250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627667348,"filename":"image_11012025_21_33_02_265270_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d287314c178676759afc9b8a2e959fac.jpg","text":"TemporaryFile(/tmp/multipartBody34986559234862203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627667348,"filename":"image_11012025_21_32_03_120702_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328258657","file0":"1328258643"},"map_files_photo_id_array":[{"photo_id":"1328258657","filename":"file1"},{"photo_id":"1328258643","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328258657":["hashtag1","hashtag2"]},{"1328258643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328258657, 1328258643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 26.291767358779907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 21:33:52.008652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 21:34:02.534595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:34:22.241787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/33/image_11012025_21_33_02_265270_0002.jpg', '/home/pi/Desktop/images/11012025/21/34/image_11012025_21_34_02_452171_0000.jpg', '/home/pi/Desktop/images/11012025/21/34/image_11012025_21_34_02_452171_0001.jpg', '/home/pi/Desktop/images/11012025/21/34/image_11012025_21_34_02_452171_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/33/image_11012025_21_33_02_265270_0002.jpg
/home/pi/Desktop/images/11012025/21/34/image_11012025_21_34_02_452171_0000.jpg
/home/pi/Desktop/images/11012025/21/34/image_11012025_21_34_02_452171_0001.jpg
/home/pi/Desktop/images/11012025/21/34/image_11012025_21_34_02_452171_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328258677","1328258673","1328258672","1328258675"],"photo_ids_order":["1328258672","1328258673","1328258675","1328258677"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4709e174ca0ebd2b3fa5ff24dac3065a.jpg","text":"TemporaryFile(/tmp/multipartBody3277225513195466408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627732211,"filename":"image_11012025_21_34_02_452171_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5ef13bfe03ddd932d2ccd2f5271d63cd.jpg","text":"TemporaryFile(/tmp/multipartBody209935353697279812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627732211,"filename":"image_11012025_21_34_02_452171_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ac88b0cb8e53a721fbed9f8485053c58.jpg","text":"TemporaryFile(/tmp/multipartBody4702809112317981918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627732211,"filename":"image_11012025_21_33_02_265270_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2bd86245d914932469130ec6c986f7bf.jpg","text":"TemporaryFile(/tmp/multipartBody5374787913752524498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627732211,"filename":"image_11012025_21_34_02_452171_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328258675","file1":"1328258673","file0":"1328258672","file3":"1328258677"},"map_files_photo_id_array":[{"photo_id":"1328258675","filename":"file2"},{"photo_id":"1328258673","filename":"file1"},{"photo_id":"1328258672","filename":"file0"},{"photo_id":"1328258677","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328258677":["hashtag1","hashtag2"]},{"1328258673":["hashtag1","hashtag2"]},{"1328258672":["hashtag1","hashtag2"]},{"1328258675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328258677, 1328258673, 1328258672, 1328258675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.42021059989929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 21:35:03.143945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:35:22.371428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/34/image_11012025_21_34_02_452171_0003.jpg', '/home/pi/Desktop/images/11012025/21/35/image_11012025_21_35_02_660919_0000.jpg', '/home/pi/Desktop/images/11012025/21/35/image_11012025_21_35_02_660919_0001.jpg', '/home/pi/Desktop/images/11012025/21/35/image_11012025_21_35_02_660919_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/34/image_11012025_21_34_02_452171_0003.jpg
/home/pi/Desktop/images/11012025/21/35/image_11012025_21_35_02_660919_0000.jpg
/home/pi/Desktop/images/11012025/21/35/image_11012025_21_35_02_660919_0001.jpg
/home/pi/Desktop/images/11012025/21/35/image_11012025_21_35_02_660919_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328258737","1328258722","1328258716","1328258719"],"photo_ids_order":["1328258716","1328258719","1328258722","1328258737"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e72e9d734d3738b30dbdf341eb813023.jpg","text":"TemporaryFile(/tmp/multipartBody433315158777770268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627792757,"filename":"image_11012025_21_35_02_660919_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fa8c7e1a35e84e6b1632a14611c0fafe.jpg","text":"TemporaryFile(/tmp/multipartBody7217110700174625805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627792757,"filename":"image_11012025_21_35_02_660919_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/82a2782cb5108e7aeaf040ec020a56c9.jpg","text":"TemporaryFile(/tmp/multipartBody6078441702561598264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627792757,"filename":"image_11012025_21_34_02_452171_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c158e9f6f1ac9263cba307a780451d43.jpg","text":"TemporaryFile(/tmp/multipartBody518447822810456558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627792757,"filename":"image_11012025_21_35_02_660919_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328258722","file1":"1328258719","file0":"1328258716","file3":"1328258737"},"map_files_photo_id_array":[{"photo_id":"1328258722","filename":"file2"},{"photo_id":"1328258719","filename":"file1"},{"photo_id":"1328258716","filename":"file0"},{"photo_id":"1328258737","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328258737":["hashtag1","hashtag2"]},{"1328258722":["hashtag1","hashtag2"]},{"1328258716":["hashtag1","hashtag2"]},{"1328258719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328258737, 1328258722, 1328258716, 1328258719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.81146168708801 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-11 21:36:22.685806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/35/image_11012025_21_35_02_660919_0003.jpg', '/home/pi/Desktop/images/11012025/21/36/image_11012025_21_36_02_840192_0000.jpg', '/home/pi/Desktop/images/11012025/21/36/image_11012025_21_36_02_840192_0001.jpg', '/home/pi/Desktop/images/11012025/21/36/image_11012025_21_36_02_840192_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/35/image_11012025_21_35_02_660919_0003.jpg
/home/pi/Desktop/images/11012025/21/36/image_11012025_21_36_02_840192_0000.jpg
/home/pi/Desktop/images/11012025/21/36/image_11012025_21_36_02_840192_0001.jpg
/home/pi/Desktop/images/11012025/21/36/image_11012025_21_36_02_840192_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328258776","1328258803","1328258787","1328258766"],"photo_ids_order":["1328258766","1328258776","1328258787","1328258803"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ebc1f7418d698f1b2cc4e0caa9482381.jpg","text":"TemporaryFile(/tmp/multipartBody6561161587212318496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627853036,"filename":"image_11012025_21_36_02_840192_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/46baf797f045aa5ac7a301a798ba4505.jpg","text":"TemporaryFile(/tmp/multipartBody8742280521582500136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627853036,"filename":"image_11012025_21_36_02_840192_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c0a93ff03bd54009d75e87aabfb2796e.jpg","text":"TemporaryFile(/tmp/multipartBody4146623334219143887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627853036,"filename":"image_11012025_21_36_02_840192_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8b550bf8d87342d2a71b7fa5014cfbfd.jpg","text":"TemporaryFile(/tmp/multipartBody3869409206866620377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627853036,"filename":"image_11012025_21_35_02_660919_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328258787","file1":"1328258776","file0":"1328258766","file3":"1328258803"},"map_files_photo_id_array":[{"photo_id":"1328258787","filename":"file2"},{"photo_id":"1328258776","filename":"file1"},{"photo_id":"1328258766","filename":"file0"},{"photo_id":"1328258803","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328258776":["hashtag1","hashtag2"]},{"1328258803":["hashtag1","hashtag2"]},{"1328258787":["hashtag1","hashtag2"]},{"1328258766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328258776, 1328258803, 1328258787, 1328258766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.85130572319031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:37:21.867788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/36/image_11012025_21_36_02_840192_0003.jpg', '/home/pi/Desktop/images/11012025/21/37/image_11012025_21_37_03_022826_0000.jpg', '/home/pi/Desktop/images/11012025/21/37/image_11012025_21_37_03_022826_0001.jpg', '/home/pi/Desktop/images/11012025/21/37/image_11012025_21_37_03_022826_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/36/image_11012025_21_36_02_840192_0003.jpg
/home/pi/Desktop/images/11012025/21/37/image_11012025_21_37_03_022826_0000.jpg
/home/pi/Desktop/images/11012025/21/37/image_11012025_21_37_03_022826_0001.jpg
/home/pi/Desktop/images/11012025/21/37/image_11012025_21_37_03_022826_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328258854","1328258856","1328258859","1328258852"],"photo_ids_order":["1328258852","1328258854","1328258856","1328258859"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/397147abc6c6c7cf307a9537857bd917.jpg","text":"TemporaryFile(/tmp/multipartBody8635220610685869914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627912217,"filename":"image_11012025_21_37_03_022826_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b9d300363c5d5fa1e2f53d03fcda263d.jpg","text":"TemporaryFile(/tmp/multipartBody7925029502654551787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627912217,"filename":"image_11012025_21_37_03_022826_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4a56372c4299fb55f655f884ec12cf0a.jpg","text":"TemporaryFile(/tmp/multipartBody1122884164397154316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627912217,"filename":"image_11012025_21_37_03_022826_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4aa2ebfc38030da4ae83ce3c362fbf69.jpg","text":"TemporaryFile(/tmp/multipartBody1490445974341925891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627912217,"filename":"image_11012025_21_36_02_840192_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328258856","file1":"1328258854","file0":"1328258852","file3":"1328258859"},"map_files_photo_id_array":[{"photo_id":"1328258856","filename":"file2"},{"photo_id":"1328258854","filename":"file1"},{"photo_id":"1328258852","filename":"file0"},{"photo_id":"1328258859","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328258854":["hashtag1","hashtag2"]},{"1328258856":["hashtag1","hashtag2"]},{"1328258859":["hashtag1","hashtag2"]},{"1328258852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328258854, 1328258856, 1328258859, 1328258852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.93633580207825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:38:21.993122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/37/image_11012025_21_37_03_022826_0003.jpg', '/home/pi/Desktop/images/11012025/21/38/image_11012025_21_38_02_180872_0000.jpg', '/home/pi/Desktop/images/11012025/21/38/image_11012025_21_38_02_180872_0001.jpg', '/home/pi/Desktop/images/11012025/21/38/image_11012025_21_38_02_180872_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/37/image_11012025_21_37_03_022826_0003.jpg
/home/pi/Desktop/images/11012025/21/38/image_11012025_21_38_02_180872_0000.jpg
/home/pi/Desktop/images/11012025/21/38/image_11012025_21_38_02_180872_0001.jpg
/home/pi/Desktop/images/11012025/21/38/image_11012025_21_38_02_180872_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328258876","1328258874","1328258882","1328258879"],"photo_ids_order":["1328258874","1328258876","1328258879","1328258882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/24c3b58d62f98d00ef1c4babb2cf04df.jpg","text":"TemporaryFile(/tmp/multipartBody7508708911268874473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627972284,"filename":"image_11012025_21_38_02_180872_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b91efc04abc0d2eada40a4011c413023.jpg","text":"TemporaryFile(/tmp/multipartBody8739391597054644643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627972284,"filename":"image_11012025_21_37_03_022826_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/04657e228af86d2a7ed7e19d45878bfc.jpg","text":"TemporaryFile(/tmp/multipartBody7371897683515215762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627972284,"filename":"image_11012025_21_38_02_180872_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fd2b6ba919b2ba512b401fa8c65e2bd7.jpg","text":"TemporaryFile(/tmp/multipartBody1435502132148980835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736627972284,"filename":"image_11012025_21_38_02_180872_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328258879","file1":"1328258876","file0":"1328258874","file3":"1328258882"},"map_files_photo_id_array":[{"photo_id":"1328258879","filename":"file2"},{"photo_id":"1328258876","filename":"file1"},{"photo_id":"1328258874","filename":"file0"},{"photo_id":"1328258882","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328258876":["hashtag1","hashtag2"]},{"1328258874":["hashtag1","hashtag2"]},{"1328258882":["hashtag1","hashtag2"]},{"1328258879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328258876, 1328258874, 1328258882, 1328258879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.66325521469116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:39:22.245815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/38/image_11012025_21_38_02_180872_0003.jpg', '/home/pi/Desktop/images/11012025/21/39/image_11012025_21_39_02_322223_0000.jpg', '/home/pi/Desktop/images/11012025/21/39/image_11012025_21_39_02_322223_0001.jpg', '/home/pi/Desktop/images/11012025/21/39/image_11012025_21_39_02_322223_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/38/image_11012025_21_38_02_180872_0003.jpg
/home/pi/Desktop/images/11012025/21/39/image_11012025_21_39_02_322223_0000.jpg
/home/pi/Desktop/images/11012025/21/39/image_11012025_21_39_02_322223_0001.jpg
/home/pi/Desktop/images/11012025/21/39/image_11012025_21_39_02_322223_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328258915","1328258893","1328258905","1328258913"],"photo_ids_order":["1328258893","1328258905","1328258913","1328258915"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fbcc9fc7cba7b8c02f1f1c75597a6b06.jpg","text":"TemporaryFile(/tmp/multipartBody6857479803922555227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628032645,"filename":"image_11012025_21_39_02_322223_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3cdfd3f143dd67a45ac8b81bdfbcd8a8.jpg","text":"TemporaryFile(/tmp/multipartBody3986231384650639352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628032645,"filename":"image_11012025_21_38_02_180872_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/89a07ae0758fde72dfd033246730e8cf.jpg","text":"TemporaryFile(/tmp/multipartBody5771001768900190986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628032645,"filename":"image_11012025_21_39_02_322223_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/064fe09096d4b03a29a2dc711062c699.jpg","text":"TemporaryFile(/tmp/multipartBody6522750841681755491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628032645,"filename":"image_11012025_21_39_02_322223_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328258913","file1":"1328258905","file0":"1328258893","file3":"1328258915"},"map_files_photo_id_array":[{"photo_id":"1328258913","filename":"file2"},{"photo_id":"1328258905","filename":"file1"},{"photo_id":"1328258893","filename":"file0"},{"photo_id":"1328258915","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328258915":["hashtag1","hashtag2"]},{"1328258893":["hashtag1","hashtag2"]},{"1328258905":["hashtag1","hashtag2"]},{"1328258913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328258915, 1328258893, 1328258905, 1328258913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.33493137359619 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 21:40:02.719259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:40:22.475133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/39/image_11012025_21_39_02_322223_0003.jpg', '/home/pi/Desktop/images/11012025/21/40/image_11012025_21_40_02_636864_0000.jpg', '/home/pi/Desktop/images/11012025/21/40/image_11012025_21_40_02_636864_0001.jpg', '/home/pi/Desktop/images/11012025/21/40/image_11012025_21_40_02_636864_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/39/image_11012025_21_39_02_322223_0003.jpg
/home/pi/Desktop/images/11012025/21/40/image_11012025_21_40_02_636864_0000.jpg
/home/pi/Desktop/images/11012025/21/40/image_11012025_21_40_02_636864_0001.jpg
/home/pi/Desktop/images/11012025/21/40/image_11012025_21_40_02_636864_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328258969","1328258971","1328258979","1328258970"],"photo_ids_order":["1328258969","1328258970","1328258971","1328258979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/23ca10543b4718fba7392ae0f17d054f.jpg","text":"TemporaryFile(/tmp/multipartBody4426850169250478197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628092732,"filename":"image_11012025_21_39_02_322223_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aa21a8c43b8452e99f6769b427dee2a9.jpg","text":"TemporaryFile(/tmp/multipartBody8689050108443990914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628092732,"filename":"image_11012025_21_40_02_636864_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4463533684ec1f9bcdf8a644da1b8ca8.jpg","text":"TemporaryFile(/tmp/multipartBody616895463858338811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628092732,"filename":"image_11012025_21_40_02_636864_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/375d86ddcb447162a4ba549ce6d41af2.jpg","text":"TemporaryFile(/tmp/multipartBody1086058286856572374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628092732,"filename":"image_11012025_21_40_02_636864_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328258971","file1":"1328258970","file0":"1328258969","file3":"1328258979"},"map_files_photo_id_array":[{"photo_id":"1328258971","filename":"file2"},{"photo_id":"1328258970","filename":"file1"},{"photo_id":"1328258969","filename":"file0"},{"photo_id":"1328258979","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328258969":["hashtag1","hashtag2"]},{"1328258971":["hashtag1","hashtag2"]},{"1328258979":["hashtag1","hashtag2"]},{"1328258970":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328258969, 1328258971, 1328258979, 1328258970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.07737588882446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 21:41:03.315342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:41:22.615731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/40/image_11012025_21_40_02_636864_0003.jpg', '/home/pi/Desktop/images/11012025/21/41/image_11012025_21_41_02_774237_0000.jpg', '/home/pi/Desktop/images/11012025/21/41/image_11012025_21_41_02_774237_0001.jpg', '/home/pi/Desktop/images/11012025/21/41/image_11012025_21_41_02_774237_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/40/image_11012025_21_40_02_636864_0003.jpg
/home/pi/Desktop/images/11012025/21/41/image_11012025_21_41_02_774237_0000.jpg
/home/pi/Desktop/images/11012025/21/41/image_11012025_21_41_02_774237_0001.jpg
/home/pi/Desktop/images/11012025/21/41/image_11012025_21_41_02_774237_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328258998","1328258997","1328259000","1328258999"],"photo_ids_order":["1328258997","1328258998","1328258999","1328259000"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1bafb5f907d9ac07d95b0cb96bcc1f3c.jpg","text":"TemporaryFile(/tmp/multipartBody485951314142727319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628152975,"filename":"image_11012025_21_41_02_774237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3423119a6ba9709deb64baa32bcb009a.jpg","text":"TemporaryFile(/tmp/multipartBody3407588446090282788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628152975,"filename":"image_11012025_21_40_02_636864_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8c1f81809b8e47ba7fbe48ae13ee0835.jpg","text":"TemporaryFile(/tmp/multipartBody7561356007551641123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628152975,"filename":"image_11012025_21_41_02_774237_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/12d657b090062081ccf8b78048f6ee3c.jpg","text":"TemporaryFile(/tmp/multipartBody6848302131720913854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628152975,"filename":"image_11012025_21_41_02_774237_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328258999","file1":"1328258998","file0":"1328258997","file3":"1328259000"},"map_files_photo_id_array":[{"photo_id":"1328258999","filename":"file2"},{"photo_id":"1328258998","filename":"file1"},{"photo_id":"1328258997","filename":"file0"},{"photo_id":"1328259000","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328258998":["hashtag1","hashtag2"]},{"1328258997":["hashtag1","hashtag2"]},{"1328259000":["hashtag1","hashtag2"]},{"1328258999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328258998, 1328258997, 1328259000, 1328258999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.21603584289551 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 21:42:03.169454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:42:22.844937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/41/image_11012025_21_41_02_774237_0003.jpg', '/home/pi/Desktop/images/11012025/21/42/image_11012025_21_42_02_944519_0000.jpg', '/home/pi/Desktop/images/11012025/21/42/image_11012025_21_42_02_944519_0001.jpg', '/home/pi/Desktop/images/11012025/21/42/image_11012025_21_42_02_944519_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/41/image_11012025_21_41_02_774237_0003.jpg
/home/pi/Desktop/images/11012025/21/42/image_11012025_21_42_02_944519_0000.jpg
/home/pi/Desktop/images/11012025/21/42/image_11012025_21_42_02_944519_0001.jpg
/home/pi/Desktop/images/11012025/21/42/image_11012025_21_42_02_944519_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328259031","1328259021","1328259018","1328259029"],"photo_ids_order":["1328259018","1328259021","1328259029","1328259031"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5d2745bd16c9e7a7c4d0cfa1a57c26ff.jpg","text":"TemporaryFile(/tmp/multipartBody8653428535717511817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628213086,"filename":"image_11012025_21_42_02_944519_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5f6c2ec61ef433ab65eb86e5cdf3b322.jpg","text":"TemporaryFile(/tmp/multipartBody8119808875547146761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628213086,"filename":"image_11012025_21_42_02_944519_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f477c2ce070823bbe092282fc56fe83d.jpg","text":"TemporaryFile(/tmp/multipartBody381404621345525880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628213086,"filename":"image_11012025_21_41_02_774237_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dd7a0c0e7aac12b8e9475ba35be402f5.jpg","text":"TemporaryFile(/tmp/multipartBody2011439004045782589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628213086,"filename":"image_11012025_21_42_02_944519_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328259029","file1":"1328259021","file0":"1328259018","file3":"1328259031"},"map_files_photo_id_array":[{"photo_id":"1328259029","filename":"file2"},{"photo_id":"1328259021","filename":"file1"},{"photo_id":"1328259018","filename":"file0"},{"photo_id":"1328259031","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328259031":["hashtag1","hashtag2"]},{"1328259021":["hashtag1","hashtag2"]},{"1328259018":["hashtag1","hashtag2"]},{"1328259029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328259031, 1328259021, 1328259018, 1328259029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.7529718875885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:43:21.882904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/42/image_11012025_21_42_02_944519_0003.jpg', '/home/pi/Desktop/images/11012025/21/43/image_11012025_21_43_03_062489_0000.jpg', '/home/pi/Desktop/images/11012025/21/43/image_11012025_21_43_03_062489_0001.jpg', '/home/pi/Desktop/images/11012025/21/43/image_11012025_21_43_03_062489_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/42/image_11012025_21_42_02_944519_0003.jpg
/home/pi/Desktop/images/11012025/21/43/image_11012025_21_43_03_062489_0000.jpg
/home/pi/Desktop/images/11012025/21/43/image_11012025_21_43_03_062489_0001.jpg
/home/pi/Desktop/images/11012025/21/43/image_11012025_21_43_03_062489_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328259055","1328259052","1328259051","1328259059"],"photo_ids_order":["1328259051","1328259052","1328259055","1328259059"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d571812195235e6c060ba1b8149742ba.jpg","text":"TemporaryFile(/tmp/multipartBody5232610445751907395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628272022,"filename":"image_11012025_21_43_03_062489_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/696bf7292e0b0e7464b6f42a7758cf78.jpg","text":"TemporaryFile(/tmp/multipartBody8666030001984864500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628272022,"filename":"image_11012025_21_43_03_062489_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a7b3f516ede73ada4135150a63eb5d86.jpg","text":"TemporaryFile(/tmp/multipartBody2182297494616127349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628272022,"filename":"image_11012025_21_42_02_944519_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/efe0195816537143bab5f659d30e693f.jpg","text":"TemporaryFile(/tmp/multipartBody2105934361331835599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628272022,"filename":"image_11012025_21_43_03_062489_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328259055","file1":"1328259052","file0":"1328259051","file3":"1328259059"},"map_files_photo_id_array":[{"photo_id":"1328259055","filename":"file2"},{"photo_id":"1328259052","filename":"file1"},{"photo_id":"1328259051","filename":"file0"},{"photo_id":"1328259059","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328259055":["hashtag1","hashtag2"]},{"1328259052":["hashtag1","hashtag2"]},{"1328259051":["hashtag1","hashtag2"]},{"1328259059":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328259055, 1328259052, 1328259051, 1328259059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.485212087631226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:44:22.145890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/43/image_11012025_21_43_03_062489_0003.jpg', '/home/pi/Desktop/images/11012025/21/44/image_11012025_21_44_02_327312_0000.jpg', '/home/pi/Desktop/images/11012025/21/44/image_11012025_21_44_02_327312_0001.jpg', '/home/pi/Desktop/images/11012025/21/44/image_11012025_21_44_02_327312_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/43/image_11012025_21_43_03_062489_0003.jpg
/home/pi/Desktop/images/11012025/21/44/image_11012025_21_44_02_327312_0000.jpg
/home/pi/Desktop/images/11012025/21/44/image_11012025_21_44_02_327312_0001.jpg
/home/pi/Desktop/images/11012025/21/44/image_11012025_21_44_02_327312_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328259096","1328259103","1328259081","1328259107"],"photo_ids_order":["1328259081","1328259096","1328259103","1328259107"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ffaac9ba2dcfd1797c2936abb4caeeae.jpg","text":"TemporaryFile(/tmp/multipartBody5397392879042373706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628332297,"filename":"image_11012025_21_44_02_327312_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9a432a92c732a7025e1c3d746ed8809d.jpg","text":"TemporaryFile(/tmp/multipartBody8253494802008336128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628332297,"filename":"image_11012025_21_44_02_327312_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a1dfe0c64fbf40688368308e169fd086.jpg","text":"TemporaryFile(/tmp/multipartBody1553606341569937061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628332297,"filename":"image_11012025_21_43_03_062489_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bff00fc687e24c2629de51048b50f2ae.jpg","text":"TemporaryFile(/tmp/multipartBody4641701154825076260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628332297,"filename":"image_11012025_21_44_02_327312_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328259103","file1":"1328259096","file0":"1328259081","file3":"1328259107"},"map_files_photo_id_array":[{"photo_id":"1328259103","filename":"file2"},{"photo_id":"1328259096","filename":"file1"},{"photo_id":"1328259081","filename":"file0"},{"photo_id":"1328259107","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328259096":["hashtag1","hashtag2"]},{"1328259103":["hashtag1","hashtag2"]},{"1328259081":["hashtag1","hashtag2"]},{"1328259107":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328259096, 1328259103, 1328259081, 1328259107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.61692953109741 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:45:22.413050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/44/image_11012025_21_44_02_327312_0003.jpg', '/home/pi/Desktop/images/11012025/21/45/image_11012025_21_45_02_483043_0000.jpg', '/home/pi/Desktop/images/11012025/21/45/image_11012025_21_45_02_483043_0001.jpg', '/home/pi/Desktop/images/11012025/21/45/image_11012025_21_45_02_483043_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/44/image_11012025_21_44_02_327312_0003.jpg
/home/pi/Desktop/images/11012025/21/45/image_11012025_21_45_02_483043_0000.jpg
/home/pi/Desktop/images/11012025/21/45/image_11012025_21_45_02_483043_0001.jpg
/home/pi/Desktop/images/11012025/21/45/image_11012025_21_45_02_483043_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328259190","1328259184","1328259181","1328259186"],"photo_ids_order":["1328259181","1328259184","1328259186","1328259190"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f8bee525a3b94cd44e54bd8ee70c7b93.jpg","text":"TemporaryFile(/tmp/multipartBody1784523720623559881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628392654,"filename":"image_11012025_21_45_02_483043_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bb27694e2bf7ac84bdc3d984366f1c5e.jpg","text":"TemporaryFile(/tmp/multipartBody6992388594510826945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628392654,"filename":"image_11012025_21_45_02_483043_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5178e1d95a7b63100fa88768861aa0cd.jpg","text":"TemporaryFile(/tmp/multipartBody1262076531844439051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628392654,"filename":"image_11012025_21_44_02_327312_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d6c90f888c180a03e7ca8796bcfbf946.jpg","text":"TemporaryFile(/tmp/multipartBody8882345806418396372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628392654,"filename":"image_11012025_21_45_02_483043_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328259186","file1":"1328259184","file0":"1328259181","file3":"1328259190"},"map_files_photo_id_array":[{"photo_id":"1328259186","filename":"file2"},{"photo_id":"1328259184","filename":"file1"},{"photo_id":"1328259181","filename":"file0"},{"photo_id":"1328259190","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328259190":["hashtag1","hashtag2"]},{"1328259184":["hashtag1","hashtag2"]},{"1328259181":["hashtag1","hashtag2"]},{"1328259186":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328259190, 1328259184, 1328259181, 1328259186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.35240459442139 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 21:46:02.872669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:46:22.499617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/45/image_11012025_21_45_02_483043_0003.jpg', '/home/pi/Desktop/images/11012025/21/46/image_11012025_21_46_02_763553_0000.jpg', '/home/pi/Desktop/images/11012025/21/46/image_11012025_21_46_02_763553_0001.jpg', '/home/pi/Desktop/images/11012025/21/46/image_11012025_21_46_02_763553_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/45/image_11012025_21_45_02_483043_0003.jpg
/home/pi/Desktop/images/11012025/21/46/image_11012025_21_46_02_763553_0000.jpg
/home/pi/Desktop/images/11012025/21/46/image_11012025_21_46_02_763553_0001.jpg
/home/pi/Desktop/images/11012025/21/46/image_11012025_21_46_02_763553_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328259218","1328259228","1328259222","1328259225"],"photo_ids_order":["1328259218","1328259222","1328259225","1328259228"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/941e20dfb9dd8d2f68eaf2a99a826058.jpg","text":"TemporaryFile(/tmp/multipartBody8458680004606338191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628452682,"filename":"image_11012025_21_45_02_483043_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ae3931f3d55d6e14107059e61eb0bc42.jpg","text":"TemporaryFile(/tmp/multipartBody6605113881018828161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628452682,"filename":"image_11012025_21_46_02_763553_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0c273c723d6e9e44b6f6e51c2f44c02e.jpg","text":"TemporaryFile(/tmp/multipartBody7323253539718369984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628452682,"filename":"image_11012025_21_46_02_763553_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2df3430f0c637710a0b8d70806facc0c.jpg","text":"TemporaryFile(/tmp/multipartBody727151085899428940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628452682,"filename":"image_11012025_21_46_02_763553_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328259225","file1":"1328259222","file0":"1328259218","file3":"1328259228"},"map_files_photo_id_array":[{"photo_id":"1328259225","filename":"file2"},{"photo_id":"1328259222","filename":"file1"},{"photo_id":"1328259218","filename":"file0"},{"photo_id":"1328259228","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328259218":["hashtag1","hashtag2"]},{"1328259228":["hashtag1","hashtag2"]},{"1328259222":["hashtag1","hashtag2"]},{"1328259225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328259218, 1328259228, 1328259222, 1328259225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.89971470832825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 21:47:03.084612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:47:22.572893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/46/image_11012025_21_46_02_763553_0003.jpg', '/home/pi/Desktop/images/11012025/21/47/image_11012025_21_47_02_809848_0000.jpg', '/home/pi/Desktop/images/11012025/21/47/image_11012025_21_47_02_809848_0001.jpg', '/home/pi/Desktop/images/11012025/21/47/image_11012025_21_47_02_809848_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/46/image_11012025_21_46_02_763553_0003.jpg
/home/pi/Desktop/images/11012025/21/47/image_11012025_21_47_02_809848_0000.jpg
/home/pi/Desktop/images/11012025/21/47/image_11012025_21_47_02_809848_0001.jpg
/home/pi/Desktop/images/11012025/21/47/image_11012025_21_47_02_809848_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328259382","1328259379","1328259376","1328259372"],"photo_ids_order":["1328259372","1328259376","1328259379","1328259382"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8af9254b8d419822d3cf15a0ff71a3e2.jpg","text":"TemporaryFile(/tmp/multipartBody1123983299053643186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628512877,"filename":"image_11012025_21_47_02_809848_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/75c49287eb81c99128fd55b6afd5753b.jpg","text":"TemporaryFile(/tmp/multipartBody5727005511722369949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628512877,"filename":"image_11012025_21_47_02_809848_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5ecb03671a898864b5a19c841bcf3643.jpg","text":"TemporaryFile(/tmp/multipartBody801356311788872165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628512877,"filename":"image_11012025_21_47_02_809848_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/98b3c57891abb9329d92836a58937b35.jpg","text":"TemporaryFile(/tmp/multipartBody6415812793002934875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628512877,"filename":"image_11012025_21_46_02_763553_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328259379","file1":"1328259376","file0":"1328259372","file3":"1328259382"},"map_files_photo_id_array":[{"photo_id":"1328259379","filename":"file2"},{"photo_id":"1328259376","filename":"file1"},{"photo_id":"1328259372","filename":"file0"},{"photo_id":"1328259382","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328259382":["hashtag1","hashtag2"]},{"1328259379":["hashtag1","hashtag2"]},{"1328259376":["hashtag1","hashtag2"]},{"1328259372":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328259382, 1328259379, 1328259376, 1328259372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.9296236038208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:48:21.825553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/47/image_11012025_21_47_02_809848_0003.jpg', '/home/pi/Desktop/images/11012025/21/48/image_11012025_21_48_03_002838_0000.jpg', '/home/pi/Desktop/images/11012025/21/48/image_11012025_21_48_03_002838_0001.jpg', '/home/pi/Desktop/images/11012025/21/48/image_11012025_21_48_03_002838_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/47/image_11012025_21_47_02_809848_0003.jpg
/home/pi/Desktop/images/11012025/21/48/image_11012025_21_48_03_002838_0000.jpg
/home/pi/Desktop/images/11012025/21/48/image_11012025_21_48_03_002838_0001.jpg
/home/pi/Desktop/images/11012025/21/48/image_11012025_21_48_03_002838_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328259394","1328259393","1328259396","1328259399"],"photo_ids_order":["1328259393","1328259394","1328259396","1328259399"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7da3f42a4a03011fc5202992e69a351c.jpg","text":"TemporaryFile(/tmp/multipartBody5168833499012060228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628572198,"filename":"image_11012025_21_48_03_002838_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d84c8dde326f475a219f4402c853bc63.jpg","text":"TemporaryFile(/tmp/multipartBody1414347167552099855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628572198,"filename":"image_11012025_21_47_02_809848_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cf5dd7311ad3847a20d86ce96dbccdb1.jpg","text":"TemporaryFile(/tmp/multipartBody372521034118673335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628572198,"filename":"image_11012025_21_48_03_002838_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/904f48adc92bbb96d14eb5cd868f030d.jpg","text":"TemporaryFile(/tmp/multipartBody6651973394587787121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628572198,"filename":"image_11012025_21_48_03_002838_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328259396","file1":"1328259394","file0":"1328259393","file3":"1328259399"},"map_files_photo_id_array":[{"photo_id":"1328259396","filename":"file2"},{"photo_id":"1328259394","filename":"file1"},{"photo_id":"1328259393","filename":"file0"},{"photo_id":"1328259399","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328259394":["hashtag1","hashtag2"]},{"1328259393":["hashtag1","hashtag2"]},{"1328259396":["hashtag1","hashtag2"]},{"1328259399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328259394, 1328259393, 1328259396, 1328259399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.242159605026245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 21:49:02.445499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:49:21.979230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/48/image_11012025_21_48_03_002838_0003.jpg', '/home/pi/Desktop/images/11012025/21/49/image_11012025_21_49_02_144236_0000.jpg', '/home/pi/Desktop/images/11012025/21/49/image_11012025_21_49_02_144236_0001.jpg', '/home/pi/Desktop/images/11012025/21/49/image_11012025_21_49_02_144236_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/48/image_11012025_21_48_03_002838_0003.jpg
/home/pi/Desktop/images/11012025/21/49/image_11012025_21_49_02_144236_0000.jpg
/home/pi/Desktop/images/11012025/21/49/image_11012025_21_49_02_144236_0001.jpg
/home/pi/Desktop/images/11012025/21/49/image_11012025_21_49_02_144236_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328259864","1328259462","1328260254","1328259473"],"photo_ids_order":["1328259462","1328259473","1328259864","1328260254"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e9a9134901dfeef441c67732c3e7d4da.jpg","text":"TemporaryFile(/tmp/multipartBody2408757187502465459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628632198,"filename":"image_11012025_21_49_02_144236_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dd008f3ee4a4fe35eb7c8e975c59355e.jpg","text":"TemporaryFile(/tmp/multipartBody2333182621690078383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628632198,"filename":"image_11012025_21_48_03_002838_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8296971a853b8167b7285ffb63e2778d.jpg","text":"TemporaryFile(/tmp/multipartBody7231006799364277338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628632198,"filename":"image_11012025_21_49_02_144236_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7a3b56321ef1a500cfabdbf2e6435bbe.jpg","text":"TemporaryFile(/tmp/multipartBody8151409499469326826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628632198,"filename":"image_11012025_21_49_02_144236_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328259864","file1":"1328259473","file0":"1328259462","file3":"1328260254"},"map_files_photo_id_array":[{"photo_id":"1328259864","filename":"file2"},{"photo_id":"1328259473","filename":"file1"},{"photo_id":"1328259462","filename":"file0"},{"photo_id":"1328260254","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328259864":["hashtag1","hashtag2"]},{"1328259462":["hashtag1","hashtag2"]},{"1328260254":["hashtag1","hashtag2"]},{"1328259473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328259864, 1328259462, 1328260254, 1328259473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.713151693344116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:50:22.082518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/49/image_11012025_21_49_02_144236_0003.jpg', '/home/pi/Desktop/images/11012025/21/50/image_11012025_21_50_02_222527_0000.jpg', '/home/pi/Desktop/images/11012025/21/50/image_11012025_21_50_02_222527_0001.jpg', '/home/pi/Desktop/images/11012025/21/50/image_11012025_21_50_02_222527_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/49/image_11012025_21_49_02_144236_0003.jpg
/home/pi/Desktop/images/11012025/21/50/image_11012025_21_50_02_222527_0000.jpg
/home/pi/Desktop/images/11012025/21/50/image_11012025_21_50_02_222527_0001.jpg
/home/pi/Desktop/images/11012025/21/50/image_11012025_21_50_02_222527_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328260739","1328260630","1328260819","1328260810"],"photo_ids_order":["1328260630","1328260739","1328260810","1328260819"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9b298bd02753a781581e35ea69bcf56a.jpg","text":"TemporaryFile(/tmp/multipartBody1776993176929790013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628692250,"filename":"image_11012025_21_50_02_222527_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6e3d37dad499b0cd9d175ae0f9a3f789.jpg","text":"TemporaryFile(/tmp/multipartBody173200611059852695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628692250,"filename":"image_11012025_21_49_02_144236_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/10e342a216a326b11d434cc5f6fa3230.jpg","text":"TemporaryFile(/tmp/multipartBody6667358855699662492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628692250,"filename":"image_11012025_21_50_02_222527_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/50e127258c00d3df03fb9a09ecc2cc9e.jpg","text":"TemporaryFile(/tmp/multipartBody3808605352701920021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628692250,"filename":"image_11012025_21_50_02_222527_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328260810","file1":"1328260739","file0":"1328260630","file3":"1328260819"},"map_files_photo_id_array":[{"photo_id":"1328260810","filename":"file2"},{"photo_id":"1328260739","filename":"file1"},{"photo_id":"1328260630","filename":"file0"},{"photo_id":"1328260819","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328260739":["hashtag1","hashtag2"]},{"1328260630":["hashtag1","hashtag2"]},{"1328260819":["hashtag1","hashtag2"]},{"1328260810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328260739, 1328260630, 1328260819, 1328260810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13201713562012 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:51:22.256636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/50/image_11012025_21_50_02_222527_0003.jpg', '/home/pi/Desktop/images/11012025/21/51/image_11012025_21_51_02_413143_0000.jpg', '/home/pi/Desktop/images/11012025/21/51/image_11012025_21_51_02_413143_0001.jpg', '/home/pi/Desktop/images/11012025/21/51/image_11012025_21_51_02_413143_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/50/image_11012025_21_50_02_222527_0003.jpg
/home/pi/Desktop/images/11012025/21/51/image_11012025_21_51_02_413143_0000.jpg
/home/pi/Desktop/images/11012025/21/51/image_11012025_21_51_02_413143_0001.jpg
/home/pi/Desktop/images/11012025/21/51/image_11012025_21_51_02_413143_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328260943","1328260934","1328260962","1328260932"],"photo_ids_order":["1328260932","1328260934","1328260943","1328260962"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d4e092635ad1bb7c4a3b2f411a9485b7.jpg","text":"TemporaryFile(/tmp/multipartBody6671003590251076343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628752502,"filename":"image_11012025_21_51_02_413143_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d79d999b1a2d85d1cd9422649d5f0b6d.jpg","text":"TemporaryFile(/tmp/multipartBody4957046654195015379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628752502,"filename":"image_11012025_21_51_02_413143_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b7bf4366cf9d2006afc72c549427b491.jpg","text":"TemporaryFile(/tmp/multipartBody5073844490086524044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628752502,"filename":"image_11012025_21_51_02_413143_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b505617a94c51344958a009faefaae43.jpg","text":"TemporaryFile(/tmp/multipartBody2473769721091770712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628752502,"filename":"image_11012025_21_50_02_222527_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328260943","file1":"1328260934","file0":"1328260932","file3":"1328260962"},"map_files_photo_id_array":[{"photo_id":"1328260943","filename":"file2"},{"photo_id":"1328260934","filename":"file1"},{"photo_id":"1328260932","filename":"file0"},{"photo_id":"1328260962","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328260943":["hashtag1","hashtag2"]},{"1328260934":["hashtag1","hashtag2"]},{"1328260962":["hashtag1","hashtag2"]},{"1328260932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328260943, 1328260934, 1328260962, 1328260932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.55079531669617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:52:22.453151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/51/image_11012025_21_51_02_413143_0003.jpg', '/home/pi/Desktop/images/11012025/21/52/image_11012025_21_52_02_668589_0000.jpg', '/home/pi/Desktop/images/11012025/21/52/image_11012025_21_52_02_668589_0001.jpg', '/home/pi/Desktop/images/11012025/21/52/image_11012025_21_52_02_668589_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/51/image_11012025_21_51_02_413143_0003.jpg
/home/pi/Desktop/images/11012025/21/52/image_11012025_21_52_02_668589_0000.jpg
/home/pi/Desktop/images/11012025/21/52/image_11012025_21_52_02_668589_0001.jpg
/home/pi/Desktop/images/11012025/21/52/image_11012025_21_52_02_668589_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328261296","1328261323","1328261311","1328261301"],"photo_ids_order":["1328261296","1328261301","1328261311","1328261323"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/657a11980647e8e10b1105c27108b297.jpg","text":"TemporaryFile(/tmp/multipartBody7819082788865623982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628812717,"filename":"image_11012025_21_51_02_413143_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c3958bfa7a5906ad3b7c529bdf7aea30.jpg","text":"TemporaryFile(/tmp/multipartBody5919399309895446482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628812717,"filename":"image_11012025_21_52_02_668589_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/89dcdfb632633459175d8e3df3b0d6a4.jpg","text":"TemporaryFile(/tmp/multipartBody2562783564918133334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628812717,"filename":"image_11012025_21_52_02_668589_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5825641bcea97382070a726a9ded6fac.jpg","text":"TemporaryFile(/tmp/multipartBody7494412864546172539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628812717,"filename":"image_11012025_21_52_02_668589_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328261311","file1":"1328261301","file0":"1328261296","file3":"1328261323"},"map_files_photo_id_array":[{"photo_id":"1328261311","filename":"file2"},{"photo_id":"1328261301","filename":"file1"},{"photo_id":"1328261296","filename":"file0"},{"photo_id":"1328261323","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328261296":["hashtag1","hashtag2"]},{"1328261323":["hashtag1","hashtag2"]},{"1328261311":["hashtag1","hashtag2"]},{"1328261301":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328261296, 1328261323, 1328261311, 1328261301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.50340914726257 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:53:22.444184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/52/image_11012025_21_52_02_668589_0003.jpg', '/home/pi/Desktop/images/11012025/21/53/image_11012025_21_53_02_760468_0000.jpg', '/home/pi/Desktop/images/11012025/21/53/image_11012025_21_53_02_760468_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/52/image_11012025_21_52_02_668589_0003.jpg
/home/pi/Desktop/images/11012025/21/53/image_11012025_21_53_02_760468_0000.jpg
/home/pi/Desktop/images/11012025/21/53/image_11012025_21_53_02_760468_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":["1328261338","1328261337","1328261333"],"photo_ids_order":["1328261333","1328261337","1328261338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6ebaf31ebda2d56b71ae298976196fb3.jpg","text":"TemporaryFile(/tmp/multipartBody9027358774773612687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628870361,"filename":"image_11012025_21_53_02_760468_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fb786668f96faf7dd8369a9c739711d1.jpg","text":"TemporaryFile(/tmp/multipartBody5733308083963984366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628870361,"filename":"image_11012025_21_53_02_760468_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9a051f95226472828195818b7e9db396.jpg","text":"TemporaryFile(/tmp/multipartBody999199448314832846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628870361,"filename":"image_11012025_21_52_02_668589_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328261338","file1":"1328261337","file0":"1328261333"},"map_files_photo_id_array":[{"photo_id":"1328261338","filename":"file2"},{"photo_id":"1328261337","filename":"file1"},{"photo_id":"1328261333","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328261338":["hashtag1","hashtag2"]},{"1328261337":["hashtag1","hashtag2"]},{"1328261333":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328261338, 1328261337, 1328261333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.253589153289795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 21:54:03.209481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:54:22.891746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/53/image_11012025_21_53_02_760468_0002.jpg', '/home/pi/Desktop/images/11012025/21/54/image_11012025_21_54_02_912031_0000.jpg', '/home/pi/Desktop/images/11012025/21/54/image_11012025_21_54_02_912031_0001.jpg', '/home/pi/Desktop/images/11012025/21/54/image_11012025_21_54_02_912031_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/53/image_11012025_21_53_02_760468_0002.jpg
/home/pi/Desktop/images/11012025/21/54/image_11012025_21_54_02_912031_0000.jpg
/home/pi/Desktop/images/11012025/21/54/image_11012025_21_54_02_912031_0001.jpg
/home/pi/Desktop/images/11012025/21/54/image_11012025_21_54_02_912031_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328261383","1328261385","1328261388","1328261393"],"photo_ids_order":["1328261383","1328261385","1328261388","1328261393"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1a6b6bcfd0dd66d03f8c52147168e410.jpg","text":"TemporaryFile(/tmp/multipartBody8048895252553824607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628933091,"filename":"image_11012025_21_53_02_760468_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cf5394d3e089b14c013c01a8d45af57d.jpg","text":"TemporaryFile(/tmp/multipartBody3060644446437482691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628933091,"filename":"image_11012025_21_54_02_912031_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a412f141a2e4516b3cb0b7c9f09a0657.jpg","text":"TemporaryFile(/tmp/multipartBody2746386277739564572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628933091,"filename":"image_11012025_21_54_02_912031_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cd11e34cb0dcad0b5c611237b1445d1f.jpg","text":"TemporaryFile(/tmp/multipartBody4335598406763761275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628933091,"filename":"image_11012025_21_54_02_912031_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328261388","file1":"1328261385","file0":"1328261383","file3":"1328261393"},"map_files_photo_id_array":[{"photo_id":"1328261388","filename":"file2"},{"photo_id":"1328261385","filename":"file1"},{"photo_id":"1328261383","filename":"file0"},{"photo_id":"1328261393","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328261383":["hashtag1","hashtag2"]},{"1328261385":["hashtag1","hashtag2"]},{"1328261388":["hashtag1","hashtag2"]},{"1328261393":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328261383, 1328261385, 1328261388, 1328261393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.97574496269226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:55:21.998404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/54/image_11012025_21_54_02_912031_0003.jpg', '/home/pi/Desktop/images/11012025/21/55/image_11012025_21_55_03_152558_0000.jpg', '/home/pi/Desktop/images/11012025/21/55/image_11012025_21_55_03_152558_0001.jpg', '/home/pi/Desktop/images/11012025/21/55/image_11012025_21_55_03_152558_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/54/image_11012025_21_54_02_912031_0003.jpg
/home/pi/Desktop/images/11012025/21/55/image_11012025_21_55_03_152558_0000.jpg
/home/pi/Desktop/images/11012025/21/55/image_11012025_21_55_03_152558_0001.jpg
/home/pi/Desktop/images/11012025/21/55/image_11012025_21_55_03_152558_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328261491","1328261504","1328261488","1328261502"],"photo_ids_order":["1328261488","1328261491","1328261502","1328261504"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b89511d98aba9777dbdc4525f3ed49ff.jpg","text":"TemporaryFile(/tmp/multipartBody1893187543533809915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628992243,"filename":"image_11012025_21_55_03_152558_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/237d993df467c973c02f993ac2562897.jpg","text":"TemporaryFile(/tmp/multipartBody6988050364039535914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628992243,"filename":"image_11012025_21_55_03_152558_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/62712cac8c69bf86b1a032d11118c9df.jpg","text":"TemporaryFile(/tmp/multipartBody83816557507272101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628992243,"filename":"image_11012025_21_54_02_912031_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ed9b13038dca62d30a06eb355dac0db6.jpg","text":"TemporaryFile(/tmp/multipartBody1833639616981168901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736628992243,"filename":"image_11012025_21_55_03_152558_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328261502","file1":"1328261491","file0":"1328261488","file3":"1328261504"},"map_files_photo_id_array":[{"photo_id":"1328261502","filename":"file2"},{"photo_id":"1328261491","filename":"file1"},{"photo_id":"1328261488","filename":"file0"},{"photo_id":"1328261504","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328261491":["hashtag1","hashtag2"]},{"1328261504":["hashtag1","hashtag2"]},{"1328261488":["hashtag1","hashtag2"]},{"1328261502":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328261491, 1328261504, 1328261488, 1328261502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.431453704833984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:56:22.150022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/55/image_11012025_21_55_03_152558_0003.jpg', '/home/pi/Desktop/images/11012025/21/56/image_11012025_21_56_02_295651_0000.jpg', '/home/pi/Desktop/images/11012025/21/56/image_11012025_21_56_02_295651_0001.jpg', '/home/pi/Desktop/images/11012025/21/56/image_11012025_21_56_02_295651_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/55/image_11012025_21_55_03_152558_0003.jpg
/home/pi/Desktop/images/11012025/21/56/image_11012025_21_56_02_295651_0000.jpg
/home/pi/Desktop/images/11012025/21/56/image_11012025_21_56_02_295651_0001.jpg
/home/pi/Desktop/images/11012025/21/56/image_11012025_21_56_02_295651_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328261521","1328261523","1328261525","1328261519"],"photo_ids_order":["1328261519","1328261521","1328261523","1328261525"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/46fdcf76e45b85798f71cd122f66228e.jpg","text":"TemporaryFile(/tmp/multipartBody5582836203911015411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629052396,"filename":"image_11012025_21_56_02_295651_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/11eeed977e22519199fdc5a8fbf73c69.jpg","text":"TemporaryFile(/tmp/multipartBody4445945910720238480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629052396,"filename":"image_11012025_21_56_02_295651_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8f582a2d7dd30f9fd1a54d861916b1df.jpg","text":"TemporaryFile(/tmp/multipartBody4005565605259962972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629052396,"filename":"image_11012025_21_56_02_295651_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f480df3428dba35e19769e3230d7913b.jpg","text":"TemporaryFile(/tmp/multipartBody8959575131144831926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629052396,"filename":"image_11012025_21_55_03_152558_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328261523","file1":"1328261521","file0":"1328261519","file3":"1328261525"},"map_files_photo_id_array":[{"photo_id":"1328261523","filename":"file2"},{"photo_id":"1328261521","filename":"file1"},{"photo_id":"1328261519","filename":"file0"},{"photo_id":"1328261525","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328261521":["hashtag1","hashtag2"]},{"1328261523":["hashtag1","hashtag2"]},{"1328261525":["hashtag1","hashtag2"]},{"1328261519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328261521, 1328261523, 1328261525, 1328261519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.391035318374634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 21:57:22.340368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/56/image_11012025_21_56_02_295651_0003.jpg', '/home/pi/Desktop/images/11012025/21/57/image_11012025_21_57_02_480131_0000.jpg', '/home/pi/Desktop/images/11012025/21/57/image_11012025_21_57_02_480131_0001.jpg', '/home/pi/Desktop/images/11012025/21/57/image_11012025_21_57_02_480131_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/56/image_11012025_21_56_02_295651_0003.jpg
/home/pi/Desktop/images/11012025/21/57/image_11012025_21_57_02_480131_0000.jpg
/home/pi/Desktop/images/11012025/21/57/image_11012025_21_57_02_480131_0001.jpg
/home/pi/Desktop/images/11012025/21/57/image_11012025_21_57_02_480131_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-11 21:59:03.341914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/56/image_11012025_21_56_02_295651_0003.jpg', '/home/pi/Desktop/images/11012025/21/57/image_11012025_21_57_02_480131_0000.jpg', '/home/pi/Desktop/images/11012025/21/57/image_11012025_21_57_02_480131_0001.jpg', '/home/pi/Desktop/images/11012025/21/57/image_11012025_21_57_02_480131_0002.jpg', '/home/pi/Desktop/images/11012025/21/57/image_11012025_21_57_02_480131_0003.jpg', '/home/pi/Desktop/images/11012025/21/58/image_11012025_21_58_02_679116_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/56/image_11012025_21_56_02_295651_0003.jpg
/home/pi/Desktop/images/11012025/21/57/image_11012025_21_57_02_480131_0000.jpg
/home/pi/Desktop/images/11012025/21/57/image_11012025_21_57_02_480131_0001.jpg
/home/pi/Desktop/images/11012025/21/57/image_11012025_21_57_02_480131_0002.jpg
/home/pi/Desktop/images/11012025/21/57/image_11012025_21_57_02_480131_0003.jpg
/home/pi/Desktop/images/11012025/21/58/image_11012025_21_58_02_679116_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328261641","1328261716","1328261644","1328261638","1328261640","1328261634"],"photo_ids_order":["1328261634","1328261638","1328261640","1328261641","1328261644","1328261716"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/97401596c0e76d52a16315ce84d5e3f1.jpg","text":"TemporaryFile(/tmp/multipartBody1027648148972872340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629218432,"filename":"image_11012025_21_57_02_480131_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/098d4d605d13bd0010677751a88dcb1e.jpg","text":"TemporaryFile(/tmp/multipartBody4502502929372673539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629218432,"filename":"image_11012025_21_58_02_679116_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e46481d06e7f2e89fe83aaa6a246cb78.jpg","text":"TemporaryFile(/tmp/multipartBody6889016564439570742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629218432,"filename":"image_11012025_21_57_02_480131_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5d3bcf7b64b6005168c890388c587ece.jpg","text":"TemporaryFile(/tmp/multipartBody7304213328550227165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629218432,"filename":"image_11012025_21_57_02_480131_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/eaac5ad42060eee4c89b919739c04c1e.jpg","text":"TemporaryFile(/tmp/multipartBody5915735873065491338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629218432,"filename":"image_11012025_21_57_02_480131_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/67112f0518106ccf8517b74fb22d63d0.jpg","text":"TemporaryFile(/tmp/multipartBody2852779410863893997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629218432,"filename":"image_11012025_21_56_02_295651_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328261640","file1":"1328261638","file0":"1328261634","file4":"1328261644","file5":"1328261716","file3":"1328261641"},"map_files_photo_id_array":[{"photo_id":"1328261716","filename":"file5"},{"photo_id":"1328261640","filename":"file2"},{"photo_id":"1328261644","filename":"file4"},{"photo_id":"1328261638","filename":"file1"},{"photo_id":"1328261634","filename":"file0"},{"photo_id":"1328261641","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328261641":["hashtag1","hashtag2"]},{"1328261716":["hashtag1","hashtag2"]},{"1328261644":["hashtag1","hashtag2"]},{"1328261638":["hashtag1","hashtag2"]},{"1328261640":["hashtag1","hashtag2"]},{"1328261634":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328261641, 1328261716, 1328261644, 1328261638, 1328261640, 1328261634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.313114166259766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:00:02.387305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/58/image_11012025_21_58_02_679116_0001.jpg', '/home/pi/Desktop/images/11012025/21/58/image_11012025_21_58_02_679116_0002.jpg', '/home/pi/Desktop/images/11012025/21/58/image_11012025_21_58_02_679116_0003.jpg', '/home/pi/Desktop/images/11012025/21/59/image_11012025_21_59_02_869728_0000.jpg', '/home/pi/Desktop/images/11012025/21/59/image_11012025_21_59_02_869728_0001.jpg', '/home/pi/Desktop/images/11012025/21/59/image_11012025_21_59_02_869728_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/58/image_11012025_21_58_02_679116_0001.jpg
/home/pi/Desktop/images/11012025/21/58/image_11012025_21_58_02_679116_0002.jpg
/home/pi/Desktop/images/11012025/21/58/image_11012025_21_58_02_679116_0003.jpg
/home/pi/Desktop/images/11012025/21/59/image_11012025_21_59_02_869728_0000.jpg
/home/pi/Desktop/images/11012025/21/59/image_11012025_21_59_02_869728_0001.jpg
/home/pi/Desktop/images/11012025/21/59/image_11012025_21_59_02_869728_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328261737","1328261739","1328261730","1328261733","1328261727","1328261738"],"photo_ids_order":["1328261727","1328261730","1328261733","1328261737","1328261738","1328261739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2c16d3faa33cd7e99270186bac08c1ee.jpg","text":"TemporaryFile(/tmp/multipartBody7496373409008833598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629277438,"filename":"image_11012025_21_59_02_869728_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7b415cd3ba54efa008051c3a14929f12.jpg","text":"TemporaryFile(/tmp/multipartBody6536749912086708713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629277438,"filename":"image_11012025_21_59_02_869728_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0975784f146e8a36e4d49ffe5090fe80.jpg","text":"TemporaryFile(/tmp/multipartBody6967992648196803390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629277438,"filename":"image_11012025_21_58_02_679116_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ea1b5ed9f901b7b84028bb77a5b115a1.jpg","text":"TemporaryFile(/tmp/multipartBody2749143706622247863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629277438,"filename":"image_11012025_21_58_02_679116_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4553cda7d18f9d43d1ec3b3ce62324f8.jpg","text":"TemporaryFile(/tmp/multipartBody2850965516113695540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629277438,"filename":"image_11012025_21_58_02_679116_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/882ffbe4d49c3ee9801d9dae9e023f27.jpg","text":"TemporaryFile(/tmp/multipartBody83710989356052206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629277438,"filename":"image_11012025_21_59_02_869728_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328261733","file1":"1328261730","file0":"1328261727","file4":"1328261738","file5":"1328261739","file3":"1328261737"},"map_files_photo_id_array":[{"photo_id":"1328261739","filename":"file5"},{"photo_id":"1328261733","filename":"file2"},{"photo_id":"1328261738","filename":"file4"},{"photo_id":"1328261730","filename":"file1"},{"photo_id":"1328261727","filename":"file0"},{"photo_id":"1328261737","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328261737":["hashtag1","hashtag2"]},{"1328261739":["hashtag1","hashtag2"]},{"1328261730":["hashtag1","hashtag2"]},{"1328261733":["hashtag1","hashtag2"]},{"1328261727":["hashtag1","hashtag2"]},{"1328261738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328261737, 1328261739, 1328261730, 1328261733, 1328261727, 1328261738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.490442752838135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:01:02.763430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/21/59/image_11012025_21_59_02_869728_0003.jpg', '/home/pi/Desktop/images/11012025/22/00/image_11012025_22_00_03_029207_0000.jpg', '/home/pi/Desktop/images/11012025/22/00/image_11012025_22_00_03_029207_0001.jpg', '/home/pi/Desktop/images/11012025/22/00/image_11012025_22_00_03_029207_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/21/59/image_11012025_21_59_02_869728_0003.jpg
/home/pi/Desktop/images/11012025/22/00/image_11012025_22_00_03_029207_0000.jpg
/home/pi/Desktop/images/11012025/22/00/image_11012025_22_00_03_029207_0001.jpg
/home/pi/Desktop/images/11012025/22/00/image_11012025_22_00_03_029207_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328261764","1328261773","1328261761","1328261768"],"photo_ids_order":["1328261761","1328261764","1328261768","1328261773"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/475c6320f07253c426aa7f548b13c144.jpg","text":"TemporaryFile(/tmp/multipartBody1151011245077621251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629333106,"filename":"image_11012025_22_00_03_029207_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2b616a94d303a0bd43bdb48b953a6a2a.jpg","text":"TemporaryFile(/tmp/multipartBody7777030733292664478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629333106,"filename":"image_11012025_22_00_03_029207_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7fbd089ca7544d8a4d9de5aefb1f2e8f.jpg","text":"TemporaryFile(/tmp/multipartBody3395950048044371691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629333106,"filename":"image_11012025_21_59_02_869728_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/727d2cfb3894915eaf4432a9f66cc7ea.jpg","text":"TemporaryFile(/tmp/multipartBody5330512926922351579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629333106,"filename":"image_11012025_22_00_03_029207_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328261768","file1":"1328261764","file0":"1328261761","file3":"1328261773"},"map_files_photo_id_array":[{"photo_id":"1328261768","filename":"file2"},{"photo_id":"1328261764","filename":"file1"},{"photo_id":"1328261761","filename":"file0"},{"photo_id":"1328261773","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328261764":["hashtag1","hashtag2"]},{"1328261773":["hashtag1","hashtag2"]},{"1328261761":["hashtag1","hashtag2"]},{"1328261768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328261764, 1328261773, 1328261761, 1328261768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.39896845817566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 22:01:41.981049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/00/image_11012025_22_00_03_029207_0003.jpg', '/home/pi/Desktop/images/11012025/22/01/image_11012025_22_01_02_226507_0000.jpg', '/home/pi/Desktop/images/11012025/22/01/image_11012025_22_01_02_226507_0001.jpg', '/home/pi/Desktop/images/11012025/22/01/image_11012025_22_01_02_226507_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/00/image_11012025_22_00_03_029207_0003.jpg
/home/pi/Desktop/images/11012025/22/01/image_11012025_22_01_02_226507_0000.jpg
/home/pi/Desktop/images/11012025/22/01/image_11012025_22_01_02_226507_0001.jpg
/home/pi/Desktop/images/11012025/22/01/image_11012025_22_01_02_226507_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328261779","1328261778","1328261783","1328261780"],"photo_ids_order":["1328261778","1328261779","1328261780","1328261783"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/42c90e1726222128bddf35d61a48103d.jpg","text":"TemporaryFile(/tmp/multipartBody6578283392819810988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629372227,"filename":"image_11012025_22_01_02_226507_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/86f379c679edf24e5621bf6d45ae761f.jpg","text":"TemporaryFile(/tmp/multipartBody4365118228339392999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629372227,"filename":"image_11012025_22_00_03_029207_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/901808d64c1f29dad6100a87cab2d305.jpg","text":"TemporaryFile(/tmp/multipartBody6193851069749019101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629372227,"filename":"image_11012025_22_01_02_226507_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2a158878de6be069195e7642112779fb.jpg","text":"TemporaryFile(/tmp/multipartBody7023988114905564152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629372227,"filename":"image_11012025_22_01_02_226507_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328261780","file1":"1328261779","file0":"1328261778","file3":"1328261783"},"map_files_photo_id_array":[{"photo_id":"1328261780","filename":"file2"},{"photo_id":"1328261779","filename":"file1"},{"photo_id":"1328261778","filename":"file0"},{"photo_id":"1328261783","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328261779":["hashtag1","hashtag2"]},{"1328261778":["hashtag1","hashtag2"]},{"1328261783":["hashtag1","hashtag2"]},{"1328261780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328261779, 1328261778, 1328261783, 1328261780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.242475271224976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:02:22.278157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/01/image_11012025_22_01_02_226507_0003.jpg', '/home/pi/Desktop/images/11012025/22/02/image_11012025_22_02_02_407635_0000.jpg', '/home/pi/Desktop/images/11012025/22/02/image_11012025_22_02_02_407635_0001.jpg', '/home/pi/Desktop/images/11012025/22/02/image_11012025_22_02_02_407635_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/01/image_11012025_22_01_02_226507_0003.jpg
/home/pi/Desktop/images/11012025/22/02/image_11012025_22_02_02_407635_0000.jpg
/home/pi/Desktop/images/11012025/22/02/image_11012025_22_02_02_407635_0001.jpg
/home/pi/Desktop/images/11012025/22/02/image_11012025_22_02_02_407635_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328261801","1328261799","1328261802","1328261795"],"photo_ids_order":["1328261795","1328261799","1328261801","1328261802"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/866b46425f822677dcbb6bef5779dfab.jpg","text":"TemporaryFile(/tmp/multipartBody2838823238887614070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629412411,"filename":"image_11012025_22_02_02_407635_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/da22938993d698f5924394960de4e7f5.jpg","text":"TemporaryFile(/tmp/multipartBody7569335313508052534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629412411,"filename":"image_11012025_22_02_02_407635_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e4b1a5ee5fd14da1a7fc9e772cd4f1b5.jpg","text":"TemporaryFile(/tmp/multipartBody8962656931538486804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629412411,"filename":"image_11012025_22_02_02_407635_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d0ebdbb62b8bf3fe04d17b42d8ccf078.jpg","text":"TemporaryFile(/tmp/multipartBody8716926419854418477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629412411,"filename":"image_11012025_22_01_02_226507_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328261801","file1":"1328261799","file0":"1328261795","file3":"1328261802"},"map_files_photo_id_array":[{"photo_id":"1328261801","filename":"file2"},{"photo_id":"1328261799","filename":"file1"},{"photo_id":"1328261795","filename":"file0"},{"photo_id":"1328261802","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328261801":["hashtag1","hashtag2"]},{"1328261799":["hashtag1","hashtag2"]},{"1328261802":["hashtag1","hashtag2"]},{"1328261795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328261801, 1328261799, 1328261802, 1328261795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.59193396568298 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:03:22.667475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/02/image_11012025_22_02_02_407635_0003.jpg', '/home/pi/Desktop/images/11012025/22/03/image_11012025_22_03_02_613679_0000.jpg', '/home/pi/Desktop/images/11012025/22/03/image_11012025_22_03_02_613679_0001.jpg', '/home/pi/Desktop/images/11012025/22/03/image_11012025_22_03_02_613679_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/02/image_11012025_22_02_02_407635_0003.jpg
/home/pi/Desktop/images/11012025/22/03/image_11012025_22_03_02_613679_0000.jpg
/home/pi/Desktop/images/11012025/22/03/image_11012025_22_03_02_613679_0001.jpg
/home/pi/Desktop/images/11012025/22/03/image_11012025_22_03_02_613679_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328262564","1328262726","1328262566","1328262598"],"photo_ids_order":["1328262564","1328262566","1328262598","1328262726"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1f3d9d8ba4734a488909537635c70376.jpg","text":"TemporaryFile(/tmp/multipartBody2882005560185894980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629472940,"filename":"image_11012025_22_02_02_407635_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a72278c7cffd514ca24b13595eaf3cc6.jpg","text":"TemporaryFile(/tmp/multipartBody6504277831680152041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629472940,"filename":"image_11012025_22_03_02_613679_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ccc125096f02649f9e2600d004f92a94.jpg","text":"TemporaryFile(/tmp/multipartBody4429098079434856673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629472940,"filename":"image_11012025_22_03_02_613679_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f417a27aa4863fcd48f8ae30ad6fe0f2.jpg","text":"TemporaryFile(/tmp/multipartBody2221858287700683589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629472940,"filename":"image_11012025_22_03_02_613679_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328262598","file1":"1328262566","file0":"1328262564","file3":"1328262726"},"map_files_photo_id_array":[{"photo_id":"1328262598","filename":"file2"},{"photo_id":"1328262566","filename":"file1"},{"photo_id":"1328262564","filename":"file0"},{"photo_id":"1328262726","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328262564":["hashtag1","hashtag2"]},{"1328262726":["hashtag1","hashtag2"]},{"1328262566":["hashtag1","hashtag2"]},{"1328262598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328262564, 1328262726, 1328262566, 1328262598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.00315022468567 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:04:22.625286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/03/image_11012025_22_03_02_613679_0003.jpg', '/home/pi/Desktop/images/11012025/22/04/image_11012025_22_04_02_834632_0000.jpg', '/home/pi/Desktop/images/11012025/22/04/image_11012025_22_04_02_834632_0001.jpg', '/home/pi/Desktop/images/11012025/22/04/image_11012025_22_04_02_834632_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/03/image_11012025_22_03_02_613679_0003.jpg
/home/pi/Desktop/images/11012025/22/04/image_11012025_22_04_02_834632_0000.jpg
/home/pi/Desktop/images/11012025/22/04/image_11012025_22_04_02_834632_0001.jpg
/home/pi/Desktop/images/11012025/22/04/image_11012025_22_04_02_834632_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328262798","1328262792","1328262795","1328262799"],"photo_ids_order":["1328262792","1328262795","1328262798","1328262799"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c69c7b24312b97e9c5fc517625fa34d0.jpg","text":"TemporaryFile(/tmp/multipartBody7944885116722094415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629532895,"filename":"image_11012025_22_04_02_834632_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/53b5cc29991b500a2d9739bc42be1123.jpg","text":"TemporaryFile(/tmp/multipartBody6862081910113823673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629532895,"filename":"image_11012025_22_03_02_613679_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/93e10d6475168a3585775fc47f80a6e8.jpg","text":"TemporaryFile(/tmp/multipartBody6198456268428277415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629532895,"filename":"image_11012025_22_04_02_834632_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d75e79a1caeeefc74ae182a91a314e19.jpg","text":"TemporaryFile(/tmp/multipartBody7342853988147686665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629532895,"filename":"image_11012025_22_04_02_834632_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328262798","file1":"1328262795","file0":"1328262792","file3":"1328262799"},"map_files_photo_id_array":[{"photo_id":"1328262798","filename":"file2"},{"photo_id":"1328262795","filename":"file1"},{"photo_id":"1328262792","filename":"file0"},{"photo_id":"1328262799","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328262798":["hashtag1","hashtag2"]},{"1328262792":["hashtag1","hashtag2"]},{"1328262795":["hashtag1","hashtag2"]},{"1328262799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328262798, 1328262792, 1328262795, 1328262799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.18506741523743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:05:21.798789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/04/image_11012025_22_04_02_834632_0003.jpg', '/home/pi/Desktop/images/11012025/22/05/image_11012025_22_05_03_002202_0000.jpg', '/home/pi/Desktop/images/11012025/22/05/image_11012025_22_05_03_002202_0001.jpg', '/home/pi/Desktop/images/11012025/22/05/image_11012025_22_05_03_002202_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/04/image_11012025_22_04_02_834632_0003.jpg
/home/pi/Desktop/images/11012025/22/05/image_11012025_22_05_03_002202_0000.jpg
/home/pi/Desktop/images/11012025/22/05/image_11012025_22_05_03_002202_0001.jpg
/home/pi/Desktop/images/11012025/22/05/image_11012025_22_05_03_002202_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328262817","1328262814","1328262819","1328262810"],"photo_ids_order":["1328262810","1328262814","1328262817","1328262819"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/955229c74e845b0bcc45cc9830959864.jpg","text":"TemporaryFile(/tmp/multipartBody2994594581968852948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629592071,"filename":"image_11012025_22_05_03_002202_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/26f15294ed4d54c4c0f8ef81665c49f0.jpg","text":"TemporaryFile(/tmp/multipartBody8505260032246592736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629592071,"filename":"image_11012025_22_05_03_002202_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bb48a90dd11c8328ef31d62e61bf7d62.jpg","text":"TemporaryFile(/tmp/multipartBody7822564186395201933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629592071,"filename":"image_11012025_22_05_03_002202_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0eacc2812d5742c8b97e208eed421ccc.jpg","text":"TemporaryFile(/tmp/multipartBody6466599907725610462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629592071,"filename":"image_11012025_22_04_02_834632_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328262817","file1":"1328262814","file0":"1328262810","file3":"1328262819"},"map_files_photo_id_array":[{"photo_id":"1328262817","filename":"file2"},{"photo_id":"1328262814","filename":"file1"},{"photo_id":"1328262810","filename":"file0"},{"photo_id":"1328262819","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328262817":["hashtag1","hashtag2"]},{"1328262814":["hashtag1","hashtag2"]},{"1328262819":["hashtag1","hashtag2"]},{"1328262810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328262817, 1328262814, 1328262819, 1328262810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.93985652923584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:06:02.476222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:06:21.934560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/05/image_11012025_22_05_03_002202_0003.jpg', '/home/pi/Desktop/images/11012025/22/06/image_11012025_22_06_02_134613_0000.jpg', '/home/pi/Desktop/images/11012025/22/06/image_11012025_22_06_02_134613_0001.jpg', '/home/pi/Desktop/images/11012025/22/06/image_11012025_22_06_02_134613_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/05/image_11012025_22_05_03_002202_0003.jpg
/home/pi/Desktop/images/11012025/22/06/image_11012025_22_06_02_134613_0000.jpg
/home/pi/Desktop/images/11012025/22/06/image_11012025_22_06_02_134613_0001.jpg
/home/pi/Desktop/images/11012025/22/06/image_11012025_22_06_02_134613_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328262999","1328263005","1328263001","1328263003"],"photo_ids_order":["1328262999","1328263001","1328263003","1328263005"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6990d70abdc1f8a777a8ba62bd949736.jpg","text":"TemporaryFile(/tmp/multipartBody4223429302267140715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629652077,"filename":"image_11012025_22_05_03_002202_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ff68d082e3793511e8369b5cc4ac6fb5.jpg","text":"TemporaryFile(/tmp/multipartBody1193982131846154422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629652077,"filename":"image_11012025_22_06_02_134613_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/30d5c7c911f0ef017af75e1121c8cce4.jpg","text":"TemporaryFile(/tmp/multipartBody6964885180986960796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629652077,"filename":"image_11012025_22_06_02_134613_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/13fb00366f09a56c01666993a6cb7998.jpg","text":"TemporaryFile(/tmp/multipartBody5482193344753480227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629652077,"filename":"image_11012025_22_06_02_134613_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328263003","file1":"1328263001","file0":"1328262999","file3":"1328263005"},"map_files_photo_id_array":[{"photo_id":"1328263003","filename":"file2"},{"photo_id":"1328263001","filename":"file1"},{"photo_id":"1328262999","filename":"file0"},{"photo_id":"1328263005","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328262999":["hashtag1","hashtag2"]},{"1328263005":["hashtag1","hashtag2"]},{"1328263001":["hashtag1","hashtag2"]},{"1328263003":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328262999, 1328263005, 1328263001, 1328263003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.555697441101074 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-11 22:07:22.214061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/06/image_11012025_22_06_02_134613_0003.jpg', '/home/pi/Desktop/images/11012025/22/07/image_11012025_22_07_02_369446_0000.jpg', '/home/pi/Desktop/images/11012025/22/07/image_11012025_22_07_02_369446_0001.jpg', '/home/pi/Desktop/images/11012025/22/07/image_11012025_22_07_02_369446_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/06/image_11012025_22_06_02_134613_0003.jpg
/home/pi/Desktop/images/11012025/22/07/image_11012025_22_07_02_369446_0000.jpg
/home/pi/Desktop/images/11012025/22/07/image_11012025_22_07_02_369446_0001.jpg
/home/pi/Desktop/images/11012025/22/07/image_11012025_22_07_02_369446_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328263017","1328263019","1328263022","1328263024"],"photo_ids_order":["1328263017","1328263019","1328263022","1328263024"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5982ab3659344fd83c1f739c016dbfdd.jpg","text":"TemporaryFile(/tmp/multipartBody1004544115230453422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629712388,"filename":"image_11012025_22_06_02_134613_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e8e07cb640515c2965c480273ecae57a.jpg","text":"TemporaryFile(/tmp/multipartBody896345687800582879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629712388,"filename":"image_11012025_22_07_02_369446_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/82636a99cf8be590e49dc83536d75682.jpg","text":"TemporaryFile(/tmp/multipartBody7484766450537048788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629712388,"filename":"image_11012025_22_07_02_369446_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5617fe69ccd39516fedc035116bb0bbe.jpg","text":"TemporaryFile(/tmp/multipartBody7910815187864944415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629712388,"filename":"image_11012025_22_07_02_369446_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328263022","file1":"1328263019","file0":"1328263017","file3":"1328263024"},"map_files_photo_id_array":[{"photo_id":"1328263022","filename":"file2"},{"photo_id":"1328263019","filename":"file1"},{"photo_id":"1328263017","filename":"file0"},{"photo_id":"1328263024","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328263017":["hashtag1","hashtag2"]},{"1328263019":["hashtag1","hashtag2"]},{"1328263022":["hashtag1","hashtag2"]},{"1328263024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328263017, 1328263019, 1328263022, 1328263024)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.745662689208984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:08:22.367495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/07/image_11012025_22_07_02_369446_0003.jpg', '/home/pi/Desktop/images/11012025/22/08/image_11012025_22_08_02_549597_0000.jpg', '/home/pi/Desktop/images/11012025/22/08/image_11012025_22_08_02_549597_0001.jpg', '/home/pi/Desktop/images/11012025/22/08/image_11012025_22_08_02_549597_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/07/image_11012025_22_07_02_369446_0003.jpg
/home/pi/Desktop/images/11012025/22/08/image_11012025_22_08_02_549597_0000.jpg
/home/pi/Desktop/images/11012025/22/08/image_11012025_22_08_02_549597_0001.jpg
/home/pi/Desktop/images/11012025/22/08/image_11012025_22_08_02_549597_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328263038","1328263037","1328263040","1328263042"],"photo_ids_order":["1328263037","1328263038","1328263040","1328263042"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f908d34b1dc8f3e21406c12fa7508ac7.jpg","text":"TemporaryFile(/tmp/multipartBody2985030696048926713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629772574,"filename":"image_11012025_22_08_02_549597_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ce1258527dce0c848a0a61062015f656.jpg","text":"TemporaryFile(/tmp/multipartBody8659511473572988245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629772574,"filename":"image_11012025_22_07_02_369446_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6e78424a5837d3f68211a43e780a401d.jpg","text":"TemporaryFile(/tmp/multipartBody5695952582858008651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629772574,"filename":"image_11012025_22_08_02_549597_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d8831d010c7b59726791146532edae4f.jpg","text":"TemporaryFile(/tmp/multipartBody6071335618327297448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629772574,"filename":"image_11012025_22_08_02_549597_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328263040","file1":"1328263038","file0":"1328263037","file3":"1328263042"},"map_files_photo_id_array":[{"photo_id":"1328263040","filename":"file2"},{"photo_id":"1328263038","filename":"file1"},{"photo_id":"1328263037","filename":"file0"},{"photo_id":"1328263042","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328263038":["hashtag1","hashtag2"]},{"1328263037":["hashtag1","hashtag2"]},{"1328263040":["hashtag1","hashtag2"]},{"1328263042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328263038, 1328263037, 1328263040, 1328263042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.78940725326538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:09:02.904361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:09:22.557840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/08/image_11012025_22_08_02_549597_0003.jpg', '/home/pi/Desktop/images/11012025/22/09/image_11012025_22_09_02_712016_0000.jpg', '/home/pi/Desktop/images/11012025/22/09/image_11012025_22_09_02_712016_0001.jpg', '/home/pi/Desktop/images/11012025/22/09/image_11012025_22_09_02_712016_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/08/image_11012025_22_08_02_549597_0003.jpg
/home/pi/Desktop/images/11012025/22/09/image_11012025_22_09_02_712016_0000.jpg
/home/pi/Desktop/images/11012025/22/09/image_11012025_22_09_02_712016_0001.jpg
/home/pi/Desktop/images/11012025/22/09/image_11012025_22_09_02_712016_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328263065","1328263058","1328263052","1328263054"],"photo_ids_order":["1328263052","1328263054","1328263058","1328263065"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2bf72d2b7ae3191dc3a9758da8baeb63.jpg","text":"TemporaryFile(/tmp/multipartBody79401994195601223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629832742,"filename":"image_11012025_22_09_02_712016_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/13e2ce61e7a3bbd21a88f2886a492807.jpg","text":"TemporaryFile(/tmp/multipartBody3879803446996306076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629832742,"filename":"image_11012025_22_09_02_712016_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/92aac0425cb8d5a50ef13bf65e7e636a.jpg","text":"TemporaryFile(/tmp/multipartBody2951715210313820877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629832742,"filename":"image_11012025_22_08_02_549597_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d9e2b3ff6289764aefd49fde2b536581.jpg","text":"TemporaryFile(/tmp/multipartBody4784688149495117891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629832742,"filename":"image_11012025_22_09_02_712016_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328263058","file1":"1328263054","file0":"1328263052","file3":"1328263065"},"map_files_photo_id_array":[{"photo_id":"1328263058","filename":"file2"},{"photo_id":"1328263054","filename":"file1"},{"photo_id":"1328263052","filename":"file0"},{"photo_id":"1328263065","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328263065":["hashtag1","hashtag2"]},{"1328263058":["hashtag1","hashtag2"]},{"1328263052":["hashtag1","hashtag2"]},{"1328263054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328263065, 1328263058, 1328263052, 1328263054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.794291496276855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:10:22.729508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/09/image_11012025_22_09_02_712016_0003.jpg', '/home/pi/Desktop/images/11012025/22/10/image_11012025_22_10_02_812655_0000.jpg', '/home/pi/Desktop/images/11012025/22/10/image_11012025_22_10_02_812655_0001.jpg', '/home/pi/Desktop/images/11012025/22/10/image_11012025_22_10_02_812655_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/09/image_11012025_22_09_02_712016_0003.jpg
/home/pi/Desktop/images/11012025/22/10/image_11012025_22_10_02_812655_0000.jpg
/home/pi/Desktop/images/11012025/22/10/image_11012025_22_10_02_812655_0001.jpg
/home/pi/Desktop/images/11012025/22/10/image_11012025_22_10_02_812655_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328263101","1328263097","1328263100","1328263102"],"photo_ids_order":["1328263097","1328263100","1328263101","1328263102"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ad7eb6818bcf3f7b7d7d0e56b710c966.jpg","text":"TemporaryFile(/tmp/multipartBody1369828771052559990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629892910,"filename":"image_11012025_22_10_02_812655_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d5d706627e463c57f023ff84a6525c76.jpg","text":"TemporaryFile(/tmp/multipartBody7179308222639814328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629892910,"filename":"image_11012025_22_09_02_712016_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b4b5b1b16bcdf591a4ca10c4fdac1d3e.jpg","text":"TemporaryFile(/tmp/multipartBody2628666808751461424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629892910,"filename":"image_11012025_22_10_02_812655_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fe9606b3a14e6dc979b20d0b0e1ea666.jpg","text":"TemporaryFile(/tmp/multipartBody336167058059400418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629892910,"filename":"image_11012025_22_10_02_812655_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328263101","file1":"1328263100","file0":"1328263097","file3":"1328263102"},"map_files_photo_id_array":[{"photo_id":"1328263101","filename":"file2"},{"photo_id":"1328263100","filename":"file1"},{"photo_id":"1328263097","filename":"file0"},{"photo_id":"1328263102","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328263101":["hashtag1","hashtag2"]},{"1328263097":["hashtag1","hashtag2"]},{"1328263100":["hashtag1","hashtag2"]},{"1328263102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328263101, 1328263097, 1328263100, 1328263102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.69614577293396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:11:22.064344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/10/image_11012025_22_10_02_812655_0003.jpg', '/home/pi/Desktop/images/11012025/22/11/image_11012025_22_11_03_107858_0000.jpg', '/home/pi/Desktop/images/11012025/22/11/image_11012025_22_11_03_107858_0001.jpg', '/home/pi/Desktop/images/11012025/22/11/image_11012025_22_11_03_107858_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/10/image_11012025_22_10_02_812655_0003.jpg
/home/pi/Desktop/images/11012025/22/11/image_11012025_22_11_03_107858_0000.jpg
/home/pi/Desktop/images/11012025/22/11/image_11012025_22_11_03_107858_0001.jpg
/home/pi/Desktop/images/11012025/22/11/image_11012025_22_11_03_107858_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328263118","1328263121","1328263115","1328263120"],"photo_ids_order":["1328263115","1328263118","1328263120","1328263121"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7b3d7618dfeec81e923beef636e93f03.jpg","text":"TemporaryFile(/tmp/multipartBody3707651150081713868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629952339,"filename":"image_11012025_22_11_03_107858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1ea9d6dc68dc44061398f9c314ab5cc2.jpg","text":"TemporaryFile(/tmp/multipartBody4981147335363017046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629952339,"filename":"image_11012025_22_11_03_107858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5982393db7b77c1e280f22b338d279a2.jpg","text":"TemporaryFile(/tmp/multipartBody4551439232159235047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629952339,"filename":"image_11012025_22_10_02_812655_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c7f1f3c20c41c16091a8f402c102c0ab.jpg","text":"TemporaryFile(/tmp/multipartBody7123338480586161310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736629952339,"filename":"image_11012025_22_11_03_107858_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328263120","file1":"1328263118","file0":"1328263115","file3":"1328263121"},"map_files_photo_id_array":[{"photo_id":"1328263120","filename":"file2"},{"photo_id":"1328263118","filename":"file1"},{"photo_id":"1328263115","filename":"file0"},{"photo_id":"1328263121","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328263118":["hashtag1","hashtag2"]},{"1328263121":["hashtag1","hashtag2"]},{"1328263115":["hashtag1","hashtag2"]},{"1328263120":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328263118, 1328263121, 1328263115, 1328263120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.13101506233215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:12:02.424988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:12:22.085263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/11/image_11012025_22_11_03_107858_0003.jpg', '/home/pi/Desktop/images/11012025/22/12/image_11012025_22_12_02_323188_0000.jpg', '/home/pi/Desktop/images/11012025/22/12/image_11012025_22_12_02_323188_0001.jpg', '/home/pi/Desktop/images/11012025/22/12/image_11012025_22_12_02_323188_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/11/image_11012025_22_11_03_107858_0003.jpg
/home/pi/Desktop/images/11012025/22/12/image_11012025_22_12_02_323188_0000.jpg
/home/pi/Desktop/images/11012025/22/12/image_11012025_22_12_02_323188_0001.jpg
/home/pi/Desktop/images/11012025/22/12/image_11012025_22_12_02_323188_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328263128","1328263136","1328263130","1328263133"],"photo_ids_order":["1328263128","1328263130","1328263133","1328263136"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/498fce59ab942da5ece7d7bea31ac9e2.jpg","text":"TemporaryFile(/tmp/multipartBody7548244376022718927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630012310,"filename":"image_11012025_22_11_03_107858_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d68d652be12e52c8523b0fdb9797464e.jpg","text":"TemporaryFile(/tmp/multipartBody3826462336336268208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630012310,"filename":"image_11012025_22_12_02_323188_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bb1822f45ae66ad93f30c3396a87d780.jpg","text":"TemporaryFile(/tmp/multipartBody7327877256905015526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630012310,"filename":"image_11012025_22_12_02_323188_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/70085604870d7633d3ac7eb54957a57a.jpg","text":"TemporaryFile(/tmp/multipartBody7047278675197668965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630012310,"filename":"image_11012025_22_12_02_323188_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328263133","file1":"1328263130","file0":"1328263128","file3":"1328263136"},"map_files_photo_id_array":[{"photo_id":"1328263133","filename":"file2"},{"photo_id":"1328263130","filename":"file1"},{"photo_id":"1328263128","filename":"file0"},{"photo_id":"1328263136","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328263128":["hashtag1","hashtag2"]},{"1328263136":["hashtag1","hashtag2"]},{"1328263130":["hashtag1","hashtag2"]},{"1328263133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328263128, 1328263136, 1328263130, 1328263133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62093734741211 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:13:02.829170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:13:22.356747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/12/image_11012025_22_12_02_323188_0003.jpg', '/home/pi/Desktop/images/11012025/22/13/image_11012025_22_13_02_502426_0000.jpg', '/home/pi/Desktop/images/11012025/22/13/image_11012025_22_13_02_502426_0001.jpg', '/home/pi/Desktop/images/11012025/22/13/image_11012025_22_13_02_502426_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/12/image_11012025_22_12_02_323188_0003.jpg
/home/pi/Desktop/images/11012025/22/13/image_11012025_22_13_02_502426_0000.jpg
/home/pi/Desktop/images/11012025/22/13/image_11012025_22_13_02_502426_0001.jpg
/home/pi/Desktop/images/11012025/22/13/image_11012025_22_13_02_502426_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328263188","1328263218","1328263220","1328263192"],"photo_ids_order":["1328263188","1328263192","1328263218","1328263220"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/34dd768aed950b26a133d07f9f23e61a.jpg","text":"TemporaryFile(/tmp/multipartBody7740987978600761122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630072483,"filename":"image_11012025_22_12_02_323188_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b25ee9f1f97893a6205424d004c50674.jpg","text":"TemporaryFile(/tmp/multipartBody1138754805313941396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630072483,"filename":"image_11012025_22_13_02_502426_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6b0276e0f70449b486dae11d983b9a95.jpg","text":"TemporaryFile(/tmp/multipartBody1508974291850571298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630072483,"filename":"image_11012025_22_13_02_502426_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2a4ec74634445fcda5fcfe3b9b693d90.jpg","text":"TemporaryFile(/tmp/multipartBody1810009250269070382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630072483,"filename":"image_11012025_22_13_02_502426_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328263218","file1":"1328263192","file0":"1328263188","file3":"1328263220"},"map_files_photo_id_array":[{"photo_id":"1328263218","filename":"file2"},{"photo_id":"1328263192","filename":"file1"},{"photo_id":"1328263188","filename":"file0"},{"photo_id":"1328263220","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328263188":["hashtag1","hashtag2"]},{"1328263218":["hashtag1","hashtag2"]},{"1328263220":["hashtag1","hashtag2"]},{"1328263192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328263188, 1328263218, 1328263220, 1328263192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.743648052215576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:14:22.467164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/13/image_11012025_22_13_02_502426_0003.jpg', '/home/pi/Desktop/images/11012025/22/14/image_11012025_22_14_02_668276_0000.jpg', '/home/pi/Desktop/images/11012025/22/14/image_11012025_22_14_02_668276_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/13/image_11012025_22_13_02_502426_0003.jpg
/home/pi/Desktop/images/11012025/22/14/image_11012025_22_14_02_668276_0000.jpg
/home/pi/Desktop/images/11012025/22/14/image_11012025_22_14_02_668276_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328263271","1328263277","1328263279"],"photo_ids_order":["1328263271","1328263277","1328263279"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8da099003b241bcff54693cf8c287695.jpg","text":"TemporaryFile(/tmp/multipartBody7344710092894290754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630130313,"filename":"image_11012025_22_13_02_502426_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/22c1595a2743034a862ba76b29c47650.jpg","text":"TemporaryFile(/tmp/multipartBody5215322131628183562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630130313,"filename":"image_11012025_22_14_02_668276_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cd413842a0de456932de8e71db3a017e.jpg","text":"TemporaryFile(/tmp/multipartBody8433879575227675881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630130313,"filename":"image_11012025_22_14_02_668276_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328263279","file1":"1328263277","file0":"1328263271"},"map_files_photo_id_array":[{"photo_id":"1328263279","filename":"file2"},{"photo_id":"1328263277","filename":"file1"},{"photo_id":"1328263271","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328263271":["hashtag1","hashtag2"]},{"1328263277":["hashtag1","hashtag2"]},{"1328263279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328263271, 1328263277, 1328263279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.08314561843872 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:15:03.184266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:15:22.539071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/14/image_11012025_22_14_02_668276_0003.jpg', '/home/pi/Desktop/images/11012025/22/15/image_11012025_22_15_02_807419_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/14/image_11012025_22_14_02_668276_0003.jpg
/home/pi/Desktop/images/11012025/22/15/image_11012025_22_15_02_807419_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":["1328263332","1328263331"],"photo_ids_order":["1328263331","1328263332"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c72c37f41bcf17e933b55d286ae67039.jpg","text":"TemporaryFile(/tmp/multipartBody8681108877776123899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630188158,"filename":"image_11012025_22_15_02_807419_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0d3b241f2a93d6be5e29dcf52e26e601.jpg","text":"TemporaryFile(/tmp/multipartBody6000347885147287250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630188158,"filename":"image_11012025_22_14_02_668276_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328263332","file0":"1328263331"},"map_files_photo_id_array":[{"photo_id":"1328263332","filename":"file1"},{"photo_id":"1328263331","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328263332":["hashtag1","hashtag2"]},{"1328263331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328263332, 1328263331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.315484762191772 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 22:15:52.581211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:16:02.227617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:16:21.780327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/15/image_11012025_22_15_02_807419_0001.jpg', '/home/pi/Desktop/images/11012025/22/16/image_11012025_22_16_03_052241_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/15/image_11012025_22_15_02_807419_0001.jpg
/home/pi/Desktop/images/11012025/22/16/image_11012025_22_16_03_052241_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328263365","1328263366"],"photo_ids_order":["1328263365","1328263366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0f3ba0192a8ba1450f66dec653dfb089.jpg","text":"TemporaryFile(/tmp/multipartBody5149006011624458102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630247400,"filename":"image_11012025_22_15_02_807419_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b1a393d1439891b492ec40c314cf9bff.jpg","text":"TemporaryFile(/tmp/multipartBody8443888086936566288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630247400,"filename":"image_11012025_22_16_03_052241_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328263366","file0":"1328263365"},"map_files_photo_id_array":[{"photo_id":"1328263366","filename":"file1"},{"photo_id":"1328263365","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328263365":["hashtag1","hashtag2"]},{"1328263366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328263365, 1328263366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.835182905197144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 22:16:51.793929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:17:02.642911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:17:21.976973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/16/image_11012025_22_16_03_052241_0003.jpg', '/home/pi/Desktop/images/11012025/22/17/image_11012025_22_17_02_139135_0001.jpg', '/home/pi/Desktop/images/11012025/22/17/image_11012025_22_17_02_139135_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/16/image_11012025_22_16_03_052241_0003.jpg
/home/pi/Desktop/images/11012025/22/17/image_11012025_22_17_02_139135_0001.jpg
/home/pi/Desktop/images/11012025/22/17/image_11012025_22_17_02_139135_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328263676","1328263394","1328264044"],"photo_ids_order":["1328263394","1328263676","1328264044"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7446bd1d7f031fbc6a75f81a9b61d238.jpg","text":"TemporaryFile(/tmp/multipartBody4849056432685021143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630310065,"filename":"image_11012025_22_17_02_139135_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/46b688192b2982412cf06f62c70287c3.jpg","text":"TemporaryFile(/tmp/multipartBody8022867222721333761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630310065,"filename":"image_11012025_22_16_03_052241_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e9733cce8e561676a7fa9e3e069cc0f4.jpg","text":"TemporaryFile(/tmp/multipartBody5265203637384632990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630310065,"filename":"image_11012025_22_17_02_139135_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328264044","file1":"1328263676","file0":"1328263394"},"map_files_photo_id_array":[{"photo_id":"1328264044","filename":"file2"},{"photo_id":"1328263676","filename":"file1"},{"photo_id":"1328263394","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328263676":["hashtag1","hashtag2"]},{"1328263394":["hashtag1","hashtag2"]},{"1328264044":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328263676, 1328263394, 1328264044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.156527519226074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:18:02.512836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:18:22.191337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/17/image_11012025_22_17_02_139135_0003.jpg', '/home/pi/Desktop/images/11012025/22/18/image_11012025_22_18_02_418385_0000.jpg', '/home/pi/Desktop/images/11012025/22/18/image_11012025_22_18_02_418385_0001.jpg', '/home/pi/Desktop/images/11012025/22/18/image_11012025_22_18_02_418385_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/17/image_11012025_22_17_02_139135_0003.jpg
/home/pi/Desktop/images/11012025/22/18/image_11012025_22_18_02_418385_0000.jpg
/home/pi/Desktop/images/11012025/22/18/image_11012025_22_18_02_418385_0001.jpg
/home/pi/Desktop/images/11012025/22/18/image_11012025_22_18_02_418385_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328264321","1328264303","1328264338","1328264314"],"photo_ids_order":["1328264303","1328264314","1328264321","1328264338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2b4f16315a5112a2d04991a81471a75f.jpg","text":"TemporaryFile(/tmp/multipartBody7339958153890508918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630372730,"filename":"image_11012025_22_18_02_418385_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cae80787bbf5f8c325c800f0d77867bf.jpg","text":"TemporaryFile(/tmp/multipartBody8076531832804689367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630372730,"filename":"image_11012025_22_17_02_139135_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0dc966d3da4c682887b6d7d0848dc1a2.jpg","text":"TemporaryFile(/tmp/multipartBody2226514381270890325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630372730,"filename":"image_11012025_22_18_02_418385_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1a1a5311e1a971bc89aa864b13992803.jpg","text":"TemporaryFile(/tmp/multipartBody2274684203428049087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630372730,"filename":"image_11012025_22_18_02_418385_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328264321","file1":"1328264314","file0":"1328264303","file3":"1328264338"},"map_files_photo_id_array":[{"photo_id":"1328264321","filename":"file2"},{"photo_id":"1328264314","filename":"file1"},{"photo_id":"1328264303","filename":"file0"},{"photo_id":"1328264338","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328264321":["hashtag1","hashtag2"]},{"1328264303":["hashtag1","hashtag2"]},{"1328264338":["hashtag1","hashtag2"]},{"1328264314":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328264321, 1328264303, 1328264338, 1328264314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.66983509063721 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:19:22.378835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/18/image_11012025_22_18_02_418385_0003.jpg', '/home/pi/Desktop/images/11012025/22/19/image_11012025_22_19_02_638221_0000.jpg', '/home/pi/Desktop/images/11012025/22/19/image_11012025_22_19_02_638221_0001.jpg', '/home/pi/Desktop/images/11012025/22/19/image_11012025_22_19_02_638221_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/18/image_11012025_22_18_02_418385_0003.jpg
/home/pi/Desktop/images/11012025/22/19/image_11012025_22_19_02_638221_0000.jpg
/home/pi/Desktop/images/11012025/22/19/image_11012025_22_19_02_638221_0001.jpg
/home/pi/Desktop/images/11012025/22/19/image_11012025_22_19_02_638221_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328264479","1328264488","1328264490","1328264445"],"photo_ids_order":["1328264445","1328264479","1328264488","1328264490"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0b5a37a60afa79443e5c3ab3a8996533.jpg","text":"TemporaryFile(/tmp/multipartBody275660916304774241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630432852,"filename":"image_11012025_22_19_02_638221_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e842bf62ef9f4a5b9381cb71a2f3b1b5.jpg","text":"TemporaryFile(/tmp/multipartBody4688966505913100039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630432852,"filename":"image_11012025_22_19_02_638221_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f09f0d10579043e6de729634b77fb1b8.jpg","text":"TemporaryFile(/tmp/multipartBody6122400555768973589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630432852,"filename":"image_11012025_22_19_02_638221_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7b290d7c848e527a0440dc81ddc2e812.jpg","text":"TemporaryFile(/tmp/multipartBody4822431564474331509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630432852,"filename":"image_11012025_22_18_02_418385_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328264488","file1":"1328264479","file0":"1328264445","file3":"1328264490"},"map_files_photo_id_array":[{"photo_id":"1328264488","filename":"file2"},{"photo_id":"1328264479","filename":"file1"},{"photo_id":"1328264445","filename":"file0"},{"photo_id":"1328264490","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328264479":["hashtag1","hashtag2"]},{"1328264488":["hashtag1","hashtag2"]},{"1328264490":["hashtag1","hashtag2"]},{"1328264445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328264479, 1328264488, 1328264490, 1328264445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.071080446243286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:20:22.492626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/19/image_11012025_22_19_02_638221_0003.jpg', '/home/pi/Desktop/images/11012025/22/20/image_11012025_22_20_02_691636_0000.jpg', '/home/pi/Desktop/images/11012025/22/20/image_11012025_22_20_02_691636_0001.jpg', '/home/pi/Desktop/images/11012025/22/20/image_11012025_22_20_02_691636_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/19/image_11012025_22_19_02_638221_0003.jpg
/home/pi/Desktop/images/11012025/22/20/image_11012025_22_20_02_691636_0000.jpg
/home/pi/Desktop/images/11012025/22/20/image_11012025_22_20_02_691636_0001.jpg
/home/pi/Desktop/images/11012025/22/20/image_11012025_22_20_02_691636_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328264497","1328264503","1328264506","1328264500"],"photo_ids_order":["1328264497","1328264500","1328264503","1328264506"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/10796623831e706fcf486b77a1588098.jpg","text":"TemporaryFile(/tmp/multipartBody3340804888010666503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630492714,"filename":"image_11012025_22_19_02_638221_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bec8b9fa326475303830624b7c916a0e.jpg","text":"TemporaryFile(/tmp/multipartBody5215523648803856781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630492714,"filename":"image_11012025_22_20_02_691636_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/917700fa56161aa39fe4ae9c04586e31.jpg","text":"TemporaryFile(/tmp/multipartBody2309107887656693786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630492714,"filename":"image_11012025_22_20_02_691636_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c9167eac1c52dedef6ddb3bac380ba55.jpg","text":"TemporaryFile(/tmp/multipartBody889147340097321068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630492714,"filename":"image_11012025_22_20_02_691636_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328264503","file1":"1328264500","file0":"1328264497","file3":"1328264506"},"map_files_photo_id_array":[{"photo_id":"1328264503","filename":"file2"},{"photo_id":"1328264500","filename":"file1"},{"photo_id":"1328264497","filename":"file0"},{"photo_id":"1328264506","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328264497":["hashtag1","hashtag2"]},{"1328264503":["hashtag1","hashtag2"]},{"1328264506":["hashtag1","hashtag2"]},{"1328264500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328264497, 1328264503, 1328264506, 1328264500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.52561807632446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:21:03.369213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:21:22.706639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/20/image_11012025_22_20_02_691636_0003.jpg', '/home/pi/Desktop/images/11012025/22/21/image_11012025_22_21_02_916795_0000.jpg', '/home/pi/Desktop/images/11012025/22/21/image_11012025_22_21_02_916795_0001.jpg', '/home/pi/Desktop/images/11012025/22/21/image_11012025_22_21_02_916795_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/20/image_11012025_22_20_02_691636_0003.jpg
/home/pi/Desktop/images/11012025/22/21/image_11012025_22_21_02_916795_0000.jpg
/home/pi/Desktop/images/11012025/22/21/image_11012025_22_21_02_916795_0001.jpg
/home/pi/Desktop/images/11012025/22/21/image_11012025_22_21_02_916795_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328264528","1328264533","1328264515","1328264530"],"photo_ids_order":["1328264515","1328264528","1328264530","1328264533"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e45baea64196fc987fab03add73c67c5.jpg","text":"TemporaryFile(/tmp/multipartBody8658490077827476887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630553020,"filename":"image_11012025_22_21_02_916795_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/071e4f9b3c0fa045b6d9bbea61988fe5.jpg","text":"TemporaryFile(/tmp/multipartBody802524546175525828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630553020,"filename":"image_11012025_22_21_02_916795_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/57fc404802ae91f0ac8040a60efa0e34.jpg","text":"TemporaryFile(/tmp/multipartBody7468026375563213518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630553020,"filename":"image_11012025_22_20_02_691636_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d86aed5b818f3003ea239515e9e2557f.jpg","text":"TemporaryFile(/tmp/multipartBody4538643036020628013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630553020,"filename":"image_11012025_22_21_02_916795_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328264530","file1":"1328264528","file0":"1328264515","file3":"1328264533"},"map_files_photo_id_array":[{"photo_id":"1328264530","filename":"file2"},{"photo_id":"1328264528","filename":"file1"},{"photo_id":"1328264515","filename":"file0"},{"photo_id":"1328264533","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328264528":["hashtag1","hashtag2"]},{"1328264533":["hashtag1","hashtag2"]},{"1328264515":["hashtag1","hashtag2"]},{"1328264530":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328264528, 1328264533, 1328264515, 1328264530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.59752297401428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:22:21.878975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/21/image_11012025_22_21_02_916795_0003.jpg', '/home/pi/Desktop/images/11012025/22/22/image_11012025_22_22_03_114668_0000.jpg', '/home/pi/Desktop/images/11012025/22/22/image_11012025_22_22_03_114668_0001.jpg', '/home/pi/Desktop/images/11012025/22/22/image_11012025_22_22_03_114668_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/21/image_11012025_22_21_02_916795_0003.jpg
/home/pi/Desktop/images/11012025/22/22/image_11012025_22_22_03_114668_0000.jpg
/home/pi/Desktop/images/11012025/22/22/image_11012025_22_22_03_114668_0001.jpg
/home/pi/Desktop/images/11012025/22/22/image_11012025_22_22_03_114668_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328264549","1328264551","1328264548","1328264550"],"photo_ids_order":["1328264548","1328264549","1328264550","1328264551"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/48ecba2ecdf2dda1a8960d052c9a81f1.jpg","text":"TemporaryFile(/tmp/multipartBody6700924706767154196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630612174,"filename":"image_11012025_22_22_03_114668_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ba7a28bf6595402465ef44f28cdb13fa.jpg","text":"TemporaryFile(/tmp/multipartBody58197611147743133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630612174,"filename":"image_11012025_22_22_03_114668_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fa03462ef2182ea476bcaaad8ca87d03.jpg","text":"TemporaryFile(/tmp/multipartBody3448330384534249259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630612174,"filename":"image_11012025_22_21_02_916795_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c92fe623e0a7741c0e2bf0c4911eab94.jpg","text":"TemporaryFile(/tmp/multipartBody8131234201339756730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630612174,"filename":"image_11012025_22_22_03_114668_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328264550","file1":"1328264549","file0":"1328264548","file3":"1328264551"},"map_files_photo_id_array":[{"photo_id":"1328264550","filename":"file2"},{"photo_id":"1328264549","filename":"file1"},{"photo_id":"1328264548","filename":"file0"},{"photo_id":"1328264551","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328264549":["hashtag1","hashtag2"]},{"1328264551":["hashtag1","hashtag2"]},{"1328264548":["hashtag1","hashtag2"]},{"1328264550":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328264549, 1328264551, 1328264548, 1328264550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.09815263748169 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:23:02.699019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:23:21.950987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/22/image_11012025_22_22_03_114668_0003.jpg', '/home/pi/Desktop/images/11012025/22/23/image_11012025_22_23_02_243535_0000.jpg', '/home/pi/Desktop/images/11012025/22/23/image_11012025_22_23_02_243535_0001.jpg', '/home/pi/Desktop/images/11012025/22/23/image_11012025_22_23_02_243535_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/22/image_11012025_22_22_03_114668_0003.jpg
/home/pi/Desktop/images/11012025/22/23/image_11012025_22_23_02_243535_0000.jpg
/home/pi/Desktop/images/11012025/22/23/image_11012025_22_23_02_243535_0001.jpg
/home/pi/Desktop/images/11012025/22/23/image_11012025_22_23_02_243535_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328264567","1328264566","1328264563","1328264565"],"photo_ids_order":["1328264563","1328264565","1328264566","1328264567"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/236637e516e08297e3fff7c3ddd1f2fb.jpg","text":"TemporaryFile(/tmp/multipartBody566289307160212021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630672166,"filename":"image_11012025_22_23_02_243535_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/26de2c24efe08779354516cd99186cb1.jpg","text":"TemporaryFile(/tmp/multipartBody4657399165822991269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630672166,"filename":"image_11012025_22_23_02_243535_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8f65f99998930be95a4d57e81bebb5b2.jpg","text":"TemporaryFile(/tmp/multipartBody8472830469034089119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630672166,"filename":"image_11012025_22_22_03_114668_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5355f2a04e2d669ef0746fafeb214865.jpg","text":"TemporaryFile(/tmp/multipartBody380606702895576047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630672166,"filename":"image_11012025_22_23_02_243535_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328264566","file1":"1328264565","file0":"1328264563","file3":"1328264567"},"map_files_photo_id_array":[{"photo_id":"1328264566","filename":"file2"},{"photo_id":"1328264565","filename":"file1"},{"photo_id":"1328264563","filename":"file0"},{"photo_id":"1328264567","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328264567":["hashtag1","hashtag2"]},{"1328264566":["hashtag1","hashtag2"]},{"1328264563":["hashtag1","hashtag2"]},{"1328264565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328264567, 1328264566, 1328264563, 1328264565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.98758292198181 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:24:02.644528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:24:22.210054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/23/image_11012025_22_23_02_243535_0003.jpg', '/home/pi/Desktop/images/11012025/22/24/image_11012025_22_24_02_422476_0000.jpg', '/home/pi/Desktop/images/11012025/22/24/image_11012025_22_24_02_422476_0001.jpg', '/home/pi/Desktop/images/11012025/22/24/image_11012025_22_24_02_422476_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/23/image_11012025_22_23_02_243535_0003.jpg
/home/pi/Desktop/images/11012025/22/24/image_11012025_22_24_02_422476_0000.jpg
/home/pi/Desktop/images/11012025/22/24/image_11012025_22_24_02_422476_0001.jpg
/home/pi/Desktop/images/11012025/22/24/image_11012025_22_24_02_422476_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.819470167160034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 22:24:42.158500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/23/image_11012025_22_23_02_243535_0003.jpg', '/home/pi/Desktop/images/11012025/22/24/image_11012025_22_24_02_422476_0000.jpg', '/home/pi/Desktop/images/11012025/22/24/image_11012025_22_24_02_422476_0001.jpg', '/home/pi/Desktop/images/11012025/22/24/image_11012025_22_24_02_422476_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/23/image_11012025_22_23_02_243535_0003.jpg
/home/pi/Desktop/images/11012025/22/24/image_11012025_22_24_02_422476_0000.jpg
/home/pi/Desktop/images/11012025/22/24/image_11012025_22_24_02_422476_0001.jpg
/home/pi/Desktop/images/11012025/22/24/image_11012025_22_24_02_422476_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328264634","1328264633","1328264635","1328264637"],"photo_ids_order":["1328264633","1328264634","1328264635","1328264637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/32610d9dcc9573f357df2db41202dcd3.jpg","text":"TemporaryFile(/tmp/multipartBody6302079466732034277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630752378,"filename":"image_11012025_22_24_02_422476_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/643d55de3ca244b12f94a13f0e3d8f3e.jpg","text":"TemporaryFile(/tmp/multipartBody8280937849234425106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630752378,"filename":"image_11012025_22_23_02_243535_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/432c79ed5e9ae0a9b9b7916c37e7ebfa.jpg","text":"TemporaryFile(/tmp/multipartBody6651763408932753917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630752378,"filename":"image_11012025_22_24_02_422476_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1f74329fcdbf2f4b9bac7c1f1c37bb49.jpg","text":"TemporaryFile(/tmp/multipartBody8294769522986306626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630752378,"filename":"image_11012025_22_24_02_422476_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328264635","file1":"1328264634","file0":"1328264633","file3":"1328264637"},"map_files_photo_id_array":[{"photo_id":"1328264635","filename":"file2"},{"photo_id":"1328264634","filename":"file1"},{"photo_id":"1328264633","filename":"file0"},{"photo_id":"1328264637","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328264634":["hashtag1","hashtag2"]},{"1328264633":["hashtag1","hashtag2"]},{"1328264635":["hashtag1","hashtag2"]},{"1328264637":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328264634, 1328264633, 1328264635, 1328264637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.1893413066864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:25:22.342033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/24/image_11012025_22_24_02_422476_0003.jpg', '/home/pi/Desktop/images/11012025/22/25/image_11012025_22_25_02_507534_0000.jpg', '/home/pi/Desktop/images/11012025/22/25/image_11012025_22_25_02_507534_0001.jpg', '/home/pi/Desktop/images/11012025/22/25/image_11012025_22_25_02_507534_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/24/image_11012025_22_24_02_422476_0003.jpg
/home/pi/Desktop/images/11012025/22/25/image_11012025_22_25_02_507534_0000.jpg
/home/pi/Desktop/images/11012025/22/25/image_11012025_22_25_02_507534_0001.jpg
/home/pi/Desktop/images/11012025/22/25/image_11012025_22_25_02_507534_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328264735","1328264740","1328264737","1328264742"],"photo_ids_order":["1328264735","1328264737","1328264740","1328264742"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dfc5797f37eb35be560b64bfd41bc983.jpg","text":"TemporaryFile(/tmp/multipartBody7183181525732244783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630792572,"filename":"image_11012025_22_24_02_422476_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c11a8d50966f606b4259aa8b94af8a50.jpg","text":"TemporaryFile(/tmp/multipartBody442850915188064220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630792572,"filename":"image_11012025_22_25_02_507534_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3e69c86e05203b0ee302a5ec5141ec45.jpg","text":"TemporaryFile(/tmp/multipartBody1062893902479161691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630792572,"filename":"image_11012025_22_25_02_507534_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/efaead0b427c0c067f380fb187fc706f.jpg","text":"TemporaryFile(/tmp/multipartBody5635787728426310176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630792572,"filename":"image_11012025_22_25_02_507534_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328264740","file1":"1328264737","file0":"1328264735","file3":"1328264742"},"map_files_photo_id_array":[{"photo_id":"1328264740","filename":"file2"},{"photo_id":"1328264737","filename":"file1"},{"photo_id":"1328264735","filename":"file0"},{"photo_id":"1328264742","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328264735":["hashtag1","hashtag2"]},{"1328264740":["hashtag1","hashtag2"]},{"1328264737":["hashtag1","hashtag2"]},{"1328264742":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328264735, 1328264740, 1328264737, 1328264742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60274791717529 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:26:03.140069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:26:22.600867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/25/image_11012025_22_25_02_507534_0003.jpg', '/home/pi/Desktop/images/11012025/22/26/image_11012025_22_26_02_823445_0000.jpg', '/home/pi/Desktop/images/11012025/22/26/image_11012025_22_26_02_823445_0001.jpg', '/home/pi/Desktop/images/11012025/22/26/image_11012025_22_26_02_823445_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/25/image_11012025_22_25_02_507534_0003.jpg
/home/pi/Desktop/images/11012025/22/26/image_11012025_22_26_02_823445_0000.jpg
/home/pi/Desktop/images/11012025/22/26/image_11012025_22_26_02_823445_0001.jpg
/home/pi/Desktop/images/11012025/22/26/image_11012025_22_26_02_823445_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328264748","1328264753","1328264756","1328264750"],"photo_ids_order":["1328264748","1328264750","1328264753","1328264756"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4601c127c1b8e4684882e950abb9d335.jpg","text":"TemporaryFile(/tmp/multipartBody5363484099730246199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630852948,"filename":"image_11012025_22_25_02_507534_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cf60c242e2a3bc4d101f4b474cb74d43.jpg","text":"TemporaryFile(/tmp/multipartBody7647668383893006310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630852948,"filename":"image_11012025_22_26_02_823445_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/169b33a42d63e6dbab8f363f6fc3d7fd.jpg","text":"TemporaryFile(/tmp/multipartBody1569044269577174472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630852948,"filename":"image_11012025_22_26_02_823445_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5b88b4fff3a945e3ae412b0559ddfa2d.jpg","text":"TemporaryFile(/tmp/multipartBody412593251713610015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630852948,"filename":"image_11012025_22_26_02_823445_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328264753","file1":"1328264750","file0":"1328264748","file3":"1328264756"},"map_files_photo_id_array":[{"photo_id":"1328264753","filename":"file2"},{"photo_id":"1328264750","filename":"file1"},{"photo_id":"1328264748","filename":"file0"},{"photo_id":"1328264756","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328264748":["hashtag1","hashtag2"]},{"1328264753":["hashtag1","hashtag2"]},{"1328264756":["hashtag1","hashtag2"]},{"1328264750":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328264748, 1328264753, 1328264756, 1328264750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.312276124954224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:27:21.857827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/26/image_11012025_22_26_02_823445_0003.jpg', '/home/pi/Desktop/images/11012025/22/27/image_11012025_22_27_02_962991_0000.jpg', '/home/pi/Desktop/images/11012025/22/27/image_11012025_22_27_02_962991_0001.jpg', '/home/pi/Desktop/images/11012025/22/27/image_11012025_22_27_02_962991_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/26/image_11012025_22_26_02_823445_0003.jpg
/home/pi/Desktop/images/11012025/22/27/image_11012025_22_27_02_962991_0000.jpg
/home/pi/Desktop/images/11012025/22/27/image_11012025_22_27_02_962991_0001.jpg
/home/pi/Desktop/images/11012025/22/27/image_11012025_22_27_02_962991_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328264766","1328264782","1328264764","1328264781"],"photo_ids_order":["1328264764","1328264766","1328264781","1328264782"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ad5fc712d5193354a4586c2b37ee5d1f.jpg","text":"TemporaryFile(/tmp/multipartBody2571855339825284991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630912505,"filename":"image_11012025_22_27_02_962991_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b994a69f1f953385d430f76873170dac.jpg","text":"TemporaryFile(/tmp/multipartBody3373404705330439480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630912505,"filename":"image_11012025_22_27_02_962991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/411d886e677057a740fee6fce760e7fb.jpg","text":"TemporaryFile(/tmp/multipartBody4455894424504914245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630912505,"filename":"image_11012025_22_26_02_823445_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cc0d9d425f7f8c90101afa9fcfef385c.jpg","text":"TemporaryFile(/tmp/multipartBody8721088378674526149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630912505,"filename":"image_11012025_22_27_02_962991_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328264781","file1":"1328264766","file0":"1328264764","file3":"1328264782"},"map_files_photo_id_array":[{"photo_id":"1328264781","filename":"file2"},{"photo_id":"1328264766","filename":"file1"},{"photo_id":"1328264764","filename":"file0"},{"photo_id":"1328264782","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328264766":["hashtag1","hashtag2"]},{"1328264782":["hashtag1","hashtag2"]},{"1328264764":["hashtag1","hashtag2"]},{"1328264781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328264766, 1328264782, 1328264764, 1328264781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.220296144485474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:28:22.061927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/27/image_11012025_22_27_02_962991_0003.jpg', '/home/pi/Desktop/images/11012025/22/28/image_11012025_22_28_02_212045_0000.jpg', '/home/pi/Desktop/images/11012025/22/28/image_11012025_22_28_02_212045_0001.jpg', '/home/pi/Desktop/images/11012025/22/28/image_11012025_22_28_02_212045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/27/image_11012025_22_27_02_962991_0003.jpg
/home/pi/Desktop/images/11012025/22/28/image_11012025_22_28_02_212045_0000.jpg
/home/pi/Desktop/images/11012025/22/28/image_11012025_22_28_02_212045_0001.jpg
/home/pi/Desktop/images/11012025/22/28/image_11012025_22_28_02_212045_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.814058065414429 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 22:28:42.031903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/27/image_11012025_22_27_02_962991_0003.jpg', '/home/pi/Desktop/images/11012025/22/28/image_11012025_22_28_02_212045_0000.jpg', '/home/pi/Desktop/images/11012025/22/28/image_11012025_22_28_02_212045_0001.jpg', '/home/pi/Desktop/images/11012025/22/28/image_11012025_22_28_02_212045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/27/image_11012025_22_27_02_962991_0003.jpg
/home/pi/Desktop/images/11012025/22/28/image_11012025_22_28_02_212045_0000.jpg
/home/pi/Desktop/images/11012025/22/28/image_11012025_22_28_02_212045_0001.jpg
/home/pi/Desktop/images/11012025/22/28/image_11012025_22_28_02_212045_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328264805","1328264798","1328264801","1328264799"],"photo_ids_order":["1328264798","1328264799","1328264801","1328264805"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b2c7955a93036ab6ab2315d93ae5dff4.jpg","text":"TemporaryFile(/tmp/multipartBody9062594239173148986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630992252,"filename":"image_11012025_22_28_02_212045_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1e8b2f187408b57275e7a69e02fbccf0.jpg","text":"TemporaryFile(/tmp/multipartBody2028484619049763337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630992252,"filename":"image_11012025_22_27_02_962991_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2e0fcf26b3e63027a220f8813f4d40a1.jpg","text":"TemporaryFile(/tmp/multipartBody4310188378457606633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630992252,"filename":"image_11012025_22_28_02_212045_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d736ef30a2b977e4d616105fddc44833.jpg","text":"TemporaryFile(/tmp/multipartBody2767688107802813298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736630992252,"filename":"image_11012025_22_28_02_212045_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328264801","file1":"1328264799","file0":"1328264798","file3":"1328264805"},"map_files_photo_id_array":[{"photo_id":"1328264801","filename":"file2"},{"photo_id":"1328264799","filename":"file1"},{"photo_id":"1328264798","filename":"file0"},{"photo_id":"1328264805","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328264805":["hashtag1","hashtag2"]},{"1328264798":["hashtag1","hashtag2"]},{"1328264801":["hashtag1","hashtag2"]},{"1328264799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328264805, 1328264798, 1328264801, 1328264799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.1535530090332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:29:22.125907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/28/image_11012025_22_28_02_212045_0003.jpg', '/home/pi/Desktop/images/11012025/22/29/image_11012025_22_29_02_474659_0000.jpg', '/home/pi/Desktop/images/11012025/22/29/image_11012025_22_29_02_474659_0001.jpg', '/home/pi/Desktop/images/11012025/22/29/image_11012025_22_29_02_474659_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/28/image_11012025_22_28_02_212045_0003.jpg
/home/pi/Desktop/images/11012025/22/29/image_11012025_22_29_02_474659_0000.jpg
/home/pi/Desktop/images/11012025/22/29/image_11012025_22_29_02_474659_0001.jpg
/home/pi/Desktop/images/11012025/22/29/image_11012025_22_29_02_474659_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328264817","1328264821","1328264815","1328264818"],"photo_ids_order":["1328264815","1328264817","1328264818","1328264821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2642549c498258f3e2180f436763f2a4.jpg","text":"TemporaryFile(/tmp/multipartBody2072205706221634251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631032347,"filename":"image_11012025_22_29_02_474659_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9767ac14229f8ef7a5ae303f81d24d5f.jpg","text":"TemporaryFile(/tmp/multipartBody4588477033939711057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631032347,"filename":"image_11012025_22_29_02_474659_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fac896f168f29f559deeff812a996b4f.jpg","text":"TemporaryFile(/tmp/multipartBody4973549118402167473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631032347,"filename":"image_11012025_22_28_02_212045_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4ace6f26ba837e72573a6dbfdc884c0b.jpg","text":"TemporaryFile(/tmp/multipartBody7973674949698438776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631032347,"filename":"image_11012025_22_29_02_474659_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328264818","file1":"1328264817","file0":"1328264815","file3":"1328264821"},"map_files_photo_id_array":[{"photo_id":"1328264818","filename":"file2"},{"photo_id":"1328264817","filename":"file1"},{"photo_id":"1328264815","filename":"file0"},{"photo_id":"1328264821","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328264817":["hashtag1","hashtag2"]},{"1328264821":["hashtag1","hashtag2"]},{"1328264815":["hashtag1","hashtag2"]},{"1328264818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328264817, 1328264821, 1328264815, 1328264818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.245627880096436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:30:22.412219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/29/image_11012025_22_29_02_474659_0003.jpg', '/home/pi/Desktop/images/11012025/22/30/image_11012025_22_30_02_641364_0001.jpg', '/home/pi/Desktop/images/11012025/22/30/image_11012025_22_30_02_641364_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/29/image_11012025_22_29_02_474659_0003.jpg
/home/pi/Desktop/images/11012025/22/30/image_11012025_22_30_02_641364_0001.jpg
/home/pi/Desktop/images/11012025/22/30/image_11012025_22_30_02_641364_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328264832","1328264834","1328264835"],"photo_ids_order":["1328264832","1328264834","1328264835"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aa10bf0fe618e894845ff47ce2a0c216.jpg","text":"TemporaryFile(/tmp/multipartBody383137784836324440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631090247,"filename":"image_11012025_22_29_02_474659_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/93ad1f81cc94fd00b974939460383504.jpg","text":"TemporaryFile(/tmp/multipartBody1879384774372936120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631090247,"filename":"image_11012025_22_30_02_641364_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/898813fc5dbfc4308425052a2bf31be0.jpg","text":"TemporaryFile(/tmp/multipartBody8833293886155223118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631090247,"filename":"image_11012025_22_30_02_641364_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328264835","file1":"1328264834","file0":"1328264832"},"map_files_photo_id_array":[{"photo_id":"1328264835","filename":"file2"},{"photo_id":"1328264834","filename":"file1"},{"photo_id":"1328264832","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328264832":["hashtag1","hashtag2"]},{"1328264834":["hashtag1","hashtag2"]},{"1328264835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328264832, 1328264834, 1328264835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.15003442764282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:31:03.143087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:31:22.649423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/30/image_11012025_22_30_02_641364_0003.jpg', '/home/pi/Desktop/images/11012025/22/31/image_11012025_22_31_02_691325_0000.jpg', '/home/pi/Desktop/images/11012025/22/31/image_11012025_22_31_02_691325_0001.jpg', '/home/pi/Desktop/images/11012025/22/31/image_11012025_22_31_02_691325_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/30/image_11012025_22_30_02_641364_0003.jpg
/home/pi/Desktop/images/11012025/22/31/image_11012025_22_31_02_691325_0000.jpg
/home/pi/Desktop/images/11012025/22/31/image_11012025_22_31_02_691325_0001.jpg
/home/pi/Desktop/images/11012025/22/31/image_11012025_22_31_02_691325_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328264867","1328264863","1328264866","1328264868"],"photo_ids_order":["1328264863","1328264866","1328264867","1328264868"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/81af19e18f9ad8b66bb56aa83ec070c3.jpg","text":"TemporaryFile(/tmp/multipartBody8356776172122935145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631152963,"filename":"image_11012025_22_31_02_691325_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1705324bca4ea6de2cedd79635032273.jpg","text":"TemporaryFile(/tmp/multipartBody1075635984973608155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631152963,"filename":"image_11012025_22_30_02_641364_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/48e8eab1215cca6ad5d9fcb876ae7403.jpg","text":"TemporaryFile(/tmp/multipartBody3686958530726821147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631152963,"filename":"image_11012025_22_31_02_691325_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9c8b4f060b27dc98d7bebf7c4645ec2b.jpg","text":"TemporaryFile(/tmp/multipartBody3011414744235917498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631152963,"filename":"image_11012025_22_31_02_691325_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328264867","file1":"1328264866","file0":"1328264863","file3":"1328264868"},"map_files_photo_id_array":[{"photo_id":"1328264867","filename":"file2"},{"photo_id":"1328264866","filename":"file1"},{"photo_id":"1328264863","filename":"file0"},{"photo_id":"1328264868","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328264867":["hashtag1","hashtag2"]},{"1328264863":["hashtag1","hashtag2"]},{"1328264866":["hashtag1","hashtag2"]},{"1328264868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328264867, 1328264863, 1328264866, 1328264868)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.577800035476685 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:32:22.685671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/31/image_11012025_22_31_02_691325_0003.jpg', '/home/pi/Desktop/images/11012025/22/32/image_11012025_22_32_02_909418_0000.jpg', '/home/pi/Desktop/images/11012025/22/32/image_11012025_22_32_02_909418_0001.jpg', '/home/pi/Desktop/images/11012025/22/32/image_11012025_22_32_02_909418_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/31/image_11012025_22_31_02_691325_0003.jpg
/home/pi/Desktop/images/11012025/22/32/image_11012025_22_32_02_909418_0000.jpg
/home/pi/Desktop/images/11012025/22/32/image_11012025_22_32_02_909418_0001.jpg
/home/pi/Desktop/images/11012025/22/32/image_11012025_22_32_02_909418_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328264876","1328264881","1328264878","1328264883"],"photo_ids_order":["1328264876","1328264878","1328264881","1328264883"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c8ee08493c61f2e83d691ae5ed1bb208.jpg","text":"TemporaryFile(/tmp/multipartBody2906081791769056809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631213040,"filename":"image_11012025_22_31_02_691325_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/62dfdabae70de3853bfea552a4fadc26.jpg","text":"TemporaryFile(/tmp/multipartBody4316750442915176637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631213040,"filename":"image_11012025_22_32_02_909418_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9f21999cd24b0462399d1922d9e99f7d.jpg","text":"TemporaryFile(/tmp/multipartBody5521344437971019082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631213040,"filename":"image_11012025_22_32_02_909418_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5413e47e2d7fa4ba29c1cfccd8d89cb5.jpg","text":"TemporaryFile(/tmp/multipartBody1772848147175481878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631213040,"filename":"image_11012025_22_32_02_909418_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328264881","file1":"1328264878","file0":"1328264876","file3":"1328264883"},"map_files_photo_id_array":[{"photo_id":"1328264881","filename":"file2"},{"photo_id":"1328264878","filename":"file1"},{"photo_id":"1328264876","filename":"file0"},{"photo_id":"1328264883","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328264876":["hashtag1","hashtag2"]},{"1328264881":["hashtag1","hashtag2"]},{"1328264878":["hashtag1","hashtag2"]},{"1328264883":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328264876, 1328264881, 1328264878, 1328264883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.46781659126282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:33:21.862510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/32/image_11012025_22_32_02_909418_0003.jpg', '/home/pi/Desktop/images/11012025/22/33/image_11012025_22_33_03_074000_0000.jpg', '/home/pi/Desktop/images/11012025/22/33/image_11012025_22_33_03_074000_0001.jpg', '/home/pi/Desktop/images/11012025/22/33/image_11012025_22_33_03_074000_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/32/image_11012025_22_32_02_909418_0003.jpg
/home/pi/Desktop/images/11012025/22/33/image_11012025_22_33_03_074000_0000.jpg
/home/pi/Desktop/images/11012025/22/33/image_11012025_22_33_03_074000_0001.jpg
/home/pi/Desktop/images/11012025/22/33/image_11012025_22_33_03_074000_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328265548","1328265805","1328264890","1328265180"],"photo_ids_order":["1328264890","1328265180","1328265548","1328265805"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a013a4fd17cf5fa779a85bc764dc5ef7.jpg","text":"TemporaryFile(/tmp/multipartBody6521116978563128031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631272220,"filename":"image_11012025_22_33_03_074000_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/30d3f9cfc55aa17a0a4af4ceff4a5f29.jpg","text":"TemporaryFile(/tmp/multipartBody867206228946196406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631272220,"filename":"image_11012025_22_33_03_074000_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ad79bf198b6feb4feca6cd979f304d99.jpg","text":"TemporaryFile(/tmp/multipartBody5654050176387941933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631272220,"filename":"image_11012025_22_32_02_909418_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1799bb1306b16a5322fb63d90fa6cdd1.jpg","text":"TemporaryFile(/tmp/multipartBody6751178971563279352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631272220,"filename":"image_11012025_22_33_03_074000_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328265548","file1":"1328265180","file0":"1328264890","file3":"1328265805"},"map_files_photo_id_array":[{"photo_id":"1328265548","filename":"file2"},{"photo_id":"1328265180","filename":"file1"},{"photo_id":"1328264890","filename":"file0"},{"photo_id":"1328265805","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328265548":["hashtag1","hashtag2"]},{"1328265805":["hashtag1","hashtag2"]},{"1328264890":["hashtag1","hashtag2"]},{"1328265180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328265548, 1328265805, 1328264890, 1328265180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.16162586212158 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:34:02.501593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:34:22.081950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/33/image_11012025_22_33_03_074000_0003.jpg', '/home/pi/Desktop/images/11012025/22/34/image_11012025_22_34_02_272915_0000.jpg', '/home/pi/Desktop/images/11012025/22/34/image_11012025_22_34_02_272915_0001.jpg', '/home/pi/Desktop/images/11012025/22/34/image_11012025_22_34_02_272915_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/33/image_11012025_22_33_03_074000_0003.jpg
/home/pi/Desktop/images/11012025/22/34/image_11012025_22_34_02_272915_0000.jpg
/home/pi/Desktop/images/11012025/22/34/image_11012025_22_34_02_272915_0001.jpg
/home/pi/Desktop/images/11012025/22/34/image_11012025_22_34_02_272915_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328266058","1328266090","1328265837","1328266082"],"photo_ids_order":["1328265837","1328266058","1328266082","1328266090"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fa09fd4530110ac3abd336850e98ff42.jpg","text":"TemporaryFile(/tmp/multipartBody4917540675874320505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631332413,"filename":"image_11012025_22_34_02_272915_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/18b69c47a1ac6541c67e6f312359403f.jpg","text":"TemporaryFile(/tmp/multipartBody5959049813753450659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631332413,"filename":"image_11012025_22_34_02_272915_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bb618e93f7053064e45589cea2329315.jpg","text":"TemporaryFile(/tmp/multipartBody7626694855611986426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631332413,"filename":"image_11012025_22_33_03_074000_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5f197a35c85d8987744ab6df5675c4ec.jpg","text":"TemporaryFile(/tmp/multipartBody148208767865613256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631332413,"filename":"image_11012025_22_34_02_272915_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328266082","file1":"1328266058","file0":"1328265837","file3":"1328266090"},"map_files_photo_id_array":[{"photo_id":"1328266082","filename":"file2"},{"photo_id":"1328266058","filename":"file1"},{"photo_id":"1328265837","filename":"file0"},{"photo_id":"1328266090","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328266058":["hashtag1","hashtag2"]},{"1328266090":["hashtag1","hashtag2"]},{"1328265837":["hashtag1","hashtag2"]},{"1328266082":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328266058, 1328266090, 1328265837, 1328266082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.992077350616455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:35:22.285689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/34/image_11012025_22_34_02_272915_0003.jpg', '/home/pi/Desktop/images/11012025/22/35/image_11012025_22_35_02_423189_0000.jpg', '/home/pi/Desktop/images/11012025/22/35/image_11012025_22_35_02_423189_0001.jpg', '/home/pi/Desktop/images/11012025/22/35/image_11012025_22_35_02_423189_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/34/image_11012025_22_34_02_272915_0003.jpg
/home/pi/Desktop/images/11012025/22/35/image_11012025_22_35_02_423189_0000.jpg
/home/pi/Desktop/images/11012025/22/35/image_11012025_22_35_02_423189_0001.jpg
/home/pi/Desktop/images/11012025/22/35/image_11012025_22_35_02_423189_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328266156","1328266155","1328266152","1328266154"],"photo_ids_order":["1328266152","1328266154","1328266155","1328266156"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e5a3f9fe364018f43e018c1f95c3d631.jpg","text":"TemporaryFile(/tmp/multipartBody7807539127308726983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631392633,"filename":"image_11012025_22_35_02_423189_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/336846dd5d8f524eb2f31614348b60ea.jpg","text":"TemporaryFile(/tmp/multipartBody8192614200416481629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631392633,"filename":"image_11012025_22_35_02_423189_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/249da18255e4ff8f52a472ffd4d48d5f.jpg","text":"TemporaryFile(/tmp/multipartBody2823370109864448729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631392633,"filename":"image_11012025_22_34_02_272915_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9d27b293eac5a2a72f2d217b294d935d.jpg","text":"TemporaryFile(/tmp/multipartBody3068493051325541657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631392633,"filename":"image_11012025_22_35_02_423189_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328266155","file1":"1328266154","file0":"1328266152","file3":"1328266156"},"map_files_photo_id_array":[{"photo_id":"1328266155","filename":"file2"},{"photo_id":"1328266154","filename":"file1"},{"photo_id":"1328266152","filename":"file0"},{"photo_id":"1328266156","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328266156":["hashtag1","hashtag2"]},{"1328266155":["hashtag1","hashtag2"]},{"1328266152":["hashtag1","hashtag2"]},{"1328266154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328266156, 1328266155, 1328266152, 1328266154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.73342037200928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:36:22.472275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/35/image_11012025_22_35_02_423189_0003.jpg', '/home/pi/Desktop/images/11012025/22/36/image_11012025_22_36_02_691090_0000.jpg', '/home/pi/Desktop/images/11012025/22/36/image_11012025_22_36_02_691090_0001.jpg', '/home/pi/Desktop/images/11012025/22/36/image_11012025_22_36_02_691090_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/35/image_11012025_22_35_02_423189_0003.jpg
/home/pi/Desktop/images/11012025/22/36/image_11012025_22_36_02_691090_0000.jpg
/home/pi/Desktop/images/11012025/22/36/image_11012025_22_36_02_691090_0001.jpg
/home/pi/Desktop/images/11012025/22/36/image_11012025_22_36_02_691090_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328266163","1328266162","1328266168","1328266179"],"photo_ids_order":["1328266162","1328266163","1328266168","1328266179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/273c1b542c5b375c1ed28f36887f6ab8.jpg","text":"TemporaryFile(/tmp/multipartBody3015808121355902046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631452672,"filename":"image_11012025_22_36_02_691090_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a1fedbcee3873944042e6e6a4a2a29e7.jpg","text":"TemporaryFile(/tmp/multipartBody9171982307521470167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631452672,"filename":"image_11012025_22_35_02_423189_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/50187b421a15a12ec63a8d62c31a611f.jpg","text":"TemporaryFile(/tmp/multipartBody1713043518659699841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631452672,"filename":"image_11012025_22_36_02_691090_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ff20a546017a1952f3fb1cf044a3cddd.jpg","text":"TemporaryFile(/tmp/multipartBody6621237356614721812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631452672,"filename":"image_11012025_22_36_02_691090_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328266168","file1":"1328266163","file0":"1328266162","file3":"1328266179"},"map_files_photo_id_array":[{"photo_id":"1328266168","filename":"file2"},{"photo_id":"1328266163","filename":"file1"},{"photo_id":"1328266162","filename":"file0"},{"photo_id":"1328266179","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328266163":["hashtag1","hashtag2"]},{"1328266162":["hashtag1","hashtag2"]},{"1328266168":["hashtag1","hashtag2"]},{"1328266179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328266163, 1328266162, 1328266168, 1328266179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.90550088882446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:37:03.343835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:37:22.529296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/36/image_11012025_22_36_02_691090_0003.jpg', '/home/pi/Desktop/images/11012025/22/37/image_11012025_22_37_02_905883_0000.jpg', '/home/pi/Desktop/images/11012025/22/37/image_11012025_22_37_02_905883_0001.jpg', '/home/pi/Desktop/images/11012025/22/37/image_11012025_22_37_02_905883_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/36/image_11012025_22_36_02_691090_0003.jpg
/home/pi/Desktop/images/11012025/22/37/image_11012025_22_37_02_905883_0000.jpg
/home/pi/Desktop/images/11012025/22/37/image_11012025_22_37_02_905883_0001.jpg
/home/pi/Desktop/images/11012025/22/37/image_11012025_22_37_02_905883_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328266211","1328266214","1328266210","1328266215"],"photo_ids_order":["1328266210","1328266211","1328266214","1328266215"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/de098cfd1a3f11e830458249b7869412.jpg","text":"TemporaryFile(/tmp/multipartBody267030818560054632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631512764,"filename":"image_11012025_22_37_02_905883_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1e905b501784245fae8884d594a67501.jpg","text":"TemporaryFile(/tmp/multipartBody3150916314546158437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631512764,"filename":"image_11012025_22_37_02_905883_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1cb18a283ea20ab15f44ef1f0cec18f5.jpg","text":"TemporaryFile(/tmp/multipartBody6813428550909360002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631512764,"filename":"image_11012025_22_36_02_691090_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f0b0992b2e870f1371f638efddd8d2cb.jpg","text":"TemporaryFile(/tmp/multipartBody9188670299670819820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631512764,"filename":"image_11012025_22_37_02_905883_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328266214","file1":"1328266211","file0":"1328266210","file3":"1328266215"},"map_files_photo_id_array":[{"photo_id":"1328266214","filename":"file2"},{"photo_id":"1328266211","filename":"file1"},{"photo_id":"1328266210","filename":"file0"},{"photo_id":"1328266215","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328266211":["hashtag1","hashtag2"]},{"1328266214":["hashtag1","hashtag2"]},{"1328266210":["hashtag1","hashtag2"]},{"1328266215":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328266211, 1328266214, 1328266210, 1328266215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.52884864807129 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:38:21.824692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/37/image_11012025_22_37_02_905883_0003.jpg', '/home/pi/Desktop/images/11012025/22/38/image_11012025_22_38_02_954015_0000.jpg', '/home/pi/Desktop/images/11012025/22/38/image_11012025_22_38_02_954015_0001.jpg', '/home/pi/Desktop/images/11012025/22/38/image_11012025_22_38_02_954015_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/37/image_11012025_22_37_02_905883_0003.jpg
/home/pi/Desktop/images/11012025/22/38/image_11012025_22_38_02_954015_0000.jpg
/home/pi/Desktop/images/11012025/22/38/image_11012025_22_38_02_954015_0001.jpg
/home/pi/Desktop/images/11012025/22/38/image_11012025_22_38_02_954015_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328266226","1328266228","1328266230","1328266227"],"photo_ids_order":["1328266226","1328266227","1328266228","1328266230"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/45d48e14eafa95144c1d5d9f99493ae6.jpg","text":"TemporaryFile(/tmp/multipartBody4065219178999314274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631572168,"filename":"image_11012025_22_37_02_905883_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8952a61352a17d8d52e0e0b34e7a786c.jpg","text":"TemporaryFile(/tmp/multipartBody3161082614430754438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631572168,"filename":"image_11012025_22_38_02_954015_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/48cfcc1066e06708371a9b93ebe78879.jpg","text":"TemporaryFile(/tmp/multipartBody2542235293821488199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631572168,"filename":"image_11012025_22_38_02_954015_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d41a7bc58d3e0f4741d0da318cef1fa4.jpg","text":"TemporaryFile(/tmp/multipartBody897977449409451110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631572168,"filename":"image_11012025_22_38_02_954015_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328266228","file1":"1328266227","file0":"1328266226","file3":"1328266230"},"map_files_photo_id_array":[{"photo_id":"1328266228","filename":"file2"},{"photo_id":"1328266227","filename":"file1"},{"photo_id":"1328266226","filename":"file0"},{"photo_id":"1328266230","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328266226":["hashtag1","hashtag2"]},{"1328266228":["hashtag1","hashtag2"]},{"1328266230":["hashtag1","hashtag2"]},{"1328266227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328266226, 1328266228, 1328266230, 1328266227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.998000144958496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:39:21.867276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/38/image_11012025_22_38_02_954015_0003.jpg', '/home/pi/Desktop/images/11012025/22/39/image_11012025_22_39_02_158767_0000.jpg', '/home/pi/Desktop/images/11012025/22/39/image_11012025_22_39_02_158767_0001.jpg', '/home/pi/Desktop/images/11012025/22/39/image_11012025_22_39_02_158767_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/38/image_11012025_22_38_02_954015_0003.jpg
/home/pi/Desktop/images/11012025/22/39/image_11012025_22_39_02_158767_0000.jpg
/home/pi/Desktop/images/11012025/22/39/image_11012025_22_39_02_158767_0001.jpg
/home/pi/Desktop/images/11012025/22/39/image_11012025_22_39_02_158767_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328266241","1328266252","1328266275","1328266248"],"photo_ids_order":["1328266241","1328266248","1328266252","1328266275"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e4a27a4ffe16964c72db15437f208352.jpg","text":"TemporaryFile(/tmp/multipartBody3993363168387545527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631632048,"filename":"image_11012025_22_38_02_954015_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4d580070234392d59b1a28d90d5aef35.jpg","text":"TemporaryFile(/tmp/multipartBody4122201984754058085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631632048,"filename":"image_11012025_22_39_02_158767_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7a90141990fc824bbd03caee7c2ca1bd.jpg","text":"TemporaryFile(/tmp/multipartBody2020557700037030680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631632048,"filename":"image_11012025_22_39_02_158767_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/df6fde04e3c15dc3d08b565fbf0d2d7f.jpg","text":"TemporaryFile(/tmp/multipartBody2910160701305708730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631632048,"filename":"image_11012025_22_39_02_158767_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328266252","file1":"1328266248","file0":"1328266241","file3":"1328266275"},"map_files_photo_id_array":[{"photo_id":"1328266252","filename":"file2"},{"photo_id":"1328266248","filename":"file1"},{"photo_id":"1328266241","filename":"file0"},{"photo_id":"1328266275","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328266241":["hashtag1","hashtag2"]},{"1328266252":["hashtag1","hashtag2"]},{"1328266275":["hashtag1","hashtag2"]},{"1328266248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328266241, 1328266252, 1328266275, 1328266248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.61955690383911 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:40:02.511595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:40:22.153108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/39/image_11012025_22_39_02_158767_0003.jpg', '/home/pi/Desktop/images/11012025/22/40/image_11012025_22_40_02_420281_0000.jpg', '/home/pi/Desktop/images/11012025/22/40/image_11012025_22_40_02_420281_0001.jpg', '/home/pi/Desktop/images/11012025/22/40/image_11012025_22_40_02_420281_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/39/image_11012025_22_39_02_158767_0003.jpg
/home/pi/Desktop/images/11012025/22/40/image_11012025_22_40_02_420281_0000.jpg
/home/pi/Desktop/images/11012025/22/40/image_11012025_22_40_02_420281_0001.jpg
/home/pi/Desktop/images/11012025/22/40/image_11012025_22_40_02_420281_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328266372","1328266306","1328266419","1328266305"],"photo_ids_order":["1328266305","1328266306","1328266372","1328266419"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4f0257685d0f6331f64ff1ac5f2596f5.jpg","text":"TemporaryFile(/tmp/multipartBody5974604418631200426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631692455,"filename":"image_11012025_22_40_02_420281_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d62f909879578859388ade759670feff.jpg","text":"TemporaryFile(/tmp/multipartBody2103876157468070336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631692455,"filename":"image_11012025_22_40_02_420281_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/59f1329b6666120f1688023e9c156897.jpg","text":"TemporaryFile(/tmp/multipartBody3875339433335946706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631692455,"filename":"image_11012025_22_40_02_420281_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f8a5c59a8b5c34954cd1dce65f356ebd.jpg","text":"TemporaryFile(/tmp/multipartBody4362813098990718751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631692455,"filename":"image_11012025_22_39_02_158767_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328266372","file1":"1328266306","file0":"1328266305","file3":"1328266419"},"map_files_photo_id_array":[{"photo_id":"1328266372","filename":"file2"},{"photo_id":"1328266306","filename":"file1"},{"photo_id":"1328266305","filename":"file0"},{"photo_id":"1328266419","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328266372":["hashtag1","hashtag2"]},{"1328266306":["hashtag1","hashtag2"]},{"1328266419":["hashtag1","hashtag2"]},{"1328266305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328266372, 1328266306, 1328266419, 1328266305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.69161677360535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:41:02.997674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:41:22.287322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/40/image_11012025_22_40_02_420281_0003.jpg', '/home/pi/Desktop/images/11012025/22/41/image_11012025_22_41_02_506969_0000.jpg', '/home/pi/Desktop/images/11012025/22/41/image_11012025_22_41_02_506969_0001.jpg', '/home/pi/Desktop/images/11012025/22/41/image_11012025_22_41_02_506969_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/40/image_11012025_22_40_02_420281_0003.jpg
/home/pi/Desktop/images/11012025/22/41/image_11012025_22_41_02_506969_0000.jpg
/home/pi/Desktop/images/11012025/22/41/image_11012025_22_41_02_506969_0001.jpg
/home/pi/Desktop/images/11012025/22/41/image_11012025_22_41_02_506969_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328266433","1328266435","1328266431","1328266430"],"photo_ids_order":["1328266430","1328266431","1328266433","1328266435"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ac586622bba2edce5873462f7415552b.jpg","text":"TemporaryFile(/tmp/multipartBody4298006843011056897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631752689,"filename":"image_11012025_22_41_02_506969_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c7b5585d58ddfd0b80aa31f9c80bafea.jpg","text":"TemporaryFile(/tmp/multipartBody4723699087516984206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631752689,"filename":"image_11012025_22_41_02_506969_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b196f653bb92f6650bafb321062d4d56.jpg","text":"TemporaryFile(/tmp/multipartBody3797222273524932428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631752689,"filename":"image_11012025_22_41_02_506969_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a77640b62d7d33c9ac389ad5d40138b8.jpg","text":"TemporaryFile(/tmp/multipartBody1758738313217130398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631752689,"filename":"image_11012025_22_40_02_420281_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328266433","file1":"1328266431","file0":"1328266430","file3":"1328266435"},"map_files_photo_id_array":[{"photo_id":"1328266433","filename":"file2"},{"photo_id":"1328266431","filename":"file1"},{"photo_id":"1328266430","filename":"file0"},{"photo_id":"1328266435","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328266433":["hashtag1","hashtag2"]},{"1328266435":["hashtag1","hashtag2"]},{"1328266431":["hashtag1","hashtag2"]},{"1328266430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328266433, 1328266435, 1328266431, 1328266430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.49610877037048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:42:22.493638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/41/image_11012025_22_41_02_506969_0003.jpg', '/home/pi/Desktop/images/11012025/22/42/image_11012025_22_42_02_659034_0000.jpg', '/home/pi/Desktop/images/11012025/22/42/image_11012025_22_42_02_659034_0001.jpg', '/home/pi/Desktop/images/11012025/22/42/image_11012025_22_42_02_659034_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/41/image_11012025_22_41_02_506969_0003.jpg
/home/pi/Desktop/images/11012025/22/42/image_11012025_22_42_02_659034_0000.jpg
/home/pi/Desktop/images/11012025/22/42/image_11012025_22_42_02_659034_0001.jpg
/home/pi/Desktop/images/11012025/22/42/image_11012025_22_42_02_659034_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328266442","1328266453","1328266467","1328266440"],"photo_ids_order":["1328266440","1328266442","1328266453","1328266467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2012961d7de8e786d6a8071d34e265e7.jpg","text":"TemporaryFile(/tmp/multipartBody2539298393482146820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631812925,"filename":"image_11012025_22_42_02_659034_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2f939996d54e3db5be938b1ee382d400.jpg","text":"TemporaryFile(/tmp/multipartBody2193110337689659990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631812925,"filename":"image_11012025_22_42_02_659034_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/76e6df027cebdc4289b0dbbfb7ef72d5.jpg","text":"TemporaryFile(/tmp/multipartBody8418783568402767379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631812925,"filename":"image_11012025_22_42_02_659034_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5016a23030dcc317a2bec9fa21d0145f.jpg","text":"TemporaryFile(/tmp/multipartBody364647056549273118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631812925,"filename":"image_11012025_22_41_02_506969_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328266453","file1":"1328266442","file0":"1328266440","file3":"1328266467"},"map_files_photo_id_array":[{"photo_id":"1328266453","filename":"file2"},{"photo_id":"1328266442","filename":"file1"},{"photo_id":"1328266440","filename":"file0"},{"photo_id":"1328266467","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328266442":["hashtag1","hashtag2"]},{"1328266453":["hashtag1","hashtag2"]},{"1328266467":["hashtag1","hashtag2"]},{"1328266440":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328266442, 1328266453, 1328266467, 1328266440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.44532895088196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:43:22.617156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/42/image_11012025_22_42_02_659034_0003.jpg', '/home/pi/Desktop/images/11012025/22/43/image_11012025_22_43_02_795499_0000.jpg', '/home/pi/Desktop/images/11012025/22/43/image_11012025_22_43_02_795499_0001.jpg', '/home/pi/Desktop/images/11012025/22/43/image_11012025_22_43_02_795499_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/42/image_11012025_22_42_02_659034_0003.jpg
/home/pi/Desktop/images/11012025/22/43/image_11012025_22_43_02_795499_0000.jpg
/home/pi/Desktop/images/11012025/22/43/image_11012025_22_43_02_795499_0001.jpg
/home/pi/Desktop/images/11012025/22/43/image_11012025_22_43_02_795499_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328266480","1328266483","1328266482","1328266478"],"photo_ids_order":["1328266478","1328266480","1328266482","1328266483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/df7bb7daf1396a9f8b919b46f44c92d5.jpg","text":"TemporaryFile(/tmp/multipartBody1135177753339955517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631872919,"filename":"image_11012025_22_43_02_795499_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0d0f540f8e479c89023a90f75a68f31f.jpg","text":"TemporaryFile(/tmp/multipartBody3947572375673834665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631872919,"filename":"image_11012025_22_43_02_795499_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ed4536a2edb9a59c1b3d24a3bb819c95.jpg","text":"TemporaryFile(/tmp/multipartBody3281883286009685399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631872919,"filename":"image_11012025_22_43_02_795499_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d420dfcc6da9a417c325875a55561ebf.jpg","text":"TemporaryFile(/tmp/multipartBody6400084643057107202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631872919,"filename":"image_11012025_22_42_02_659034_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328266482","file1":"1328266480","file0":"1328266478","file3":"1328266483"},"map_files_photo_id_array":[{"photo_id":"1328266482","filename":"file2"},{"photo_id":"1328266480","filename":"file1"},{"photo_id":"1328266478","filename":"file0"},{"photo_id":"1328266483","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328266480":["hashtag1","hashtag2"]},{"1328266483":["hashtag1","hashtag2"]},{"1328266482":["hashtag1","hashtag2"]},{"1328266478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328266480, 1328266483, 1328266482, 1328266478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.650437116622925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:44:21.911325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/43/image_11012025_22_43_02_795499_0003.jpg', '/home/pi/Desktop/images/11012025/22/44/image_11012025_22_44_03_082978_0000.jpg', '/home/pi/Desktop/images/11012025/22/44/image_11012025_22_44_03_082978_0001.jpg', '/home/pi/Desktop/images/11012025/22/44/image_11012025_22_44_03_082978_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/43/image_11012025_22_43_02_795499_0003.jpg
/home/pi/Desktop/images/11012025/22/44/image_11012025_22_44_03_082978_0000.jpg
/home/pi/Desktop/images/11012025/22/44/image_11012025_22_44_03_082978_0001.jpg
/home/pi/Desktop/images/11012025/22/44/image_11012025_22_44_03_082978_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328266502","1328266505","1328266507","1328266500"],"photo_ids_order":["1328266500","1328266502","1328266505","1328266507"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cf439f6fe80e5765862dbda738bb5a9f.jpg","text":"TemporaryFile(/tmp/multipartBody8424566492429891692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631932225,"filename":"image_11012025_22_44_03_082978_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/58375be4fd9d818ca458a5cbefda3e4b.jpg","text":"TemporaryFile(/tmp/multipartBody4210340864200294556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631932225,"filename":"image_11012025_22_44_03_082978_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6bd1341be5566009a1444ca143163b0b.jpg","text":"TemporaryFile(/tmp/multipartBody8864995179988785115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631932225,"filename":"image_11012025_22_44_03_082978_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/802feb046535a79188963f6cdd08ec2a.jpg","text":"TemporaryFile(/tmp/multipartBody3724039492372609580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631932225,"filename":"image_11012025_22_43_02_795499_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328266505","file1":"1328266502","file0":"1328266500","file3":"1328266507"},"map_files_photo_id_array":[{"photo_id":"1328266505","filename":"file2"},{"photo_id":"1328266502","filename":"file1"},{"photo_id":"1328266500","filename":"file0"},{"photo_id":"1328266507","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328266502":["hashtag1","hashtag2"]},{"1328266505":["hashtag1","hashtag2"]},{"1328266507":["hashtag1","hashtag2"]},{"1328266500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328266502, 1328266505, 1328266507, 1328266500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.38967442512512 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:45:22.100821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/44/image_11012025_22_44_03_082978_0003.jpg', '/home/pi/Desktop/images/11012025/22/45/image_11012025_22_45_02_287897_0000.jpg', '/home/pi/Desktop/images/11012025/22/45/image_11012025_22_45_02_287897_0001.jpg', '/home/pi/Desktop/images/11012025/22/45/image_11012025_22_45_02_287897_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/44/image_11012025_22_44_03_082978_0003.jpg
/home/pi/Desktop/images/11012025/22/45/image_11012025_22_45_02_287897_0000.jpg
/home/pi/Desktop/images/11012025/22/45/image_11012025_22_45_02_287897_0001.jpg
/home/pi/Desktop/images/11012025/22/45/image_11012025_22_45_02_287897_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328266529","1328266543","1328266534","1328266530"],"photo_ids_order":["1328266529","1328266530","1328266534","1328266543"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c13ba7ad36f38e7496871add49ad20d4.jpg","text":"TemporaryFile(/tmp/multipartBody167032144507270407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631992361,"filename":"image_11012025_22_44_03_082978_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b405feeeefcc83f2dda26252b38b6246.jpg","text":"TemporaryFile(/tmp/multipartBody6787853220957858768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631992361,"filename":"image_11012025_22_45_02_287897_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/30cb42c9aac92e3f90d6d0f22ca6a6ff.jpg","text":"TemporaryFile(/tmp/multipartBody2253198855986115685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631992361,"filename":"image_11012025_22_45_02_287897_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/71afcf5c7cfcc2f82777b01bc395d4de.jpg","text":"TemporaryFile(/tmp/multipartBody5842008777119010332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736631992361,"filename":"image_11012025_22_45_02_287897_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328266534","file1":"1328266530","file0":"1328266529","file3":"1328266543"},"map_files_photo_id_array":[{"photo_id":"1328266534","filename":"file2"},{"photo_id":"1328266530","filename":"file1"},{"photo_id":"1328266529","filename":"file0"},{"photo_id":"1328266543","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328266529":["hashtag1","hashtag2"]},{"1328266543":["hashtag1","hashtag2"]},{"1328266534":["hashtag1","hashtag2"]},{"1328266530":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328266529, 1328266543, 1328266534, 1328266530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.54845690727234 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-11 22:46:22.225701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/45/image_11012025_22_45_02_287897_0003.jpg', '/home/pi/Desktop/images/11012025/22/46/image_11012025_22_46_02_507462_0000.jpg', '/home/pi/Desktop/images/11012025/22/46/image_11012025_22_46_02_507462_0001.jpg', '/home/pi/Desktop/images/11012025/22/46/image_11012025_22_46_02_507462_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/45/image_11012025_22_45_02_287897_0003.jpg
/home/pi/Desktop/images/11012025/22/46/image_11012025_22_46_02_507462_0000.jpg
/home/pi/Desktop/images/11012025/22/46/image_11012025_22_46_02_507462_0001.jpg
/home/pi/Desktop/images/11012025/22/46/image_11012025_22_46_02_507462_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328266582","1328266587","1328266575","1328266577"],"photo_ids_order":["1328266575","1328266577","1328266582","1328266587"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a0c32ea8de6a0a0e91002de22bcf0407.jpg","text":"TemporaryFile(/tmp/multipartBody3113286276354695722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632052480,"filename":"image_11012025_22_46_02_507462_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8f64cb6a669742ec6dcc779adadde1b3.jpg","text":"TemporaryFile(/tmp/multipartBody9005103256092107233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632052480,"filename":"image_11012025_22_46_02_507462_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e5ac1eb05d801499bcc66b520904eadb.jpg","text":"TemporaryFile(/tmp/multipartBody6856863365637801244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632052480,"filename":"image_11012025_22_45_02_287897_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ea8736f76d3c899c5269f633677146b6.jpg","text":"TemporaryFile(/tmp/multipartBody6186661758980403044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632052480,"filename":"image_11012025_22_46_02_507462_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328266582","file1":"1328266577","file0":"1328266575","file3":"1328266587"},"map_files_photo_id_array":[{"photo_id":"1328266582","filename":"file2"},{"photo_id":"1328266577","filename":"file1"},{"photo_id":"1328266575","filename":"file0"},{"photo_id":"1328266587","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328266582":["hashtag1","hashtag2"]},{"1328266587":["hashtag1","hashtag2"]},{"1328266575":["hashtag1","hashtag2"]},{"1328266577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328266582, 1328266587, 1328266575, 1328266577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.25700116157532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:47:22.421863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/46/image_11012025_22_46_02_507462_0003.jpg', '/home/pi/Desktop/images/11012025/22/47/image_11012025_22_47_02_600273_0000.jpg', '/home/pi/Desktop/images/11012025/22/47/image_11012025_22_47_02_600273_0001.jpg', '/home/pi/Desktop/images/11012025/22/47/image_11012025_22_47_02_600273_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/46/image_11012025_22_46_02_507462_0003.jpg
/home/pi/Desktop/images/11012025/22/47/image_11012025_22_47_02_600273_0000.jpg
/home/pi/Desktop/images/11012025/22/47/image_11012025_22_47_02_600273_0001.jpg
/home/pi/Desktop/images/11012025/22/47/image_11012025_22_47_02_600273_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328266597","1328266601","1328266604","1328266596"],"photo_ids_order":["1328266596","1328266597","1328266601","1328266604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4072d217d22c4149def574edd999de58.jpg","text":"TemporaryFile(/tmp/multipartBody3088680032340934547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632112621,"filename":"image_11012025_22_47_02_600273_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/45f9a9d22e5e6c35afedecdc97203c85.jpg","text":"TemporaryFile(/tmp/multipartBody8713983299251986029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632112621,"filename":"image_11012025_22_47_02_600273_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f27c4faf1a475967d4cd8104ea256089.jpg","text":"TemporaryFile(/tmp/multipartBody3077423406229466117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632112621,"filename":"image_11012025_22_47_02_600273_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d94b29781a6031617e5cbb6222a327ed.jpg","text":"TemporaryFile(/tmp/multipartBody1517395846208293184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632112621,"filename":"image_11012025_22_46_02_507462_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328266601","file1":"1328266597","file0":"1328266596","file3":"1328266604"},"map_files_photo_id_array":[{"photo_id":"1328266601","filename":"file2"},{"photo_id":"1328266597","filename":"file1"},{"photo_id":"1328266596","filename":"file0"},{"photo_id":"1328266604","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328266597":["hashtag1","hashtag2"]},{"1328266601":["hashtag1","hashtag2"]},{"1328266604":["hashtag1","hashtag2"]},{"1328266596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328266597, 1328266601, 1328266604, 1328266596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.41611981391907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:48:22.510821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/47/image_11012025_22_47_02_600273_0003.jpg', '/home/pi/Desktop/images/11012025/22/48/image_11012025_22_48_02_744068_0000.jpg', '/home/pi/Desktop/images/11012025/22/48/image_11012025_22_48_02_744068_0001.jpg', '/home/pi/Desktop/images/11012025/22/48/image_11012025_22_48_02_744068_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/47/image_11012025_22_47_02_600273_0003.jpg
/home/pi/Desktop/images/11012025/22/48/image_11012025_22_48_02_744068_0000.jpg
/home/pi/Desktop/images/11012025/22/48/image_11012025_22_48_02_744068_0001.jpg
/home/pi/Desktop/images/11012025/22/48/image_11012025_22_48_02_744068_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328266624","1328266612","1328266614","1328266617"],"photo_ids_order":["1328266612","1328266614","1328266617","1328266624"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7bdc37e60966f4d872d1a9a0618b7015.jpg","text":"TemporaryFile(/tmp/multipartBody6644664329631102692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632172932,"filename":"image_11012025_22_48_02_744068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1e9e6d7a5b509afcc1cc9378ff3a93bc.jpg","text":"TemporaryFile(/tmp/multipartBody5373303633399259344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632172932,"filename":"image_11012025_22_47_02_600273_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6eea7566a9eef878f598cfd208de7eec.jpg","text":"TemporaryFile(/tmp/multipartBody4314102649393371177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632172932,"filename":"image_11012025_22_48_02_744068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2e30dc406623e015edc1a65c66017b3f.jpg","text":"TemporaryFile(/tmp/multipartBody7870828420106877418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632172932,"filename":"image_11012025_22_48_02_744068_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328266617","file1":"1328266614","file0":"1328266612","file3":"1328266624"},"map_files_photo_id_array":[{"photo_id":"1328266617","filename":"file2"},{"photo_id":"1328266614","filename":"file1"},{"photo_id":"1328266612","filename":"file0"},{"photo_id":"1328266624","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328266624":["hashtag1","hashtag2"]},{"1328266612":["hashtag1","hashtag2"]},{"1328266614":["hashtag1","hashtag2"]},{"1328266617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328266624, 1328266612, 1328266614, 1328266617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.80539846420288 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:49:22.802549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/48/image_11012025_22_48_02_744068_0003.jpg', '/home/pi/Desktop/images/11012025/22/49/image_11012025_22_49_02_934219_0000.jpg', '/home/pi/Desktop/images/11012025/22/49/image_11012025_22_49_02_934219_0001.jpg', '/home/pi/Desktop/images/11012025/22/49/image_11012025_22_49_02_934219_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/48/image_11012025_22_48_02_744068_0003.jpg
/home/pi/Desktop/images/11012025/22/49/image_11012025_22_49_02_934219_0000.jpg
/home/pi/Desktop/images/11012025/22/49/image_11012025_22_49_02_934219_0001.jpg
/home/pi/Desktop/images/11012025/22/49/image_11012025_22_49_02_934219_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328267722","1328267718","1328267720","1328267717"],"photo_ids_order":["1328267717","1328267718","1328267720","1328267722"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e130057d5f66fa4701e147595801dabf.jpg","text":"TemporaryFile(/tmp/multipartBody3949795941019023404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632233100,"filename":"image_11012025_22_49_02_934219_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7fef132ee950e370b5f994a21627bb54.jpg","text":"TemporaryFile(/tmp/multipartBody5746695221075839793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632233100,"filename":"image_11012025_22_49_02_934219_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7a6a8c11138d0b87b6d430aeb2681049.jpg","text":"TemporaryFile(/tmp/multipartBody607654604928255983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632233100,"filename":"image_11012025_22_49_02_934219_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ad2016c320e8e474cc8e05c4516b4ceb.jpg","text":"TemporaryFile(/tmp/multipartBody224007967045303338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632233100,"filename":"image_11012025_22_48_02_744068_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328267720","file1":"1328267718","file0":"1328267717","file3":"1328267722"},"map_files_photo_id_array":[{"photo_id":"1328267720","filename":"file2"},{"photo_id":"1328267718","filename":"file1"},{"photo_id":"1328267717","filename":"file0"},{"photo_id":"1328267722","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328267722":["hashtag1","hashtag2"]},{"1328267718":["hashtag1","hashtag2"]},{"1328267720":["hashtag1","hashtag2"]},{"1328267717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328267722, 1328267718, 1328267720, 1328267717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.220226764678955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:50:21.901772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/49/image_11012025_22_49_02_934219_0003.jpg', '/home/pi/Desktop/images/11012025/22/50/image_11012025_22_50_03_129190_0000.jpg', '/home/pi/Desktop/images/11012025/22/50/image_11012025_22_50_03_129190_0001.jpg', '/home/pi/Desktop/images/11012025/22/50/image_11012025_22_50_03_129190_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/49/image_11012025_22_49_02_934219_0003.jpg
/home/pi/Desktop/images/11012025/22/50/image_11012025_22_50_03_129190_0000.jpg
/home/pi/Desktop/images/11012025/22/50/image_11012025_22_50_03_129190_0001.jpg
/home/pi/Desktop/images/11012025/22/50/image_11012025_22_50_03_129190_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328268013","1328268117","1328268050","1328268049"],"photo_ids_order":["1328268013","1328268049","1328268050","1328268117"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6f4215ba9da57be36ec3d73d11dd06fc.jpg","text":"TemporaryFile(/tmp/multipartBody4209258316523863748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632292184,"filename":"image_11012025_22_49_02_934219_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bf1597162bf048089a9aa8a1ca4d7ff1.jpg","text":"TemporaryFile(/tmp/multipartBody1647344597069474677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632292184,"filename":"image_11012025_22_50_03_129190_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/28ec1c698638682b5521c6baa4735b6d.jpg","text":"TemporaryFile(/tmp/multipartBody3556602775040022111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632292184,"filename":"image_11012025_22_50_03_129190_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a40f4ebb7b69b097708607e60dc61c2e.jpg","text":"TemporaryFile(/tmp/multipartBody5759464713717866961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632292184,"filename":"image_11012025_22_50_03_129190_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328268050","file1":"1328268049","file0":"1328268013","file3":"1328268117"},"map_files_photo_id_array":[{"photo_id":"1328268050","filename":"file2"},{"photo_id":"1328268049","filename":"file1"},{"photo_id":"1328268013","filename":"file0"},{"photo_id":"1328268117","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328268013":["hashtag1","hashtag2"]},{"1328268117":["hashtag1","hashtag2"]},{"1328268050":["hashtag1","hashtag2"]},{"1328268049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328268013, 1328268117, 1328268050, 1328268049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.67432689666748 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:51:02.682254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:51:22.073545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/50/image_11012025_22_50_03_129190_0003.jpg', '/home/pi/Desktop/images/11012025/22/51/image_11012025_22_51_02_244096_0000.jpg', '/home/pi/Desktop/images/11012025/22/51/image_11012025_22_51_02_244096_0001.jpg', '/home/pi/Desktop/images/11012025/22/51/image_11012025_22_51_02_244096_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/50/image_11012025_22_50_03_129190_0003.jpg
/home/pi/Desktop/images/11012025/22/51/image_11012025_22_51_02_244096_0000.jpg
/home/pi/Desktop/images/11012025/22/51/image_11012025_22_51_02_244096_0001.jpg
/home/pi/Desktop/images/11012025/22/51/image_11012025_22_51_02_244096_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328268150","1328268137","1328268134","1328268151"],"photo_ids_order":["1328268134","1328268137","1328268150","1328268151"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9bd719973769391c42ae0973dd72f52f.jpg","text":"TemporaryFile(/tmp/multipartBody8770705414027871538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632352292,"filename":"image_11012025_22_51_02_244096_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cf2ade21caf7e2168c673b4f72a12a84.jpg","text":"TemporaryFile(/tmp/multipartBody8036618719130672157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632352292,"filename":"image_11012025_22_51_02_244096_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/630aab979bd471884522c3a2647504a7.jpg","text":"TemporaryFile(/tmp/multipartBody3026317987663525325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632352292,"filename":"image_11012025_22_50_03_129190_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/24cf4eb3f29a34127f900446ed57d9c3.jpg","text":"TemporaryFile(/tmp/multipartBody3892795075228744109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632352292,"filename":"image_11012025_22_51_02_244096_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328268150","file1":"1328268137","file0":"1328268134","file3":"1328268151"},"map_files_photo_id_array":[{"photo_id":"1328268150","filename":"file2"},{"photo_id":"1328268137","filename":"file1"},{"photo_id":"1328268134","filename":"file0"},{"photo_id":"1328268151","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328268150":["hashtag1","hashtag2"]},{"1328268137":["hashtag1","hashtag2"]},{"1328268134":["hashtag1","hashtag2"]},{"1328268151":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328268150, 1328268137, 1328268134, 1328268151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.08339595794678 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:52:22.272159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/51/image_11012025_22_51_02_244096_0003.jpg', '/home/pi/Desktop/images/11012025/22/52/image_11012025_22_52_02_356190_0000.jpg', '/home/pi/Desktop/images/11012025/22/52/image_11012025_22_52_02_356190_0001.jpg', '/home/pi/Desktop/images/11012025/22/52/image_11012025_22_52_02_356190_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/51/image_11012025_22_51_02_244096_0003.jpg
/home/pi/Desktop/images/11012025/22/52/image_11012025_22_52_02_356190_0000.jpg
/home/pi/Desktop/images/11012025/22/52/image_11012025_22_52_02_356190_0001.jpg
/home/pi/Desktop/images/11012025/22/52/image_11012025_22_52_02_356190_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328268177","1328268174","1328268181","1328268175"],"photo_ids_order":["1328268174","1328268175","1328268177","1328268181"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/212b5d07ecdd2195056c6e01ec714beb.jpg","text":"TemporaryFile(/tmp/multipartBody8189772272385836447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632412358,"filename":"image_11012025_22_52_02_356190_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/329726a6eb8c825cfc020af14f2d2635.jpg","text":"TemporaryFile(/tmp/multipartBody3639091839029196901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632412358,"filename":"image_11012025_22_51_02_244096_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/06a73f5b94520bd242324a6652b949c7.jpg","text":"TemporaryFile(/tmp/multipartBody5974480001554175465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632412358,"filename":"image_11012025_22_52_02_356190_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/933dfeb58d690119feb5150f09f076fa.jpg","text":"TemporaryFile(/tmp/multipartBody7949387576178878393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632412358,"filename":"image_11012025_22_52_02_356190_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328268177","file1":"1328268175","file0":"1328268174","file3":"1328268181"},"map_files_photo_id_array":[{"photo_id":"1328268177","filename":"file2"},{"photo_id":"1328268175","filename":"file1"},{"photo_id":"1328268174","filename":"file0"},{"photo_id":"1328268181","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328268177":["hashtag1","hashtag2"]},{"1328268174":["hashtag1","hashtag2"]},{"1328268181":["hashtag1","hashtag2"]},{"1328268175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328268177, 1328268174, 1328268181, 1328268175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.41923379898071 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:53:02.936932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:53:22.452279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/52/image_11012025_22_52_02_356190_0003.jpg', '/home/pi/Desktop/images/11012025/22/53/image_11012025_22_53_02_620451_0000.jpg', '/home/pi/Desktop/images/11012025/22/53/image_11012025_22_53_02_620451_0001.jpg', '/home/pi/Desktop/images/11012025/22/53/image_11012025_22_53_02_620451_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/52/image_11012025_22_52_02_356190_0003.jpg
/home/pi/Desktop/images/11012025/22/53/image_11012025_22_53_02_620451_0000.jpg
/home/pi/Desktop/images/11012025/22/53/image_11012025_22_53_02_620451_0001.jpg
/home/pi/Desktop/images/11012025/22/53/image_11012025_22_53_02_620451_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328268202","1328268198","1328268190","1328268193"],"photo_ids_order":["1328268190","1328268193","1328268198","1328268202"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e0208a489eb5843301baaeacf8114a7c.jpg","text":"TemporaryFile(/tmp/multipartBody5813306252156955187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632472698,"filename":"image_11012025_22_53_02_620451_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/86304cf78f318978acb546b1e871f849.jpg","text":"TemporaryFile(/tmp/multipartBody3908396793118471056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632472698,"filename":"image_11012025_22_53_02_620451_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8bf8a8dd46d99c2545a2f5f6093740a2.jpg","text":"TemporaryFile(/tmp/multipartBody2782072703784584207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632472698,"filename":"image_11012025_22_52_02_356190_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b8c2d55f2ea2429c7d47d0267747fb91.jpg","text":"TemporaryFile(/tmp/multipartBody1563047943758280469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632472698,"filename":"image_11012025_22_53_02_620451_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328268198","file1":"1328268193","file0":"1328268190","file3":"1328268202"},"map_files_photo_id_array":[{"photo_id":"1328268198","filename":"file2"},{"photo_id":"1328268193","filename":"file1"},{"photo_id":"1328268190","filename":"file0"},{"photo_id":"1328268202","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328268202":["hashtag1","hashtag2"]},{"1328268198":["hashtag1","hashtag2"]},{"1328268190":["hashtag1","hashtag2"]},{"1328268193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328268202, 1328268198, 1328268190, 1328268193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.1665563583374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:54:22.558018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/53/image_11012025_22_53_02_620451_0003.jpg', '/home/pi/Desktop/images/11012025/22/54/image_11012025_22_54_02_733981_0000.jpg', '/home/pi/Desktop/images/11012025/22/54/image_11012025_22_54_02_733981_0001.jpg', '/home/pi/Desktop/images/11012025/22/54/image_11012025_22_54_02_733981_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/53/image_11012025_22_53_02_620451_0003.jpg
/home/pi/Desktop/images/11012025/22/54/image_11012025_22_54_02_733981_0000.jpg
/home/pi/Desktop/images/11012025/22/54/image_11012025_22_54_02_733981_0001.jpg
/home/pi/Desktop/images/11012025/22/54/image_11012025_22_54_02_733981_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328268238","1328268211","1328268219","1328268209"],"photo_ids_order":["1328268209","1328268211","1328268219","1328268238"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/22c108c2c2a74602f970755d6c7b3c17.jpg","text":"TemporaryFile(/tmp/multipartBody8886961652980047201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632532582,"filename":"image_11012025_22_54_02_733981_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9cd1d5e0ce23687b447c3b753ac9c761.jpg","text":"TemporaryFile(/tmp/multipartBody3902713687031917352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632532582,"filename":"image_11012025_22_54_02_733981_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/23c6fe2684ca980a3c37a3272dda5024.jpg","text":"TemporaryFile(/tmp/multipartBody8200776040929852698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632532582,"filename":"image_11012025_22_54_02_733981_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/18ed28361ccad7c75335e4bc5f461871.jpg","text":"TemporaryFile(/tmp/multipartBody966748399625411737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632532582,"filename":"image_11012025_22_53_02_620451_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328268219","file1":"1328268211","file0":"1328268209","file3":"1328268238"},"map_files_photo_id_array":[{"photo_id":"1328268219","filename":"file2"},{"photo_id":"1328268211","filename":"file1"},{"photo_id":"1328268209","filename":"file0"},{"photo_id":"1328268238","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328268238":["hashtag1","hashtag2"]},{"1328268211":["hashtag1","hashtag2"]},{"1328268219":["hashtag1","hashtag2"]},{"1328268209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328268238, 1328268211, 1328268219, 1328268209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.8079354763031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:55:03.360465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:55:22.780704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/54/image_11012025_22_54_02_733981_0003.jpg', '/home/pi/Desktop/images/11012025/22/55/image_11012025_22_55_02_938572_0000.jpg', '/home/pi/Desktop/images/11012025/22/55/image_11012025_22_55_02_938572_0001.jpg', '/home/pi/Desktop/images/11012025/22/55/image_11012025_22_55_02_938572_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/54/image_11012025_22_54_02_733981_0003.jpg
/home/pi/Desktop/images/11012025/22/55/image_11012025_22_55_02_938572_0000.jpg
/home/pi/Desktop/images/11012025/22/55/image_11012025_22_55_02_938572_0001.jpg
/home/pi/Desktop/images/11012025/22/55/image_11012025_22_55_02_938572_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328268252","1328268255","1328268254","1328268253"],"photo_ids_order":["1328268252","1328268253","1328268254","1328268255"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/71c7f4e74b72e04aa018debc2727fee0.jpg","text":"TemporaryFile(/tmp/multipartBody2580188676647067052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632592913,"filename":"image_11012025_22_54_02_733981_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ccd6da1aa802c0badfd56c4fb61ac1b3.jpg","text":"TemporaryFile(/tmp/multipartBody131942668209919039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632592913,"filename":"image_11012025_22_55_02_938572_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/68951a1205870452eb5df54e465f41a2.jpg","text":"TemporaryFile(/tmp/multipartBody4117296319486047387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632592913,"filename":"image_11012025_22_55_02_938572_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/65db524226599d3b9a74fc72b8637298.jpg","text":"TemporaryFile(/tmp/multipartBody8691441822548595498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632592913,"filename":"image_11012025_22_55_02_938572_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328268254","file1":"1328268253","file0":"1328268252","file3":"1328268255"},"map_files_photo_id_array":[{"photo_id":"1328268254","filename":"file2"},{"photo_id":"1328268253","filename":"file1"},{"photo_id":"1328268252","filename":"file0"},{"photo_id":"1328268255","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328268252":["hashtag1","hashtag2"]},{"1328268255":["hashtag1","hashtag2"]},{"1328268254":["hashtag1","hashtag2"]},{"1328268253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328268252, 1328268255, 1328268254, 1328268253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.29588294029236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:56:21.859761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/55/image_11012025_22_55_02_938572_0003.jpg', '/home/pi/Desktop/images/11012025/22/56/image_11012025_22_56_03_041698_0000.jpg', '/home/pi/Desktop/images/11012025/22/56/image_11012025_22_56_03_041698_0001.jpg', '/home/pi/Desktop/images/11012025/22/56/image_11012025_22_56_03_041698_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/55/image_11012025_22_55_02_938572_0003.jpg
/home/pi/Desktop/images/11012025/22/56/image_11012025_22_56_03_041698_0000.jpg
/home/pi/Desktop/images/11012025/22/56/image_11012025_22_56_03_041698_0001.jpg
/home/pi/Desktop/images/11012025/22/56/image_11012025_22_56_03_041698_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328268264","1328268269","1328268271","1328268268"],"photo_ids_order":["1328268264","1328268268","1328268269","1328268271"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a9cf58fbdea52f329b0f10d5f6818bec.jpg","text":"TemporaryFile(/tmp/multipartBody6024497659523716704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632651943,"filename":"image_11012025_22_55_02_938572_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d9778e856518dce9cac9a1fa047b7f53.jpg","text":"TemporaryFile(/tmp/multipartBody1987456906832861726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632651943,"filename":"image_11012025_22_56_03_041698_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/604572a4184cba887582574c27eed3fe.jpg","text":"TemporaryFile(/tmp/multipartBody4921729884437689790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632651943,"filename":"image_11012025_22_56_03_041698_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8759629e12ba21625552262074808c9a.jpg","text":"TemporaryFile(/tmp/multipartBody420017387775081077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632651943,"filename":"image_11012025_22_56_03_041698_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328268269","file1":"1328268268","file0":"1328268264","file3":"1328268271"},"map_files_photo_id_array":[{"photo_id":"1328268269","filename":"file2"},{"photo_id":"1328268268","filename":"file1"},{"photo_id":"1328268264","filename":"file0"},{"photo_id":"1328268271","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328268264":["hashtag1","hashtag2"]},{"1328268269":["hashtag1","hashtag2"]},{"1328268271":["hashtag1","hashtag2"]},{"1328268268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328268264, 1328268269, 1328268271, 1328268268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.18456745147705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:57:02.645169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 22:57:22.076872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/56/image_11012025_22_56_03_041698_0003.jpg', '/home/pi/Desktop/images/11012025/22/57/image_11012025_22_57_02_188532_0000.jpg', '/home/pi/Desktop/images/11012025/22/57/image_11012025_22_57_02_188532_0001.jpg', '/home/pi/Desktop/images/11012025/22/57/image_11012025_22_57_02_188532_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/56/image_11012025_22_56_03_041698_0003.jpg
/home/pi/Desktop/images/11012025/22/57/image_11012025_22_57_02_188532_0000.jpg
/home/pi/Desktop/images/11012025/22/57/image_11012025_22_57_02_188532_0001.jpg
/home/pi/Desktop/images/11012025/22/57/image_11012025_22_57_02_188532_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328268288","1328268291","1328268279","1328268277"],"photo_ids_order":["1328268277","1328268279","1328268288","1328268291"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/46eac463898229a3e02beaed3360e749.jpg","text":"TemporaryFile(/tmp/multipartBody6369269201538687356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632712395,"filename":"image_11012025_22_57_02_188532_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4d29a5541a925c07c2f26a78186f2ba8.jpg","text":"TemporaryFile(/tmp/multipartBody2013015822156288822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632712395,"filename":"image_11012025_22_57_02_188532_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d633faec360949f3bf95678949c606c0.jpg","text":"TemporaryFile(/tmp/multipartBody8311668356392926039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632712395,"filename":"image_11012025_22_57_02_188532_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/66be761b90188f8ebb018f972d2c14ee.jpg","text":"TemporaryFile(/tmp/multipartBody6147977160377124500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632712395,"filename":"image_11012025_22_56_03_041698_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328268288","file1":"1328268279","file0":"1328268277","file3":"1328268291"},"map_files_photo_id_array":[{"photo_id":"1328268288","filename":"file2"},{"photo_id":"1328268279","filename":"file1"},{"photo_id":"1328268277","filename":"file0"},{"photo_id":"1328268291","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328268288":["hashtag1","hashtag2"]},{"1328268291":["hashtag1","hashtag2"]},{"1328268279":["hashtag1","hashtag2"]},{"1328268277":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328268288, 1328268291, 1328268279, 1328268277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.641602516174316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 22:59:03.097488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/57/image_11012025_22_57_02_188532_0003.jpg', '/home/pi/Desktop/images/11012025/22/58/image_11012025_22_58_02_375816_0000.jpg', '/home/pi/Desktop/images/11012025/22/58/image_11012025_22_58_02_375816_0001.jpg', '/home/pi/Desktop/images/11012025/22/58/image_11012025_22_58_02_375816_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/57/image_11012025_22_57_02_188532_0003.jpg
/home/pi/Desktop/images/11012025/22/58/image_11012025_22_58_02_375816_0000.jpg
/home/pi/Desktop/images/11012025/22/58/image_11012025_22_58_02_375816_0001.jpg
/home/pi/Desktop/images/11012025/22/58/image_11012025_22_58_02_375816_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328268342","1328268354","1328268348","1328268336"],"photo_ids_order":["1328268336","1328268342","1328268348","1328268354"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/45d38b8de77a6b4734fe50a0792ccf7b.jpg","text":"TemporaryFile(/tmp/multipartBody2847012619593703186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632813488,"filename":"image_11012025_22_58_02_375816_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/db418d38180f3c45fd123a66fbac8637.jpg","text":"TemporaryFile(/tmp/multipartBody3752147689965549133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632813488,"filename":"image_11012025_22_58_02_375816_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2ecc048ab310eb3ab16c0df75af7a5fa.jpg","text":"TemporaryFile(/tmp/multipartBody690754204290444664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632813488,"filename":"image_11012025_22_58_02_375816_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/902a90ca511ec99be43fdf2802f60cf8.jpg","text":"TemporaryFile(/tmp/multipartBody8546437314653470472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632813488,"filename":"image_11012025_22_57_02_188532_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328268348","file1":"1328268342","file0":"1328268336","file3":"1328268354"},"map_files_photo_id_array":[{"photo_id":"1328268348","filename":"file2"},{"photo_id":"1328268342","filename":"file1"},{"photo_id":"1328268336","filename":"file0"},{"photo_id":"1328268354","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328268342":["hashtag1","hashtag2"]},{"1328268354":["hashtag1","hashtag2"]},{"1328268348":["hashtag1","hashtag2"]},{"1328268336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328268342, 1328268354, 1328268348, 1328268336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.170527935028076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 22:59:52.493347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/58/image_11012025_22_58_02_375816_0003.jpg', '/home/pi/Desktop/images/11012025/22/59/image_11012025_22_59_02_625616_0000.jpg', '/home/pi/Desktop/images/11012025/22/59/image_11012025_22_59_02_625616_0001.jpg', '/home/pi/Desktop/images/11012025/22/59/image_11012025_22_59_02_625616_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/58/image_11012025_22_58_02_375816_0003.jpg
/home/pi/Desktop/images/11012025/22/59/image_11012025_22_59_02_625616_0000.jpg
/home/pi/Desktop/images/11012025/22/59/image_11012025_22_59_02_625616_0001.jpg
/home/pi/Desktop/images/11012025/22/59/image_11012025_22_59_02_625616_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328268372","1328268366","1328268362","1328268376"],"photo_ids_order":["1328268362","1328268366","1328268372","1328268376"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f43f01beef415545fe4bbf14d4809826.jpg","text":"TemporaryFile(/tmp/multipartBody4290464919566163744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632862701,"filename":"image_11012025_22_59_02_625616_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cc64e117341622910974a6a0887cfc26.jpg","text":"TemporaryFile(/tmp/multipartBody1388802588228860263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632862701,"filename":"image_11012025_22_59_02_625616_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1fb00f31124c1550707fe077943699ed.jpg","text":"TemporaryFile(/tmp/multipartBody761531309685657301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632862701,"filename":"image_11012025_22_58_02_375816_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d33b03c0fab07bf44142a6045569bfeb.jpg","text":"TemporaryFile(/tmp/multipartBody1166615322377709289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632862701,"filename":"image_11012025_22_59_02_625616_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328268372","file1":"1328268366","file0":"1328268362","file3":"1328268376"},"map_files_photo_id_array":[{"photo_id":"1328268372","filename":"file2"},{"photo_id":"1328268366","filename":"file1"},{"photo_id":"1328268362","filename":"file0"},{"photo_id":"1328268376","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328268372":["hashtag1","hashtag2"]},{"1328268366":["hashtag1","hashtag2"]},{"1328268362":["hashtag1","hashtag2"]},{"1328268376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328268372, 1328268366, 1328268362, 1328268376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.18567681312561 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 23:00:32.572183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/22/59/image_11012025_22_59_02_625616_0003.jpg', '/home/pi/Desktop/images/11012025/23/00/image_11012025_23_00_02_993726_0000.jpg', '/home/pi/Desktop/images/11012025/23/00/image_11012025_23_00_02_993726_0001.jpg', '/home/pi/Desktop/images/11012025/23/00/image_11012025_23_00_02_993726_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/22/59/image_11012025_22_59_02_625616_0003.jpg
/home/pi/Desktop/images/11012025/23/00/image_11012025_23_00_02_993726_0000.jpg
/home/pi/Desktop/images/11012025/23/00/image_11012025_23_00_02_993726_0001.jpg
/home/pi/Desktop/images/11012025/23/00/image_11012025_23_00_02_993726_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328268412","1328268387","1328268411","1328268394"],"photo_ids_order":["1328268387","1328268394","1328268411","1328268412"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2686b4a1113d1e40c105c790909eb8c0.jpg","text":"TemporaryFile(/tmp/multipartBody3948274220482127177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632902768,"filename":"image_11012025_23_00_02_993726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/de50e26da12a094707a64c6fb05a1ce4.jpg","text":"TemporaryFile(/tmp/multipartBody159988117009265604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632902768,"filename":"image_11012025_22_59_02_625616_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/029e8284167ed67b79af15bd210c0dbf.jpg","text":"TemporaryFile(/tmp/multipartBody8926554950477519689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632902768,"filename":"image_11012025_23_00_02_993726_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bd16329fd3bdc5d5666ee75db300739a.jpg","text":"TemporaryFile(/tmp/multipartBody4865502143539198938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632902768,"filename":"image_11012025_23_00_02_993726_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328268411","file1":"1328268394","file0":"1328268387","file3":"1328268412"},"map_files_photo_id_array":[{"photo_id":"1328268411","filename":"file2"},{"photo_id":"1328268394","filename":"file1"},{"photo_id":"1328268387","filename":"file0"},{"photo_id":"1328268412","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328268412":["hashtag1","hashtag2"]},{"1328268387":["hashtag1","hashtag2"]},{"1328268411":["hashtag1","hashtag2"]},{"1328268394":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328268412, 1328268387, 1328268411, 1328268394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.893515825271606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:01:21.883345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/00/image_11012025_23_00_02_993726_0003.jpg', '/home/pi/Desktop/images/11012025/23/01/image_11012025_23_01_03_032272_0000.jpg', '/home/pi/Desktop/images/11012025/23/01/image_11012025_23_01_03_032272_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/00/image_11012025_23_00_02_993726_0003.jpg
/home/pi/Desktop/images/11012025/23/01/image_11012025_23_01_03_032272_0000.jpg
/home/pi/Desktop/images/11012025/23/01/image_11012025_23_01_03_032272_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":["1328268433","1328268429","1328268434"],"photo_ids_order":["1328268429","1328268433","1328268434"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/870615cf22fee3fb68823488b29ce97b.jpg","text":"TemporaryFile(/tmp/multipartBody4037407720410726651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632949680,"filename":"image_11012025_23_01_03_032272_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4b048cb868cf23a0b377fbf2104ea914.jpg","text":"TemporaryFile(/tmp/multipartBody3573823918528964386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632949680,"filename":"image_11012025_23_00_02_993726_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b6fbdf861ad2f993360afcf8d7b1e307.jpg","text":"TemporaryFile(/tmp/multipartBody5972723850218966161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736632949680,"filename":"image_11012025_23_01_03_032272_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328268434","file1":"1328268433","file0":"1328268429"},"map_files_photo_id_array":[{"photo_id":"1328268434","filename":"file2"},{"photo_id":"1328268433","filename":"file1"},{"photo_id":"1328268429","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328268433":["hashtag1","hashtag2"]},{"1328268429":["hashtag1","hashtag2"]},{"1328268434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328268433, 1328268429, 1328268434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.5887246131897 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:02:02.336084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:02:22.026365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/01/image_11012025_23_01_03_032272_0002.jpg', '/home/pi/Desktop/images/11012025/23/02/image_11012025_23_02_02_275375_0000.jpg', '/home/pi/Desktop/images/11012025/23/02/image_11012025_23_02_02_275375_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/01/image_11012025_23_01_03_032272_0002.jpg
/home/pi/Desktop/images/11012025/23/02/image_11012025_23_02_02_275375_0000.jpg
/home/pi/Desktop/images/11012025/23/02/image_11012025_23_02_02_275375_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":["1328269029","1328269031","1328269033"],"photo_ids_order":["1328269029","1328269031","1328269033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/224c33e54da6f0d65d98745459fd49e1.jpg","text":"TemporaryFile(/tmp/multipartBody8313644137258722235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633009802,"filename":"image_11012025_23_01_03_032272_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1860b4b69383021d6631f5dbc63c0be7.jpg","text":"TemporaryFile(/tmp/multipartBody8285312603173953993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633009802,"filename":"image_11012025_23_02_02_275375_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fcc063d7823cee144b0ea3c66abd53b6.jpg","text":"TemporaryFile(/tmp/multipartBody3747222106175319157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633009802,"filename":"image_11012025_23_02_02_275375_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328269033","file1":"1328269031","file0":"1328269029"},"map_files_photo_id_array":[{"photo_id":"1328269033","filename":"file2"},{"photo_id":"1328269031","filename":"file1"},{"photo_id":"1328269029","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328269029":["hashtag1","hashtag2"]},{"1328269031":["hashtag1","hashtag2"]},{"1328269033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328269029, 1328269031, 1328269033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.575268745422363 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:03:02.751146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:03:22.213403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/02/image_11012025_23_02_02_275375_0002.jpg', '/home/pi/Desktop/images/11012025/23/03/image_11012025_23_03_02_404087_0000.jpg', '/home/pi/Desktop/images/11012025/23/03/image_11012025_23_03_02_404087_0001.jpg', '/home/pi/Desktop/images/11012025/23/03/image_11012025_23_03_02_404087_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/02/image_11012025_23_02_02_275375_0002.jpg
/home/pi/Desktop/images/11012025/23/03/image_11012025_23_03_02_404087_0000.jpg
/home/pi/Desktop/images/11012025/23/03/image_11012025_23_03_02_404087_0001.jpg
/home/pi/Desktop/images/11012025/23/03/image_11012025_23_03_02_404087_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328269251","1328269239","1328269237","1328269267"],"photo_ids_order":["1328269237","1328269239","1328269251","1328269267"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7d8e7866565c7a229f01854fa645f276.jpg","text":"TemporaryFile(/tmp/multipartBody7817727709613831582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633072390,"filename":"image_11012025_23_03_02_404087_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/abcd739f2bd81214abb1231c0ecf7e2f.jpg","text":"TemporaryFile(/tmp/multipartBody3857772111746183634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633072390,"filename":"image_11012025_23_03_02_404087_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/526817be39d8c6a410122439da0ae3d4.jpg","text":"TemporaryFile(/tmp/multipartBody7642062281990822550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633072390,"filename":"image_11012025_23_02_02_275375_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/106b8c24291cd57dbbf976cf4103baf8.jpg","text":"TemporaryFile(/tmp/multipartBody6292913364057302146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633072390,"filename":"image_11012025_23_03_02_404087_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328269251","file1":"1328269239","file0":"1328269237","file3":"1328269267"},"map_files_photo_id_array":[{"photo_id":"1328269251","filename":"file2"},{"photo_id":"1328269239","filename":"file1"},{"photo_id":"1328269237","filename":"file0"},{"photo_id":"1328269267","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328269251":["hashtag1","hashtag2"]},{"1328269239":["hashtag1","hashtag2"]},{"1328269237":["hashtag1","hashtag2"]},{"1328269267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328269251, 1328269239, 1328269237, 1328269267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.17969584465027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:04:22.354843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/03/image_11012025_23_03_02_404087_0003.jpg', '/home/pi/Desktop/images/11012025/23/04/image_11012025_23_04_02_540395_0000.jpg', '/home/pi/Desktop/images/11012025/23/04/image_11012025_23_04_02_540395_0001.jpg', '/home/pi/Desktop/images/11012025/23/04/image_11012025_23_04_02_540395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/03/image_11012025_23_03_02_404087_0003.jpg
/home/pi/Desktop/images/11012025/23/04/image_11012025_23_04_02_540395_0000.jpg
/home/pi/Desktop/images/11012025/23/04/image_11012025_23_04_02_540395_0001.jpg
/home/pi/Desktop/images/11012025/23/04/image_11012025_23_04_02_540395_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.855662107467651 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 23:04:42.401680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/03/image_11012025_23_03_02_404087_0003.jpg', '/home/pi/Desktop/images/11012025/23/04/image_11012025_23_04_02_540395_0000.jpg', '/home/pi/Desktop/images/11012025/23/04/image_11012025_23_04_02_540395_0001.jpg', '/home/pi/Desktop/images/11012025/23/04/image_11012025_23_04_02_540395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/03/image_11012025_23_03_02_404087_0003.jpg
/home/pi/Desktop/images/11012025/23/04/image_11012025_23_04_02_540395_0000.jpg
/home/pi/Desktop/images/11012025/23/04/image_11012025_23_04_02_540395_0001.jpg
/home/pi/Desktop/images/11012025/23/04/image_11012025_23_04_02_540395_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328269329","1328269331","1328269334","1328269330"],"photo_ids_order":["1328269329","1328269330","1328269331","1328269334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8bc87d59e223de00efaf75b829b15944.jpg","text":"TemporaryFile(/tmp/multipartBody4847015673339300394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633152670,"filename":"image_11012025_23_03_02_404087_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2286e64512cefe9a0fb9d919f28adf58.jpg","text":"TemporaryFile(/tmp/multipartBody5873230108463301381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633152670,"filename":"image_11012025_23_04_02_540395_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/de8493f8f331e4af0db2115c03ac6367.jpg","text":"TemporaryFile(/tmp/multipartBody4516952688973176135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633152670,"filename":"image_11012025_23_04_02_540395_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/229f10bb2c81279aeea0681ff61e02f7.jpg","text":"TemporaryFile(/tmp/multipartBody1112549499876285350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633152670,"filename":"image_11012025_23_04_02_540395_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328269331","file1":"1328269330","file0":"1328269329","file3":"1328269334"},"map_files_photo_id_array":[{"photo_id":"1328269331","filename":"file2"},{"photo_id":"1328269330","filename":"file1"},{"photo_id":"1328269329","filename":"file0"},{"photo_id":"1328269334","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328269329":["hashtag1","hashtag2"]},{"1328269331":["hashtag1","hashtag2"]},{"1328269334":["hashtag1","hashtag2"]},{"1328269330":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328269329, 1328269331, 1328269334, 1328269330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.18950843811035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:05:22.558825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/04/image_11012025_23_04_02_540395_0003.jpg', '/home/pi/Desktop/images/11012025/23/05/image_11012025_23_05_02_812672_0000.jpg', '/home/pi/Desktop/images/11012025/23/05/image_11012025_23_05_02_812672_0001.jpg', '/home/pi/Desktop/images/11012025/23/05/image_11012025_23_05_02_812672_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/04/image_11012025_23_04_02_540395_0003.jpg
/home/pi/Desktop/images/11012025/23/05/image_11012025_23_05_02_812672_0000.jpg
/home/pi/Desktop/images/11012025/23/05/image_11012025_23_05_02_812672_0001.jpg
/home/pi/Desktop/images/11012025/23/05/image_11012025_23_05_02_812672_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328269392","1328269377","1328269391","1328269390"],"photo_ids_order":["1328269377","1328269390","1328269391","1328269392"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3e9503ef546cd3e9d74f11f772c3d8aa.jpg","text":"TemporaryFile(/tmp/multipartBody193487421226582846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633192762,"filename":"image_11012025_23_05_02_812672_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9ed1654f8da15d6882051f08b78f15c4.jpg","text":"TemporaryFile(/tmp/multipartBody6777402313274081333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633192762,"filename":"image_11012025_23_04_02_540395_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ef6ca50e541ce88727fa437ac59e3557.jpg","text":"TemporaryFile(/tmp/multipartBody1951403519131767252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633192762,"filename":"image_11012025_23_05_02_812672_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/40c13ca942b4d52ed8e005aea35f8612.jpg","text":"TemporaryFile(/tmp/multipartBody3413227777732857855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633192762,"filename":"image_11012025_23_05_02_812672_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328269391","file1":"1328269390","file0":"1328269377","file3":"1328269392"},"map_files_photo_id_array":[{"photo_id":"1328269391","filename":"file2"},{"photo_id":"1328269390","filename":"file1"},{"photo_id":"1328269377","filename":"file0"},{"photo_id":"1328269392","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328269392":["hashtag1","hashtag2"]},{"1328269377":["hashtag1","hashtag2"]},{"1328269391":["hashtag1","hashtag2"]},{"1328269390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328269392, 1328269377, 1328269391, 1328269390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.23841047286987 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:06:22.838157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/05/image_11012025_23_05_02_812672_0003.jpg', '/home/pi/Desktop/images/11012025/23/06/image_11012025_23_06_02_924771_0000.jpg', '/home/pi/Desktop/images/11012025/23/06/image_11012025_23_06_02_924771_0001.jpg', '/home/pi/Desktop/images/11012025/23/06/image_11012025_23_06_02_924771_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/05/image_11012025_23_05_02_812672_0003.jpg
/home/pi/Desktop/images/11012025/23/06/image_11012025_23_06_02_924771_0000.jpg
/home/pi/Desktop/images/11012025/23/06/image_11012025_23_06_02_924771_0001.jpg
/home/pi/Desktop/images/11012025/23/06/image_11012025_23_06_02_924771_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328269521","1328269539","1328269512","1328269513"],"photo_ids_order":["1328269512","1328269513","1328269521","1328269539"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a769775bed728a4aa0155e56afb2aff4.jpg","text":"TemporaryFile(/tmp/multipartBody5882428059654059509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633253195,"filename":"image_11012025_23_06_02_924771_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0057667df93a90a45dcf066ceac18165.jpg","text":"TemporaryFile(/tmp/multipartBody5427858353136892963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633253195,"filename":"image_11012025_23_06_02_924771_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b23bcd28bbeec7ff1a652823ce2328ab.jpg","text":"TemporaryFile(/tmp/multipartBody5409436084045017581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633253195,"filename":"image_11012025_23_05_02_812672_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/069b728e1c39aada57a5442f118dfe35.jpg","text":"TemporaryFile(/tmp/multipartBody766069547184861885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633253195,"filename":"image_11012025_23_06_02_924771_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328269521","file1":"1328269513","file0":"1328269512","file3":"1328269539"},"map_files_photo_id_array":[{"photo_id":"1328269521","filename":"file2"},{"photo_id":"1328269513","filename":"file1"},{"photo_id":"1328269512","filename":"file0"},{"photo_id":"1328269539","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328269521":["hashtag1","hashtag2"]},{"1328269539":["hashtag1","hashtag2"]},{"1328269512":["hashtag1","hashtag2"]},{"1328269513":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328269521, 1328269539, 1328269512, 1328269513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.61938142776489 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-11 23:07:21.865991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/06/image_11012025_23_06_02_924771_0003.jpg', '/home/pi/Desktop/images/11012025/23/07/image_11012025_23_07_03_080831_0000.jpg', '/home/pi/Desktop/images/11012025/23/07/image_11012025_23_07_03_080831_0001.jpg', '/home/pi/Desktop/images/11012025/23/07/image_11012025_23_07_03_080831_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/06/image_11012025_23_06_02_924771_0003.jpg
/home/pi/Desktop/images/11012025/23/07/image_11012025_23_07_03_080831_0000.jpg
/home/pi/Desktop/images/11012025/23/07/image_11012025_23_07_03_080831_0001.jpg
/home/pi/Desktop/images/11012025/23/07/image_11012025_23_07_03_080831_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328269551","1328269548","1328269553","1328269549"],"photo_ids_order":["1328269548","1328269549","1328269551","1328269553"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2b9f6dd762f597870adb824578c27c76.jpg","text":"TemporaryFile(/tmp/multipartBody4134341209001045131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633312066,"filename":"image_11012025_23_07_03_080831_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2145e74e1d9877ebe9584ce0babd5747.jpg","text":"TemporaryFile(/tmp/multipartBody9050199797456011385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633312066,"filename":"image_11012025_23_06_02_924771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9cc32b4f961d65b84611cc1a1ac03e1d.jpg","text":"TemporaryFile(/tmp/multipartBody4601912831596507810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633312066,"filename":"image_11012025_23_07_03_080831_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9ce6df7ec8619fe8ee05fbf500b16c7a.jpg","text":"TemporaryFile(/tmp/multipartBody353874932085101937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633312066,"filename":"image_11012025_23_07_03_080831_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328269551","file1":"1328269549","file0":"1328269548","file3":"1328269553"},"map_files_photo_id_array":[{"photo_id":"1328269551","filename":"file2"},{"photo_id":"1328269549","filename":"file1"},{"photo_id":"1328269548","filename":"file0"},{"photo_id":"1328269553","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328269551":["hashtag1","hashtag2"]},{"1328269548":["hashtag1","hashtag2"]},{"1328269553":["hashtag1","hashtag2"]},{"1328269549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328269551, 1328269548, 1328269553, 1328269549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.089890003204346 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:08:22.203265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/07/image_11012025_23_07_03_080831_0003.jpg', '/home/pi/Desktop/images/11012025/23/08/image_11012025_23_08_02_347634_0000.jpg', '/home/pi/Desktop/images/11012025/23/08/image_11012025_23_08_02_347634_0001.jpg', '/home/pi/Desktop/images/11012025/23/08/image_11012025_23_08_02_347634_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/07/image_11012025_23_07_03_080831_0003.jpg
/home/pi/Desktop/images/11012025/23/08/image_11012025_23_08_02_347634_0000.jpg
/home/pi/Desktop/images/11012025/23/08/image_11012025_23_08_02_347634_0001.jpg
/home/pi/Desktop/images/11012025/23/08/image_11012025_23_08_02_347634_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328269569","1328269565","1328269567","1328269564"],"photo_ids_order":["1328269564","1328269565","1328269567","1328269569"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/76ecdb173c2446763190277503f4b8f3.jpg","text":"TemporaryFile(/tmp/multipartBody1382658438274683968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633372405,"filename":"image_11012025_23_08_02_347634_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9401fe27bf0218df0df039823bf20445.jpg","text":"TemporaryFile(/tmp/multipartBody6434097981264615044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633372405,"filename":"image_11012025_23_08_02_347634_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0dce2999aeb29b4c2d872cdd575e9df7.jpg","text":"TemporaryFile(/tmp/multipartBody7756906233625892560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633372405,"filename":"image_11012025_23_08_02_347634_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dc1f2db33425c73617fb17b08620d755.jpg","text":"TemporaryFile(/tmp/multipartBody5842835399628911046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633372405,"filename":"image_11012025_23_07_03_080831_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328269567","file1":"1328269565","file0":"1328269564","file3":"1328269569"},"map_files_photo_id_array":[{"photo_id":"1328269567","filename":"file2"},{"photo_id":"1328269565","filename":"file1"},{"photo_id":"1328269564","filename":"file0"},{"photo_id":"1328269569","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328269569":["hashtag1","hashtag2"]},{"1328269565":["hashtag1","hashtag2"]},{"1328269567":["hashtag1","hashtag2"]},{"1328269564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328269569, 1328269565, 1328269567, 1328269564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.054128885269165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:09:22.274514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/08/image_11012025_23_08_02_347634_0003.jpg', '/home/pi/Desktop/images/11012025/23/09/image_11012025_23_09_02_525091_0000.jpg', '/home/pi/Desktop/images/11012025/23/09/image_11012025_23_09_02_525091_0001.jpg', '/home/pi/Desktop/images/11012025/23/09/image_11012025_23_09_02_525091_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/08/image_11012025_23_08_02_347634_0003.jpg
/home/pi/Desktop/images/11012025/23/09/image_11012025_23_09_02_525091_0000.jpg
/home/pi/Desktop/images/11012025/23/09/image_11012025_23_09_02_525091_0001.jpg
/home/pi/Desktop/images/11012025/23/09/image_11012025_23_09_02_525091_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328269609","1328269600","1328269598","1328269597"],"photo_ids_order":["1328269597","1328269598","1328269600","1328269609"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9d05c181cf253274eb5f3898652cb1f6.jpg","text":"TemporaryFile(/tmp/multipartBody8914209953234526916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633432455,"filename":"image_11012025_23_09_02_525091_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2c629647768dfdd9a58ee09ae6b52641.jpg","text":"TemporaryFile(/tmp/multipartBody2744346585722704894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633432455,"filename":"image_11012025_23_09_02_525091_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/501cf13c0bb0c497db9d95beae7d9c1c.jpg","text":"TemporaryFile(/tmp/multipartBody4376877214891965576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633432455,"filename":"image_11012025_23_09_02_525091_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3054e47e26361d3a1f3db2b6babb9d7c.jpg","text":"TemporaryFile(/tmp/multipartBody967870057756631804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633432455,"filename":"image_11012025_23_08_02_347634_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328269600","file1":"1328269598","file0":"1328269597","file3":"1328269609"},"map_files_photo_id_array":[{"photo_id":"1328269600","filename":"file2"},{"photo_id":"1328269598","filename":"file1"},{"photo_id":"1328269597","filename":"file0"},{"photo_id":"1328269609","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328269609":["hashtag1","hashtag2"]},{"1328269600":["hashtag1","hashtag2"]},{"1328269598":["hashtag1","hashtag2"]},{"1328269597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328269609, 1328269600, 1328269598, 1328269597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.84273624420166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:10:22.539152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/09/image_11012025_23_09_02_525091_0003.jpg', '/home/pi/Desktop/images/11012025/23/10/image_11012025_23_10_02_608365_0000.jpg', '/home/pi/Desktop/images/11012025/23/10/image_11012025_23_10_02_608365_0001.jpg', '/home/pi/Desktop/images/11012025/23/10/image_11012025_23_10_02_608365_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/09/image_11012025_23_09_02_525091_0003.jpg
/home/pi/Desktop/images/11012025/23/10/image_11012025_23_10_02_608365_0000.jpg
/home/pi/Desktop/images/11012025/23/10/image_11012025_23_10_02_608365_0001.jpg
/home/pi/Desktop/images/11012025/23/10/image_11012025_23_10_02_608365_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.895742654800415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 23:10:42.424510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/09/image_11012025_23_09_02_525091_0003.jpg', '/home/pi/Desktop/images/11012025/23/10/image_11012025_23_10_02_608365_0000.jpg', '/home/pi/Desktop/images/11012025/23/10/image_11012025_23_10_02_608365_0001.jpg', '/home/pi/Desktop/images/11012025/23/10/image_11012025_23_10_02_608365_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/09/image_11012025_23_09_02_525091_0003.jpg
/home/pi/Desktop/images/11012025/23/10/image_11012025_23_10_02_608365_0000.jpg
/home/pi/Desktop/images/11012025/23/10/image_11012025_23_10_02_608365_0001.jpg
/home/pi/Desktop/images/11012025/23/10/image_11012025_23_10_02_608365_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328270101","1328270104","1328270097","1328270099"],"photo_ids_order":["1328270097","1328270099","1328270101","1328270104"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9049257d78bf9d78ad906fd634495328.jpg","text":"TemporaryFile(/tmp/multipartBody3048556999371895091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633512713,"filename":"image_11012025_23_10_02_608365_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b7bce7fc025682e7e35e517edb1cd8a1.jpg","text":"TemporaryFile(/tmp/multipartBody7658573150920356482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633512713,"filename":"image_11012025_23_10_02_608365_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4f226735f525690d8120bb092bac8315.jpg","text":"TemporaryFile(/tmp/multipartBody5192669489631282501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633512713,"filename":"image_11012025_23_09_02_525091_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3e4d36d5fe0ef3553ac4a0d0851990c3.jpg","text":"TemporaryFile(/tmp/multipartBody6097730122949974074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633512713,"filename":"image_11012025_23_10_02_608365_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328270101","file1":"1328270099","file0":"1328270097","file3":"1328270104"},"map_files_photo_id_array":[{"photo_id":"1328270101","filename":"file2"},{"photo_id":"1328270099","filename":"file1"},{"photo_id":"1328270097","filename":"file0"},{"photo_id":"1328270104","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328270101":["hashtag1","hashtag2"]},{"1328270104":["hashtag1","hashtag2"]},{"1328270097":["hashtag1","hashtag2"]},{"1328270099":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328270101, 1328270104, 1328270097, 1328270099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.942333936691284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:11:22.545204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/10/image_11012025_23_10_02_608365_0003.jpg', '/home/pi/Desktop/images/11012025/23/11/image_11012025_23_11_02_804811_0000.jpg', '/home/pi/Desktop/images/11012025/23/11/image_11012025_23_11_02_804811_0001.jpg', '/home/pi/Desktop/images/11012025/23/11/image_11012025_23_11_02_804811_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/10/image_11012025_23_10_02_608365_0003.jpg
/home/pi/Desktop/images/11012025/23/11/image_11012025_23_11_02_804811_0000.jpg
/home/pi/Desktop/images/11012025/23/11/image_11012025_23_11_02_804811_0001.jpg
/home/pi/Desktop/images/11012025/23/11/image_11012025_23_11_02_804811_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328270350","1328270346","1328270345","1328270348"],"photo_ids_order":["1328270345","1328270346","1328270348","1328270350"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6b61419390005f28f67fe594499b287b.jpg","text":"TemporaryFile(/tmp/multipartBody3049221002753320528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633552877,"filename":"image_11012025_23_11_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/11/4fc3c33f39ee921a3cd9cfe06e363842.jpg","text":"TemporaryFile(/tmp/multipartBody6567616294151410537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633552877,"filename":"image_11012025_23_11_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/11/c4a8a5050deb31d6a9e29f4372df1e32.jpg","text":"TemporaryFile(/tmp/multipartBody710651398630272068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633552877,"filename":"image_11012025_23_10_02_608365_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/999ef1712c4fc8f37cf65b1c5bccc68f.jpg","text":"TemporaryFile(/tmp/multipartBody10493148595791448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633552877,"filename":"image_11012025_23_11_02_804811_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328270348","file1":"1328270346","file0":"1328270345","file3":"1328270350"},"map_files_photo_id_array":[{"photo_id":"1328270348","filename":"file2"},{"photo_id":"1328270346","filename":"file1"},{"photo_id":"1328270345","filename":"file0"},{"photo_id":"1328270350","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328270350":["hashtag1","hashtag2"]},{"1328270346":["hashtag1","hashtag2"]},{"1328270345":["hashtag1","hashtag2"]},{"1328270348":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328270350, 1328270346, 1328270345, 1328270348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.72523808479309 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:12:21.896547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/11/image_11012025_23_11_02_804811_0003.jpg', '/home/pi/Desktop/images/11012025/23/12/image_11012025_23_12_02_958318_0000.jpg', '/home/pi/Desktop/images/11012025/23/12/image_11012025_23_12_02_958318_0001.jpg', '/home/pi/Desktop/images/11012025/23/12/image_11012025_23_12_02_958318_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/11/image_11012025_23_11_02_804811_0003.jpg
/home/pi/Desktop/images/11012025/23/12/image_11012025_23_12_02_958318_0000.jpg
/home/pi/Desktop/images/11012025/23/12/image_11012025_23_12_02_958318_0001.jpg
/home/pi/Desktop/images/11012025/23/12/image_11012025_23_12_02_958318_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328270365","1328270361","1328270375","1328270362"],"photo_ids_order":["1328270361","1328270362","1328270365","1328270375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/974bc2308d1cbf9deb01e3ada15d2c34.jpg","text":"TemporaryFile(/tmp/multipartBody4785246758254613495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633612305,"filename":"image_11012025_23_12_02_958318_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ac5d220acb7f137950223c3739fd7e50.jpg","text":"TemporaryFile(/tmp/multipartBody8665453887890102100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633612305,"filename":"image_11012025_23_11_02_804811_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/74a22f1299c57782174887bcc0ac6754.jpg","text":"TemporaryFile(/tmp/multipartBody5639763291328544372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633612305,"filename":"image_11012025_23_12_02_958318_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bf3b5bd70eec9e9ad0f3d36c7af94633.jpg","text":"TemporaryFile(/tmp/multipartBody3862595807194495773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633612305,"filename":"image_11012025_23_12_02_958318_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328270365","file1":"1328270362","file0":"1328270361","file3":"1328270375"},"map_files_photo_id_array":[{"photo_id":"1328270365","filename":"file2"},{"photo_id":"1328270362","filename":"file1"},{"photo_id":"1328270361","filename":"file0"},{"photo_id":"1328270375","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328270365":["hashtag1","hashtag2"]},{"1328270361":["hashtag1","hashtag2"]},{"1328270375":["hashtag1","hashtag2"]},{"1328270362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328270365, 1328270361, 1328270375, 1328270362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.506197690963745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:13:02.608790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:13:21.959699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/12/image_11012025_23_12_02_958318_0003.jpg', '/home/pi/Desktop/images/11012025/23/13/image_11012025_23_13_02_211361_0000.jpg', '/home/pi/Desktop/images/11012025/23/13/image_11012025_23_13_02_211361_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/12/image_11012025_23_12_02_958318_0003.jpg
/home/pi/Desktop/images/11012025/23/13/image_11012025_23_13_02_211361_0000.jpg
/home/pi/Desktop/images/11012025/23/13/image_11012025_23_13_02_211361_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":["1328270427","1328270424","1328270426"],"photo_ids_order":["1328270424","1328270426","1328270427"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4ae6f500b333302918e4a59831c2e39e.jpg","text":"TemporaryFile(/tmp/multipartBody132101161818877466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633669819,"filename":"image_11012025_23_13_02_211361_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a4979f44174a3be473964fb259233d06.jpg","text":"TemporaryFile(/tmp/multipartBody5189254023891544654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633669819,"filename":"image_11012025_23_12_02_958318_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3f9b7e3603cd0e30632d3d7262c3392e.jpg","text":"TemporaryFile(/tmp/multipartBody5993402726809997789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633669819,"filename":"image_11012025_23_13_02_211361_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328270427","file1":"1328270426","file0":"1328270424"},"map_files_photo_id_array":[{"photo_id":"1328270427","filename":"file2"},{"photo_id":"1328270426","filename":"file1"},{"photo_id":"1328270424","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328270427":["hashtag1","hashtag2"]},{"1328270424":["hashtag1","hashtag2"]},{"1328270426":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328270427, 1328270424, 1328270426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.08377718925476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:14:02.827237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:14:22.421638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/13/image_11012025_23_13_02_211361_0003.jpg', '/home/pi/Desktop/images/11012025/23/14/image_11012025_23_14_02_338029_0000.jpg', '/home/pi/Desktop/images/11012025/23/14/image_11012025_23_14_02_338029_0001.jpg', '/home/pi/Desktop/images/11012025/23/14/image_11012025_23_14_02_338029_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/13/image_11012025_23_13_02_211361_0003.jpg
/home/pi/Desktop/images/11012025/23/14/image_11012025_23_14_02_338029_0000.jpg
/home/pi/Desktop/images/11012025/23/14/image_11012025_23_14_02_338029_0001.jpg
/home/pi/Desktop/images/11012025/23/14/image_11012025_23_14_02_338029_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328270454","1328270450","1328270447","1328270452"],"photo_ids_order":["1328270447","1328270450","1328270452","1328270454"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/605e81c778688ed795ad642d2760d73a.jpg","text":"TemporaryFile(/tmp/multipartBody8698754752897739004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633732689,"filename":"image_11012025_23_14_02_338029_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3c6e3df3d44be89280e8702d8837b958.jpg","text":"TemporaryFile(/tmp/multipartBody8620473116741293559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633732689,"filename":"image_11012025_23_14_02_338029_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cbc8b0765fa2122237a6b5db7b1a7ba9.jpg","text":"TemporaryFile(/tmp/multipartBody1897336657203847470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633732689,"filename":"image_11012025_23_13_02_211361_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/604e8e320df76eab6cc6c27508847400.jpg","text":"TemporaryFile(/tmp/multipartBody4678827821762597085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633732689,"filename":"image_11012025_23_14_02_338029_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328270452","file1":"1328270450","file0":"1328270447","file3":"1328270454"},"map_files_photo_id_array":[{"photo_id":"1328270452","filename":"file2"},{"photo_id":"1328270450","filename":"file1"},{"photo_id":"1328270447","filename":"file0"},{"photo_id":"1328270454","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328270454":["hashtag1","hashtag2"]},{"1328270450":["hashtag1","hashtag2"]},{"1328270447":["hashtag1","hashtag2"]},{"1328270452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328270454, 1328270450, 1328270447, 1328270452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.25867700576782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:15:22.528551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/14/image_11012025_23_14_02_338029_0003.jpg', '/home/pi/Desktop/images/11012025/23/15/image_11012025_23_15_02_717465_0000.jpg', '/home/pi/Desktop/images/11012025/23/15/image_11012025_23_15_02_717465_0001.jpg', '/home/pi/Desktop/images/11012025/23/15/image_11012025_23_15_02_717465_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/14/image_11012025_23_14_02_338029_0003.jpg
/home/pi/Desktop/images/11012025/23/15/image_11012025_23_15_02_717465_0000.jpg
/home/pi/Desktop/images/11012025/23/15/image_11012025_23_15_02_717465_0001.jpg
/home/pi/Desktop/images/11012025/23/15/image_11012025_23_15_02_717465_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328270462","1328270459","1328270464","1328270467"],"photo_ids_order":["1328270459","1328270462","1328270464","1328270467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e4fa307ce6b5857b795da014c84b4592.jpg","text":"TemporaryFile(/tmp/multipartBody6797140097596809601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633792912,"filename":"image_11012025_23_15_02_717465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/07729bf47a7dcbb67c69aee8a9e88bb3.jpg","text":"TemporaryFile(/tmp/multipartBody8124421794368844419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633792912,"filename":"image_11012025_23_14_02_338029_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ad0f75754f5e51baf2ac69bbc50ec593.jpg","text":"TemporaryFile(/tmp/multipartBody238950489553199765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633792912,"filename":"image_11012025_23_15_02_717465_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3c7154080d3c75e88309ca64299151a7.jpg","text":"TemporaryFile(/tmp/multipartBody6272794796318396354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633792912,"filename":"image_11012025_23_15_02_717465_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328270464","file1":"1328270462","file0":"1328270459","file3":"1328270467"},"map_files_photo_id_array":[{"photo_id":"1328270464","filename":"file2"},{"photo_id":"1328270462","filename":"file1"},{"photo_id":"1328270459","filename":"file0"},{"photo_id":"1328270467","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328270462":["hashtag1","hashtag2"]},{"1328270459":["hashtag1","hashtag2"]},{"1328270464":["hashtag1","hashtag2"]},{"1328270467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328270462, 1328270459, 1328270464, 1328270467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.353660583496094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:16:03.171227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:16:22.775535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/15/image_11012025_23_15_02_717465_0003.jpg', '/home/pi/Desktop/images/11012025/23/16/image_11012025_23_16_02_898789_0000.jpg', '/home/pi/Desktop/images/11012025/23/16/image_11012025_23_16_02_898789_0001.jpg', '/home/pi/Desktop/images/11012025/23/16/image_11012025_23_16_02_898789_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/15/image_11012025_23_15_02_717465_0003.jpg
/home/pi/Desktop/images/11012025/23/16/image_11012025_23_16_02_898789_0000.jpg
/home/pi/Desktop/images/11012025/23/16/image_11012025_23_16_02_898789_0001.jpg
/home/pi/Desktop/images/11012025/23/16/image_11012025_23_16_02_898789_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328270500","1328270498","1328270502","1328270504"],"photo_ids_order":["1328270498","1328270500","1328270502","1328270504"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e6b7668042dac854571b26b1940c7867.jpg","text":"TemporaryFile(/tmp/multipartBody8927634195662802911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633853130,"filename":"image_11012025_23_16_02_898789_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/34404d98df6555a62670c07d8947bef0.jpg","text":"TemporaryFile(/tmp/multipartBody5793920259537764366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633853130,"filename":"image_11012025_23_15_02_717465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/960fc76f086f8625718fa45682469b79.jpg","text":"TemporaryFile(/tmp/multipartBody794007067389065895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633853130,"filename":"image_11012025_23_16_02_898789_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c68bb564224df594efe352d4e8af3453.jpg","text":"TemporaryFile(/tmp/multipartBody3467839985997518318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633853130,"filename":"image_11012025_23_16_02_898789_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328270502","file1":"1328270500","file0":"1328270498","file3":"1328270504"},"map_files_photo_id_array":[{"photo_id":"1328270502","filename":"file2"},{"photo_id":"1328270500","filename":"file1"},{"photo_id":"1328270498","filename":"file0"},{"photo_id":"1328270504","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328270500":["hashtag1","hashtag2"]},{"1328270498":["hashtag1","hashtag2"]},{"1328270502":["hashtag1","hashtag2"]},{"1328270504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328270500, 1328270498, 1328270502, 1328270504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.41730499267578 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:17:21.947748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/16/image_11012025_23_16_02_898789_0003.jpg', '/home/pi/Desktop/images/11012025/23/17/image_11012025_23_17_03_056683_0000.jpg', '/home/pi/Desktop/images/11012025/23/17/image_11012025_23_17_03_056683_0001.jpg', '/home/pi/Desktop/images/11012025/23/17/image_11012025_23_17_03_056683_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/16/image_11012025_23_16_02_898789_0003.jpg
/home/pi/Desktop/images/11012025/23/17/image_11012025_23_17_03_056683_0000.jpg
/home/pi/Desktop/images/11012025/23/17/image_11012025_23_17_03_056683_0001.jpg
/home/pi/Desktop/images/11012025/23/17/image_11012025_23_17_03_056683_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328270536","1328270538","1328270541","1328270534"],"photo_ids_order":["1328270534","1328270536","1328270538","1328270541"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d97e3b7a2f59b28b5c7446d85787758a.jpg","text":"TemporaryFile(/tmp/multipartBody9156554410342467084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633912144,"filename":"image_11012025_23_17_03_056683_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a641c19cef2448c46eb9479269aa3bbb.jpg","text":"TemporaryFile(/tmp/multipartBody5120092470861058818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633912144,"filename":"image_11012025_23_17_03_056683_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/44fb9184954822c3554ee4750bb4b0e5.jpg","text":"TemporaryFile(/tmp/multipartBody3840628513730646975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633912144,"filename":"image_11012025_23_17_03_056683_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/25318411fb4619883184a244b957a3b9.jpg","text":"TemporaryFile(/tmp/multipartBody4058312244426334566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633912144,"filename":"image_11012025_23_16_02_898789_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328270538","file1":"1328270536","file0":"1328270534","file3":"1328270541"},"map_files_photo_id_array":[{"photo_id":"1328270538","filename":"file2"},{"photo_id":"1328270536","filename":"file1"},{"photo_id":"1328270534","filename":"file0"},{"photo_id":"1328270541","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328270536":["hashtag1","hashtag2"]},{"1328270538":["hashtag1","hashtag2"]},{"1328270541":["hashtag1","hashtag2"]},{"1328270534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328270536, 1328270538, 1328270541, 1328270534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.82965707778931 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:18:22.128355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/17/image_11012025_23_17_03_056683_0003.jpg', '/home/pi/Desktop/images/11012025/23/18/image_11012025_23_18_02_218568_0000.jpg', '/home/pi/Desktop/images/11012025/23/18/image_11012025_23_18_02_218568_0001.jpg', '/home/pi/Desktop/images/11012025/23/18/image_11012025_23_18_02_218568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/17/image_11012025_23_17_03_056683_0003.jpg
/home/pi/Desktop/images/11012025/23/18/image_11012025_23_18_02_218568_0000.jpg
/home/pi/Desktop/images/11012025/23/18/image_11012025_23_18_02_218568_0001.jpg
/home/pi/Desktop/images/11012025/23/18/image_11012025_23_18_02_218568_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328270722","1328270751","1328270743","1328270746"],"photo_ids_order":["1328270722","1328270743","1328270746","1328270751"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2edcf04edb62fb457b880a794461c5d4.jpg","text":"TemporaryFile(/tmp/multipartBody9128260066525759777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633972403,"filename":"image_11012025_23_17_03_056683_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4818531c2c171a984f4295522f2135d9.jpg","text":"TemporaryFile(/tmp/multipartBody505721630650639535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633972403,"filename":"image_11012025_23_18_02_218568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5df2c7e1e7d55a2a2bf32b2a9883951b.jpg","text":"TemporaryFile(/tmp/multipartBody5805273171014750627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633972403,"filename":"image_11012025_23_18_02_218568_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/936247db7b9c25922f09c25d43209274.jpg","text":"TemporaryFile(/tmp/multipartBody1760446140820474123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736633972403,"filename":"image_11012025_23_18_02_218568_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328270746","file1":"1328270743","file0":"1328270722","file3":"1328270751"},"map_files_photo_id_array":[{"photo_id":"1328270746","filename":"file2"},{"photo_id":"1328270743","filename":"file1"},{"photo_id":"1328270722","filename":"file0"},{"photo_id":"1328270751","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328270722":["hashtag1","hashtag2"]},{"1328270751":["hashtag1","hashtag2"]},{"1328270743":["hashtag1","hashtag2"]},{"1328270746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328270722, 1328270751, 1328270743, 1328270746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.23921513557434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:19:02.882577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:19:22.144973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/18/image_11012025_23_18_02_218568_0003.jpg', '/home/pi/Desktop/images/11012025/23/19/image_11012025_23_19_02_490984_0000.jpg', '/home/pi/Desktop/images/11012025/23/19/image_11012025_23_19_02_490984_0001.jpg', '/home/pi/Desktop/images/11012025/23/19/image_11012025_23_19_02_490984_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/18/image_11012025_23_18_02_218568_0003.jpg
/home/pi/Desktop/images/11012025/23/19/image_11012025_23_19_02_490984_0000.jpg
/home/pi/Desktop/images/11012025/23/19/image_11012025_23_19_02_490984_0001.jpg
/home/pi/Desktop/images/11012025/23/19/image_11012025_23_19_02_490984_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328271809","1328271800","1328271904","1328271811"],"photo_ids_order":["1328271800","1328271809","1328271811","1328271904"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4158e9f456b44119d7b6cc7d9ee090ac.jpg","text":"TemporaryFile(/tmp/multipartBody5999876037372018578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634032625,"filename":"image_11012025_23_19_02_490984_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/67217acfd8f0498ada5b8d93e9ca87d7.jpg","text":"TemporaryFile(/tmp/multipartBody1319382593017866846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634032625,"filename":"image_11012025_23_18_02_218568_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/7f18e9724e6ef8bd519318041539e8c5.jpg","text":"TemporaryFile(/tmp/multipartBody4440045096292790312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634032625,"filename":"image_11012025_23_19_02_490984_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/75ce0c7f3a2dbd362eb6b4553569bb3f.jpg","text":"TemporaryFile(/tmp/multipartBody5995465070788875045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634032625,"filename":"image_11012025_23_19_02_490984_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328271811","file1":"1328271809","file0":"1328271800","file3":"1328271904"},"map_files_photo_id_array":[{"photo_id":"1328271811","filename":"file2"},{"photo_id":"1328271809","filename":"file1"},{"photo_id":"1328271800","filename":"file0"},{"photo_id":"1328271904","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328271809":["hashtag1","hashtag2"]},{"1328271800":["hashtag1","hashtag2"]},{"1328271904":["hashtag1","hashtag2"]},{"1328271811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328271809, 1328271800, 1328271904, 1328271811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.845441818237305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:20:22.394121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/19/image_11012025_23_19_02_490984_0003.jpg', '/home/pi/Desktop/images/11012025/23/20/image_11012025_23_20_02_606624_0000.jpg', '/home/pi/Desktop/images/11012025/23/20/image_11012025_23_20_02_606624_0001.jpg', '/home/pi/Desktop/images/11012025/23/20/image_11012025_23_20_02_606624_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/19/image_11012025_23_19_02_490984_0003.jpg
/home/pi/Desktop/images/11012025/23/20/image_11012025_23_20_02_606624_0000.jpg
/home/pi/Desktop/images/11012025/23/20/image_11012025_23_20_02_606624_0001.jpg
/home/pi/Desktop/images/11012025/23/20/image_11012025_23_20_02_606624_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.857480764389038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 23:20:42.397240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/19/image_11012025_23_19_02_490984_0003.jpg', '/home/pi/Desktop/images/11012025/23/20/image_11012025_23_20_02_606624_0000.jpg', '/home/pi/Desktop/images/11012025/23/20/image_11012025_23_20_02_606624_0001.jpg', '/home/pi/Desktop/images/11012025/23/20/image_11012025_23_20_02_606624_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/19/image_11012025_23_19_02_490984_0003.jpg
/home/pi/Desktop/images/11012025/23/20/image_11012025_23_20_02_606624_0000.jpg
/home/pi/Desktop/images/11012025/23/20/image_11012025_23_20_02_606624_0001.jpg
/home/pi/Desktop/images/11012025/23/20/image_11012025_23_20_02_606624_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328272397","1328272400","1328272402","1328272395"],"photo_ids_order":["1328272395","1328272397","1328272400","1328272402"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/48747fc26eaf480bdd8db0e019ec1d57.jpg","text":"TemporaryFile(/tmp/multipartBody1092371222132201488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634112680,"filename":"image_11012025_23_20_02_606624_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/06650d1c7a5f5bcb4fb8b4ba0a4859aa.jpg","text":"TemporaryFile(/tmp/multipartBody2490189456174586016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634112680,"filename":"image_11012025_23_20_02_606624_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/98518bce45e1df569ada684f96af5e83.jpg","text":"TemporaryFile(/tmp/multipartBody1444266908241700551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634112680,"filename":"image_11012025_23_20_02_606624_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ad8430cb956fabbf9a8f02212225bfbd.jpg","text":"TemporaryFile(/tmp/multipartBody5476187933508597397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634112680,"filename":"image_11012025_23_19_02_490984_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328272400","file1":"1328272397","file0":"1328272395","file3":"1328272402"},"map_files_photo_id_array":[{"photo_id":"1328272400","filename":"file2"},{"photo_id":"1328272397","filename":"file1"},{"photo_id":"1328272395","filename":"file0"},{"photo_id":"1328272402","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328272397":["hashtag1","hashtag2"]},{"1328272400":["hashtag1","hashtag2"]},{"1328272402":["hashtag1","hashtag2"]},{"1328272395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328272397, 1328272400, 1328272402, 1328272395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.28511166572571 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 23:21:32.571577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/20/image_11012025_23_20_02_606624_0003.jpg', '/home/pi/Desktop/images/11012025/23/21/image_11012025_23_21_02_735002_0000.jpg', '/home/pi/Desktop/images/11012025/23/21/image_11012025_23_21_02_735002_0001.jpg', '/home/pi/Desktop/images/11012025/23/21/image_11012025_23_21_02_735002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/20/image_11012025_23_20_02_606624_0003.jpg
/home/pi/Desktop/images/11012025/23/21/image_11012025_23_21_02_735002_0000.jpg
/home/pi/Desktop/images/11012025/23/21/image_11012025_23_21_02_735002_0001.jpg
/home/pi/Desktop/images/11012025/23/21/image_11012025_23_21_02_735002_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328272431","1328272433","1328272432","1328272434"],"photo_ids_order":["1328272431","1328272432","1328272433","1328272434"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8665f53288bddc2d024ffa1944fb09cc.jpg","text":"TemporaryFile(/tmp/multipartBody8971990270757128191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634162862,"filename":"image_11012025_23_20_02_606624_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1fa346bb99f10402c374fa0a78ac7738.jpg","text":"TemporaryFile(/tmp/multipartBody7024385411304508043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634162862,"filename":"image_11012025_23_21_02_735002_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5900e2d6f4a5071b80fc223773aceecf.jpg","text":"TemporaryFile(/tmp/multipartBody5433283046095629676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634162862,"filename":"image_11012025_23_21_02_735002_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1b795291e1438228bab05b0c1a6c1a68.jpg","text":"TemporaryFile(/tmp/multipartBody3631399886643853371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634162862,"filename":"image_11012025_23_21_02_735002_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328272433","file1":"1328272432","file0":"1328272431","file3":"1328272434"},"map_files_photo_id_array":[{"photo_id":"1328272433","filename":"file2"},{"photo_id":"1328272432","filename":"file1"},{"photo_id":"1328272431","filename":"file0"},{"photo_id":"1328272434","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328272431":["hashtag1","hashtag2"]},{"1328272433":["hashtag1","hashtag2"]},{"1328272432":["hashtag1","hashtag2"]},{"1328272434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328272431, 1328272433, 1328272432, 1328272434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.60373902320862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:22:22.697559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/21/image_11012025_23_21_02_735002_0003.jpg', '/home/pi/Desktop/images/11012025/23/22/image_11012025_23_22_02_875476_0000.jpg', '/home/pi/Desktop/images/11012025/23/22/image_11012025_23_22_02_875476_0001.jpg', '/home/pi/Desktop/images/11012025/23/22/image_11012025_23_22_02_875476_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/21/image_11012025_23_21_02_735002_0003.jpg
/home/pi/Desktop/images/11012025/23/22/image_11012025_23_22_02_875476_0000.jpg
/home/pi/Desktop/images/11012025/23/22/image_11012025_23_22_02_875476_0001.jpg
/home/pi/Desktop/images/11012025/23/22/image_11012025_23_22_02_875476_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328272451","1328272454","1328272452","1328272449"],"photo_ids_order":["1328272449","1328272451","1328272452","1328272454"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/259fc6653b414060146eea0d6ea6470d.jpg","text":"TemporaryFile(/tmp/multipartBody530278912404758778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634212870,"filename":"image_11012025_23_22_02_875476_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c1d52fcc4908beae2bd3ee2b35c3e86c.jpg","text":"TemporaryFile(/tmp/multipartBody2592968492836932624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634212870,"filename":"image_11012025_23_22_02_875476_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/731c40a9cda74192d90c0be0b19f66b8.jpg","text":"TemporaryFile(/tmp/multipartBody338880193210787864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634212870,"filename":"image_11012025_23_22_02_875476_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/91de0366c1c9e47cad90c5d6de087c4a.jpg","text":"TemporaryFile(/tmp/multipartBody4621843814597287818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634212870,"filename":"image_11012025_23_21_02_735002_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328272452","file1":"1328272451","file0":"1328272449","file3":"1328272454"},"map_files_photo_id_array":[{"photo_id":"1328272452","filename":"file2"},{"photo_id":"1328272451","filename":"file1"},{"photo_id":"1328272449","filename":"file0"},{"photo_id":"1328272454","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328272451":["hashtag1","hashtag2"]},{"1328272454":["hashtag1","hashtag2"]},{"1328272452":["hashtag1","hashtag2"]},{"1328272449":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328272451, 1328272454, 1328272452, 1328272449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.29718637466431 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:23:02.503942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:23:22.025652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/22/image_11012025_23_22_02_875476_0003.jpg', '/home/pi/Desktop/images/11012025/23/23/image_11012025_23_23_03_089840_0000.jpg', '/home/pi/Desktop/images/11012025/23/23/image_11012025_23_23_03_089840_0001.jpg', '/home/pi/Desktop/images/11012025/23/23/image_11012025_23_23_03_089840_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/22/image_11012025_23_22_02_875476_0003.jpg
/home/pi/Desktop/images/11012025/23/23/image_11012025_23_23_03_089840_0000.jpg
/home/pi/Desktop/images/11012025/23/23/image_11012025_23_23_03_089840_0001.jpg
/home/pi/Desktop/images/11012025/23/23/image_11012025_23_23_03_089840_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328272475","1328272472","1328272468","1328272479"],"photo_ids_order":["1328272468","1328272472","1328272475","1328272479"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ee7b3aee0b61e645544fdefc9482a70c.jpg","text":"TemporaryFile(/tmp/multipartBody3558281964043121843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634272154,"filename":"image_11012025_23_23_03_089840_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2f5a63047be28276a2bbc93c0f67437a.jpg","text":"TemporaryFile(/tmp/multipartBody1557361377575126335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634272154,"filename":"image_11012025_23_23_03_089840_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/51b8e0574033f2e6337f1b5460cbe95a.jpg","text":"TemporaryFile(/tmp/multipartBody8661598654082968216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634272154,"filename":"image_11012025_23_22_02_875476_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d15f192c944ebae14417198833b4cebe.jpg","text":"TemporaryFile(/tmp/multipartBody7196714436060673011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634272154,"filename":"image_11012025_23_23_03_089840_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328272475","file1":"1328272472","file0":"1328272468","file3":"1328272479"},"map_files_photo_id_array":[{"photo_id":"1328272475","filename":"file2"},{"photo_id":"1328272472","filename":"file1"},{"photo_id":"1328272468","filename":"file0"},{"photo_id":"1328272479","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328272475":["hashtag1","hashtag2"]},{"1328272472":["hashtag1","hashtag2"]},{"1328272468":["hashtag1","hashtag2"]},{"1328272479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328272475, 1328272472, 1328272468, 1328272479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.257025480270386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:24:22.105774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/23/image_11012025_23_23_03_089840_0003.jpg', '/home/pi/Desktop/images/11012025/23/24/image_11012025_23_24_02_316512_0000.jpg', '/home/pi/Desktop/images/11012025/23/24/image_11012025_23_24_02_316512_0001.jpg', '/home/pi/Desktop/images/11012025/23/24/image_11012025_23_24_02_316512_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/23/image_11012025_23_23_03_089840_0003.jpg
/home/pi/Desktop/images/11012025/23/24/image_11012025_23_24_02_316512_0000.jpg
/home/pi/Desktop/images/11012025/23/24/image_11012025_23_24_02_316512_0001.jpg
/home/pi/Desktop/images/11012025/23/24/image_11012025_23_24_02_316512_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328272512","1328272541","1328272525","1328272545"],"photo_ids_order":["1328272512","1328272525","1328272541","1328272545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ee3bda960aeee7702ae7def47374b645.jpg","text":"TemporaryFile(/tmp/multipartBody6025272222942325300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634332260,"filename":"image_11012025_23_23_03_089840_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/b720fd53c05c3371d9b665722be8c69f.jpg","text":"TemporaryFile(/tmp/multipartBody915056880757717076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634332260,"filename":"image_11012025_23_24_02_316512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9d2351a2181dade43c88f7aa97704564.jpg","text":"TemporaryFile(/tmp/multipartBody7115002529677317189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634332260,"filename":"image_11012025_23_24_02_316512_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5749219178874a006a41fdd1ef0c4459.jpg","text":"TemporaryFile(/tmp/multipartBody3627779627614611630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634332260,"filename":"image_11012025_23_24_02_316512_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328272541","file1":"1328272525","file0":"1328272512","file3":"1328272545"},"map_files_photo_id_array":[{"photo_id":"1328272541","filename":"file2"},{"photo_id":"1328272525","filename":"file1"},{"photo_id":"1328272512","filename":"file0"},{"photo_id":"1328272545","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328272512":["hashtag1","hashtag2"]},{"1328272541":["hashtag1","hashtag2"]},{"1328272525":["hashtag1","hashtag2"]},{"1328272545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328272512, 1328272541, 1328272525, 1328272545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.067482709884644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:25:22.360328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/24/image_11012025_23_24_02_316512_0003.jpg', '/home/pi/Desktop/images/11012025/23/25/image_11012025_23_25_02_459701_0000.jpg', '/home/pi/Desktop/images/11012025/23/25/image_11012025_23_25_02_459701_0001.jpg', '/home/pi/Desktop/images/11012025/23/25/image_11012025_23_25_02_459701_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/24/image_11012025_23_24_02_316512_0003.jpg
/home/pi/Desktop/images/11012025/23/25/image_11012025_23_25_02_459701_0000.jpg
/home/pi/Desktop/images/11012025/23/25/image_11012025_23_25_02_459701_0001.jpg
/home/pi/Desktop/images/11012025/23/25/image_11012025_23_25_02_459701_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328272641","1328272643","1328272645","1328272644"],"photo_ids_order":["1328272641","1328272643","1328272644","1328272645"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/65e7c74aadd58d9781e237eaba07d231.jpg","text":"TemporaryFile(/tmp/multipartBody5304493044335031934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634392616,"filename":"image_11012025_23_24_02_316512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2ffa8c644334b5d7f2f0d0751546e6ad.jpg","text":"TemporaryFile(/tmp/multipartBody8087058921244761308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634392616,"filename":"image_11012025_23_25_02_459701_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4896480b52e6911c3b8b00ea4c2d7114.jpg","text":"TemporaryFile(/tmp/multipartBody6705466605488516406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634392616,"filename":"image_11012025_23_25_02_459701_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c71ace8429f693ef4e57e463ad0806d1.jpg","text":"TemporaryFile(/tmp/multipartBody415889876623140629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634392616,"filename":"image_11012025_23_25_02_459701_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328272644","file1":"1328272643","file0":"1328272641","file3":"1328272645"},"map_files_photo_id_array":[{"photo_id":"1328272644","filename":"file2"},{"photo_id":"1328272643","filename":"file1"},{"photo_id":"1328272641","filename":"file0"},{"photo_id":"1328272645","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328272641":["hashtag1","hashtag2"]},{"1328272643":["hashtag1","hashtag2"]},{"1328272645":["hashtag1","hashtag2"]},{"1328272644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328272641, 1328272643, 1328272645, 1328272644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.51565980911255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:26:02.901549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:26:22.551773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/25/image_11012025_23_25_02_459701_0003.jpg', '/home/pi/Desktop/images/11012025/23/26/image_11012025_23_26_02_680645_0000.jpg', '/home/pi/Desktop/images/11012025/23/26/image_11012025_23_26_02_680645_0001.jpg', '/home/pi/Desktop/images/11012025/23/26/image_11012025_23_26_02_680645_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/25/image_11012025_23_25_02_459701_0003.jpg
/home/pi/Desktop/images/11012025/23/26/image_11012025_23_26_02_680645_0000.jpg
/home/pi/Desktop/images/11012025/23/26/image_11012025_23_26_02_680645_0001.jpg
/home/pi/Desktop/images/11012025/23/26/image_11012025_23_26_02_680645_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.843684911727905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 23:26:42.524833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/25/image_11012025_23_25_02_459701_0003.jpg', '/home/pi/Desktop/images/11012025/23/26/image_11012025_23_26_02_680645_0000.jpg', '/home/pi/Desktop/images/11012025/23/26/image_11012025_23_26_02_680645_0001.jpg', '/home/pi/Desktop/images/11012025/23/26/image_11012025_23_26_02_680645_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/25/image_11012025_23_25_02_459701_0003.jpg
/home/pi/Desktop/images/11012025/23/26/image_11012025_23_26_02_680645_0000.jpg
/home/pi/Desktop/images/11012025/23/26/image_11012025_23_26_02_680645_0001.jpg
/home/pi/Desktop/images/11012025/23/26/image_11012025_23_26_02_680645_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328272664","1328272663","1328272665","1328272668"],"photo_ids_order":["1328272663","1328272664","1328272665","1328272668"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/edc76c3ea2dbc7a4ff9343628d164db8.jpg","text":"TemporaryFile(/tmp/multipartBody1321457267439904097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634472779,"filename":"image_11012025_23_26_02_680645_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2224bdb88aea88ba4c65cc5f0f128873.jpg","text":"TemporaryFile(/tmp/multipartBody6247793701487291799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634472779,"filename":"image_11012025_23_25_02_459701_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1773ce39de8a84446020195846df7c02.jpg","text":"TemporaryFile(/tmp/multipartBody131858454437680015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634472779,"filename":"image_11012025_23_26_02_680645_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f497bb36628cadbcc86b675c19883b94.jpg","text":"TemporaryFile(/tmp/multipartBody9068401819627188716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634472779,"filename":"image_11012025_23_26_02_680645_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328272665","file1":"1328272664","file0":"1328272663","file3":"1328272668"},"map_files_photo_id_array":[{"photo_id":"1328272665","filename":"file2"},{"photo_id":"1328272664","filename":"file1"},{"photo_id":"1328272663","filename":"file0"},{"photo_id":"1328272668","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328272664":["hashtag1","hashtag2"]},{"1328272663":["hashtag1","hashtag2"]},{"1328272665":["hashtag1","hashtag2"]},{"1328272668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328272664, 1328272663, 1328272665, 1328272668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.590173959732056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:27:22.764150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/26/image_11012025_23_26_02_680645_0003.jpg', '/home/pi/Desktop/images/11012025/23/27/image_11012025_23_27_02_827915_0000.jpg', '/home/pi/Desktop/images/11012025/23/27/image_11012025_23_27_02_827915_0001.jpg', '/home/pi/Desktop/images/11012025/23/27/image_11012025_23_27_02_827915_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/26/image_11012025_23_26_02_680645_0003.jpg
/home/pi/Desktop/images/11012025/23/27/image_11012025_23_27_02_827915_0000.jpg
/home/pi/Desktop/images/11012025/23/27/image_11012025_23_27_02_827915_0001.jpg
/home/pi/Desktop/images/11012025/23/27/image_11012025_23_27_02_827915_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328273312","1328273314","1328273310","1328273294"],"photo_ids_order":["1328273294","1328273310","1328273312","1328273314"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e9a35a8d018ea95e7c248237ff48fb03.jpg","text":"TemporaryFile(/tmp/multipartBody6209072499214818969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634513058,"filename":"image_11012025_23_27_02_827915_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/daa9af98f3ed862d63f9eb06211f6bd9.jpg","text":"TemporaryFile(/tmp/multipartBody8906363900788484774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634513058,"filename":"image_11012025_23_27_02_827915_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/656efc4daa3dcebf6200483582759fc2.jpg","text":"TemporaryFile(/tmp/multipartBody982162599396630120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634513058,"filename":"image_11012025_23_27_02_827915_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3307b32698b89872cf3a936b06533c2d.jpg","text":"TemporaryFile(/tmp/multipartBody1491271949603678369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634513058,"filename":"image_11012025_23_26_02_680645_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328273312","file1":"1328273310","file0":"1328273294","file3":"1328273314"},"map_files_photo_id_array":[{"photo_id":"1328273312","filename":"file2"},{"photo_id":"1328273310","filename":"file1"},{"photo_id":"1328273294","filename":"file0"},{"photo_id":"1328273314","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328273312":["hashtag1","hashtag2"]},{"1328273314":["hashtag1","hashtag2"]},{"1328273310":["hashtag1","hashtag2"]},{"1328273294":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328273312, 1328273314, 1328273310, 1328273294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.95503377914429 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:28:02.108037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:28:21.756006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/27/image_11012025_23_27_02_827915_0003.jpg', '/home/pi/Desktop/images/11012025/23/28/image_11012025_23_28_03_102941_0000.jpg', '/home/pi/Desktop/images/11012025/23/28/image_11012025_23_28_03_102941_0001.jpg', '/home/pi/Desktop/images/11012025/23/28/image_11012025_23_28_03_102941_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/27/image_11012025_23_27_02_827915_0003.jpg
/home/pi/Desktop/images/11012025/23/28/image_11012025_23_28_03_102941_0000.jpg
/home/pi/Desktop/images/11012025/23/28/image_11012025_23_28_03_102941_0001.jpg
/home/pi/Desktop/images/11012025/23/28/image_11012025_23_28_03_102941_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328273540","1328273357","1328273664","1328273643"],"photo_ids_order":["1328273357","1328273540","1328273643","1328273664"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1b7526e96dad19f3d3c3ba27bd819baf.jpg","text":"TemporaryFile(/tmp/multipartBody8068251236293709172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634572066,"filename":"image_11012025_23_28_03_102941_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d6900ece656a4e2d3256c4ec10a27734.jpg","text":"TemporaryFile(/tmp/multipartBody1831698231594015488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634572066,"filename":"image_11012025_23_27_02_827915_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/07c03c7a2bc8442c7a486e4717211305.jpg","text":"TemporaryFile(/tmp/multipartBody6783364684221574219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634572066,"filename":"image_11012025_23_28_03_102941_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8f922fd790fa076d58997ea2edf747e8.jpg","text":"TemporaryFile(/tmp/multipartBody1101012381984318162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634572066,"filename":"image_11012025_23_28_03_102941_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328273643","file1":"1328273540","file0":"1328273357","file3":"1328273664"},"map_files_photo_id_array":[{"photo_id":"1328273643","filename":"file2"},{"photo_id":"1328273540","filename":"file1"},{"photo_id":"1328273357","filename":"file0"},{"photo_id":"1328273664","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328273540":["hashtag1","hashtag2"]},{"1328273357":["hashtag1","hashtag2"]},{"1328273664":["hashtag1","hashtag2"]},{"1328273643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328273540, 1328273357, 1328273664, 1328273643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.690850019454956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:29:21.969647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/28/image_11012025_23_28_03_102941_0003.jpg', '/home/pi/Desktop/images/11012025/23/29/image_11012025_23_29_02_176359_0000.jpg', '/home/pi/Desktop/images/11012025/23/29/image_11012025_23_29_02_176359_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/28/image_11012025_23_28_03_102941_0003.jpg
/home/pi/Desktop/images/11012025/23/29/image_11012025_23_29_02_176359_0000.jpg
/home/pi/Desktop/images/11012025/23/29/image_11012025_23_29_02_176359_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328273747","1328273748","1328273742"],"photo_ids_order":["1328273742","1328273747","1328273748"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a73c7b68877fd0a1fae00768da9894b1.jpg","text":"TemporaryFile(/tmp/multipartBody2435539987790357729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634629885,"filename":"image_11012025_23_29_02_176359_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/183fcda2e0f60a72bbf9fc0f6fe9d27a.jpg","text":"TemporaryFile(/tmp/multipartBody2662840001136848011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634629885,"filename":"image_11012025_23_29_02_176359_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4ea94d0626a986a3ac63eb98e3ded7f2.jpg","text":"TemporaryFile(/tmp/multipartBody4417015091275728726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634629885,"filename":"image_11012025_23_28_03_102941_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328273748","file1":"1328273747","file0":"1328273742"},"map_files_photo_id_array":[{"photo_id":"1328273748","filename":"file2"},{"photo_id":"1328273747","filename":"file1"},{"photo_id":"1328273742","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328273747":["hashtag1","hashtag2"]},{"1328273748":["hashtag1","hashtag2"]},{"1328273742":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328273747, 1328273748, 1328273742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.291157722473145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:30:02.736175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:30:22.195870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/29/image_11012025_23_29_02_176359_0003.jpg', '/home/pi/Desktop/images/11012025/23/30/image_11012025_23_30_02_381945_0000.jpg', '/home/pi/Desktop/images/11012025/23/30/image_11012025_23_30_02_381945_0001.jpg', '/home/pi/Desktop/images/11012025/23/30/image_11012025_23_30_02_381945_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/29/image_11012025_23_29_02_176359_0003.jpg
/home/pi/Desktop/images/11012025/23/30/image_11012025_23_30_02_381945_0000.jpg
/home/pi/Desktop/images/11012025/23/30/image_11012025_23_30_02_381945_0001.jpg
/home/pi/Desktop/images/11012025/23/30/image_11012025_23_30_02_381945_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328273785","1328273803","1328273789","1328273777"],"photo_ids_order":["1328273777","1328273785","1328273789","1328273803"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/66a6b228e12f0c84771f4911d289bf61.jpg","text":"TemporaryFile(/tmp/multipartBody769856084010483301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634692367,"filename":"image_11012025_23_30_02_381945_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0db7006f18664d0485522bbeb7774557.jpg","text":"TemporaryFile(/tmp/multipartBody2061876447101800326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634692367,"filename":"image_11012025_23_30_02_381945_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c82b8029bd7bc2ac0aff7f91f0c5e3be.jpg","text":"TemporaryFile(/tmp/multipartBody1001473104870321337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634692367,"filename":"image_11012025_23_30_02_381945_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/796fe260265076bf27fb6502d5f94dcb.jpg","text":"TemporaryFile(/tmp/multipartBody5346579042835429211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634692367,"filename":"image_11012025_23_29_02_176359_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328273789","file1":"1328273785","file0":"1328273777","file3":"1328273803"},"map_files_photo_id_array":[{"photo_id":"1328273789","filename":"file2"},{"photo_id":"1328273785","filename":"file1"},{"photo_id":"1328273777","filename":"file0"},{"photo_id":"1328273803","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328273785":["hashtag1","hashtag2"]},{"1328273803":["hashtag1","hashtag2"]},{"1328273789":["hashtag1","hashtag2"]},{"1328273777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328273785, 1328273803, 1328273789, 1328273777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.26137661933899 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:31:22.418747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/30/image_11012025_23_30_02_381945_0003.jpg', '/home/pi/Desktop/images/11012025/23/31/image_11012025_23_31_02_621338_0000.jpg', '/home/pi/Desktop/images/11012025/23/31/image_11012025_23_31_02_621338_0001.jpg', '/home/pi/Desktop/images/11012025/23/31/image_11012025_23_31_02_621338_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/30/image_11012025_23_30_02_381945_0003.jpg
/home/pi/Desktop/images/11012025/23/31/image_11012025_23_31_02_621338_0000.jpg
/home/pi/Desktop/images/11012025/23/31/image_11012025_23_31_02_621338_0001.jpg
/home/pi/Desktop/images/11012025/23/31/image_11012025_23_31_02_621338_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328273930","1328273927","1328273923","1328273929"],"photo_ids_order":["1328273923","1328273927","1328273929","1328273930"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ce2632f133db311555224f4807800aa2.jpg","text":"TemporaryFile(/tmp/multipartBody2066615622746283385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634752685,"filename":"image_11012025_23_31_02_621338_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ac9e27b6b8f6640ee5c3a457643c7755.jpg","text":"TemporaryFile(/tmp/multipartBody552889513292520023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634752685,"filename":"image_11012025_23_31_02_621338_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8f9e7e159612287b38c3af104a2b7850.jpg","text":"TemporaryFile(/tmp/multipartBody1702668670019239490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634752685,"filename":"image_11012025_23_30_02_381945_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c005bfddf755a2f979b01ac40476c047.jpg","text":"TemporaryFile(/tmp/multipartBody2673345018520287858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634752685,"filename":"image_11012025_23_31_02_621338_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328273929","file1":"1328273927","file0":"1328273923","file3":"1328273930"},"map_files_photo_id_array":[{"photo_id":"1328273929","filename":"file2"},{"photo_id":"1328273927","filename":"file1"},{"photo_id":"1328273923","filename":"file0"},{"photo_id":"1328273930","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328273930":["hashtag1","hashtag2"]},{"1328273927":["hashtag1","hashtag2"]},{"1328273923":["hashtag1","hashtag2"]},{"1328273929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328273930, 1328273927, 1328273923, 1328273929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58358860015869 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:32:02.929132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:32:22.605236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/31/image_11012025_23_31_02_621338_0003.jpg', '/home/pi/Desktop/images/11012025/23/32/image_11012025_23_32_02_729603_0000.jpg', '/home/pi/Desktop/images/11012025/23/32/image_11012025_23_32_02_729603_0001.jpg', '/home/pi/Desktop/images/11012025/23/32/image_11012025_23_32_02_729603_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/31/image_11012025_23_31_02_621338_0003.jpg
/home/pi/Desktop/images/11012025/23/32/image_11012025_23_32_02_729603_0000.jpg
/home/pi/Desktop/images/11012025/23/32/image_11012025_23_32_02_729603_0001.jpg
/home/pi/Desktop/images/11012025/23/32/image_11012025_23_32_02_729603_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.873080015182495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-11 23:32:42.460686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/31/image_11012025_23_31_02_621338_0003.jpg', '/home/pi/Desktop/images/11012025/23/32/image_11012025_23_32_02_729603_0000.jpg', '/home/pi/Desktop/images/11012025/23/32/image_11012025_23_32_02_729603_0001.jpg', '/home/pi/Desktop/images/11012025/23/32/image_11012025_23_32_02_729603_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/31/image_11012025_23_31_02_621338_0003.jpg
/home/pi/Desktop/images/11012025/23/32/image_11012025_23_32_02_729603_0000.jpg
/home/pi/Desktop/images/11012025/23/32/image_11012025_23_32_02_729603_0001.jpg
/home/pi/Desktop/images/11012025/23/32/image_11012025_23_32_02_729603_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328274151","1328273950","1328274072","1328273949"],"photo_ids_order":["1328273949","1328273950","1328274072","1328274151"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/79a6e4817423c1419b48c1fa481e01b2.jpg","text":"TemporaryFile(/tmp/multipartBody7789112107974860160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634832749,"filename":"image_11012025_23_32_02_729603_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/851ed271c98f896e50328f5073d474e0.jpg","text":"TemporaryFile(/tmp/multipartBody7694902593785017306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634832749,"filename":"image_11012025_23_32_02_729603_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9bb8f5b8dbe283c8e8c99005180a8079.jpg","text":"TemporaryFile(/tmp/multipartBody1496852977690123603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634832749,"filename":"image_11012025_23_32_02_729603_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e9ad9cb040767b489f888b1d4cd87fd1.jpg","text":"TemporaryFile(/tmp/multipartBody8132381226869550942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634832749,"filename":"image_11012025_23_31_02_621338_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328274072","file1":"1328273950","file0":"1328273949","file3":"1328274151"},"map_files_photo_id_array":[{"photo_id":"1328274072","filename":"file2"},{"photo_id":"1328273950","filename":"file1"},{"photo_id":"1328273949","filename":"file0"},{"photo_id":"1328274151","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328274151":["hashtag1","hashtag2"]},{"1328273950":["hashtag1","hashtag2"]},{"1328274072":["hashtag1","hashtag2"]},{"1328273949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328274151, 1328273950, 1328274072, 1328273949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.51573824882507 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 23:33:32.700645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/32/image_11012025_23_32_02_729603_0003.jpg', '/home/pi/Desktop/images/11012025/23/33/image_11012025_23_33_02_871272_0000.jpg', '/home/pi/Desktop/images/11012025/23/33/image_11012025_23_33_02_871272_0001.jpg', '/home/pi/Desktop/images/11012025/23/33/image_11012025_23_33_02_871272_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/32/image_11012025_23_32_02_729603_0003.jpg
/home/pi/Desktop/images/11012025/23/33/image_11012025_23_33_02_871272_0000.jpg
/home/pi/Desktop/images/11012025/23/33/image_11012025_23_33_02_871272_0001.jpg
/home/pi/Desktop/images/11012025/23/33/image_11012025_23_33_02_871272_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328274781","1328274780","1328274776","1328274779"],"photo_ids_order":["1328274776","1328274779","1328274780","1328274781"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ae22c90e7a70e14e712db078dc277177.jpg","text":"TemporaryFile(/tmp/multipartBody3001975708981003077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634882937,"filename":"image_11012025_23_33_02_871272_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f8e4fe6b5a6b5144e0b281715a4e4e65.jpg","text":"TemporaryFile(/tmp/multipartBody2722558422817547639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634882937,"filename":"image_11012025_23_33_02_871272_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/74c210a7ff5d435508647e7b6fb56dc4.jpg","text":"TemporaryFile(/tmp/multipartBody1606446905218513679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634882937,"filename":"image_11012025_23_32_02_729603_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/22eb30eb873891d4a309da75437ed973.jpg","text":"TemporaryFile(/tmp/multipartBody1016057471911112091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634882937,"filename":"image_11012025_23_33_02_871272_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328274780","file1":"1328274779","file0":"1328274776","file3":"1328274781"},"map_files_photo_id_array":[{"photo_id":"1328274780","filename":"file2"},{"photo_id":"1328274779","filename":"file1"},{"photo_id":"1328274776","filename":"file0"},{"photo_id":"1328274781","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328274781":["hashtag1","hashtag2"]},{"1328274780":["hashtag1","hashtag2"]},{"1328274776":["hashtag1","hashtag2"]},{"1328274779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328274781, 1328274780, 1328274776, 1328274779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.6974892616272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:34:21.887159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/33/image_11012025_23_33_02_871272_0003.jpg', '/home/pi/Desktop/images/11012025/23/34/image_11012025_23_34_03_081152_0000.jpg', '/home/pi/Desktop/images/11012025/23/34/image_11012025_23_34_03_081152_0001.jpg', '/home/pi/Desktop/images/11012025/23/34/image_11012025_23_34_03_081152_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/33/image_11012025_23_33_02_871272_0003.jpg
/home/pi/Desktop/images/11012025/23/34/image_11012025_23_34_03_081152_0000.jpg
/home/pi/Desktop/images/11012025/23/34/image_11012025_23_34_03_081152_0001.jpg
/home/pi/Desktop/images/11012025/23/34/image_11012025_23_34_03_081152_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328275069","1328275038","1328275085","1328275037"],"photo_ids_order":["1328275037","1328275038","1328275069","1328275085"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bf3a09d5fb57ae840d51e65cd4956718.jpg","text":"TemporaryFile(/tmp/multipartBody3052087959061726150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634932205,"filename":"image_11012025_23_34_03_081152_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/194ebc5d015635399b7138aac1b604cc.jpg","text":"TemporaryFile(/tmp/multipartBody4736355170920134792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634932205,"filename":"image_11012025_23_34_03_081152_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4f1e610ec10c42dd6f0642dad28633d7.jpg","text":"TemporaryFile(/tmp/multipartBody3138395370058398922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634932205,"filename":"image_11012025_23_34_03_081152_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/33732542ba4b9927a86e12b53a46b3ca.jpg","text":"TemporaryFile(/tmp/multipartBody1854030481558186315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634932205,"filename":"image_11012025_23_33_02_871272_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328275069","file1":"1328275038","file0":"1328275037","file3":"1328275085"},"map_files_photo_id_array":[{"photo_id":"1328275069","filename":"file2"},{"photo_id":"1328275038","filename":"file1"},{"photo_id":"1328275037","filename":"file0"},{"photo_id":"1328275085","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328275069":["hashtag1","hashtag2"]},{"1328275038":["hashtag1","hashtag2"]},{"1328275085":["hashtag1","hashtag2"]},{"1328275037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328275069, 1328275038, 1328275085, 1328275037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.04136657714844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:35:02.496817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:35:21.972226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/34/image_11012025_23_34_03_081152_0003.jpg', '/home/pi/Desktop/images/11012025/23/35/image_11012025_23_35_02_242642_0000.jpg', '/home/pi/Desktop/images/11012025/23/35/image_11012025_23_35_02_242642_0001.jpg', '/home/pi/Desktop/images/11012025/23/35/image_11012025_23_35_02_242642_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/34/image_11012025_23_34_03_081152_0003.jpg
/home/pi/Desktop/images/11012025/23/35/image_11012025_23_35_02_242642_0000.jpg
/home/pi/Desktop/images/11012025/23/35/image_11012025_23_35_02_242642_0001.jpg
/home/pi/Desktop/images/11012025/23/35/image_11012025_23_35_02_242642_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328275199","1328275193","1328275192","1328275195"],"photo_ids_order":["1328275192","1328275193","1328275195","1328275199"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d93c402bbb507d515a8417a98a46e7ca.jpg","text":"TemporaryFile(/tmp/multipartBody7132070180956367558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634992248,"filename":"image_11012025_23_35_02_242642_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1087e81a9ed6bb78416c441add783de2.jpg","text":"TemporaryFile(/tmp/multipartBody638013151941849079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634992248,"filename":"image_11012025_23_35_02_242642_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9ede20be2cfe382dc0fa03c82b124511.jpg","text":"TemporaryFile(/tmp/multipartBody3391323045434062628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634992248,"filename":"image_11012025_23_34_03_081152_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/0f481efc8cde2f1e26756f553e9d479f.jpg","text":"TemporaryFile(/tmp/multipartBody3083090740738178887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736634992248,"filename":"image_11012025_23_35_02_242642_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328275195","file1":"1328275193","file0":"1328275192","file3":"1328275199"},"map_files_photo_id_array":[{"photo_id":"1328275195","filename":"file2"},{"photo_id":"1328275193","filename":"file1"},{"photo_id":"1328275192","filename":"file0"},{"photo_id":"1328275199","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328275199":["hashtag1","hashtag2"]},{"1328275193":["hashtag1","hashtag2"]},{"1328275192":["hashtag1","hashtag2"]},{"1328275195":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328275199, 1328275193, 1328275192, 1328275195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.5712616443634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:36:02.729685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:36:22.235555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/35/image_11012025_23_35_02_242642_0003.jpg', '/home/pi/Desktop/images/11012025/23/36/image_11012025_23_36_02_364598_0000.jpg', '/home/pi/Desktop/images/11012025/23/36/image_11012025_23_36_02_364598_0001.jpg', '/home/pi/Desktop/images/11012025/23/36/image_11012025_23_36_02_364598_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/35/image_11012025_23_35_02_242642_0003.jpg
/home/pi/Desktop/images/11012025/23/36/image_11012025_23_36_02_364598_0000.jpg
/home/pi/Desktop/images/11012025/23/36/image_11012025_23_36_02_364598_0001.jpg
/home/pi/Desktop/images/11012025/23/36/image_11012025_23_36_02_364598_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328275311","1328275313","1328275307","1328275310"],"photo_ids_order":["1328275307","1328275310","1328275311","1328275313"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a16148db96d53b2e0a0c3a960af1335d.jpg","text":"TemporaryFile(/tmp/multipartBody2444550149015174707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635052480,"filename":"image_11012025_23_36_02_364598_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/033794e12a3ae07fb7cf14b84c788539.jpg","text":"TemporaryFile(/tmp/multipartBody2608352090722566084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635052480,"filename":"image_11012025_23_36_02_364598_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1e4ef7d750b6c32dee9c6290d55d8f2c.jpg","text":"TemporaryFile(/tmp/multipartBody3442258457407684176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635052480,"filename":"image_11012025_23_35_02_242642_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1892bdf73c5b19900db05c2825592dc0.jpg","text":"TemporaryFile(/tmp/multipartBody8533104966664839390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635052480,"filename":"image_11012025_23_36_02_364598_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328275311","file1":"1328275310","file0":"1328275307","file3":"1328275313"},"map_files_photo_id_array":[{"photo_id":"1328275311","filename":"file2"},{"photo_id":"1328275310","filename":"file1"},{"photo_id":"1328275307","filename":"file0"},{"photo_id":"1328275313","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328275311":["hashtag1","hashtag2"]},{"1328275313":["hashtag1","hashtag2"]},{"1328275307":["hashtag1","hashtag2"]},{"1328275310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328275311, 1328275313, 1328275307, 1328275310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.792564392089844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:37:22.526547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/36/image_11012025_23_36_02_364598_0003.jpg', '/home/pi/Desktop/images/11012025/23/37/image_11012025_23_37_02_585332_0000.jpg', '/home/pi/Desktop/images/11012025/23/37/image_11012025_23_37_02_585332_0001.jpg', '/home/pi/Desktop/images/11012025/23/37/image_11012025_23_37_02_585332_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/36/image_11012025_23_36_02_364598_0003.jpg
/home/pi/Desktop/images/11012025/23/37/image_11012025_23_37_02_585332_0000.jpg
/home/pi/Desktop/images/11012025/23/37/image_11012025_23_37_02_585332_0001.jpg
/home/pi/Desktop/images/11012025/23/37/image_11012025_23_37_02_585332_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328275330","1328275327","1328275332","1328275328"],"photo_ids_order":["1328275327","1328275328","1328275330","1328275332"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/95d3edef98170476f031e9c4b87763ee.jpg","text":"TemporaryFile(/tmp/multipartBody3825035941067364976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635112890,"filename":"image_11012025_23_37_02_585332_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6365e39cccf95ca64eab19e329a4fbbb.jpg","text":"TemporaryFile(/tmp/multipartBody6134469643895611809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635112890,"filename":"image_11012025_23_36_02_364598_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aabfe360caefe4f23ab50866069c1b2e.jpg","text":"TemporaryFile(/tmp/multipartBody7406453356098733291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635112890,"filename":"image_11012025_23_37_02_585332_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/781a0451282f05620f89642fcd5471c7.jpg","text":"TemporaryFile(/tmp/multipartBody9190610324859047148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635112890,"filename":"image_11012025_23_37_02_585332_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328275330","file1":"1328275328","file0":"1328275327","file3":"1328275332"},"map_files_photo_id_array":[{"photo_id":"1328275330","filename":"file2"},{"photo_id":"1328275328","filename":"file1"},{"photo_id":"1328275327","filename":"file0"},{"photo_id":"1328275332","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328275330":["hashtag1","hashtag2"]},{"1328275327":["hashtag1","hashtag2"]},{"1328275332":["hashtag1","hashtag2"]},{"1328275328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328275330, 1328275327, 1328275332, 1328275328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.45965528488159 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:38:22.562709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/37/image_11012025_23_37_02_585332_0003.jpg', '/home/pi/Desktop/images/11012025/23/38/image_11012025_23_38_02_847838_0000.jpg', '/home/pi/Desktop/images/11012025/23/38/image_11012025_23_38_02_847838_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/37/image_11012025_23_37_02_585332_0003.jpg
/home/pi/Desktop/images/11012025/23/38/image_11012025_23_38_02_847838_0000.jpg
/home/pi/Desktop/images/11012025/23/38/image_11012025_23_38_02_847838_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":["1328275342","1328275346","1328275349"],"photo_ids_order":["1328275342","1328275346","1328275349"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bca5f48cc5f5d9f9177cdb0419e49844.jpg","text":"TemporaryFile(/tmp/multipartBody5039224555986934007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635170464,"filename":"image_11012025_23_37_02_585332_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/67ee2607f3ef174b3ad347a1296cf6b7.jpg","text":"TemporaryFile(/tmp/multipartBody2595332851829950128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635170464,"filename":"image_11012025_23_38_02_847838_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/76d11e372342150f42eaba46fb63b29b.jpg","text":"TemporaryFile(/tmp/multipartBody1789153708085511552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635170464,"filename":"image_11012025_23_38_02_847838_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328275349","file1":"1328275346","file0":"1328275342"},"map_files_photo_id_array":[{"photo_id":"1328275349","filename":"file2"},{"photo_id":"1328275346","filename":"file1"},{"photo_id":"1328275342","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328275342":["hashtag1","hashtag2"]},{"1328275346":["hashtag1","hashtag2"]},{"1328275349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328275342, 1328275346, 1328275349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.396353006362915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:39:03.283392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:39:22.803316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/38/image_11012025_23_38_02_847838_0002.jpg', '/home/pi/Desktop/images/11012025/23/39/image_11012025_23_39_02_958832_0000.jpg', '/home/pi/Desktop/images/11012025/23/39/image_11012025_23_39_02_958832_0001.jpg', '/home/pi/Desktop/images/11012025/23/39/image_11012025_23_39_02_958832_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/38/image_11012025_23_38_02_847838_0002.jpg
/home/pi/Desktop/images/11012025/23/39/image_11012025_23_39_02_958832_0000.jpg
/home/pi/Desktop/images/11012025/23/39/image_11012025_23_39_02_958832_0001.jpg
/home/pi/Desktop/images/11012025/23/39/image_11012025_23_39_02_958832_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328275377","1328275424","1328275367","1328275418"],"photo_ids_order":["1328275367","1328275377","1328275418","1328275424"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fa2c917da98c32341c00badde27222a1.jpg","text":"TemporaryFile(/tmp/multipartBody4736354513885708783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635233015,"filename":"image_11012025_23_39_02_958832_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d2986142faac10ccc4c0a0f5462533a7.jpg","text":"TemporaryFile(/tmp/multipartBody4354447472204371243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635233015,"filename":"image_11012025_23_39_02_958832_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/44333110f0327977009ea9509a559fa3.jpg","text":"TemporaryFile(/tmp/multipartBody2826811365897565543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635233015,"filename":"image_11012025_23_38_02_847838_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a937634f47b6aa34f8d1df0d5c5ad761.jpg","text":"TemporaryFile(/tmp/multipartBody1384215972563636920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635233015,"filename":"image_11012025_23_39_02_958832_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328275418","file1":"1328275377","file0":"1328275367","file3":"1328275424"},"map_files_photo_id_array":[{"photo_id":"1328275418","filename":"file2"},{"photo_id":"1328275377","filename":"file1"},{"photo_id":"1328275367","filename":"file0"},{"photo_id":"1328275424","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328275377":["hashtag1","hashtag2"]},{"1328275424":["hashtag1","hashtag2"]},{"1328275367":["hashtag1","hashtag2"]},{"1328275418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328275377, 1328275424, 1328275367, 1328275418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.664714097976685 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:40:21.908723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/39/image_11012025_23_39_02_958832_0003.jpg', '/home/pi/Desktop/images/11012025/23/40/image_11012025_23_40_03_105792_0000.jpg', '/home/pi/Desktop/images/11012025/23/40/image_11012025_23_40_03_105792_0001.jpg', '/home/pi/Desktop/images/11012025/23/40/image_11012025_23_40_03_105792_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/39/image_11012025_23_39_02_958832_0003.jpg
/home/pi/Desktop/images/11012025/23/40/image_11012025_23_40_03_105792_0000.jpg
/home/pi/Desktop/images/11012025/23/40/image_11012025_23_40_03_105792_0001.jpg
/home/pi/Desktop/images/11012025/23/40/image_11012025_23_40_03_105792_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328275540","1328275461","1328275542","1328275538"],"photo_ids_order":["1328275461","1328275538","1328275540","1328275542"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e2ffc8770f9591e9f1ca0a635e650d13.jpg","text":"TemporaryFile(/tmp/multipartBody1086608544718394307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635292190,"filename":"image_11012025_23_40_03_105792_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fcd1658969d8720f79ab5f3cba9a3db4.jpg","text":"TemporaryFile(/tmp/multipartBody4955206367451549927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635292190,"filename":"image_11012025_23_39_02_958832_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/34cdeb3e8977beaa67be9b7b4e93b5c7.jpg","text":"TemporaryFile(/tmp/multipartBody1771678417122687073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635292190,"filename":"image_11012025_23_40_03_105792_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/aae6a1cbfc6b48e3b1e5c4150c7e6470.jpg","text":"TemporaryFile(/tmp/multipartBody5439550873242875984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635292190,"filename":"image_11012025_23_40_03_105792_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328275540","file1":"1328275538","file0":"1328275461","file3":"1328275542"},"map_files_photo_id_array":[{"photo_id":"1328275540","filename":"file2"},{"photo_id":"1328275538","filename":"file1"},{"photo_id":"1328275461","filename":"file0"},{"photo_id":"1328275542","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328275540":["hashtag1","hashtag2"]},{"1328275461":["hashtag1","hashtag2"]},{"1328275542":["hashtag1","hashtag2"]},{"1328275538":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328275540, 1328275461, 1328275542, 1328275538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.54279971122742 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:41:02.787699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:41:22.051209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/40/image_11012025_23_40_03_105792_0003.jpg', '/home/pi/Desktop/images/11012025/23/41/image_11012025_23_41_02_323973_0000.jpg', '/home/pi/Desktop/images/11012025/23/41/image_11012025_23_41_02_323973_0001.jpg', '/home/pi/Desktop/images/11012025/23/41/image_11012025_23_41_02_323973_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/40/image_11012025_23_40_03_105792_0003.jpg
/home/pi/Desktop/images/11012025/23/41/image_11012025_23_41_02_323973_0000.jpg
/home/pi/Desktop/images/11012025/23/41/image_11012025_23_41_02_323973_0001.jpg
/home/pi/Desktop/images/11012025/23/41/image_11012025_23_41_02_323973_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328275560","1328275562","1328275556","1328275565"],"photo_ids_order":["1328275556","1328275560","1328275562","1328275565"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bd578e92494dd8408dd6c89717bb560d.jpg","text":"TemporaryFile(/tmp/multipartBody4586694954538450539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635352392,"filename":"image_11012025_23_41_02_323973_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d4a4921d43862796f6e1c97efb9eed9f.jpg","text":"TemporaryFile(/tmp/multipartBody6688560821968034701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635352392,"filename":"image_11012025_23_41_02_323973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2659e300d110e4ef46a967a50d111b6d.jpg","text":"TemporaryFile(/tmp/multipartBody1167927934735192887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635352392,"filename":"image_11012025_23_40_03_105792_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/98a0a8bd36c498d9e0aea694ab4c3792.jpg","text":"TemporaryFile(/tmp/multipartBody3091571526372248521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635352392,"filename":"image_11012025_23_41_02_323973_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328275562","file1":"1328275560","file0":"1328275556","file3":"1328275565"},"map_files_photo_id_array":[{"photo_id":"1328275562","filename":"file2"},{"photo_id":"1328275560","filename":"file1"},{"photo_id":"1328275556","filename":"file0"},{"photo_id":"1328275565","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328275560":["hashtag1","hashtag2"]},{"1328275562":["hashtag1","hashtag2"]},{"1328275556":["hashtag1","hashtag2"]},{"1328275565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328275560, 1328275562, 1328275556, 1328275565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.337727308273315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:42:02.674658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:42:22.422855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/41/image_11012025_23_41_02_323973_0003.jpg', '/home/pi/Desktop/images/11012025/23/42/image_11012025_23_42_02_481568_0000.jpg', '/home/pi/Desktop/images/11012025/23/42/image_11012025_23_42_02_481568_0001.jpg', '/home/pi/Desktop/images/11012025/23/42/image_11012025_23_42_02_481568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/41/image_11012025_23_41_02_323973_0003.jpg
/home/pi/Desktop/images/11012025/23/42/image_11012025_23_42_02_481568_0000.jpg
/home/pi/Desktop/images/11012025/23/42/image_11012025_23_42_02_481568_0001.jpg
/home/pi/Desktop/images/11012025/23/42/image_11012025_23_42_02_481568_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328275603","1328275575","1328275604","1328275585"],"photo_ids_order":["1328275575","1328275585","1328275603","1328275604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3e12a8d8297ef9c1a02523fd8c54ed48.jpg","text":"TemporaryFile(/tmp/multipartBody8219179907498980708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635412682,"filename":"image_11012025_23_42_02_481568_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1c95d25f37e1cd086c008157ca14b32b.jpg","text":"TemporaryFile(/tmp/multipartBody7513105453203105290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635412682,"filename":"image_11012025_23_41_02_323973_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/6931e748cf6dae8349304b2ce39119c7.jpg","text":"TemporaryFile(/tmp/multipartBody9182274276010595713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635412682,"filename":"image_11012025_23_42_02_481568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/157d9c6b11dafc95b2205ddddb83d6a1.jpg","text":"TemporaryFile(/tmp/multipartBody8908410501449881359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635412682,"filename":"image_11012025_23_42_02_481568_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328275603","file1":"1328275585","file0":"1328275575","file3":"1328275604"},"map_files_photo_id_array":[{"photo_id":"1328275603","filename":"file2"},{"photo_id":"1328275585","filename":"file1"},{"photo_id":"1328275575","filename":"file0"},{"photo_id":"1328275604","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328275603":["hashtag1","hashtag2"]},{"1328275575":["hashtag1","hashtag2"]},{"1328275604":["hashtag1","hashtag2"]},{"1328275585":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328275603, 1328275575, 1328275604, 1328275585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.02040672302246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:43:03.180593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:43:22.472887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/42/image_11012025_23_42_02_481568_0003.jpg', '/home/pi/Desktop/images/11012025/23/43/image_11012025_23_43_02_710677_0000.jpg', '/home/pi/Desktop/images/11012025/23/43/image_11012025_23_43_02_710677_0001.jpg', '/home/pi/Desktop/images/11012025/23/43/image_11012025_23_43_02_710677_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/42/image_11012025_23_42_02_481568_0003.jpg
/home/pi/Desktop/images/11012025/23/43/image_11012025_23_43_02_710677_0000.jpg
/home/pi/Desktop/images/11012025/23/43/image_11012025_23_43_02_710677_0001.jpg
/home/pi/Desktop/images/11012025/23/43/image_11012025_23_43_02_710677_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328275657","1328275659","1328275655","1328275643"],"photo_ids_order":["1328275643","1328275655","1328275657","1328275659"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ebebf3f90f115f859e8bb013602de1dd.jpg","text":"TemporaryFile(/tmp/multipartBody1239182810284165489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635472699,"filename":"image_11012025_23_43_02_710677_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3a2a67add40069458e11015a8dc89550.jpg","text":"TemporaryFile(/tmp/multipartBody875268247036810554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635472699,"filename":"image_11012025_23_43_02_710677_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/65c68a69e82e6ad8114162d1b842f65d.jpg","text":"TemporaryFile(/tmp/multipartBody8783571654669601272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635472699,"filename":"image_11012025_23_43_02_710677_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/421cbcace605936686954a1528d29eef.jpg","text":"TemporaryFile(/tmp/multipartBody7341289791168325818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635472699,"filename":"image_11012025_23_42_02_481568_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328275657","file1":"1328275655","file0":"1328275643","file3":"1328275659"},"map_files_photo_id_array":[{"photo_id":"1328275657","filename":"file2"},{"photo_id":"1328275655","filename":"file1"},{"photo_id":"1328275643","filename":"file0"},{"photo_id":"1328275659","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328275657":["hashtag1","hashtag2"]},{"1328275659":["hashtag1","hashtag2"]},{"1328275655":["hashtag1","hashtag2"]},{"1328275643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328275657, 1328275659, 1328275655, 1328275643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.75702667236328 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:44:22.719347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/43/image_11012025_23_43_02_710677_0003.jpg', '/home/pi/Desktop/images/11012025/23/44/image_11012025_23_44_02_880897_0000.jpg', '/home/pi/Desktop/images/11012025/23/44/image_11012025_23_44_02_880897_0001.jpg', '/home/pi/Desktop/images/11012025/23/44/image_11012025_23_44_02_880897_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/43/image_11012025_23_43_02_710677_0003.jpg
/home/pi/Desktop/images/11012025/23/44/image_11012025_23_44_02_880897_0000.jpg
/home/pi/Desktop/images/11012025/23/44/image_11012025_23_44_02_880897_0001.jpg
/home/pi/Desktop/images/11012025/23/44/image_11012025_23_44_02_880897_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328275744","1328275735","1328275746","1328275739"],"photo_ids_order":["1328275735","1328275739","1328275744","1328275746"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4262aa8d8d891f5a7d76ab87eaf69bc9.jpg","text":"TemporaryFile(/tmp/multipartBody5985769724138340379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635532930,"filename":"image_11012025_23_44_02_880897_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/57e1504281e4f0bf9ea89898d9428006.jpg","text":"TemporaryFile(/tmp/multipartBody1930983922922264128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635532930,"filename":"image_11012025_23_43_02_710677_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3d0327f823ffabc7cb5784e7c3878748.jpg","text":"TemporaryFile(/tmp/multipartBody1392589755270386612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635532930,"filename":"image_11012025_23_44_02_880897_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/21ff1428eaf56b7289063dc99cfacbb7.jpg","text":"TemporaryFile(/tmp/multipartBody6492646268113376899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635532930,"filename":"image_11012025_23_44_02_880897_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328275744","file1":"1328275739","file0":"1328275735","file3":"1328275746"},"map_files_photo_id_array":[{"photo_id":"1328275744","filename":"file2"},{"photo_id":"1328275739","filename":"file1"},{"photo_id":"1328275735","filename":"file0"},{"photo_id":"1328275746","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328275744":["hashtag1","hashtag2"]},{"1328275735":["hashtag1","hashtag2"]},{"1328275746":["hashtag1","hashtag2"]},{"1328275739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328275744, 1328275735, 1328275746, 1328275739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.57538890838623 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:45:02.469633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:45:21.833044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/44/image_11012025_23_44_02_880897_0003.jpg', '/home/pi/Desktop/images/11012025/23/45/image_11012025_23_45_03_092907_0000.jpg', '/home/pi/Desktop/images/11012025/23/45/image_11012025_23_45_03_092907_0001.jpg', '/home/pi/Desktop/images/11012025/23/45/image_11012025_23_45_03_092907_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/44/image_11012025_23_44_02_880897_0003.jpg
/home/pi/Desktop/images/11012025/23/45/image_11012025_23_45_03_092907_0000.jpg
/home/pi/Desktop/images/11012025/23/45/image_11012025_23_45_03_092907_0001.jpg
/home/pi/Desktop/images/11012025/23/45/image_11012025_23_45_03_092907_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328275756","1328275764","1328275754","1328275783"],"photo_ids_order":["1328275754","1328275756","1328275764","1328275783"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e5f2c2fec4c0bb03075f23ea1eaf9b97.jpg","text":"TemporaryFile(/tmp/multipartBody4626015121516069072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635592132,"filename":"image_11012025_23_45_03_092907_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/88da8582e5bb89c0a565a51ff30ec0bd.jpg","text":"TemporaryFile(/tmp/multipartBody6347548952392051099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635592132,"filename":"image_11012025_23_45_03_092907_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fa55b498e6541a01c7dc346abda0e12e.jpg","text":"TemporaryFile(/tmp/multipartBody2848806679933928094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635592132,"filename":"image_11012025_23_44_02_880897_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/af4477e7a1984881637784388b4fa7d6.jpg","text":"TemporaryFile(/tmp/multipartBody5314460679244303145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635592132,"filename":"image_11012025_23_45_03_092907_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328275764","file1":"1328275756","file0":"1328275754","file3":"1328275783"},"map_files_photo_id_array":[{"photo_id":"1328275764","filename":"file2"},{"photo_id":"1328275756","filename":"file1"},{"photo_id":"1328275754","filename":"file0"},{"photo_id":"1328275783","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328275756":["hashtag1","hashtag2"]},{"1328275764":["hashtag1","hashtag2"]},{"1328275754":["hashtag1","hashtag2"]},{"1328275783":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328275756, 1328275764, 1328275754, 1328275783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.46107864379883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:46:02.535659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:46:22.146510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/45/image_11012025_23_45_03_092907_0003.jpg', '/home/pi/Desktop/images/11012025/23/46/image_11012025_23_46_02_307034_0000.jpg', '/home/pi/Desktop/images/11012025/23/46/image_11012025_23_46_02_307034_0001.jpg', '/home/pi/Desktop/images/11012025/23/46/image_11012025_23_46_02_307034_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/45/image_11012025_23_45_03_092907_0003.jpg
/home/pi/Desktop/images/11012025/23/46/image_11012025_23_46_02_307034_0000.jpg
/home/pi/Desktop/images/11012025/23/46/image_11012025_23_46_02_307034_0001.jpg
/home/pi/Desktop/images/11012025/23/46/image_11012025_23_46_02_307034_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328275801","1328275797","1328275796","1328275799"],"photo_ids_order":["1328275796","1328275797","1328275799","1328275801"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f70065fb645924cd624297778f5679a2.jpg","text":"TemporaryFile(/tmp/multipartBody4941620872612367749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635652335,"filename":"image_11012025_23_46_02_307034_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/58dc74298402764870cd8102e8336dbd.jpg","text":"TemporaryFile(/tmp/multipartBody2240734875962450333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635652335,"filename":"image_11012025_23_46_02_307034_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4ecf655d938562a7a149b2bc4cbd4604.jpg","text":"TemporaryFile(/tmp/multipartBody4910505563992906173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635652335,"filename":"image_11012025_23_45_03_092907_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c5298e01877dd9040daf27ad74ddbda5.jpg","text":"TemporaryFile(/tmp/multipartBody4648616511661859051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635652335,"filename":"image_11012025_23_46_02_307034_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328275799","file1":"1328275797","file0":"1328275796","file3":"1328275801"},"map_files_photo_id_array":[{"photo_id":"1328275799","filename":"file2"},{"photo_id":"1328275797","filename":"file1"},{"photo_id":"1328275796","filename":"file0"},{"photo_id":"1328275801","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328275801":["hashtag1","hashtag2"]},{"1328275797":["hashtag1","hashtag2"]},{"1328275796":["hashtag1","hashtag2"]},{"1328275799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328275801, 1328275797, 1328275796, 1328275799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.82609796524048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:47:22.261991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/46/image_11012025_23_46_02_307034_0003.jpg', '/home/pi/Desktop/images/11012025/23/47/image_11012025_23_47_02_373852_0000.jpg', '/home/pi/Desktop/images/11012025/23/47/image_11012025_23_47_02_373852_0001.jpg', '/home/pi/Desktop/images/11012025/23/47/image_11012025_23_47_02_373852_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/46/image_11012025_23_46_02_307034_0003.jpg
/home/pi/Desktop/images/11012025/23/47/image_11012025_23_47_02_373852_0000.jpg
/home/pi/Desktop/images/11012025/23/47/image_11012025_23_47_02_373852_0001.jpg
/home/pi/Desktop/images/11012025/23/47/image_11012025_23_47_02_373852_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328275813","1328275818","1328275815","1328275817"],"photo_ids_order":["1328275813","1328275815","1328275817","1328275818"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ba510cc4c3b993128a332c0e9aef4a33.jpg","text":"TemporaryFile(/tmp/multipartBody1308826521944747029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635712619,"filename":"image_11012025_23_46_02_307034_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1a87730f10c74298a1ed9e6e3ead98ab.jpg","text":"TemporaryFile(/tmp/multipartBody3539981440712608174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635712619,"filename":"image_11012025_23_47_02_373852_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/bc450c91d8a5f68eafdb845dfc86736d.jpg","text":"TemporaryFile(/tmp/multipartBody7720462819645891075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635712619,"filename":"image_11012025_23_47_02_373852_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c939acac520cb0192b214b966fc20936.jpg","text":"TemporaryFile(/tmp/multipartBody2179723593861661961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635712619,"filename":"image_11012025_23_47_02_373852_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328275817","file1":"1328275815","file0":"1328275813","file3":"1328275818"},"map_files_photo_id_array":[{"photo_id":"1328275817","filename":"file2"},{"photo_id":"1328275815","filename":"file1"},{"photo_id":"1328275813","filename":"file0"},{"photo_id":"1328275818","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328275813":["hashtag1","hashtag2"]},{"1328275818":["hashtag1","hashtag2"]},{"1328275815":["hashtag1","hashtag2"]},{"1328275817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328275813, 1328275818, 1328275815, 1328275817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.52049899101257 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:48:22.455219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/47/image_11012025_23_47_02_373852_0003.jpg', '/home/pi/Desktop/images/11012025/23/48/image_11012025_23_48_02_571258_0000.jpg', '/home/pi/Desktop/images/11012025/23/48/image_11012025_23_48_02_571258_0001.jpg', '/home/pi/Desktop/images/11012025/23/48/image_11012025_23_48_02_571258_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/47/image_11012025_23_47_02_373852_0003.jpg
/home/pi/Desktop/images/11012025/23/48/image_11012025_23_48_02_571258_0000.jpg
/home/pi/Desktop/images/11012025/23/48/image_11012025_23_48_02_571258_0001.jpg
/home/pi/Desktop/images/11012025/23/48/image_11012025_23_48_02_571258_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328275858","1328275853","1328275856","1328275838"],"photo_ids_order":["1328275838","1328275853","1328275856","1328275858"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/972e580cee4b74048dc543732239ef83.jpg","text":"TemporaryFile(/tmp/multipartBody7883180399436407439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635771936,"filename":"image_11012025_23_48_02_571258_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3e6832087f1da5d98baaae3d9fca4a30.jpg","text":"TemporaryFile(/tmp/multipartBody8602230632441480068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635771936,"filename":"image_11012025_23_48_02_571258_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fd9ea3b833bb9b06e891d4fa43639fcf.jpg","text":"TemporaryFile(/tmp/multipartBody1364940665788590328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635771936,"filename":"image_11012025_23_48_02_571258_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/82ee94ea0c7eb27825e1cd20050428d4.jpg","text":"TemporaryFile(/tmp/multipartBody6501470341363142949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635771936,"filename":"image_11012025_23_47_02_373852_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328275856","file1":"1328275853","file0":"1328275838","file3":"1328275858"},"map_files_photo_id_array":[{"photo_id":"1328275856","filename":"file2"},{"photo_id":"1328275853","filename":"file1"},{"photo_id":"1328275838","filename":"file0"},{"photo_id":"1328275858","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328275858":["hashtag1","hashtag2"]},{"1328275853":["hashtag1","hashtag2"]},{"1328275856":["hashtag1","hashtag2"]},{"1328275838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328275858, 1328275853, 1328275856, 1328275838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.54333209991455 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-11 23:49:22.746683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/48/image_11012025_23_48_02_571258_0003.jpg', '/home/pi/Desktop/images/11012025/23/49/image_11012025_23_49_02_845442_0000.jpg', '/home/pi/Desktop/images/11012025/23/49/image_11012025_23_49_02_845442_0001.jpg', '/home/pi/Desktop/images/11012025/23/49/image_11012025_23_49_02_845442_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/48/image_11012025_23_48_02_571258_0003.jpg
/home/pi/Desktop/images/11012025/23/49/image_11012025_23_49_02_845442_0000.jpg
/home/pi/Desktop/images/11012025/23/49/image_11012025_23_49_02_845442_0001.jpg
/home/pi/Desktop/images/11012025/23/49/image_11012025_23_49_02_845442_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328276742","1328276739","1328276744","1328276747"],"photo_ids_order":["1328276739","1328276742","1328276744","1328276747"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/40b079948ee37b9f6c980d5f8c685bf2.jpg","text":"TemporaryFile(/tmp/multipartBody6128336656718473418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635831712,"filename":"image_11012025_23_49_02_845442_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d5d662b4c36b1b7f4509b912902158a3.jpg","text":"TemporaryFile(/tmp/multipartBody3824670022574241618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635831712,"filename":"image_11012025_23_48_02_571258_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/ef6649a77ecd896705b4df52b898eede.jpg","text":"TemporaryFile(/tmp/multipartBody7292556145193661352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635831712,"filename":"image_11012025_23_49_02_845442_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4a29cdb61c3495b2b0fd8fb8c05bfd32.jpg","text":"TemporaryFile(/tmp/multipartBody1314164184145834728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635831712,"filename":"image_11012025_23_49_02_845442_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328276744","file1":"1328276742","file0":"1328276739","file3":"1328276747"},"map_files_photo_id_array":[{"photo_id":"1328276744","filename":"file2"},{"photo_id":"1328276742","filename":"file1"},{"photo_id":"1328276739","filename":"file0"},{"photo_id":"1328276747","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328276742":["hashtag1","hashtag2"]},{"1328276739":["hashtag1","hashtag2"]},{"1328276744":["hashtag1","hashtag2"]},{"1328276747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328276742, 1328276739, 1328276744, 1328276747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.82630109786987 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:50:02.177486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:50:21.750473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/49/image_11012025_23_49_02_845442_0003.jpg', '/home/pi/Desktop/images/11012025/23/50/image_11012025_23_50_02_983842_0000.jpg', '/home/pi/Desktop/images/11012025/23/50/image_11012025_23_50_02_983842_0001.jpg', '/home/pi/Desktop/images/11012025/23/50/image_11012025_23_50_02_983842_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/49/image_11012025_23_49_02_845442_0003.jpg
/home/pi/Desktop/images/11012025/23/50/image_11012025_23_50_02_983842_0000.jpg
/home/pi/Desktop/images/11012025/23/50/image_11012025_23_50_02_983842_0001.jpg
/home/pi/Desktop/images/11012025/23/50/image_11012025_23_50_02_983842_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328277249","1328277254","1328277574","1328277256"],"photo_ids_order":["1328277249","1328277254","1328277256","1328277574"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/fd33ee9855010f02222f4da6afe9213d.jpg","text":"TemporaryFile(/tmp/multipartBody7620893334599230606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635890485,"filename":"image_11012025_23_49_02_845442_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5e9f356c9c4d019a44fa15238657fa33.jpg","text":"TemporaryFile(/tmp/multipartBody8574003572696568969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635890485,"filename":"image_11012025_23_50_02_983842_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cb7b2c30f1b9cccc13e9e9b42ac73c7a.jpg","text":"TemporaryFile(/tmp/multipartBody830916044391779659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635890485,"filename":"image_11012025_23_50_02_983842_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f75d83e0e73bfc7a0e6b6377c84cfc83.jpg","text":"TemporaryFile(/tmp/multipartBody7722026456334906044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635890485,"filename":"image_11012025_23_50_02_983842_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328277256","file1":"1328277254","file0":"1328277249","file3":"1328277574"},"map_files_photo_id_array":[{"photo_id":"1328277256","filename":"file2"},{"photo_id":"1328277254","filename":"file1"},{"photo_id":"1328277249","filename":"file0"},{"photo_id":"1328277574","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328277249":["hashtag1","hashtag2"]},{"1328277254":["hashtag1","hashtag2"]},{"1328277574":["hashtag1","hashtag2"]},{"1328277256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328277249, 1328277254, 1328277574, 1328277256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.30942988395691 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:51:21.912750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/50/image_11012025_23_50_02_983842_0003.jpg', '/home/pi/Desktop/images/11012025/23/51/image_11012025_23_51_02_082719_0000.jpg', '/home/pi/Desktop/images/11012025/23/51/image_11012025_23_51_02_082719_0001.jpg', '/home/pi/Desktop/images/11012025/23/51/image_11012025_23_51_02_082719_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/50/image_11012025_23_50_02_983842_0003.jpg
/home/pi/Desktop/images/11012025/23/51/image_11012025_23_51_02_082719_0000.jpg
/home/pi/Desktop/images/11012025/23/51/image_11012025_23_51_02_082719_0001.jpg
/home/pi/Desktop/images/11012025/23/51/image_11012025_23_51_02_082719_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328277942","1328277939","1328277940","1328277937"],"photo_ids_order":["1328277937","1328277939","1328277940","1328277942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d476b26c3d785b284b792f05b90eb677.jpg","text":"TemporaryFile(/tmp/multipartBody5897095103464362815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635950492,"filename":"image_11012025_23_51_02_082719_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/97f22d52bc5c1879eb05312ada4ef86e.jpg","text":"TemporaryFile(/tmp/multipartBody4440617552709069682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635950492,"filename":"image_11012025_23_51_02_082719_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/dedde3f65d0b0561eba541660024bd32.jpg","text":"TemporaryFile(/tmp/multipartBody8167287394640567729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635950492,"filename":"image_11012025_23_51_02_082719_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a063fc80a8c56a74ffb6ac8147603107.jpg","text":"TemporaryFile(/tmp/multipartBody6744293772834956605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736635950492,"filename":"image_11012025_23_50_02_983842_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328277940","file1":"1328277939","file0":"1328277937","file3":"1328277942"},"map_files_photo_id_array":[{"photo_id":"1328277940","filename":"file2"},{"photo_id":"1328277939","filename":"file1"},{"photo_id":"1328277937","filename":"file0"},{"photo_id":"1328277942","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328277942":["hashtag1","hashtag2"]},{"1328277939":["hashtag1","hashtag2"]},{"1328277940":["hashtag1","hashtag2"]},{"1328277937":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328277942, 1328277939, 1328277940, 1328277937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.18324613571167 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:52:02.621199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:52:22.169308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/51/image_11012025_23_51_02_082719_0003.jpg', '/home/pi/Desktop/images/11012025/23/52/image_11012025_23_52_02_301851_0000.jpg', '/home/pi/Desktop/images/11012025/23/52/image_11012025_23_52_02_301851_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/51/image_11012025_23_51_02_082719_0003.jpg
/home/pi/Desktop/images/11012025/23/52/image_11012025_23_52_02_301851_0000.jpg
/home/pi/Desktop/images/11012025/23/52/image_11012025_23_52_02_301851_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":["1328277957","1328277950","1328277954"],"photo_ids_order":["1328277950","1328277954","1328277957"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/20603735b71fd4d59443430a2187f3e0.jpg","text":"TemporaryFile(/tmp/multipartBody2953663915212495721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636008815,"filename":"image_11012025_23_52_02_301851_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4bfd64db293c96f0592e8aad47d139b3.jpg","text":"TemporaryFile(/tmp/multipartBody3383959084674286122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636008815,"filename":"image_11012025_23_51_02_082719_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2f713da4bffd1cb0a23f9b25402ce144.jpg","text":"TemporaryFile(/tmp/multipartBody7894399590203223438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636008815,"filename":"image_11012025_23_52_02_301851_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328277957","file1":"1328277954","file0":"1328277950"},"map_files_photo_id_array":[{"photo_id":"1328277957","filename":"file2"},{"photo_id":"1328277954","filename":"file1"},{"photo_id":"1328277950","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328277957":["hashtag1","hashtag2"]},{"1328277950":["hashtag1","hashtag2"]},{"1328277954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328277957, 1328277950, 1328277954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.283774375915527 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:53:02.870566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:53:22.335839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/52/image_11012025_23_52_02_301851_0002.jpg', '/home/pi/Desktop/images/11012025/23/53/image_11012025_23_53_02_516721_0000.jpg', '/home/pi/Desktop/images/11012025/23/53/image_11012025_23_53_02_516721_0001.jpg', '/home/pi/Desktop/images/11012025/23/53/image_11012025_23_53_02_516721_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/52/image_11012025_23_52_02_301851_0002.jpg
/home/pi/Desktop/images/11012025/23/53/image_11012025_23_53_02_516721_0000.jpg
/home/pi/Desktop/images/11012025/23/53/image_11012025_23_53_02_516721_0001.jpg
/home/pi/Desktop/images/11012025/23/53/image_11012025_23_53_02_516721_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328277971","1328277970","1328277975","1328277969"],"photo_ids_order":["1328277969","1328277970","1328277971","1328277975"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/51bbe55512d67ad617b4ed8590ed89f5.jpg","text":"TemporaryFile(/tmp/multipartBody6028697414845134048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636070915,"filename":"image_11012025_23_53_02_516721_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/2d797f49189088af4b9b6d15f68273ea.jpg","text":"TemporaryFile(/tmp/multipartBody7261791538838429334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636070915,"filename":"image_11012025_23_53_02_516721_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a52b5177bba28c7e729b0ce541e4c1ff.jpg","text":"TemporaryFile(/tmp/multipartBody8644488624632096824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636070915,"filename":"image_11012025_23_53_02_516721_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/e75cdae71531f1def5ec30cfb0f0baaf.jpg","text":"TemporaryFile(/tmp/multipartBody4680976181662924448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636070915,"filename":"image_11012025_23_52_02_301851_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328277971","file1":"1328277970","file0":"1328277969","file3":"1328277975"},"map_files_photo_id_array":[{"photo_id":"1328277971","filename":"file2"},{"photo_id":"1328277970","filename":"file1"},{"photo_id":"1328277969","filename":"file0"},{"photo_id":"1328277975","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328277971":["hashtag1","hashtag2"]},{"1328277970":["hashtag1","hashtag2"]},{"1328277975":["hashtag1","hashtag2"]},{"1328277969":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328277971, 1328277970, 1328277975, 1328277969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.317521810531616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:54:02.936577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:54:22.630876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/53/image_11012025_23_53_02_516721_0003.jpg', '/home/pi/Desktop/images/11012025/23/54/image_11012025_23_54_02_744646_0000.jpg', '/home/pi/Desktop/images/11012025/23/54/image_11012025_23_54_02_744646_0001.jpg', '/home/pi/Desktop/images/11012025/23/54/image_11012025_23_54_02_744646_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/53/image_11012025_23_53_02_516721_0003.jpg
/home/pi/Desktop/images/11012025/23/54/image_11012025_23_54_02_744646_0000.jpg
/home/pi/Desktop/images/11012025/23/54/image_11012025_23_54_02_744646_0001.jpg
/home/pi/Desktop/images/11012025/23/54/image_11012025_23_54_02_744646_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328278002","1328277998","1328277994","1328278000"],"photo_ids_order":["1328277994","1328277998","1328278000","1328278002"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/cf5cb5e43d586e1c569b3c89f76fce20.jpg","text":"TemporaryFile(/tmp/multipartBody1787026827589618159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636131321,"filename":"image_11012025_23_54_02_744646_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/79e9b8b54812de582ba1e8d8d1314daf.jpg","text":"TemporaryFile(/tmp/multipartBody2588317348958388807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636131321,"filename":"image_11012025_23_54_02_744646_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/474fd833005e3935d79b10238021a1aa.jpg","text":"TemporaryFile(/tmp/multipartBody1092034658704843324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636131321,"filename":"image_11012025_23_53_02_516721_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/8b0f382aac3b1bc16539e82cad61e4b4.jpg","text":"TemporaryFile(/tmp/multipartBody3311606925611029124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636131321,"filename":"image_11012025_23_54_02_744646_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328278000","file1":"1328277998","file0":"1328277994","file3":"1328278002"},"map_files_photo_id_array":[{"photo_id":"1328278000","filename":"file2"},{"photo_id":"1328277998","filename":"file1"},{"photo_id":"1328277994","filename":"file0"},{"photo_id":"1328278002","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328278002":["hashtag1","hashtag2"]},{"1328277998":["hashtag1","hashtag2"]},{"1328277994":["hashtag1","hashtag2"]},{"1328278000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328278002, 1328277998, 1328277994, 1328278000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.88926696777344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:55:03.427185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:55:22.727741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/54/image_11012025_23_54_02_744646_0003.jpg', '/home/pi/Desktop/images/11012025/23/55/image_11012025_23_55_02_918248_0000.jpg', '/home/pi/Desktop/images/11012025/23/55/image_11012025_23_55_02_918248_0001.jpg', '/home/pi/Desktop/images/11012025/23/55/image_11012025_23_55_02_918248_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/54/image_11012025_23_54_02_744646_0003.jpg
/home/pi/Desktop/images/11012025/23/55/image_11012025_23_55_02_918248_0000.jpg
/home/pi/Desktop/images/11012025/23/55/image_11012025_23_55_02_918248_0001.jpg
/home/pi/Desktop/images/11012025/23/55/image_11012025_23_55_02_918248_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328278014","1328278022","1328278019","1328278024"],"photo_ids_order":["1328278014","1328278019","1328278022","1328278024"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d03f195d26c0768a35bca63eec5594d4.jpg","text":"TemporaryFile(/tmp/multipartBody2080259714109163132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636191437,"filename":"image_11012025_23_54_02_744646_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/9381e6e04bc834cad5cf721aa5d22072.jpg","text":"TemporaryFile(/tmp/multipartBody2557692408722589765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636191437,"filename":"image_11012025_23_55_02_918248_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/deab6be916e983b4dd8e06bb098e45d2.jpg","text":"TemporaryFile(/tmp/multipartBody4830122574266838822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636191437,"filename":"image_11012025_23_55_02_918248_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/5dc9b977e6d65e4ebe121fef25988994.jpg","text":"TemporaryFile(/tmp/multipartBody686175599397711102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636191437,"filename":"image_11012025_23_55_02_918248_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328278022","file1":"1328278019","file0":"1328278014","file3":"1328278024"},"map_files_photo_id_array":[{"photo_id":"1328278022","filename":"file2"},{"photo_id":"1328278019","filename":"file1"},{"photo_id":"1328278014","filename":"file0"},{"photo_id":"1328278024","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328278014":["hashtag1","hashtag2"]},{"1328278022":["hashtag1","hashtag2"]},{"1328278019":["hashtag1","hashtag2"]},{"1328278024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328278014, 1328278022, 1328278019, 1328278024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 36.265828371047974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:56:02.368268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:56:22.038468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/55/image_11012025_23_55_02_918248_0003.jpg', '/home/pi/Desktop/images/11012025/23/56/image_11012025_23_56_03_185645_0000.jpg', '/home/pi/Desktop/images/11012025/23/56/image_11012025_23_56_03_185645_0001.jpg', '/home/pi/Desktop/images/11012025/23/56/image_11012025_23_56_03_185645_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/55/image_11012025_23_55_02_918248_0003.jpg
/home/pi/Desktop/images/11012025/23/56/image_11012025_23_56_03_185645_0000.jpg
/home/pi/Desktop/images/11012025/23/56/image_11012025_23_56_03_185645_0001.jpg
/home/pi/Desktop/images/11012025/23/56/image_11012025_23_56_03_185645_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328278040","1328278037","1328278033","1328278042"],"photo_ids_order":["1328278033","1328278037","1328278040","1328278042"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/a533d804bc2419abd641fd89da164056.jpg","text":"TemporaryFile(/tmp/multipartBody906734239702647675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636250700,"filename":"image_11012025_23_56_03_185645_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/f22e74bfbdb776f4b7dbf6903aec458d.jpg","text":"TemporaryFile(/tmp/multipartBody4406529793949130926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636250700,"filename":"image_11012025_23_56_03_185645_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/46902798bdbe321ff62e14ab2bdbdd5a.jpg","text":"TemporaryFile(/tmp/multipartBody8093895051386881447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636250700,"filename":"image_11012025_23_55_02_918248_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/129730b6afa78b952115d380c431c94f.jpg","text":"TemporaryFile(/tmp/multipartBody2430539413567137765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636250700,"filename":"image_11012025_23_56_03_185645_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328278040","file1":"1328278037","file0":"1328278033","file3":"1328278042"},"map_files_photo_id_array":[{"photo_id":"1328278040","filename":"file2"},{"photo_id":"1328278037","filename":"file1"},{"photo_id":"1328278033","filename":"file0"},{"photo_id":"1328278042","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328278040":["hashtag1","hashtag2"]},{"1328278037":["hashtag1","hashtag2"]},{"1328278033":["hashtag1","hashtag2"]},{"1328278042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328278040, 1328278037, 1328278033, 1328278042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.570053815841675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-11 23:57:22.200303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/56/image_11012025_23_56_03_185645_0003.jpg', '/home/pi/Desktop/images/11012025/23/57/image_11012025_23_57_02_342320_0000.jpg', '/home/pi/Desktop/images/11012025/23/57/image_11012025_23_57_02_342320_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/56/image_11012025_23_56_03_185645_0003.jpg
/home/pi/Desktop/images/11012025/23/57/image_11012025_23_57_02_342320_0000.jpg
/home/pi/Desktop/images/11012025/23/57/image_11012025_23_57_02_342320_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":["1328278076","1328278055","1328278062"],"photo_ids_order":["1328278055","1328278062","1328278076"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/75e0f428542e5ae9abea80e3ea9c4432.jpg","text":"TemporaryFile(/tmp/multipartBody5447315511816593836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636308852,"filename":"image_11012025_23_57_02_342320_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/c0c242b42e357d402fb9018630b1b848.jpg","text":"TemporaryFile(/tmp/multipartBody9079386154801267502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636308852,"filename":"image_11012025_23_56_03_185645_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/4ba1cec22a840e7f78448a5b6a7a4ed6.jpg","text":"TemporaryFile(/tmp/multipartBody2186801674840793604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636308852,"filename":"image_11012025_23_57_02_342320_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328278076","file1":"1328278062","file0":"1328278055"},"map_files_photo_id_array":[{"photo_id":"1328278076","filename":"file2"},{"photo_id":"1328278062","filename":"file1"},{"photo_id":"1328278055","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328278076":["hashtag1","hashtag2"]},{"1328278055":["hashtag1","hashtag2"]},{"1328278062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328278076, 1328278055, 1328278062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.203454732894897 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-11 23:57:52.140595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
